@sjcrh/proteinpaint-types 2.140.1-2 → 2.141.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-Y6Z6XAFN.js → chunk-424IUJWR.js} +532 -154
- package/dist/{chunk-NHELOLDH.js → chunk-56JQGGZJ.js} +4103 -2234
- package/dist/{chunk-5BKOSJEU.js → chunk-77RH7U6G.js} +2101 -981
- package/dist/{chunk-F2ZZ5J3F.js → chunk-EOBFYFLQ.js} +2483 -1911
- package/dist/{chunk-34LXTZYA.js → chunk-I7FTK55B.js} +2162 -1590
- package/dist/{chunk-4S36DRJ4.js → chunk-KEJROUTM.js} +1314 -572
- package/dist/{chunk-ZHCVV36H.js → chunk-QWAPDNYB.js} +2486 -1914
- package/dist/{chunk-HJ7XFSJK.js → chunk-S6OBK4RE.js} +528 -150
- package/dist/{chunk-P3Z422N2.js → chunk-T3GTEGQN.js} +532 -154
- package/dist/{chunk-2QKCLUH3.js → chunk-UYBVE3DL.js} +2478 -1906
- package/dist/{chunk-KDHGWAOS.js → chunk-VMQUAU5V.js} +2481 -1909
- package/dist/{chunk-G5BYLEJC.js → chunk-WCWYMCZD.js} +532 -154
- 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 +14 -4
- package/src/genome.ts +2 -2
- package/src/index.ts +1 -0
- package/src/routes/termdb.cluster.ts +6 -6
- package/src/terms/categorical.ts +0 -8
- package/src/terms/condition.ts +4 -3
- package/src/terms/date.ts +18 -0
- package/src/terms/geneExpression.ts +7 -21
- package/src/terms/geneVariant.ts +3 -0
- package/src/terms/metaboliteIntensity.ts +7 -20
- package/src/terms/numeric.ts +17 -38
- package/src/terms/singleCellGeneExpression.ts +3 -4
- package/src/terms/snp.ts +7 -7
- package/src/terms/snps.ts +1 -0
- package/src/terms/ssGSEA.ts +7 -13
- package/src/terms/tw.ts +11 -6
- package/src/terms/updated-types.ts +0 -10
|
@@ -43,11 +43,12 @@ 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 && $
|
|
47
|
-
const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type
|
|
48
|
-
const $io14 = (input3) => "
|
|
49
|
-
const $io15 = (input3) =>
|
|
50
|
-
const $io16 = (input3) =>
|
|
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 && $io26(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
|
+
const $io14 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
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
|
+
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);
|
|
51
|
+
const $io17 = (input3) => Object.keys(input3).every((key) => {
|
|
51
52
|
const value = input3[key];
|
|
52
53
|
if (void 0 === value)
|
|
53
54
|
return true;
|
|
@@ -55,22 +56,25 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
55
56
|
return "number" === typeof value;
|
|
56
57
|
return true;
|
|
57
58
|
});
|
|
58
|
-
const $
|
|
59
|
-
const $
|
|
60
|
-
const $
|
|
61
|
-
const $
|
|
62
|
-
const $
|
|
63
|
-
const $
|
|
64
|
-
const $
|
|
65
|
-
const $
|
|
66
|
-
const $
|
|
67
|
-
const $
|
|
68
|
-
const $
|
|
69
|
-
const $
|
|
70
|
-
const $
|
|
71
|
-
const $
|
|
72
|
-
const $
|
|
73
|
-
const $
|
|
59
|
+
const $io18 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "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);
|
|
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
|
+
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
|
+
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) && "string" === typeof input3.gene && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (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 && "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));
|
|
65
|
+
const $io24 = (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) && "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 && "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));
|
|
67
|
+
const $io26 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
68
|
+
const $io27 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io28(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 && $io29(elem)));
|
|
69
|
+
const $io28 = (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);
|
|
70
|
+
const $io29 = (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;
|
|
71
|
+
const $io30 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io31(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io36(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
72
|
+
const $io31 = (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));
|
|
73
|
+
const $io32 = (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 && $io31(elem)));
|
|
74
|
+
const $io33 = (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);
|
|
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) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
76
|
+
const $io35 = (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 && $io31(elem)));
|
|
77
|
+
const $io36 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
74
78
|
const $iu0 = (input3) => (() => {
|
|
75
79
|
if ("tvslst" === input3.type)
|
|
76
80
|
return $io1(input3);
|
|
@@ -87,16 +91,16 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
87
91
|
})();
|
|
88
92
|
const $iu2 = (input3) => (() => {
|
|
89
93
|
if (true === input3.startunbounded)
|
|
90
|
-
return $
|
|
94
|
+
return $io18(input3);
|
|
91
95
|
if (true === input3.stopunbounded)
|
|
92
|
-
return $
|
|
93
|
-
return $
|
|
96
|
+
return $io20(input3);
|
|
97
|
+
return $io19(input3);
|
|
94
98
|
})();
|
|
95
99
|
const $iu3 = (input3) => (() => {
|
|
96
100
|
if ("gene" === input3.kind)
|
|
97
|
-
return $
|
|
101
|
+
return $io33(input3);
|
|
98
102
|
if ("coord" === input3.kind)
|
|
99
|
-
return $
|
|
103
|
+
return $io34(input3);
|
|
100
104
|
return false;
|
|
101
105
|
})();
|
|
102
106
|
const $iu4 = (input3) => (() => {
|
|
@@ -105,39 +109,52 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
105
109
|
return (() => {
|
|
106
110
|
if ($io3(input3))
|
|
107
111
|
return $io3(input3);
|
|
108
|
-
if ($
|
|
109
|
-
return $
|
|
110
|
-
if ($
|
|
111
|
-
return $
|
|
112
|
+
if ($io27(input3))
|
|
113
|
+
return $io27(input3);
|
|
114
|
+
if ($io30(input3))
|
|
115
|
+
return $io30(input3);
|
|
112
116
|
return false;
|
|
113
117
|
})();
|
|
114
118
|
})();
|
|
115
119
|
const $iu5 = (input3) => (() => {
|
|
120
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
121
|
+
return $io13(input3);
|
|
122
|
+
if ("geneExpression" === input3.type)
|
|
123
|
+
return $io22(input3);
|
|
124
|
+
if ("date" === input3.type)
|
|
125
|
+
return $io24(input3);
|
|
126
|
+
if ("metaboliteIntensity" === input3.type)
|
|
127
|
+
return $io23(input3);
|
|
128
|
+
if ("ssGSEA" === input3.type)
|
|
129
|
+
return $io25(input3);
|
|
130
|
+
return false;
|
|
131
|
+
})();
|
|
132
|
+
const $iu6 = (input3) => (() => {
|
|
116
133
|
if ("regular-bin" === input3.type)
|
|
117
|
-
return $
|
|
134
|
+
return $io16(input3);
|
|
118
135
|
if ("custom-bin" === input3.type)
|
|
119
|
-
return $
|
|
136
|
+
return $io21(input3);
|
|
120
137
|
return false;
|
|
121
138
|
})();
|
|
122
|
-
const $
|
|
139
|
+
const $iu7 = (input3) => (() => {
|
|
123
140
|
if (true === input3.startunbounded)
|
|
124
|
-
return $io17(input3);
|
|
125
|
-
if (void 0 !== input3.start)
|
|
126
141
|
return $io18(input3);
|
|
142
|
+
if (void 0 !== input3.start)
|
|
143
|
+
return $io19(input3);
|
|
127
144
|
return false;
|
|
128
145
|
})();
|
|
129
|
-
const $
|
|
146
|
+
const $iu8 = (input3) => (() => {
|
|
130
147
|
if (void 0 !== input3.stop)
|
|
131
|
-
return $io18(input3);
|
|
132
|
-
if (true === input3.stopunbounded)
|
|
133
148
|
return $io19(input3);
|
|
149
|
+
if (true === input3.stopunbounded)
|
|
150
|
+
return $io20(input3);
|
|
134
151
|
return false;
|
|
135
152
|
})();
|
|
136
|
-
const $
|
|
153
|
+
const $iu9 = (input3) => (() => {
|
|
137
154
|
if ("gene" === input3.kind)
|
|
138
|
-
return $
|
|
155
|
+
return $io32(input3);
|
|
139
156
|
if ("coord" === input3.kind)
|
|
140
|
-
return $
|
|
157
|
+
return $io35(input3);
|
|
141
158
|
return false;
|
|
142
159
|
})();
|
|
143
160
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -497,11 +514,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
497
514
|
value: input3.isnot
|
|
498
515
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
499
516
|
path: _path2 + ".term",
|
|
500
|
-
expected: "
|
|
517
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
501
518
|
value: input3.term
|
|
502
|
-
})) && $
|
|
519
|
+
})) && $vu5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
503
520
|
path: _path2 + ".term",
|
|
504
|
-
expected: "
|
|
521
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
505
522
|
value: input3.term
|
|
506
523
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
507
524
|
path: _path2 + ".ranges",
|
|
@@ -527,7 +544,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
527
544
|
path: _path2 + ".values[" + _index9 + "]",
|
|
528
545
|
expected: "__type.o3",
|
|
529
546
|
value: elem
|
|
530
|
-
})) && $
|
|
547
|
+
})) && $vo26(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
531
548
|
path: _path2 + ".values[" + _index9 + "]",
|
|
532
549
|
expected: "__type.o3",
|
|
533
550
|
value: elem
|
|
@@ -544,9 +561,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
544
561
|
path: _path2 + ".name",
|
|
545
562
|
expected: "string",
|
|
546
563
|
value: input3.name
|
|
547
|
-
}), "integer" === input3.type || "float" === input3.type ||
|
|
564
|
+
}), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
|
|
548
565
|
path: _path2 + ".type",
|
|
549
|
-
expected: '("
|
|
566
|
+
expected: '("float" | "integer")',
|
|
550
567
|
value: input3.type
|
|
551
568
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
552
569
|
path: _path2 + ".child_types",
|
|
@@ -592,32 +609,41 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
592
609
|
path: _path2 + ".skipValuesBuild",
|
|
593
610
|
expected: "(boolean | undefined)",
|
|
594
611
|
value: input3.skipValuesBuild
|
|
595
|
-
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
596
|
-
path: _path2 + ".bins",
|
|
597
|
-
expected: "PresetNumericBins",
|
|
598
|
-
value: input3.bins
|
|
599
|
-
})) && $vo14(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
600
|
-
path: _path2 + ".bins",
|
|
601
|
-
expected: "PresetNumericBins",
|
|
602
|
-
value: input3.bins
|
|
603
|
-
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
604
|
-
path: _path2 + ".unit",
|
|
605
|
-
expected: "(string | undefined)",
|
|
606
|
-
value: input3.unit
|
|
607
612
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
608
613
|
path: _path2 + ".continuousColorScale",
|
|
609
614
|
expected: "(__type.o2 | undefined)",
|
|
610
615
|
value: input3.continuousColorScale
|
|
611
|
-
})) && $
|
|
616
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
612
617
|
path: _path2 + ".continuousColorScale",
|
|
613
618
|
expected: "(__type.o2 | undefined)",
|
|
614
619
|
value: input3.continuousColorScale
|
|
620
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
621
|
+
path: _path2 + ".unit",
|
|
622
|
+
expected: "(string | undefined)",
|
|
623
|
+
value: input3.unit
|
|
624
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
625
|
+
path: _path2 + ".bins",
|
|
626
|
+
expected: "PresetNumericBins",
|
|
627
|
+
value: input3.bins
|
|
628
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
629
|
+
path: _path2 + ".bins",
|
|
630
|
+
expected: "PresetNumericBins",
|
|
631
|
+
value: input3.bins
|
|
632
|
+
})].every((flag) => flag);
|
|
633
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
634
|
+
path: _path2 + ".minColor",
|
|
635
|
+
expected: "string",
|
|
636
|
+
value: input3.minColor
|
|
637
|
+
}), "string" === typeof input3.maxColor || $report(_exceptionable2, {
|
|
638
|
+
path: _path2 + ".maxColor",
|
|
639
|
+
expected: "string",
|
|
640
|
+
value: input3.maxColor
|
|
615
641
|
})].every((flag) => flag);
|
|
616
|
-
const $
|
|
642
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
617
643
|
path: _path2 + '["default"]',
|
|
618
644
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
619
645
|
value: input3["default"]
|
|
620
|
-
})) && $
|
|
646
|
+
})) && $vu6(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
621
647
|
path: _path2 + '["default"]',
|
|
622
648
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
623
649
|
value: input3["default"]
|
|
@@ -625,7 +651,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
625
651
|
path: _path2 + ".less",
|
|
626
652
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
627
653
|
value: input3.less
|
|
628
|
-
})) && $
|
|
654
|
+
})) && $vu6(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
629
655
|
path: _path2 + ".less",
|
|
630
656
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
631
657
|
value: input3.less
|
|
@@ -650,11 +676,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
650
676
|
expected: "(number | undefined)",
|
|
651
677
|
value: input3.max
|
|
652
678
|
})].every((flag) => flag);
|
|
653
|
-
const $
|
|
679
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
654
680
|
path: _path2 + ".hiddenValues",
|
|
655
681
|
expected: "(HiddenValues | undefined)",
|
|
656
682
|
value: input3.hiddenValues
|
|
657
|
-
})) && $
|
|
683
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
658
684
|
path: _path2 + ".hiddenValues",
|
|
659
685
|
expected: "(HiddenValues | undefined)",
|
|
660
686
|
value: input3.hiddenValues
|
|
@@ -686,7 +712,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
686
712
|
path: _path2 + ".first_bin",
|
|
687
713
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
688
714
|
value: input3.first_bin
|
|
689
|
-
})) && $
|
|
715
|
+
})) && $vu7(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
690
716
|
path: _path2 + ".first_bin",
|
|
691
717
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
692
718
|
value: input3.first_bin
|
|
@@ -694,7 +720,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
694
720
|
path: _path2 + ".last_bin",
|
|
695
721
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
696
722
|
value: input3.last_bin
|
|
697
|
-
})) && $
|
|
723
|
+
})) && $vu8(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
698
724
|
path: _path2 + ".last_bin",
|
|
699
725
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
700
726
|
value: input3.last_bin
|
|
@@ -703,7 +729,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
703
729
|
expected: "(number | undefined)",
|
|
704
730
|
value: input3.label_offset
|
|
705
731
|
})].every((flag) => flag);
|
|
706
|
-
const $
|
|
732
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
707
733
|
const value = input3[key];
|
|
708
734
|
if (void 0 === value)
|
|
709
735
|
return true;
|
|
@@ -715,7 +741,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
715
741
|
});
|
|
716
742
|
return true;
|
|
717
743
|
}).every((flag) => flag)].every((flag) => flag);
|
|
718
|
-
const $
|
|
744
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
719
745
|
path: _path2 + ".startunbounded",
|
|
720
746
|
expected: "true",
|
|
721
747
|
value: input3.startunbounded
|
|
@@ -740,7 +766,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
740
766
|
expected: "(string | undefined)",
|
|
741
767
|
value: input3.label
|
|
742
768
|
})].every((flag) => flag);
|
|
743
|
-
const $
|
|
769
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
744
770
|
path: _path2 + ".startunbounded",
|
|
745
771
|
expected: "(false | undefined)",
|
|
746
772
|
value: input3.startunbounded
|
|
@@ -769,7 +795,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
769
795
|
expected: "(string | undefined)",
|
|
770
796
|
value: input3.label
|
|
771
797
|
})].every((flag) => flag);
|
|
772
|
-
const $
|
|
798
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
773
799
|
path: _path2 + ".start",
|
|
774
800
|
expected: "number",
|
|
775
801
|
value: input3.start
|
|
@@ -794,11 +820,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
794
820
|
expected: "(string | undefined)",
|
|
795
821
|
value: input3.label
|
|
796
822
|
})].every((flag) => flag);
|
|
797
|
-
const $
|
|
823
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
798
824
|
path: _path2 + ".hiddenValues",
|
|
799
825
|
expected: "(HiddenValues | undefined)",
|
|
800
826
|
value: input3.hiddenValues
|
|
801
|
-
})) && $
|
|
827
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
802
828
|
path: _path2 + ".hiddenValues",
|
|
803
829
|
expected: "(HiddenValues | undefined)",
|
|
804
830
|
value: input3.hiddenValues
|
|
@@ -861,78 +887,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
861
887
|
expected: '("median" | undefined)',
|
|
862
888
|
value: input3.preferredBins
|
|
863
889
|
})].every((flag) => flag);
|
|
864
|
-
const $
|
|
865
|
-
path: _path2 + ".minColor",
|
|
866
|
-
expected: "string",
|
|
867
|
-
value: input3.minColor
|
|
868
|
-
}), "string" === typeof input3.maxColor || $report(_exceptionable2, {
|
|
869
|
-
path: _path2 + ".maxColor",
|
|
870
|
-
expected: "string",
|
|
871
|
-
value: input3.maxColor
|
|
872
|
-
})].every((flag) => flag);
|
|
873
|
-
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
874
|
-
path: _path2 + ".key",
|
|
875
|
-
expected: "string",
|
|
876
|
-
value: input3.key
|
|
877
|
-
}), "number" === typeof input3.value || $report(_exceptionable2, {
|
|
878
|
-
path: _path2 + ".value",
|
|
879
|
-
expected: "number",
|
|
880
|
-
value: input3.value
|
|
881
|
-
}), true === input3.uncomputable || $report(_exceptionable2, {
|
|
882
|
-
path: _path2 + ".uncomputable",
|
|
883
|
-
expected: "true",
|
|
884
|
-
value: input3.uncomputable
|
|
885
|
-
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
886
|
-
path: _path2 + ".label",
|
|
887
|
-
expected: "(string | undefined)",
|
|
888
|
-
value: input3.label
|
|
889
|
-
})].every((flag) => flag);
|
|
890
|
-
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
891
|
-
path: _path2 + ".join",
|
|
892
|
-
expected: "(string | undefined)",
|
|
893
|
-
value: input3.join
|
|
894
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
895
|
-
path: _path2 + ".isnot",
|
|
896
|
-
expected: "(boolean | undefined)",
|
|
897
|
-
value: input3.isnot
|
|
898
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
899
|
-
path: _path2 + ".term",
|
|
900
|
-
expected: "ConditionTerm",
|
|
901
|
-
value: input3.term
|
|
902
|
-
})) && $vo24(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
903
|
-
path: _path2 + ".term",
|
|
904
|
-
expected: "ConditionTerm",
|
|
905
|
-
value: input3.term
|
|
906
|
-
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
907
|
-
path: _path2 + ".value_by_max_grade",
|
|
908
|
-
expected: "(boolean | undefined)",
|
|
909
|
-
value: input3.value_by_max_grade
|
|
910
|
-
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
911
|
-
path: _path2 + ".value_by_most_recent",
|
|
912
|
-
expected: "(boolean | undefined)",
|
|
913
|
-
value: input3.value_by_most_recent
|
|
914
|
-
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
915
|
-
path: _path2 + ".value_by_computable_grade",
|
|
916
|
-
expected: "(boolean | undefined)",
|
|
917
|
-
value: input3.value_by_computable_grade
|
|
918
|
-
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
919
|
-
path: _path2 + ".grade_and_child",
|
|
920
|
-
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
921
|
-
value: input3.grade_and_child
|
|
922
|
-
})) && input3.grade_and_child.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
923
|
-
path: _path2 + ".grade_and_child[" + _index13 + "]",
|
|
924
|
-
expected: "GradeAndChildEntry",
|
|
925
|
-
value: elem
|
|
926
|
-
})) && $vo25(elem, _path2 + ".grade_and_child[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
927
|
-
path: _path2 + ".grade_and_child[" + _index13 + "]",
|
|
928
|
-
expected: "GradeAndChildEntry",
|
|
929
|
-
value: elem
|
|
930
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
931
|
-
path: _path2 + ".grade_and_child",
|
|
932
|
-
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
933
|
-
value: input3.grade_and_child
|
|
934
|
-
})].every((flag) => flag);
|
|
935
|
-
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
890
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
936
891
|
path: _path2 + ".id",
|
|
937
892
|
expected: "string",
|
|
938
893
|
value: input3.id
|
|
@@ -940,16 +895,16 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
940
895
|
path: _path2 + ".name",
|
|
941
896
|
expected: "string",
|
|
942
897
|
value: input3.name
|
|
943
|
-
}), "
|
|
898
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
944
899
|
path: _path2 + ".type",
|
|
945
|
-
expected: '"
|
|
900
|
+
expected: '"geneExpression"',
|
|
946
901
|
value: input3.type
|
|
947
902
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
948
903
|
path: _path2 + ".child_types",
|
|
949
904
|
expected: "(Array<string> | undefined)",
|
|
950
905
|
value: input3.child_types
|
|
951
|
-
})) && input3.child_types.map((elem,
|
|
952
|
-
path: _path2 + ".child_types[" +
|
|
906
|
+
})) && input3.child_types.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable2, {
|
|
907
|
+
path: _path2 + ".child_types[" + _index13 + "]",
|
|
953
908
|
expected: "string",
|
|
954
909
|
value: elem
|
|
955
910
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -964,8 +919,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
964
919
|
path: _path2 + ".included_types",
|
|
965
920
|
expected: "(Array<string> | undefined)",
|
|
966
921
|
value: input3.included_types
|
|
967
|
-
})) && input3.included_types.map((elem,
|
|
968
|
-
path: _path2 + ".included_types[" +
|
|
922
|
+
})) && input3.included_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
923
|
+
path: _path2 + ".included_types[" + _index14 + "]",
|
|
969
924
|
expected: "string",
|
|
970
925
|
value: elem
|
|
971
926
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -988,132 +943,61 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
988
943
|
path: _path2 + ".skipValuesBuild",
|
|
989
944
|
expected: "(boolean | undefined)",
|
|
990
945
|
value: input3.skipValuesBuild
|
|
991
|
-
})
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
path: _path2 + ".child_id",
|
|
946
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
947
|
+
path: _path2 + ".continuousColorScale",
|
|
948
|
+
expected: "(__type.o2 | undefined)",
|
|
949
|
+
value: input3.continuousColorScale
|
|
950
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
951
|
+
path: _path2 + ".continuousColorScale",
|
|
952
|
+
expected: "(__type.o2 | undefined)",
|
|
953
|
+
value: input3.continuousColorScale
|
|
954
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
955
|
+
path: _path2 + ".unit",
|
|
1002
956
|
expected: "(string | undefined)",
|
|
1003
|
-
value: input3.
|
|
1004
|
-
}), "string" === typeof input3.
|
|
1005
|
-
path: _path2 + ".
|
|
957
|
+
value: input3.unit
|
|
958
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
959
|
+
path: _path2 + ".gene",
|
|
1006
960
|
expected: "string",
|
|
1007
|
-
value: input3.
|
|
1008
|
-
})
|
|
1009
|
-
|
|
1010
|
-
|
|
961
|
+
value: input3.gene
|
|
962
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
963
|
+
path: _path2 + ".bins",
|
|
964
|
+
expected: "(PresetNumericBins | undefined)",
|
|
965
|
+
value: input3.bins
|
|
966
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
967
|
+
path: _path2 + ".bins",
|
|
968
|
+
expected: "(PresetNumericBins | undefined)",
|
|
969
|
+
value: input3.bins
|
|
970
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
971
|
+
path: _path2 + ".chr",
|
|
1011
972
|
expected: "(string | undefined)",
|
|
1012
|
-
value: input3.
|
|
1013
|
-
}), void 0 === input3.
|
|
1014
|
-
path: _path2 + ".
|
|
1015
|
-
expected: "(
|
|
1016
|
-
value: input3.
|
|
1017
|
-
}),
|
|
1018
|
-
path: _path2 + ".
|
|
1019
|
-
expected: "
|
|
1020
|
-
value: input3.
|
|
1021
|
-
})) && $vo27(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1022
|
-
path: _path2 + ".term",
|
|
1023
|
-
expected: "DtTerm",
|
|
1024
|
-
value: input3.term
|
|
1025
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1026
|
-
path: _path2 + ".values",
|
|
1027
|
-
expected: "Array<__type>.o2",
|
|
1028
|
-
value: input3.values
|
|
1029
|
-
})) && input3.values.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1030
|
-
path: _path2 + ".values[" + _index16 + "]",
|
|
1031
|
-
expected: "__type.o4",
|
|
1032
|
-
value: elem
|
|
1033
|
-
})) && $vo32(elem, _path2 + ".values[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1034
|
-
path: _path2 + ".values[" + _index16 + "]",
|
|
1035
|
-
expected: "__type.o4",
|
|
1036
|
-
value: elem
|
|
1037
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1038
|
-
path: _path2 + ".values",
|
|
1039
|
-
expected: "Array<__type>.o2",
|
|
1040
|
-
value: input3.values
|
|
1041
|
-
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
1042
|
-
path: _path2 + ".includeNotTested",
|
|
1043
|
-
expected: "(boolean | undefined)",
|
|
1044
|
-
value: input3.includeNotTested
|
|
1045
|
-
}), void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName || $report(_exceptionable2, {
|
|
1046
|
-
path: _path2 + ".excludeGeneName",
|
|
1047
|
-
expected: "(boolean | undefined)",
|
|
1048
|
-
value: input3.excludeGeneName
|
|
973
|
+
value: input3.chr
|
|
974
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
975
|
+
path: _path2 + ".start",
|
|
976
|
+
expected: "(number | undefined)",
|
|
977
|
+
value: input3.start
|
|
978
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
979
|
+
path: _path2 + ".stop",
|
|
980
|
+
expected: "(number | undefined)",
|
|
981
|
+
value: input3.stop
|
|
1049
982
|
})].every((flag) => flag);
|
|
1050
|
-
const $
|
|
983
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1051
984
|
path: _path2 + ".id",
|
|
1052
985
|
expected: "string",
|
|
1053
986
|
value: input3.id
|
|
1054
|
-
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
1055
|
-
path: _path2 + ".query",
|
|
1056
|
-
expected: "string",
|
|
1057
|
-
value: input3.query
|
|
1058
987
|
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1059
988
|
path: _path2 + ".name",
|
|
1060
989
|
expected: "string",
|
|
1061
990
|
value: input3.name
|
|
1062
|
-
}), "
|
|
1063
|
-
path: _path2 + ".name_noOrigin",
|
|
1064
|
-
expected: "string",
|
|
1065
|
-
value: input3.name_noOrigin
|
|
1066
|
-
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1067
|
-
path: _path2 + ".parentTerm",
|
|
1068
|
-
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)',
|
|
1069
|
-
value: input3.parentTerm
|
|
1070
|
-
})) && $vu8(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1071
|
-
path: _path2 + ".parentTerm",
|
|
1072
|
-
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)',
|
|
1073
|
-
value: input3.parentTerm
|
|
1074
|
-
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1075
|
-
path: _path2 + ".isleaf",
|
|
1076
|
-
expected: "boolean",
|
|
1077
|
-
value: input3.isleaf
|
|
1078
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
991
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
1079
992
|
path: _path2 + ".type",
|
|
1080
|
-
expected: "
|
|
1081
|
-
value: input3.type
|
|
1082
|
-
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
1083
|
-
path: _path2 + ".dt",
|
|
1084
|
-
expected: "number",
|
|
1085
|
-
value: input3.dt
|
|
1086
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
1087
|
-
path: _path2 + ".origin",
|
|
1088
|
-
expected: "(string | undefined)",
|
|
1089
|
-
value: input3.origin
|
|
1090
|
-
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1091
|
-
path: _path2 + ".values",
|
|
1092
|
-
expected: "TermValues",
|
|
1093
|
-
value: input3.values
|
|
1094
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1095
|
-
path: _path2 + ".values",
|
|
1096
|
-
expected: "TermValues",
|
|
1097
|
-
value: input3.values
|
|
1098
|
-
})].every((flag) => flag);
|
|
1099
|
-
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1100
|
-
path: _path2 + ".id",
|
|
1101
|
-
expected: "string",
|
|
1102
|
-
value: input3.id
|
|
1103
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1104
|
-
path: _path2 + ".name",
|
|
1105
|
-
expected: "string",
|
|
1106
|
-
value: input3.name
|
|
1107
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1108
|
-
path: _path2 + ".type",
|
|
1109
|
-
expected: '"geneVariant"',
|
|
993
|
+
expected: '"metaboliteIntensity"',
|
|
1110
994
|
value: input3.type
|
|
1111
995
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1112
996
|
path: _path2 + ".child_types",
|
|
1113
997
|
expected: "(Array<string> | undefined)",
|
|
1114
998
|
value: input3.child_types
|
|
1115
|
-
})) && input3.child_types.map((elem,
|
|
1116
|
-
path: _path2 + ".child_types[" +
|
|
999
|
+
})) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1000
|
+
path: _path2 + ".child_types[" + _index15 + "]",
|
|
1117
1001
|
expected: "string",
|
|
1118
1002
|
value: elem
|
|
1119
1003
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1128,8 +1012,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1128
1012
|
path: _path2 + ".included_types",
|
|
1129
1013
|
expected: "(Array<string> | undefined)",
|
|
1130
1014
|
value: input3.included_types
|
|
1131
|
-
})) && input3.included_types.map((elem,
|
|
1132
|
-
path: _path2 + ".included_types[" +
|
|
1015
|
+
})) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1016
|
+
path: _path2 + ".included_types[" + _index16 + "]",
|
|
1133
1017
|
expected: "string",
|
|
1134
1018
|
value: elem
|
|
1135
1019
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1152,68 +1036,32 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1152
1036
|
path: _path2 + ".skipValuesBuild",
|
|
1153
1037
|
expected: "(boolean | undefined)",
|
|
1154
1038
|
value: input3.skipValuesBuild
|
|
1155
|
-
}), "
|
|
1156
|
-
path: _path2 + ".
|
|
1157
|
-
expected:
|
|
1158
|
-
value: input3.
|
|
1159
|
-
}), "
|
|
1160
|
-
path: _path2 + ".
|
|
1161
|
-
expected: "
|
|
1162
|
-
value: input3.
|
|
1163
|
-
}), void 0 === input3.
|
|
1164
|
-
path: _path2 + ".
|
|
1039
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1040
|
+
path: _path2 + ".continuousColorScale",
|
|
1041
|
+
expected: "(__type.o2 | undefined)",
|
|
1042
|
+
value: input3.continuousColorScale
|
|
1043
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1044
|
+
path: _path2 + ".continuousColorScale",
|
|
1045
|
+
expected: "(__type.o2 | undefined)",
|
|
1046
|
+
value: input3.continuousColorScale
|
|
1047
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1048
|
+
path: _path2 + ".unit",
|
|
1165
1049
|
expected: "(string | undefined)",
|
|
1166
|
-
value: input3.
|
|
1167
|
-
}),
|
|
1168
|
-
path: _path2 + ".
|
|
1169
|
-
expected: "
|
|
1170
|
-
value: input3.
|
|
1171
|
-
}), void 0 === input3.
|
|
1172
|
-
path: _path2 + ".
|
|
1173
|
-
expected: "(
|
|
1174
|
-
value: input3.
|
|
1175
|
-
})
|
|
1176
|
-
path: _path2 + ".
|
|
1177
|
-
expected: "
|
|
1178
|
-
value: input3.
|
|
1179
|
-
})) && input3.genes.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1180
|
-
path: _path2 + ".genes[" + _index19 + "]",
|
|
1181
|
-
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1182
|
-
value: elem
|
|
1183
|
-
})) && $vu3(elem, _path2 + ".genes[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1184
|
-
path: _path2 + ".genes[" + _index19 + "]",
|
|
1185
|
-
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1186
|
-
value: elem
|
|
1187
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1188
|
-
path: _path2 + ".genes",
|
|
1189
|
-
expected: "Array<GvGeneTerm>",
|
|
1190
|
-
value: input3.genes
|
|
1191
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1192
|
-
path: _path2 + ".groupsetting",
|
|
1193
|
-
expected: "(TermGroupSetting | undefined)",
|
|
1194
|
-
value: input3.groupsetting
|
|
1195
|
-
})) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1196
|
-
path: _path2 + ".groupsetting",
|
|
1197
|
-
expected: "(TermGroupSetting | undefined)",
|
|
1198
|
-
value: input3.groupsetting
|
|
1199
|
-
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1200
|
-
path: _path2 + ".childTerms",
|
|
1201
|
-
expected: "(Array<DtTerm> | undefined)",
|
|
1202
|
-
value: input3.childTerms
|
|
1203
|
-
})) && input3.childTerms.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1204
|
-
path: _path2 + ".childTerms[" + _index20 + "]",
|
|
1205
|
-
expected: "DtTerm",
|
|
1206
|
-
value: elem
|
|
1207
|
-
})) && $vo27(elem, _path2 + ".childTerms[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1208
|
-
path: _path2 + ".childTerms[" + _index20 + "]",
|
|
1209
|
-
expected: "DtTerm",
|
|
1210
|
-
value: elem
|
|
1211
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1212
|
-
path: _path2 + ".childTerms",
|
|
1213
|
-
expected: "(Array<DtTerm> | undefined)",
|
|
1214
|
-
value: input3.childTerms
|
|
1050
|
+
value: input3.unit
|
|
1051
|
+
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1052
|
+
path: _path2 + ".metabolite",
|
|
1053
|
+
expected: "string",
|
|
1054
|
+
value: input3.metabolite
|
|
1055
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1056
|
+
path: _path2 + ".bins",
|
|
1057
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1058
|
+
value: input3.bins
|
|
1059
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1060
|
+
path: _path2 + ".bins",
|
|
1061
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1062
|
+
value: input3.bins
|
|
1215
1063
|
})].every((flag) => flag);
|
|
1216
|
-
const $
|
|
1064
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1217
1065
|
path: _path2 + ".id",
|
|
1218
1066
|
expected: "string",
|
|
1219
1067
|
value: input3.id
|
|
@@ -1221,16 +1069,16 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1221
1069
|
path: _path2 + ".name",
|
|
1222
1070
|
expected: "string",
|
|
1223
1071
|
value: input3.name
|
|
1224
|
-
}), "
|
|
1072
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
1225
1073
|
path: _path2 + ".type",
|
|
1226
|
-
expected: "
|
|
1074
|
+
expected: '"date"',
|
|
1227
1075
|
value: input3.type
|
|
1228
1076
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1229
1077
|
path: _path2 + ".child_types",
|
|
1230
1078
|
expected: "(Array<string> | undefined)",
|
|
1231
1079
|
value: input3.child_types
|
|
1232
|
-
})) && input3.child_types.map((elem,
|
|
1233
|
-
path: _path2 + ".child_types[" +
|
|
1080
|
+
})) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1081
|
+
path: _path2 + ".child_types[" + _index17 + "]",
|
|
1234
1082
|
expected: "string",
|
|
1235
1083
|
value: elem
|
|
1236
1084
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1245,8 +1093,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1245
1093
|
path: _path2 + ".included_types",
|
|
1246
1094
|
expected: "(Array<string> | undefined)",
|
|
1247
1095
|
value: input3.included_types
|
|
1248
|
-
})) && input3.included_types.map((elem,
|
|
1249
|
-
path: _path2 + ".included_types[" +
|
|
1096
|
+
})) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1097
|
+
path: _path2 + ".included_types[" + _index18 + "]",
|
|
1250
1098
|
expected: "string",
|
|
1251
1099
|
value: elem
|
|
1252
1100
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1269,28 +1117,32 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1269
1117
|
path: _path2 + ".skipValuesBuild",
|
|
1270
1118
|
expected: "(boolean | undefined)",
|
|
1271
1119
|
value: input3.skipValuesBuild
|
|
1272
|
-
}), "
|
|
1273
|
-
path: _path2 + ".
|
|
1274
|
-
expected:
|
|
1275
|
-
value: input3.
|
|
1276
|
-
}), "
|
|
1277
|
-
path: _path2 + ".
|
|
1278
|
-
expected: "
|
|
1279
|
-
value: input3.
|
|
1280
|
-
}), void 0 === input3.
|
|
1281
|
-
path: _path2 + ".
|
|
1120
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1121
|
+
path: _path2 + ".continuousColorScale",
|
|
1122
|
+
expected: "(__type.o2 | undefined)",
|
|
1123
|
+
value: input3.continuousColorScale
|
|
1124
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1125
|
+
path: _path2 + ".continuousColorScale",
|
|
1126
|
+
expected: "(__type.o2 | undefined)",
|
|
1127
|
+
value: input3.continuousColorScale
|
|
1128
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1129
|
+
path: _path2 + ".unit",
|
|
1282
1130
|
expected: "(string | undefined)",
|
|
1283
|
-
value: input3.
|
|
1284
|
-
}),
|
|
1285
|
-
path: _path2 + ".
|
|
1286
|
-
expected: "
|
|
1287
|
-
value: input3.
|
|
1288
|
-
}), void 0 === input3.
|
|
1289
|
-
path: _path2 + ".
|
|
1290
|
-
expected: "(
|
|
1291
|
-
value: input3.
|
|
1131
|
+
value: input3.unit
|
|
1132
|
+
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1133
|
+
path: _path2 + ".metabolite",
|
|
1134
|
+
expected: "string",
|
|
1135
|
+
value: input3.metabolite
|
|
1136
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1137
|
+
path: _path2 + ".bins",
|
|
1138
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1139
|
+
value: input3.bins
|
|
1140
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1141
|
+
path: _path2 + ".bins",
|
|
1142
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1143
|
+
value: input3.bins
|
|
1292
1144
|
})].every((flag) => flag);
|
|
1293
|
-
const $
|
|
1145
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1294
1146
|
path: _path2 + ".id",
|
|
1295
1147
|
expected: "string",
|
|
1296
1148
|
value: input3.id
|
|
@@ -1298,16 +1150,16 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1298
1150
|
path: _path2 + ".name",
|
|
1299
1151
|
expected: "string",
|
|
1300
1152
|
value: input3.name
|
|
1301
|
-
}), "
|
|
1153
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
1302
1154
|
path: _path2 + ".type",
|
|
1303
|
-
expected: "
|
|
1155
|
+
expected: '"ssGSEA"',
|
|
1304
1156
|
value: input3.type
|
|
1305
1157
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1306
1158
|
path: _path2 + ".child_types",
|
|
1307
1159
|
expected: "(Array<string> | undefined)",
|
|
1308
1160
|
value: input3.child_types
|
|
1309
|
-
})) && input3.child_types.map((elem,
|
|
1310
|
-
path: _path2 + ".child_types[" +
|
|
1161
|
+
})) && input3.child_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1162
|
+
path: _path2 + ".child_types[" + _index19 + "]",
|
|
1311
1163
|
expected: "string",
|
|
1312
1164
|
value: elem
|
|
1313
1165
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1322,8 +1174,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1322
1174
|
path: _path2 + ".included_types",
|
|
1323
1175
|
expected: "(Array<string> | undefined)",
|
|
1324
1176
|
value: input3.included_types
|
|
1325
|
-
})) && input3.included_types.map((elem,
|
|
1326
|
-
path: _path2 + ".included_types[" +
|
|
1177
|
+
})) && input3.included_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1178
|
+
path: _path2 + ".included_types[" + _index20 + "]",
|
|
1327
1179
|
expected: "string",
|
|
1328
1180
|
value: elem
|
|
1329
1181
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1346,24 +1198,102 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1346
1198
|
path: _path2 + ".skipValuesBuild",
|
|
1347
1199
|
expected: "(boolean | undefined)",
|
|
1348
1200
|
value: input3.skipValuesBuild
|
|
1349
|
-
}), "
|
|
1350
|
-
path: _path2 + ".
|
|
1351
|
-
expected:
|
|
1352
|
-
value: input3.
|
|
1353
|
-
}), "
|
|
1354
|
-
path: _path2 + ".
|
|
1201
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1202
|
+
path: _path2 + ".continuousColorScale",
|
|
1203
|
+
expected: "(__type.o2 | undefined)",
|
|
1204
|
+
value: input3.continuousColorScale
|
|
1205
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1206
|
+
path: _path2 + ".continuousColorScale",
|
|
1207
|
+
expected: "(__type.o2 | undefined)",
|
|
1208
|
+
value: input3.continuousColorScale
|
|
1209
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1210
|
+
path: _path2 + ".unit",
|
|
1211
|
+
expected: "(string | undefined)",
|
|
1212
|
+
value: input3.unit
|
|
1213
|
+
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1214
|
+
path: _path2 + ".genes",
|
|
1215
|
+
expected: "(Array<string> | undefined)",
|
|
1216
|
+
value: input3.genes
|
|
1217
|
+
})) && input3.genes.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1218
|
+
path: _path2 + ".genes[" + _index21 + "]",
|
|
1355
1219
|
expected: "string",
|
|
1356
|
-
value:
|
|
1357
|
-
})
|
|
1358
|
-
path: _path2 + ".
|
|
1359
|
-
expected: "
|
|
1360
|
-
value: input3.
|
|
1361
|
-
}), "
|
|
1362
|
-
path: _path2 + ".
|
|
1220
|
+
value: elem
|
|
1221
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1222
|
+
path: _path2 + ".genes",
|
|
1223
|
+
expected: "(Array<string> | undefined)",
|
|
1224
|
+
value: input3.genes
|
|
1225
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1226
|
+
path: _path2 + ".bins",
|
|
1227
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1228
|
+
value: input3.bins
|
|
1229
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1230
|
+
path: _path2 + ".bins",
|
|
1231
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1232
|
+
value: input3.bins
|
|
1233
|
+
})].every((flag) => flag);
|
|
1234
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1235
|
+
path: _path2 + ".key",
|
|
1236
|
+
expected: "string",
|
|
1237
|
+
value: input3.key
|
|
1238
|
+
}), "number" === typeof input3.value || $report(_exceptionable2, {
|
|
1239
|
+
path: _path2 + ".value",
|
|
1363
1240
|
expected: "number",
|
|
1364
|
-
value: input3.
|
|
1241
|
+
value: input3.value
|
|
1242
|
+
}), true === input3.uncomputable || $report(_exceptionable2, {
|
|
1243
|
+
path: _path2 + ".uncomputable",
|
|
1244
|
+
expected: "true",
|
|
1245
|
+
value: input3.uncomputable
|
|
1246
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1247
|
+
path: _path2 + ".label",
|
|
1248
|
+
expected: "(string | undefined)",
|
|
1249
|
+
value: input3.label
|
|
1365
1250
|
})].every((flag) => flag);
|
|
1366
|
-
const $
|
|
1251
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1252
|
+
path: _path2 + ".join",
|
|
1253
|
+
expected: "(string | undefined)",
|
|
1254
|
+
value: input3.join
|
|
1255
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1256
|
+
path: _path2 + ".isnot",
|
|
1257
|
+
expected: "(boolean | undefined)",
|
|
1258
|
+
value: input3.isnot
|
|
1259
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1260
|
+
path: _path2 + ".term",
|
|
1261
|
+
expected: "ConditionTerm",
|
|
1262
|
+
value: input3.term
|
|
1263
|
+
})) && $vo28(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1264
|
+
path: _path2 + ".term",
|
|
1265
|
+
expected: "ConditionTerm",
|
|
1266
|
+
value: input3.term
|
|
1267
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
1268
|
+
path: _path2 + ".value_by_max_grade",
|
|
1269
|
+
expected: "(boolean | undefined)",
|
|
1270
|
+
value: input3.value_by_max_grade
|
|
1271
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
1272
|
+
path: _path2 + ".value_by_most_recent",
|
|
1273
|
+
expected: "(boolean | undefined)",
|
|
1274
|
+
value: input3.value_by_most_recent
|
|
1275
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
1276
|
+
path: _path2 + ".value_by_computable_grade",
|
|
1277
|
+
expected: "(boolean | undefined)",
|
|
1278
|
+
value: input3.value_by_computable_grade
|
|
1279
|
+
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
1280
|
+
path: _path2 + ".grade_and_child",
|
|
1281
|
+
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1282
|
+
value: input3.grade_and_child
|
|
1283
|
+
})) && input3.grade_and_child.map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1284
|
+
path: _path2 + ".grade_and_child[" + _index22 + "]",
|
|
1285
|
+
expected: "GradeAndChildEntry",
|
|
1286
|
+
value: elem
|
|
1287
|
+
})) && $vo29(elem, _path2 + ".grade_and_child[" + _index22 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1288
|
+
path: _path2 + ".grade_and_child[" + _index22 + "]",
|
|
1289
|
+
expected: "GradeAndChildEntry",
|
|
1290
|
+
value: elem
|
|
1291
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1292
|
+
path: _path2 + ".grade_and_child",
|
|
1293
|
+
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1294
|
+
value: input3.grade_and_child
|
|
1295
|
+
})].every((flag) => flag);
|
|
1296
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1367
1297
|
path: _path2 + ".id",
|
|
1368
1298
|
expected: "string",
|
|
1369
1299
|
value: input3.id
|
|
@@ -1371,16 +1301,16 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1371
1301
|
path: _path2 + ".name",
|
|
1372
1302
|
expected: "string",
|
|
1373
1303
|
value: input3.name
|
|
1374
|
-
}), "
|
|
1304
|
+
}), "condition" === input3.type || $report(_exceptionable2, {
|
|
1375
1305
|
path: _path2 + ".type",
|
|
1376
|
-
expected: '"
|
|
1306
|
+
expected: '"condition"',
|
|
1377
1307
|
value: input3.type
|
|
1378
1308
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1379
1309
|
path: _path2 + ".child_types",
|
|
1380
1310
|
expected: "(Array<string> | undefined)",
|
|
1381
1311
|
value: input3.child_types
|
|
1382
|
-
})) && input3.child_types.map((elem,
|
|
1383
|
-
path: _path2 + ".child_types[" +
|
|
1312
|
+
})) && input3.child_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1313
|
+
path: _path2 + ".child_types[" + _index23 + "]",
|
|
1384
1314
|
expected: "string",
|
|
1385
1315
|
value: elem
|
|
1386
1316
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1395,8 +1325,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1395
1325
|
path: _path2 + ".included_types",
|
|
1396
1326
|
expected: "(Array<string> | undefined)",
|
|
1397
1327
|
value: input3.included_types
|
|
1398
|
-
})) && input3.included_types.map((elem,
|
|
1399
|
-
path: _path2 + ".included_types[" +
|
|
1328
|
+
})) && input3.included_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1329
|
+
path: _path2 + ".included_types[" + _index24 + "]",
|
|
1400
1330
|
expected: "string",
|
|
1401
1331
|
value: elem
|
|
1402
1332
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1419,32 +1349,200 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1419
1349
|
path: _path2 + ".skipValuesBuild",
|
|
1420
1350
|
expected: "(boolean | undefined)",
|
|
1421
1351
|
value: input3.skipValuesBuild
|
|
1422
|
-
})
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1352
|
+
})].every((flag) => flag);
|
|
1353
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1354
|
+
path: _path2 + ".grade",
|
|
1355
|
+
expected: "number",
|
|
1356
|
+
value: input3.grade
|
|
1357
|
+
}), "string" === typeof input3.grade_label || $report(_exceptionable2, {
|
|
1358
|
+
path: _path2 + ".grade_label",
|
|
1359
|
+
expected: "string",
|
|
1360
|
+
value: input3.grade_label
|
|
1361
|
+
}), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
|
|
1362
|
+
path: _path2 + ".child_id",
|
|
1363
|
+
expected: "(string | undefined)",
|
|
1364
|
+
value: input3.child_id
|
|
1365
|
+
}), "string" === typeof input3.child_label || $report(_exceptionable2, {
|
|
1366
|
+
path: _path2 + ".child_label",
|
|
1367
|
+
expected: "string",
|
|
1368
|
+
value: input3.child_label
|
|
1369
|
+
})].every((flag) => flag);
|
|
1370
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1371
|
+
path: _path2 + ".join",
|
|
1372
|
+
expected: "(string | undefined)",
|
|
1373
|
+
value: input3.join
|
|
1374
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1375
|
+
path: _path2 + ".isnot",
|
|
1376
|
+
expected: "(boolean | undefined)",
|
|
1377
|
+
value: input3.isnot
|
|
1378
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1379
|
+
path: _path2 + ".term",
|
|
1380
|
+
expected: "DtTerm",
|
|
1381
|
+
value: input3.term
|
|
1382
|
+
})) && $vo31(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1383
|
+
path: _path2 + ".term",
|
|
1384
|
+
expected: "DtTerm",
|
|
1385
|
+
value: input3.term
|
|
1386
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1387
|
+
path: _path2 + ".values",
|
|
1388
|
+
expected: "Array<__type>.o2",
|
|
1389
|
+
value: input3.values
|
|
1390
|
+
})) && input3.values.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1391
|
+
path: _path2 + ".values[" + _index25 + "]",
|
|
1392
|
+
expected: "__type.o4",
|
|
1393
|
+
value: elem
|
|
1394
|
+
})) && $vo36(elem, _path2 + ".values[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1395
|
+
path: _path2 + ".values[" + _index25 + "]",
|
|
1396
|
+
expected: "__type.o4",
|
|
1397
|
+
value: elem
|
|
1398
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1399
|
+
path: _path2 + ".values",
|
|
1400
|
+
expected: "Array<__type>.o2",
|
|
1401
|
+
value: input3.values
|
|
1402
|
+
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
1403
|
+
path: _path2 + ".includeNotTested",
|
|
1404
|
+
expected: "(boolean | undefined)",
|
|
1405
|
+
value: input3.includeNotTested
|
|
1406
|
+
}), void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName || $report(_exceptionable2, {
|
|
1407
|
+
path: _path2 + ".excludeGeneName",
|
|
1408
|
+
expected: "(boolean | undefined)",
|
|
1409
|
+
value: input3.excludeGeneName
|
|
1410
|
+
})].every((flag) => flag);
|
|
1411
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1412
|
+
path: _path2 + ".id",
|
|
1413
|
+
expected: "string",
|
|
1414
|
+
value: input3.id
|
|
1415
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
1416
|
+
path: _path2 + ".query",
|
|
1417
|
+
expected: "string",
|
|
1418
|
+
value: input3.query
|
|
1419
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1420
|
+
path: _path2 + ".name",
|
|
1421
|
+
expected: "string",
|
|
1422
|
+
value: input3.name
|
|
1423
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
1424
|
+
path: _path2 + ".name_noOrigin",
|
|
1425
|
+
expected: "string",
|
|
1426
|
+
value: input3.name_noOrigin
|
|
1427
|
+
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1428
|
+
path: _path2 + ".parentTerm",
|
|
1429
|
+
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)',
|
|
1430
|
+
value: input3.parentTerm
|
|
1431
|
+
})) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1432
|
+
path: _path2 + ".parentTerm",
|
|
1433
|
+
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)',
|
|
1434
|
+
value: input3.parentTerm
|
|
1435
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1436
|
+
path: _path2 + ".isleaf",
|
|
1437
|
+
expected: "boolean",
|
|
1438
|
+
value: input3.isleaf
|
|
1439
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1440
|
+
path: _path2 + ".type",
|
|
1441
|
+
expected: "string",
|
|
1442
|
+
value: input3.type
|
|
1443
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
1444
|
+
path: _path2 + ".dt",
|
|
1445
|
+
expected: "number",
|
|
1446
|
+
value: input3.dt
|
|
1447
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
1448
|
+
path: _path2 + ".origin",
|
|
1449
|
+
expected: "(string | undefined)",
|
|
1450
|
+
value: input3.origin
|
|
1451
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1452
|
+
path: _path2 + ".values",
|
|
1453
|
+
expected: "TermValues",
|
|
1454
|
+
value: input3.values
|
|
1455
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1456
|
+
path: _path2 + ".values",
|
|
1457
|
+
expected: "TermValues",
|
|
1458
|
+
value: input3.values
|
|
1459
|
+
})].every((flag) => flag);
|
|
1460
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1461
|
+
path: _path2 + ".id",
|
|
1462
|
+
expected: "string",
|
|
1463
|
+
value: input3.id
|
|
1464
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1465
|
+
path: _path2 + ".name",
|
|
1466
|
+
expected: "string",
|
|
1467
|
+
value: input3.name
|
|
1468
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1469
|
+
path: _path2 + ".type",
|
|
1470
|
+
expected: '"geneVariant"',
|
|
1471
|
+
value: input3.type
|
|
1472
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1473
|
+
path: _path2 + ".child_types",
|
|
1474
|
+
expected: "(Array<string> | undefined)",
|
|
1475
|
+
value: input3.child_types
|
|
1476
|
+
})) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1477
|
+
path: _path2 + ".child_types[" + _index26 + "]",
|
|
1478
|
+
expected: "string",
|
|
1479
|
+
value: elem
|
|
1480
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1481
|
+
path: _path2 + ".child_types",
|
|
1482
|
+
expected: "(Array<string> | undefined)",
|
|
1483
|
+
value: input3.child_types
|
|
1484
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1485
|
+
path: _path2 + ".hashtmldetail",
|
|
1486
|
+
expected: "(boolean | undefined)",
|
|
1487
|
+
value: input3.hashtmldetail
|
|
1488
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1489
|
+
path: _path2 + ".included_types",
|
|
1490
|
+
expected: "(Array<string> | undefined)",
|
|
1491
|
+
value: input3.included_types
|
|
1492
|
+
})) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1493
|
+
path: _path2 + ".included_types[" + _index27 + "]",
|
|
1494
|
+
expected: "string",
|
|
1495
|
+
value: elem
|
|
1496
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1497
|
+
path: _path2 + ".included_types",
|
|
1498
|
+
expected: "(Array<string> | undefined)",
|
|
1499
|
+
value: input3.included_types
|
|
1500
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1501
|
+
path: _path2 + ".isleaf",
|
|
1502
|
+
expected: "(boolean | undefined)",
|
|
1503
|
+
value: input3.isleaf
|
|
1504
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1505
|
+
path: _path2 + ".values",
|
|
1506
|
+
expected: "(TermValues | undefined)",
|
|
1507
|
+
value: input3.values
|
|
1508
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1509
|
+
path: _path2 + ".values",
|
|
1510
|
+
expected: "(TermValues | undefined)",
|
|
1511
|
+
value: input3.values
|
|
1512
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1513
|
+
path: _path2 + ".skipValuesBuild",
|
|
1514
|
+
expected: "(boolean | undefined)",
|
|
1515
|
+
value: input3.skipValuesBuild
|
|
1516
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1517
|
+
path: _path2 + ".kind",
|
|
1518
|
+
expected: '"gene"',
|
|
1519
|
+
value: input3.kind
|
|
1520
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1521
|
+
path: _path2 + ".gene",
|
|
1428
1522
|
expected: "string",
|
|
1523
|
+
value: input3.gene
|
|
1524
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1525
|
+
path: _path2 + ".chr",
|
|
1526
|
+
expected: "(string | undefined)",
|
|
1429
1527
|
value: input3.chr
|
|
1430
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1528
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1431
1529
|
path: _path2 + ".start",
|
|
1432
|
-
expected: "number",
|
|
1530
|
+
expected: "(number | undefined)",
|
|
1433
1531
|
value: input3.start
|
|
1434
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1532
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1435
1533
|
path: _path2 + ".stop",
|
|
1436
|
-
expected: "number",
|
|
1534
|
+
expected: "(number | undefined)",
|
|
1437
1535
|
value: input3.stop
|
|
1438
1536
|
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1439
1537
|
path: _path2 + ".genes",
|
|
1440
1538
|
expected: "Array<GvGeneTerm>",
|
|
1441
1539
|
value: input3.genes
|
|
1442
|
-
})) && input3.genes.map((elem,
|
|
1443
|
-
path: _path2 + ".genes[" +
|
|
1540
|
+
})) && input3.genes.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1541
|
+
path: _path2 + ".genes[" + _index28 + "]",
|
|
1444
1542
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1445
1543
|
value: elem
|
|
1446
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1447
|
-
path: _path2 + ".genes[" +
|
|
1544
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index28 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1545
|
+
path: _path2 + ".genes[" + _index28 + "]",
|
|
1448
1546
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1449
1547
|
value: elem
|
|
1450
1548
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1463,12 +1561,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1463
1561
|
path: _path2 + ".childTerms",
|
|
1464
1562
|
expected: "(Array<DtTerm> | undefined)",
|
|
1465
1563
|
value: input3.childTerms
|
|
1466
|
-
})) && input3.childTerms.map((elem,
|
|
1467
|
-
path: _path2 + ".childTerms[" +
|
|
1564
|
+
})) && input3.childTerms.map((elem, _index29) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1565
|
+
path: _path2 + ".childTerms[" + _index29 + "]",
|
|
1468
1566
|
expected: "DtTerm",
|
|
1469
1567
|
value: elem
|
|
1470
|
-
})) && $
|
|
1471
|
-
path: _path2 + ".childTerms[" +
|
|
1568
|
+
})) && $vo31(elem, _path2 + ".childTerms[" + _index29 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1569
|
+
path: _path2 + ".childTerms[" + _index29 + "]",
|
|
1472
1570
|
expected: "DtTerm",
|
|
1473
1571
|
value: elem
|
|
1474
1572
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1476,18 +1574,281 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1476
1574
|
expected: "(Array<DtTerm> | undefined)",
|
|
1477
1575
|
value: input3.childTerms
|
|
1478
1576
|
})].every((flag) => flag);
|
|
1479
|
-
const $
|
|
1480
|
-
path: _path2 + ".
|
|
1577
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1578
|
+
path: _path2 + ".id",
|
|
1481
1579
|
expected: "string",
|
|
1482
|
-
value: input3.
|
|
1483
|
-
}), "string" === typeof input3.
|
|
1484
|
-
path: _path2 + ".
|
|
1580
|
+
value: input3.id
|
|
1581
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1582
|
+
path: _path2 + ".name",
|
|
1485
1583
|
expected: "string",
|
|
1486
|
-
value: input3.
|
|
1487
|
-
}), "string" === typeof input3.
|
|
1488
|
-
path: _path2 + ".
|
|
1584
|
+
value: input3.name
|
|
1585
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1586
|
+
path: _path2 + ".type",
|
|
1489
1587
|
expected: "string",
|
|
1490
|
-
value: input3.
|
|
1588
|
+
value: input3.type
|
|
1589
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1590
|
+
path: _path2 + ".child_types",
|
|
1591
|
+
expected: "(Array<string> | undefined)",
|
|
1592
|
+
value: input3.child_types
|
|
1593
|
+
})) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1594
|
+
path: _path2 + ".child_types[" + _index30 + "]",
|
|
1595
|
+
expected: "string",
|
|
1596
|
+
value: elem
|
|
1597
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1598
|
+
path: _path2 + ".child_types",
|
|
1599
|
+
expected: "(Array<string> | undefined)",
|
|
1600
|
+
value: input3.child_types
|
|
1601
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1602
|
+
path: _path2 + ".hashtmldetail",
|
|
1603
|
+
expected: "(boolean | undefined)",
|
|
1604
|
+
value: input3.hashtmldetail
|
|
1605
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1606
|
+
path: _path2 + ".included_types",
|
|
1607
|
+
expected: "(Array<string> | undefined)",
|
|
1608
|
+
value: input3.included_types
|
|
1609
|
+
})) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1610
|
+
path: _path2 + ".included_types[" + _index31 + "]",
|
|
1611
|
+
expected: "string",
|
|
1612
|
+
value: elem
|
|
1613
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1614
|
+
path: _path2 + ".included_types",
|
|
1615
|
+
expected: "(Array<string> | undefined)",
|
|
1616
|
+
value: input3.included_types
|
|
1617
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1618
|
+
path: _path2 + ".isleaf",
|
|
1619
|
+
expected: "(boolean | undefined)",
|
|
1620
|
+
value: input3.isleaf
|
|
1621
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1622
|
+
path: _path2 + ".values",
|
|
1623
|
+
expected: "(TermValues | undefined)",
|
|
1624
|
+
value: input3.values
|
|
1625
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1626
|
+
path: _path2 + ".values",
|
|
1627
|
+
expected: "(TermValues | undefined)",
|
|
1628
|
+
value: input3.values
|
|
1629
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1630
|
+
path: _path2 + ".skipValuesBuild",
|
|
1631
|
+
expected: "(boolean | undefined)",
|
|
1632
|
+
value: input3.skipValuesBuild
|
|
1633
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1634
|
+
path: _path2 + ".kind",
|
|
1635
|
+
expected: '"gene"',
|
|
1636
|
+
value: input3.kind
|
|
1637
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1638
|
+
path: _path2 + ".gene",
|
|
1639
|
+
expected: "string",
|
|
1640
|
+
value: input3.gene
|
|
1641
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1642
|
+
path: _path2 + ".chr",
|
|
1643
|
+
expected: "(string | undefined)",
|
|
1644
|
+
value: input3.chr
|
|
1645
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1646
|
+
path: _path2 + ".start",
|
|
1647
|
+
expected: "(number | undefined)",
|
|
1648
|
+
value: input3.start
|
|
1649
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1650
|
+
path: _path2 + ".stop",
|
|
1651
|
+
expected: "(number | undefined)",
|
|
1652
|
+
value: input3.stop
|
|
1653
|
+
})].every((flag) => flag);
|
|
1654
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1655
|
+
path: _path2 + ".id",
|
|
1656
|
+
expected: "string",
|
|
1657
|
+
value: input3.id
|
|
1658
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1659
|
+
path: _path2 + ".name",
|
|
1660
|
+
expected: "string",
|
|
1661
|
+
value: input3.name
|
|
1662
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1663
|
+
path: _path2 + ".type",
|
|
1664
|
+
expected: "string",
|
|
1665
|
+
value: input3.type
|
|
1666
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1667
|
+
path: _path2 + ".child_types",
|
|
1668
|
+
expected: "(Array<string> | undefined)",
|
|
1669
|
+
value: input3.child_types
|
|
1670
|
+
})) && input3.child_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1671
|
+
path: _path2 + ".child_types[" + _index32 + "]",
|
|
1672
|
+
expected: "string",
|
|
1673
|
+
value: elem
|
|
1674
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1675
|
+
path: _path2 + ".child_types",
|
|
1676
|
+
expected: "(Array<string> | undefined)",
|
|
1677
|
+
value: input3.child_types
|
|
1678
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1679
|
+
path: _path2 + ".hashtmldetail",
|
|
1680
|
+
expected: "(boolean | undefined)",
|
|
1681
|
+
value: input3.hashtmldetail
|
|
1682
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1683
|
+
path: _path2 + ".included_types",
|
|
1684
|
+
expected: "(Array<string> | undefined)",
|
|
1685
|
+
value: input3.included_types
|
|
1686
|
+
})) && input3.included_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1687
|
+
path: _path2 + ".included_types[" + _index33 + "]",
|
|
1688
|
+
expected: "string",
|
|
1689
|
+
value: elem
|
|
1690
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1691
|
+
path: _path2 + ".included_types",
|
|
1692
|
+
expected: "(Array<string> | undefined)",
|
|
1693
|
+
value: input3.included_types
|
|
1694
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1695
|
+
path: _path2 + ".isleaf",
|
|
1696
|
+
expected: "(boolean | undefined)",
|
|
1697
|
+
value: input3.isleaf
|
|
1698
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1699
|
+
path: _path2 + ".values",
|
|
1700
|
+
expected: "(TermValues | undefined)",
|
|
1701
|
+
value: input3.values
|
|
1702
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1703
|
+
path: _path2 + ".values",
|
|
1704
|
+
expected: "(TermValues | undefined)",
|
|
1705
|
+
value: input3.values
|
|
1706
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1707
|
+
path: _path2 + ".skipValuesBuild",
|
|
1708
|
+
expected: "(boolean | undefined)",
|
|
1709
|
+
value: input3.skipValuesBuild
|
|
1710
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1711
|
+
path: _path2 + ".kind",
|
|
1712
|
+
expected: '"coord"',
|
|
1713
|
+
value: input3.kind
|
|
1714
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1715
|
+
path: _path2 + ".chr",
|
|
1716
|
+
expected: "string",
|
|
1717
|
+
value: input3.chr
|
|
1718
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1719
|
+
path: _path2 + ".start",
|
|
1720
|
+
expected: "number",
|
|
1721
|
+
value: input3.start
|
|
1722
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1723
|
+
path: _path2 + ".stop",
|
|
1724
|
+
expected: "number",
|
|
1725
|
+
value: input3.stop
|
|
1726
|
+
})].every((flag) => flag);
|
|
1727
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1728
|
+
path: _path2 + ".id",
|
|
1729
|
+
expected: "string",
|
|
1730
|
+
value: input3.id
|
|
1731
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1732
|
+
path: _path2 + ".name",
|
|
1733
|
+
expected: "string",
|
|
1734
|
+
value: input3.name
|
|
1735
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1736
|
+
path: _path2 + ".type",
|
|
1737
|
+
expected: '"geneVariant"',
|
|
1738
|
+
value: input3.type
|
|
1739
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1740
|
+
path: _path2 + ".child_types",
|
|
1741
|
+
expected: "(Array<string> | undefined)",
|
|
1742
|
+
value: input3.child_types
|
|
1743
|
+
})) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1744
|
+
path: _path2 + ".child_types[" + _index34 + "]",
|
|
1745
|
+
expected: "string",
|
|
1746
|
+
value: elem
|
|
1747
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1748
|
+
path: _path2 + ".child_types",
|
|
1749
|
+
expected: "(Array<string> | undefined)",
|
|
1750
|
+
value: input3.child_types
|
|
1751
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1752
|
+
path: _path2 + ".hashtmldetail",
|
|
1753
|
+
expected: "(boolean | undefined)",
|
|
1754
|
+
value: input3.hashtmldetail
|
|
1755
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1756
|
+
path: _path2 + ".included_types",
|
|
1757
|
+
expected: "(Array<string> | undefined)",
|
|
1758
|
+
value: input3.included_types
|
|
1759
|
+
})) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1760
|
+
path: _path2 + ".included_types[" + _index35 + "]",
|
|
1761
|
+
expected: "string",
|
|
1762
|
+
value: elem
|
|
1763
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1764
|
+
path: _path2 + ".included_types",
|
|
1765
|
+
expected: "(Array<string> | undefined)",
|
|
1766
|
+
value: input3.included_types
|
|
1767
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1768
|
+
path: _path2 + ".isleaf",
|
|
1769
|
+
expected: "(boolean | undefined)",
|
|
1770
|
+
value: input3.isleaf
|
|
1771
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1772
|
+
path: _path2 + ".values",
|
|
1773
|
+
expected: "(TermValues | undefined)",
|
|
1774
|
+
value: input3.values
|
|
1775
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1776
|
+
path: _path2 + ".values",
|
|
1777
|
+
expected: "(TermValues | undefined)",
|
|
1778
|
+
value: input3.values
|
|
1779
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1780
|
+
path: _path2 + ".skipValuesBuild",
|
|
1781
|
+
expected: "(boolean | undefined)",
|
|
1782
|
+
value: input3.skipValuesBuild
|
|
1783
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1784
|
+
path: _path2 + ".kind",
|
|
1785
|
+
expected: '"coord"',
|
|
1786
|
+
value: input3.kind
|
|
1787
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1788
|
+
path: _path2 + ".chr",
|
|
1789
|
+
expected: "string",
|
|
1790
|
+
value: input3.chr
|
|
1791
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1792
|
+
path: _path2 + ".start",
|
|
1793
|
+
expected: "number",
|
|
1794
|
+
value: input3.start
|
|
1795
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1796
|
+
path: _path2 + ".stop",
|
|
1797
|
+
expected: "number",
|
|
1798
|
+
value: input3.stop
|
|
1799
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1800
|
+
path: _path2 + ".genes",
|
|
1801
|
+
expected: "Array<GvGeneTerm>",
|
|
1802
|
+
value: input3.genes
|
|
1803
|
+
})) && input3.genes.map((elem, _index36) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1804
|
+
path: _path2 + ".genes[" + _index36 + "]",
|
|
1805
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1806
|
+
value: elem
|
|
1807
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1808
|
+
path: _path2 + ".genes[" + _index36 + "]",
|
|
1809
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1810
|
+
value: elem
|
|
1811
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1812
|
+
path: _path2 + ".genes",
|
|
1813
|
+
expected: "Array<GvGeneTerm>",
|
|
1814
|
+
value: input3.genes
|
|
1815
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1816
|
+
path: _path2 + ".groupsetting",
|
|
1817
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1818
|
+
value: input3.groupsetting
|
|
1819
|
+
})) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1820
|
+
path: _path2 + ".groupsetting",
|
|
1821
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1822
|
+
value: input3.groupsetting
|
|
1823
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1824
|
+
path: _path2 + ".childTerms",
|
|
1825
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1826
|
+
value: input3.childTerms
|
|
1827
|
+
})) && input3.childTerms.map((elem, _index37) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1828
|
+
path: _path2 + ".childTerms[" + _index37 + "]",
|
|
1829
|
+
expected: "DtTerm",
|
|
1830
|
+
value: elem
|
|
1831
|
+
})) && $vo31(elem, _path2 + ".childTerms[" + _index37 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1832
|
+
path: _path2 + ".childTerms[" + _index37 + "]",
|
|
1833
|
+
expected: "DtTerm",
|
|
1834
|
+
value: elem
|
|
1835
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1836
|
+
path: _path2 + ".childTerms",
|
|
1837
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1838
|
+
value: input3.childTerms
|
|
1839
|
+
})].every((flag) => flag);
|
|
1840
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1841
|
+
path: _path2 + ".key",
|
|
1842
|
+
expected: "string",
|
|
1843
|
+
value: input3.key
|
|
1844
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1845
|
+
path: _path2 + ".label",
|
|
1846
|
+
expected: "string",
|
|
1847
|
+
value: input3.label
|
|
1848
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
1849
|
+
path: _path2 + ".value",
|
|
1850
|
+
expected: "string",
|
|
1851
|
+
value: input3.value
|
|
1491
1852
|
})].every((flag) => flag);
|
|
1492
1853
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1493
1854
|
if ("tvslst" === input3.type)
|
|
@@ -1513,16 +1874,16 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1513
1874
|
})();
|
|
1514
1875
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1515
1876
|
if (true === input3.startunbounded)
|
|
1516
|
-
return $
|
|
1877
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1517
1878
|
if (true === input3.stopunbounded)
|
|
1518
|
-
return $
|
|
1519
|
-
return $
|
|
1879
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1880
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1520
1881
|
})();
|
|
1521
1882
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1522
1883
|
if ("gene" === input3.kind)
|
|
1523
|
-
return $
|
|
1884
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
1524
1885
|
if ("coord" === input3.kind)
|
|
1525
|
-
return $
|
|
1886
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
1526
1887
|
return $report(_exceptionable2, {
|
|
1527
1888
|
path: _path2,
|
|
1528
1889
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -1532,46 +1893,63 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1532
1893
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1533
1894
|
if (void 0 !== input3.ranges)
|
|
1534
1895
|
return $vo12(input3, _path2, _exceptionable2);
|
|
1535
|
-
return $vo3(input3, _path2, false) || $
|
|
1896
|
+
return $vo3(input3, _path2, false) || $vo27(input3, _path2, false) || $vo30(input3, _path2, false);
|
|
1536
1897
|
})();
|
|
1537
1898
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1899
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
1900
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
1901
|
+
if ("geneExpression" === input3.type)
|
|
1902
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1903
|
+
if ("date" === input3.type)
|
|
1904
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
1905
|
+
if ("metaboliteIntensity" === input3.type)
|
|
1906
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1907
|
+
if ("ssGSEA" === input3.type)
|
|
1908
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
1909
|
+
return $report(_exceptionable2, {
|
|
1910
|
+
path: _path2,
|
|
1911
|
+
expected: "(NumericDictTerm | GeneExpressionTerm | DateTerm | MetaboliteIntensityTerm | SsGSEATerm)",
|
|
1912
|
+
value: input3
|
|
1913
|
+
});
|
|
1914
|
+
})();
|
|
1915
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1538
1916
|
if ("regular-bin" === input3.type)
|
|
1539
|
-
return $
|
|
1917
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
1540
1918
|
if ("custom-bin" === input3.type)
|
|
1541
|
-
return $
|
|
1919
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
1542
1920
|
return $report(_exceptionable2, {
|
|
1543
1921
|
path: _path2,
|
|
1544
1922
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
1545
1923
|
value: input3
|
|
1546
1924
|
});
|
|
1547
1925
|
})();
|
|
1548
|
-
const $
|
|
1926
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1549
1927
|
if (true === input3.startunbounded)
|
|
1550
|
-
return $vo17(input3, _path2, _exceptionable2);
|
|
1551
|
-
if (void 0 !== input3.start)
|
|
1552
1928
|
return $vo18(input3, _path2, _exceptionable2);
|
|
1929
|
+
if (void 0 !== input3.start)
|
|
1930
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1553
1931
|
return $report(_exceptionable2, {
|
|
1554
1932
|
path: _path2,
|
|
1555
1933
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
1556
1934
|
value: input3
|
|
1557
1935
|
});
|
|
1558
1936
|
})();
|
|
1559
|
-
const $
|
|
1937
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1560
1938
|
if (void 0 !== input3.stop)
|
|
1561
|
-
return $vo18(input3, _path2, _exceptionable2);
|
|
1562
|
-
if (true === input3.stopunbounded)
|
|
1563
1939
|
return $vo19(input3, _path2, _exceptionable2);
|
|
1940
|
+
if (true === input3.stopunbounded)
|
|
1941
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1564
1942
|
return $report(_exceptionable2, {
|
|
1565
1943
|
path: _path2,
|
|
1566
1944
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1567
1945
|
value: input3
|
|
1568
1946
|
});
|
|
1569
1947
|
})();
|
|
1570
|
-
const $
|
|
1948
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1571
1949
|
if ("gene" === input3.kind)
|
|
1572
|
-
return $
|
|
1950
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
1573
1951
|
if ("coord" === input3.kind)
|
|
1574
|
-
return $
|
|
1952
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
1575
1953
|
return $report(_exceptionable2, {
|
|
1576
1954
|
path: _path2,
|
|
1577
1955
|
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; })',
|
|
@@ -1601,7 +1979,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1601
1979
|
const __is = (input2) => {
|
|
1602
1980
|
const $join = import_typia.createValidate.join;
|
|
1603
1981
|
const $io0 = (input3) => Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem));
|
|
1604
|
-
const $io1 = (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 && $
|
|
1982
|
+
const $io1 = (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)));
|
|
1605
1983
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
1606
1984
|
const value = input3[key];
|
|
1607
1985
|
if (void 0 === value)
|
|
@@ -1622,11 +2000,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1622
2000
|
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);
|
|
1623
2001
|
const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
1624
2002
|
const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io4(input3.filter)) && "string" === typeof input3.color;
|
|
1625
|
-
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 && $
|
|
1626
|
-
const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type
|
|
1627
|
-
const $io15 = (input3) => "
|
|
1628
|
-
const $io16 = (input3) =>
|
|
1629
|
-
const $io17 = (input3) =>
|
|
2003
|
+
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)));
|
|
2004
|
+
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));
|
|
2005
|
+
const $io15 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
2006
|
+
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);
|
|
2007
|
+
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);
|
|
2008
|
+
const $io18 = (input3) => Object.keys(input3).every((key) => {
|
|
1630
2009
|
const value = input3[key];
|
|
1631
2010
|
if (void 0 === value)
|
|
1632
2011
|
return true;
|
|
@@ -1634,59 +2013,74 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1634
2013
|
return "number" === typeof value;
|
|
1635
2014
|
return true;
|
|
1636
2015
|
});
|
|
1637
|
-
const $
|
|
1638
|
-
const $
|
|
1639
|
-
const $
|
|
1640
|
-
const $
|
|
1641
|
-
const $
|
|
1642
|
-
const $
|
|
1643
|
-
const $
|
|
1644
|
-
const $
|
|
1645
|
-
const $
|
|
1646
|
-
const $
|
|
1647
|
-
const $
|
|
1648
|
-
const $
|
|
1649
|
-
const $
|
|
1650
|
-
const $
|
|
1651
|
-
const $
|
|
1652
|
-
const $
|
|
1653
|
-
const $
|
|
1654
|
-
const $
|
|
1655
|
-
const $
|
|
1656
|
-
const $
|
|
1657
|
-
const $
|
|
1658
|
-
const $
|
|
1659
|
-
const $
|
|
1660
|
-
const $
|
|
1661
|
-
const $
|
|
1662
|
-
const $
|
|
2016
|
+
const $io19 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "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);
|
|
2017
|
+
const $io20 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
2018
|
+
const $io21 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
2019
|
+
const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu3(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
2020
|
+
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
2021
|
+
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
2022
|
+
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
2023
|
+
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
2024
|
+
const $io27 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
2025
|
+
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)));
|
|
2026
|
+
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);
|
|
2027
|
+
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;
|
|
2028
|
+
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);
|
|
2029
|
+
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));
|
|
2030
|
+
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)));
|
|
2031
|
+
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);
|
|
2032
|
+
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
2033
|
+
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu4(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
2034
|
+
const $io37 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
2035
|
+
const $io38 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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)));
|
|
2036
|
+
const $io39 = (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) && "string" === typeof input3.gene && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
2037
|
+
const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
2038
|
+
const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting));
|
|
2039
|
+
const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
2040
|
+
const $io43 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
2041
|
+
const $io44 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
2042
|
+
const $io45 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
2043
|
+
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)));
|
|
2044
|
+
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);
|
|
2045
|
+
const $io48 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
2046
|
+
const $io49 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
2047
|
+
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);
|
|
2048
|
+
const $io51 = (input3) => Object.keys(input3).every((key) => {
|
|
1663
2049
|
const value = input3[key];
|
|
1664
2050
|
if (void 0 === value)
|
|
1665
2051
|
return true;
|
|
1666
2052
|
if (RegExp(/(.*)/).test(key))
|
|
1667
|
-
return "object" === typeof value && null !== value && $
|
|
2053
|
+
return "object" === typeof value && null !== value && $io52(value);
|
|
1668
2054
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
1669
|
-
return "object" === typeof value && null !== value && $
|
|
2055
|
+
return "object" === typeof value && null !== value && $io52(value);
|
|
1670
2056
|
return true;
|
|
1671
2057
|
});
|
|
1672
|
-
const $
|
|
1673
|
-
const $
|
|
2058
|
+
const $io52 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io4(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io53(elem))) && true;
|
|
2059
|
+
const $io53 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
1674
2060
|
const $iu0 = (input3) => (() => {
|
|
1675
2061
|
if ("gene" === input3.kind)
|
|
1676
2062
|
return $io1(input3);
|
|
1677
2063
|
if ("coord" === input3.kind)
|
|
1678
|
-
return $
|
|
2064
|
+
return $io38(input3);
|
|
2065
|
+
if ("geneExpression" === input3.type)
|
|
2066
|
+
return $io39(input3);
|
|
2067
|
+
if ("metaboliteIntensity" === input3.type)
|
|
2068
|
+
return $io40(input3);
|
|
1679
2069
|
if ("categorical" === input3.type)
|
|
1680
|
-
return $
|
|
1681
|
-
if ("integer" === input3.type || "float" === input3.type
|
|
1682
|
-
return $
|
|
2070
|
+
return $io41(input3);
|
|
2071
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
2072
|
+
return $io42(input3);
|
|
2073
|
+
if ("date" === input3.type)
|
|
2074
|
+
return $io43(input3);
|
|
2075
|
+
if ("ssGSEA" === input3.type)
|
|
2076
|
+
return $io44(input3);
|
|
1683
2077
|
if ("condition" === input3.type)
|
|
1684
|
-
return $
|
|
2078
|
+
return $io45(input3);
|
|
1685
2079
|
return (() => {
|
|
1686
|
-
if ($
|
|
1687
|
-
return $
|
|
1688
|
-
if ($
|
|
1689
|
-
return $
|
|
2080
|
+
if ($io46(input3))
|
|
2081
|
+
return $io46(input3);
|
|
2082
|
+
if ($io50(input3))
|
|
2083
|
+
return $io50(input3);
|
|
1690
2084
|
return false;
|
|
1691
2085
|
})();
|
|
1692
2086
|
})();
|
|
@@ -1706,16 +2100,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1706
2100
|
})();
|
|
1707
2101
|
const $iu3 = (input3) => (() => {
|
|
1708
2102
|
if (true === input3.startunbounded)
|
|
1709
|
-
return $
|
|
2103
|
+
return $io19(input3);
|
|
1710
2104
|
if (true === input3.stopunbounded)
|
|
1711
|
-
return $
|
|
1712
|
-
return $
|
|
2105
|
+
return $io21(input3);
|
|
2106
|
+
return $io20(input3);
|
|
1713
2107
|
})();
|
|
1714
2108
|
const $iu4 = (input3) => (() => {
|
|
1715
2109
|
if ("gene" === input3.kind)
|
|
1716
|
-
return $
|
|
2110
|
+
return $io34(input3);
|
|
1717
2111
|
if ("coord" === input3.kind)
|
|
1718
|
-
return $
|
|
2112
|
+
return $io35(input3);
|
|
1719
2113
|
return false;
|
|
1720
2114
|
})();
|
|
1721
2115
|
const $iu5 = (input3) => (() => {
|
|
@@ -1724,39 +2118,52 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1724
2118
|
return (() => {
|
|
1725
2119
|
if ($io6(input3))
|
|
1726
2120
|
return $io6(input3);
|
|
1727
|
-
if ($
|
|
1728
|
-
return $
|
|
1729
|
-
if ($
|
|
1730
|
-
return $
|
|
2121
|
+
if ($io28(input3))
|
|
2122
|
+
return $io28(input3);
|
|
2123
|
+
if ($io31(input3))
|
|
2124
|
+
return $io31(input3);
|
|
1731
2125
|
return false;
|
|
1732
2126
|
})();
|
|
1733
2127
|
})();
|
|
1734
2128
|
const $iu6 = (input3) => (() => {
|
|
2129
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
2130
|
+
return $io14(input3);
|
|
2131
|
+
if ("geneExpression" === input3.type)
|
|
2132
|
+
return $io23(input3);
|
|
2133
|
+
if ("date" === input3.type)
|
|
2134
|
+
return $io25(input3);
|
|
2135
|
+
if ("metaboliteIntensity" === input3.type)
|
|
2136
|
+
return $io24(input3);
|
|
2137
|
+
if ("ssGSEA" === input3.type)
|
|
2138
|
+
return $io26(input3);
|
|
2139
|
+
return false;
|
|
2140
|
+
})();
|
|
2141
|
+
const $iu7 = (input3) => (() => {
|
|
1735
2142
|
if ("regular-bin" === input3.type)
|
|
1736
|
-
return $
|
|
2143
|
+
return $io17(input3);
|
|
1737
2144
|
if ("custom-bin" === input3.type)
|
|
1738
|
-
return $
|
|
2145
|
+
return $io22(input3);
|
|
1739
2146
|
return false;
|
|
1740
2147
|
})();
|
|
1741
|
-
const $
|
|
2148
|
+
const $iu8 = (input3) => (() => {
|
|
1742
2149
|
if (true === input3.startunbounded)
|
|
1743
|
-
return $io18(input3);
|
|
1744
|
-
if (void 0 !== input3.start)
|
|
1745
2150
|
return $io19(input3);
|
|
2151
|
+
if (void 0 !== input3.start)
|
|
2152
|
+
return $io20(input3);
|
|
1746
2153
|
return false;
|
|
1747
2154
|
})();
|
|
1748
|
-
const $
|
|
2155
|
+
const $iu9 = (input3) => (() => {
|
|
1749
2156
|
if (void 0 !== input3.stop)
|
|
1750
|
-
return $io19(input3);
|
|
1751
|
-
if (true === input3.stopunbounded)
|
|
1752
2157
|
return $io20(input3);
|
|
2158
|
+
if (true === input3.stopunbounded)
|
|
2159
|
+
return $io21(input3);
|
|
1753
2160
|
return false;
|
|
1754
2161
|
})();
|
|
1755
|
-
const $
|
|
2162
|
+
const $iu10 = (input3) => (() => {
|
|
1756
2163
|
if ("gene" === input3.kind)
|
|
1757
|
-
return $
|
|
2164
|
+
return $io33(input3);
|
|
1758
2165
|
if ("coord" === input3.kind)
|
|
1759
|
-
return $
|
|
2166
|
+
return $io36(input3);
|
|
1760
2167
|
return false;
|
|
1761
2168
|
})();
|
|
1762
2169
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -1771,11 +2178,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1771
2178
|
value: input3.terms
|
|
1772
2179
|
})) && input3.terms.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1773
2180
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
1774
|
-
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & {
|
|
2181
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { gene: string; name: string; type: "geneExpression"; bins?: PresetNumericBins | undefined; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | 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 | undefined; type: "date"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name?: string | undefined; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
1775
2182
|
value: elem
|
|
1776
2183
|
})) && $vu0(elem, _path2 + ".terms[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1777
2184
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
1778
|
-
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & {
|
|
2185
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { gene: string; name: string; type: "geneExpression"; bins?: PresetNumericBins | undefined; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | 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 | undefined; type: "date"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name?: string | undefined; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
1779
2186
|
value: elem
|
|
1780
2187
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1781
2188
|
path: _path2 + ".terms",
|
|
@@ -1890,7 +2297,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1890
2297
|
path: _path2 + ".childTerms[" + _index5 + "]",
|
|
1891
2298
|
expected: "DtTerm",
|
|
1892
2299
|
value: elem
|
|
1893
|
-
})) && $
|
|
2300
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1894
2301
|
path: _path2 + ".childTerms[" + _index5 + "]",
|
|
1895
2302
|
expected: "DtTerm",
|
|
1896
2303
|
value: elem
|
|
@@ -2229,11 +2636,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2229
2636
|
value: input3.isnot
|
|
2230
2637
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2231
2638
|
path: _path2 + ".term",
|
|
2232
|
-
expected: "
|
|
2639
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
2233
2640
|
value: input3.term
|
|
2234
|
-
})) && $
|
|
2641
|
+
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2235
2642
|
path: _path2 + ".term",
|
|
2236
|
-
expected: "
|
|
2643
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
2237
2644
|
value: input3.term
|
|
2238
2645
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
2239
2646
|
path: _path2 + ".ranges",
|
|
@@ -2259,7 +2666,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2259
2666
|
path: _path2 + ".values[" + _index14 + "]",
|
|
2260
2667
|
expected: "__type.o3",
|
|
2261
2668
|
value: elem
|
|
2262
|
-
})) && $
|
|
2669
|
+
})) && $vo27(elem, _path2 + ".values[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2263
2670
|
path: _path2 + ".values[" + _index14 + "]",
|
|
2264
2671
|
expected: "__type.o3",
|
|
2265
2672
|
value: elem
|
|
@@ -2276,9 +2683,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2276
2683
|
path: _path2 + ".name",
|
|
2277
2684
|
expected: "string",
|
|
2278
2685
|
value: input3.name
|
|
2279
|
-
}), "integer" === input3.type || "float" === input3.type ||
|
|
2686
|
+
}), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
|
|
2280
2687
|
path: _path2 + ".type",
|
|
2281
|
-
expected: '("
|
|
2688
|
+
expected: '("float" | "integer")',
|
|
2282
2689
|
value: input3.type
|
|
2283
2690
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2284
2691
|
path: _path2 + ".child_types",
|
|
@@ -2324,32 +2731,41 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2324
2731
|
path: _path2 + ".skipValuesBuild",
|
|
2325
2732
|
expected: "(boolean | undefined)",
|
|
2326
2733
|
value: input3.skipValuesBuild
|
|
2327
|
-
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2328
|
-
path: _path2 + ".bins",
|
|
2329
|
-
expected: "PresetNumericBins",
|
|
2330
|
-
value: input3.bins
|
|
2331
|
-
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2332
|
-
path: _path2 + ".bins",
|
|
2333
|
-
expected: "PresetNumericBins",
|
|
2334
|
-
value: input3.bins
|
|
2335
|
-
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
2336
|
-
path: _path2 + ".unit",
|
|
2337
|
-
expected: "(string | undefined)",
|
|
2338
|
-
value: input3.unit
|
|
2339
2734
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2340
2735
|
path: _path2 + ".continuousColorScale",
|
|
2341
2736
|
expected: "(__type.o2 | undefined)",
|
|
2342
2737
|
value: input3.continuousColorScale
|
|
2343
|
-
})) && $
|
|
2738
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2344
2739
|
path: _path2 + ".continuousColorScale",
|
|
2345
2740
|
expected: "(__type.o2 | undefined)",
|
|
2346
2741
|
value: input3.continuousColorScale
|
|
2742
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
2743
|
+
path: _path2 + ".unit",
|
|
2744
|
+
expected: "(string | undefined)",
|
|
2745
|
+
value: input3.unit
|
|
2746
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2747
|
+
path: _path2 + ".bins",
|
|
2748
|
+
expected: "PresetNumericBins",
|
|
2749
|
+
value: input3.bins
|
|
2750
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2751
|
+
path: _path2 + ".bins",
|
|
2752
|
+
expected: "PresetNumericBins",
|
|
2753
|
+
value: input3.bins
|
|
2347
2754
|
})].every((flag) => flag);
|
|
2348
|
-
const $vo15 = (input3, _path2, _exceptionable2 = true) => [
|
|
2755
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
2756
|
+
path: _path2 + ".minColor",
|
|
2757
|
+
expected: "string",
|
|
2758
|
+
value: input3.minColor
|
|
2759
|
+
}), "string" === typeof input3.maxColor || $report(_exceptionable2, {
|
|
2760
|
+
path: _path2 + ".maxColor",
|
|
2761
|
+
expected: "string",
|
|
2762
|
+
value: input3.maxColor
|
|
2763
|
+
})].every((flag) => flag);
|
|
2764
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
2349
2765
|
path: _path2 + '["default"]',
|
|
2350
2766
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2351
2767
|
value: input3["default"]
|
|
2352
|
-
})) && $
|
|
2768
|
+
})) && $vu7(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
2353
2769
|
path: _path2 + '["default"]',
|
|
2354
2770
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2355
2771
|
value: input3["default"]
|
|
@@ -2357,7 +2773,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2357
2773
|
path: _path2 + ".less",
|
|
2358
2774
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2359
2775
|
value: input3.less
|
|
2360
|
-
})) && $
|
|
2776
|
+
})) && $vu7(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
2361
2777
|
path: _path2 + ".less",
|
|
2362
2778
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2363
2779
|
value: input3.less
|
|
@@ -2382,11 +2798,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2382
2798
|
expected: "(number | undefined)",
|
|
2383
2799
|
value: input3.max
|
|
2384
2800
|
})].every((flag) => flag);
|
|
2385
|
-
const $
|
|
2801
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2386
2802
|
path: _path2 + ".hiddenValues",
|
|
2387
2803
|
expected: "(HiddenValues | undefined)",
|
|
2388
2804
|
value: input3.hiddenValues
|
|
2389
|
-
})) && $
|
|
2805
|
+
})) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2390
2806
|
path: _path2 + ".hiddenValues",
|
|
2391
2807
|
expected: "(HiddenValues | undefined)",
|
|
2392
2808
|
value: input3.hiddenValues
|
|
@@ -2418,7 +2834,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2418
2834
|
path: _path2 + ".first_bin",
|
|
2419
2835
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
2420
2836
|
value: input3.first_bin
|
|
2421
|
-
})) && $
|
|
2837
|
+
})) && $vu8(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
2422
2838
|
path: _path2 + ".first_bin",
|
|
2423
2839
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
2424
2840
|
value: input3.first_bin
|
|
@@ -2426,7 +2842,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2426
2842
|
path: _path2 + ".last_bin",
|
|
2427
2843
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
2428
2844
|
value: input3.last_bin
|
|
2429
|
-
})) && $
|
|
2845
|
+
})) && $vu9(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
2430
2846
|
path: _path2 + ".last_bin",
|
|
2431
2847
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
2432
2848
|
value: input3.last_bin
|
|
@@ -2435,7 +2851,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2435
2851
|
expected: "(number | undefined)",
|
|
2436
2852
|
value: input3.label_offset
|
|
2437
2853
|
})].every((flag) => flag);
|
|
2438
|
-
const $
|
|
2854
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2439
2855
|
const value = input3[key];
|
|
2440
2856
|
if (void 0 === value)
|
|
2441
2857
|
return true;
|
|
@@ -2447,7 +2863,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2447
2863
|
});
|
|
2448
2864
|
return true;
|
|
2449
2865
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2450
|
-
const $
|
|
2866
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
2451
2867
|
path: _path2 + ".startunbounded",
|
|
2452
2868
|
expected: "true",
|
|
2453
2869
|
value: input3.startunbounded
|
|
@@ -2472,7 +2888,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2472
2888
|
expected: "(string | undefined)",
|
|
2473
2889
|
value: input3.label
|
|
2474
2890
|
})].every((flag) => flag);
|
|
2475
|
-
const $
|
|
2891
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
2476
2892
|
path: _path2 + ".startunbounded",
|
|
2477
2893
|
expected: "(false | undefined)",
|
|
2478
2894
|
value: input3.startunbounded
|
|
@@ -2501,7 +2917,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2501
2917
|
expected: "(string | undefined)",
|
|
2502
2918
|
value: input3.label
|
|
2503
2919
|
})].every((flag) => flag);
|
|
2504
|
-
const $
|
|
2920
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
2505
2921
|
path: _path2 + ".start",
|
|
2506
2922
|
expected: "number",
|
|
2507
2923
|
value: input3.start
|
|
@@ -2526,11 +2942,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2526
2942
|
expected: "(string | undefined)",
|
|
2527
2943
|
value: input3.label
|
|
2528
2944
|
})].every((flag) => flag);
|
|
2529
|
-
const $
|
|
2945
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2530
2946
|
path: _path2 + ".hiddenValues",
|
|
2531
2947
|
expected: "(HiddenValues | undefined)",
|
|
2532
2948
|
value: input3.hiddenValues
|
|
2533
|
-
})) && $
|
|
2949
|
+
})) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2534
2950
|
path: _path2 + ".hiddenValues",
|
|
2535
2951
|
expected: "(HiddenValues | undefined)",
|
|
2536
2952
|
value: input3.hiddenValues
|
|
@@ -2593,78 +3009,844 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2593
3009
|
expected: '("median" | undefined)',
|
|
2594
3010
|
value: input3.preferredBins
|
|
2595
3011
|
})].every((flag) => flag);
|
|
2596
|
-
const $
|
|
2597
|
-
path: _path2 + ".
|
|
3012
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3013
|
+
path: _path2 + ".id",
|
|
2598
3014
|
expected: "string",
|
|
2599
|
-
value: input3.
|
|
2600
|
-
}), "string" === typeof input3.
|
|
2601
|
-
path: _path2 + ".
|
|
3015
|
+
value: input3.id
|
|
3016
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3017
|
+
path: _path2 + ".name",
|
|
2602
3018
|
expected: "string",
|
|
2603
|
-
value: input3.
|
|
2604
|
-
})
|
|
2605
|
-
|
|
2606
|
-
|
|
3019
|
+
value: input3.name
|
|
3020
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
3021
|
+
path: _path2 + ".type",
|
|
3022
|
+
expected: '"geneExpression"',
|
|
3023
|
+
value: input3.type
|
|
3024
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3025
|
+
path: _path2 + ".child_types",
|
|
3026
|
+
expected: "(Array<string> | undefined)",
|
|
3027
|
+
value: input3.child_types
|
|
3028
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3029
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
2607
3030
|
expected: "string",
|
|
2608
|
-
value:
|
|
2609
|
-
})
|
|
2610
|
-
path: _path2 + ".
|
|
2611
|
-
expected: "
|
|
2612
|
-
value: input3.
|
|
2613
|
-
}),
|
|
2614
|
-
path: _path2 + ".
|
|
2615
|
-
expected: "true",
|
|
2616
|
-
value: input3.uncomputable
|
|
2617
|
-
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2618
|
-
path: _path2 + ".label",
|
|
2619
|
-
expected: "(string | undefined)",
|
|
2620
|
-
value: input3.label
|
|
2621
|
-
})].every((flag) => flag);
|
|
2622
|
-
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2623
|
-
path: _path2 + ".join",
|
|
2624
|
-
expected: "(string | undefined)",
|
|
2625
|
-
value: input3.join
|
|
2626
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
2627
|
-
path: _path2 + ".isnot",
|
|
2628
|
-
expected: "(boolean | undefined)",
|
|
2629
|
-
value: input3.isnot
|
|
2630
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2631
|
-
path: _path2 + ".term",
|
|
2632
|
-
expected: "ConditionTerm",
|
|
2633
|
-
value: input3.term
|
|
2634
|
-
})) && $vo25(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2635
|
-
path: _path2 + ".term",
|
|
2636
|
-
expected: "ConditionTerm",
|
|
2637
|
-
value: input3.term
|
|
2638
|
-
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
2639
|
-
path: _path2 + ".value_by_max_grade",
|
|
3031
|
+
value: elem
|
|
3032
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3033
|
+
path: _path2 + ".child_types",
|
|
3034
|
+
expected: "(Array<string> | undefined)",
|
|
3035
|
+
value: input3.child_types
|
|
3036
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3037
|
+
path: _path2 + ".hashtmldetail",
|
|
2640
3038
|
expected: "(boolean | undefined)",
|
|
2641
|
-
value: input3.
|
|
2642
|
-
}), void 0 === input3.
|
|
2643
|
-
path: _path2 + ".
|
|
3039
|
+
value: input3.hashtmldetail
|
|
3040
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3041
|
+
path: _path2 + ".included_types",
|
|
3042
|
+
expected: "(Array<string> | undefined)",
|
|
3043
|
+
value: input3.included_types
|
|
3044
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3045
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
3046
|
+
expected: "string",
|
|
3047
|
+
value: elem
|
|
3048
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3049
|
+
path: _path2 + ".included_types",
|
|
3050
|
+
expected: "(Array<string> | undefined)",
|
|
3051
|
+
value: input3.included_types
|
|
3052
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3053
|
+
path: _path2 + ".isleaf",
|
|
2644
3054
|
expected: "(boolean | undefined)",
|
|
2645
|
-
value: input3.
|
|
2646
|
-
}), void 0 === input3.
|
|
2647
|
-
path: _path2 + ".
|
|
3055
|
+
value: input3.isleaf
|
|
3056
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3057
|
+
path: _path2 + ".values",
|
|
3058
|
+
expected: "(TermValues | undefined)",
|
|
3059
|
+
value: input3.values
|
|
3060
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3061
|
+
path: _path2 + ".values",
|
|
3062
|
+
expected: "(TermValues | undefined)",
|
|
3063
|
+
value: input3.values
|
|
3064
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
3065
|
+
path: _path2 + ".skipValuesBuild",
|
|
2648
3066
|
expected: "(boolean | undefined)",
|
|
2649
|
-
value: input3.
|
|
2650
|
-
}), void 0 === input3.
|
|
2651
|
-
path: _path2 + ".
|
|
2652
|
-
expected: "(
|
|
2653
|
-
value: input3.
|
|
2654
|
-
})) && input3.
|
|
2655
|
-
path: _path2 + ".
|
|
2656
|
-
expected: "
|
|
3067
|
+
value: input3.skipValuesBuild
|
|
3068
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
3069
|
+
path: _path2 + ".continuousColorScale",
|
|
3070
|
+
expected: "(__type.o2 | undefined)",
|
|
3071
|
+
value: input3.continuousColorScale
|
|
3072
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
3073
|
+
path: _path2 + ".continuousColorScale",
|
|
3074
|
+
expected: "(__type.o2 | undefined)",
|
|
3075
|
+
value: input3.continuousColorScale
|
|
3076
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
3077
|
+
path: _path2 + ".unit",
|
|
3078
|
+
expected: "(string | undefined)",
|
|
3079
|
+
value: input3.unit
|
|
3080
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
3081
|
+
path: _path2 + ".gene",
|
|
3082
|
+
expected: "string",
|
|
3083
|
+
value: input3.gene
|
|
3084
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
3085
|
+
path: _path2 + ".bins",
|
|
3086
|
+
expected: "(PresetNumericBins | undefined)",
|
|
3087
|
+
value: input3.bins
|
|
3088
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
3089
|
+
path: _path2 + ".bins",
|
|
3090
|
+
expected: "(PresetNumericBins | undefined)",
|
|
3091
|
+
value: input3.bins
|
|
3092
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3093
|
+
path: _path2 + ".chr",
|
|
3094
|
+
expected: "(string | undefined)",
|
|
3095
|
+
value: input3.chr
|
|
3096
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3097
|
+
path: _path2 + ".start",
|
|
3098
|
+
expected: "(number | undefined)",
|
|
3099
|
+
value: input3.start
|
|
3100
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3101
|
+
path: _path2 + ".stop",
|
|
3102
|
+
expected: "(number | undefined)",
|
|
3103
|
+
value: input3.stop
|
|
3104
|
+
})].every((flag) => flag);
|
|
3105
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3106
|
+
path: _path2 + ".id",
|
|
3107
|
+
expected: "string",
|
|
3108
|
+
value: input3.id
|
|
3109
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3110
|
+
path: _path2 + ".name",
|
|
3111
|
+
expected: "string",
|
|
3112
|
+
value: input3.name
|
|
3113
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
3114
|
+
path: _path2 + ".type",
|
|
3115
|
+
expected: '"metaboliteIntensity"',
|
|
3116
|
+
value: input3.type
|
|
3117
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3118
|
+
path: _path2 + ".child_types",
|
|
3119
|
+
expected: "(Array<string> | undefined)",
|
|
3120
|
+
value: input3.child_types
|
|
3121
|
+
})) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3122
|
+
path: _path2 + ".child_types[" + _index20 + "]",
|
|
3123
|
+
expected: "string",
|
|
2657
3124
|
value: elem
|
|
2658
|
-
}))
|
|
2659
|
-
path: _path2 + ".
|
|
2660
|
-
expected: "
|
|
3125
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3126
|
+
path: _path2 + ".child_types",
|
|
3127
|
+
expected: "(Array<string> | undefined)",
|
|
3128
|
+
value: input3.child_types
|
|
3129
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3130
|
+
path: _path2 + ".hashtmldetail",
|
|
3131
|
+
expected: "(boolean | undefined)",
|
|
3132
|
+
value: input3.hashtmldetail
|
|
3133
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3134
|
+
path: _path2 + ".included_types",
|
|
3135
|
+
expected: "(Array<string> | undefined)",
|
|
3136
|
+
value: input3.included_types
|
|
3137
|
+
})) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3138
|
+
path: _path2 + ".included_types[" + _index21 + "]",
|
|
3139
|
+
expected: "string",
|
|
2661
3140
|
value: elem
|
|
2662
3141
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2663
|
-
path: _path2 + ".
|
|
2664
|
-
expected: "(Array<
|
|
2665
|
-
value: input3.
|
|
3142
|
+
path: _path2 + ".included_types",
|
|
3143
|
+
expected: "(Array<string> | undefined)",
|
|
3144
|
+
value: input3.included_types
|
|
3145
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3146
|
+
path: _path2 + ".isleaf",
|
|
3147
|
+
expected: "(boolean | undefined)",
|
|
3148
|
+
value: input3.isleaf
|
|
3149
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3150
|
+
path: _path2 + ".values",
|
|
3151
|
+
expected: "(TermValues | undefined)",
|
|
3152
|
+
value: input3.values
|
|
3153
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3154
|
+
path: _path2 + ".values",
|
|
3155
|
+
expected: "(TermValues | undefined)",
|
|
3156
|
+
value: input3.values
|
|
3157
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
3158
|
+
path: _path2 + ".skipValuesBuild",
|
|
3159
|
+
expected: "(boolean | undefined)",
|
|
3160
|
+
value: input3.skipValuesBuild
|
|
3161
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
3162
|
+
path: _path2 + ".continuousColorScale",
|
|
3163
|
+
expected: "(__type.o2 | undefined)",
|
|
3164
|
+
value: input3.continuousColorScale
|
|
3165
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
3166
|
+
path: _path2 + ".continuousColorScale",
|
|
3167
|
+
expected: "(__type.o2 | undefined)",
|
|
3168
|
+
value: input3.continuousColorScale
|
|
3169
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
3170
|
+
path: _path2 + ".unit",
|
|
3171
|
+
expected: "(string | undefined)",
|
|
3172
|
+
value: input3.unit
|
|
3173
|
+
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
3174
|
+
path: _path2 + ".metabolite",
|
|
3175
|
+
expected: "string",
|
|
3176
|
+
value: input3.metabolite
|
|
3177
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
3178
|
+
path: _path2 + ".bins",
|
|
3179
|
+
expected: "(PresetNumericBins | undefined)",
|
|
3180
|
+
value: input3.bins
|
|
3181
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
3182
|
+
path: _path2 + ".bins",
|
|
3183
|
+
expected: "(PresetNumericBins | undefined)",
|
|
3184
|
+
value: input3.bins
|
|
3185
|
+
})].every((flag) => flag);
|
|
3186
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3187
|
+
path: _path2 + ".id",
|
|
3188
|
+
expected: "string",
|
|
3189
|
+
value: input3.id
|
|
3190
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3191
|
+
path: _path2 + ".name",
|
|
3192
|
+
expected: "string",
|
|
3193
|
+
value: input3.name
|
|
3194
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
3195
|
+
path: _path2 + ".type",
|
|
3196
|
+
expected: '"date"',
|
|
3197
|
+
value: input3.type
|
|
3198
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3199
|
+
path: _path2 + ".child_types",
|
|
3200
|
+
expected: "(Array<string> | undefined)",
|
|
3201
|
+
value: input3.child_types
|
|
3202
|
+
})) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3203
|
+
path: _path2 + ".child_types[" + _index22 + "]",
|
|
3204
|
+
expected: "string",
|
|
3205
|
+
value: elem
|
|
3206
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3207
|
+
path: _path2 + ".child_types",
|
|
3208
|
+
expected: "(Array<string> | undefined)",
|
|
3209
|
+
value: input3.child_types
|
|
3210
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3211
|
+
path: _path2 + ".hashtmldetail",
|
|
3212
|
+
expected: "(boolean | undefined)",
|
|
3213
|
+
value: input3.hashtmldetail
|
|
3214
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3215
|
+
path: _path2 + ".included_types",
|
|
3216
|
+
expected: "(Array<string> | undefined)",
|
|
3217
|
+
value: input3.included_types
|
|
3218
|
+
})) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3219
|
+
path: _path2 + ".included_types[" + _index23 + "]",
|
|
3220
|
+
expected: "string",
|
|
3221
|
+
value: elem
|
|
3222
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3223
|
+
path: _path2 + ".included_types",
|
|
3224
|
+
expected: "(Array<string> | undefined)",
|
|
3225
|
+
value: input3.included_types
|
|
3226
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3227
|
+
path: _path2 + ".isleaf",
|
|
3228
|
+
expected: "(boolean | undefined)",
|
|
3229
|
+
value: input3.isleaf
|
|
3230
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3231
|
+
path: _path2 + ".values",
|
|
3232
|
+
expected: "(TermValues | undefined)",
|
|
3233
|
+
value: input3.values
|
|
3234
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3235
|
+
path: _path2 + ".values",
|
|
3236
|
+
expected: "(TermValues | undefined)",
|
|
3237
|
+
value: input3.values
|
|
3238
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
3239
|
+
path: _path2 + ".skipValuesBuild",
|
|
3240
|
+
expected: "(boolean | undefined)",
|
|
3241
|
+
value: input3.skipValuesBuild
|
|
3242
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
3243
|
+
path: _path2 + ".continuousColorScale",
|
|
3244
|
+
expected: "(__type.o2 | undefined)",
|
|
3245
|
+
value: input3.continuousColorScale
|
|
3246
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
3247
|
+
path: _path2 + ".continuousColorScale",
|
|
3248
|
+
expected: "(__type.o2 | undefined)",
|
|
3249
|
+
value: input3.continuousColorScale
|
|
3250
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
3251
|
+
path: _path2 + ".unit",
|
|
3252
|
+
expected: "(string | undefined)",
|
|
3253
|
+
value: input3.unit
|
|
3254
|
+
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
3255
|
+
path: _path2 + ".metabolite",
|
|
3256
|
+
expected: "string",
|
|
3257
|
+
value: input3.metabolite
|
|
3258
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
3259
|
+
path: _path2 + ".bins",
|
|
3260
|
+
expected: "(PresetNumericBins | undefined)",
|
|
3261
|
+
value: input3.bins
|
|
3262
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
3263
|
+
path: _path2 + ".bins",
|
|
3264
|
+
expected: "(PresetNumericBins | undefined)",
|
|
3265
|
+
value: input3.bins
|
|
3266
|
+
})].every((flag) => flag);
|
|
3267
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3268
|
+
path: _path2 + ".id",
|
|
3269
|
+
expected: "string",
|
|
3270
|
+
value: input3.id
|
|
3271
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3272
|
+
path: _path2 + ".name",
|
|
3273
|
+
expected: "string",
|
|
3274
|
+
value: input3.name
|
|
3275
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
3276
|
+
path: _path2 + ".type",
|
|
3277
|
+
expected: '"ssGSEA"',
|
|
3278
|
+
value: input3.type
|
|
3279
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3280
|
+
path: _path2 + ".child_types",
|
|
3281
|
+
expected: "(Array<string> | undefined)",
|
|
3282
|
+
value: input3.child_types
|
|
3283
|
+
})) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3284
|
+
path: _path2 + ".child_types[" + _index24 + "]",
|
|
3285
|
+
expected: "string",
|
|
3286
|
+
value: elem
|
|
3287
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3288
|
+
path: _path2 + ".child_types",
|
|
3289
|
+
expected: "(Array<string> | undefined)",
|
|
3290
|
+
value: input3.child_types
|
|
3291
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3292
|
+
path: _path2 + ".hashtmldetail",
|
|
3293
|
+
expected: "(boolean | undefined)",
|
|
3294
|
+
value: input3.hashtmldetail
|
|
3295
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3296
|
+
path: _path2 + ".included_types",
|
|
3297
|
+
expected: "(Array<string> | undefined)",
|
|
3298
|
+
value: input3.included_types
|
|
3299
|
+
})) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3300
|
+
path: _path2 + ".included_types[" + _index25 + "]",
|
|
3301
|
+
expected: "string",
|
|
3302
|
+
value: elem
|
|
3303
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3304
|
+
path: _path2 + ".included_types",
|
|
3305
|
+
expected: "(Array<string> | undefined)",
|
|
3306
|
+
value: input3.included_types
|
|
3307
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3308
|
+
path: _path2 + ".isleaf",
|
|
3309
|
+
expected: "(boolean | undefined)",
|
|
3310
|
+
value: input3.isleaf
|
|
3311
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3312
|
+
path: _path2 + ".values",
|
|
3313
|
+
expected: "(TermValues | undefined)",
|
|
3314
|
+
value: input3.values
|
|
3315
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3316
|
+
path: _path2 + ".values",
|
|
3317
|
+
expected: "(TermValues | undefined)",
|
|
3318
|
+
value: input3.values
|
|
3319
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
3320
|
+
path: _path2 + ".skipValuesBuild",
|
|
3321
|
+
expected: "(boolean | undefined)",
|
|
3322
|
+
value: input3.skipValuesBuild
|
|
3323
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
3324
|
+
path: _path2 + ".continuousColorScale",
|
|
3325
|
+
expected: "(__type.o2 | undefined)",
|
|
3326
|
+
value: input3.continuousColorScale
|
|
3327
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
3328
|
+
path: _path2 + ".continuousColorScale",
|
|
3329
|
+
expected: "(__type.o2 | undefined)",
|
|
3330
|
+
value: input3.continuousColorScale
|
|
3331
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
3332
|
+
path: _path2 + ".unit",
|
|
3333
|
+
expected: "(string | undefined)",
|
|
3334
|
+
value: input3.unit
|
|
3335
|
+
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
3336
|
+
path: _path2 + ".genes",
|
|
3337
|
+
expected: "(Array<string> | undefined)",
|
|
3338
|
+
value: input3.genes
|
|
3339
|
+
})) && input3.genes.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3340
|
+
path: _path2 + ".genes[" + _index26 + "]",
|
|
3341
|
+
expected: "string",
|
|
3342
|
+
value: elem
|
|
3343
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3344
|
+
path: _path2 + ".genes",
|
|
3345
|
+
expected: "(Array<string> | undefined)",
|
|
3346
|
+
value: input3.genes
|
|
3347
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
3348
|
+
path: _path2 + ".bins",
|
|
3349
|
+
expected: "(PresetNumericBins | undefined)",
|
|
3350
|
+
value: input3.bins
|
|
3351
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
3352
|
+
path: _path2 + ".bins",
|
|
3353
|
+
expected: "(PresetNumericBins | undefined)",
|
|
3354
|
+
value: input3.bins
|
|
3355
|
+
})].every((flag) => flag);
|
|
3356
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
3357
|
+
path: _path2 + ".key",
|
|
3358
|
+
expected: "string",
|
|
3359
|
+
value: input3.key
|
|
3360
|
+
}), "number" === typeof input3.value || $report(_exceptionable2, {
|
|
3361
|
+
path: _path2 + ".value",
|
|
3362
|
+
expected: "number",
|
|
3363
|
+
value: input3.value
|
|
3364
|
+
}), true === input3.uncomputable || $report(_exceptionable2, {
|
|
3365
|
+
path: _path2 + ".uncomputable",
|
|
3366
|
+
expected: "true",
|
|
3367
|
+
value: input3.uncomputable
|
|
3368
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
3369
|
+
path: _path2 + ".label",
|
|
3370
|
+
expected: "(string | undefined)",
|
|
3371
|
+
value: input3.label
|
|
3372
|
+
})].every((flag) => flag);
|
|
3373
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
3374
|
+
path: _path2 + ".join",
|
|
3375
|
+
expected: "(string | undefined)",
|
|
3376
|
+
value: input3.join
|
|
3377
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
3378
|
+
path: _path2 + ".isnot",
|
|
3379
|
+
expected: "(boolean | undefined)",
|
|
3380
|
+
value: input3.isnot
|
|
3381
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
3382
|
+
path: _path2 + ".term",
|
|
3383
|
+
expected: "ConditionTerm",
|
|
3384
|
+
value: input3.term
|
|
3385
|
+
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3386
|
+
path: _path2 + ".term",
|
|
3387
|
+
expected: "ConditionTerm",
|
|
3388
|
+
value: input3.term
|
|
3389
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
3390
|
+
path: _path2 + ".value_by_max_grade",
|
|
3391
|
+
expected: "(boolean | undefined)",
|
|
3392
|
+
value: input3.value_by_max_grade
|
|
3393
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
3394
|
+
path: _path2 + ".value_by_most_recent",
|
|
3395
|
+
expected: "(boolean | undefined)",
|
|
3396
|
+
value: input3.value_by_most_recent
|
|
3397
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
3398
|
+
path: _path2 + ".value_by_computable_grade",
|
|
3399
|
+
expected: "(boolean | undefined)",
|
|
3400
|
+
value: input3.value_by_computable_grade
|
|
3401
|
+
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
3402
|
+
path: _path2 + ".grade_and_child",
|
|
3403
|
+
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
3404
|
+
value: input3.grade_and_child
|
|
3405
|
+
})) && input3.grade_and_child.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3406
|
+
path: _path2 + ".grade_and_child[" + _index27 + "]",
|
|
3407
|
+
expected: "GradeAndChildEntry",
|
|
3408
|
+
value: elem
|
|
3409
|
+
})) && $vo30(elem, _path2 + ".grade_and_child[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3410
|
+
path: _path2 + ".grade_and_child[" + _index27 + "]",
|
|
3411
|
+
expected: "GradeAndChildEntry",
|
|
3412
|
+
value: elem
|
|
3413
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3414
|
+
path: _path2 + ".grade_and_child",
|
|
3415
|
+
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
3416
|
+
value: input3.grade_and_child
|
|
3417
|
+
})].every((flag) => flag);
|
|
3418
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3419
|
+
path: _path2 + ".id",
|
|
3420
|
+
expected: "string",
|
|
3421
|
+
value: input3.id
|
|
3422
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3423
|
+
path: _path2 + ".name",
|
|
3424
|
+
expected: "string",
|
|
3425
|
+
value: input3.name
|
|
3426
|
+
}), "condition" === input3.type || $report(_exceptionable2, {
|
|
3427
|
+
path: _path2 + ".type",
|
|
3428
|
+
expected: '"condition"',
|
|
3429
|
+
value: input3.type
|
|
3430
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3431
|
+
path: _path2 + ".child_types",
|
|
3432
|
+
expected: "(Array<string> | undefined)",
|
|
3433
|
+
value: input3.child_types
|
|
3434
|
+
})) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3435
|
+
path: _path2 + ".child_types[" + _index28 + "]",
|
|
3436
|
+
expected: "string",
|
|
3437
|
+
value: elem
|
|
3438
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3439
|
+
path: _path2 + ".child_types",
|
|
3440
|
+
expected: "(Array<string> | undefined)",
|
|
3441
|
+
value: input3.child_types
|
|
3442
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3443
|
+
path: _path2 + ".hashtmldetail",
|
|
3444
|
+
expected: "(boolean | undefined)",
|
|
3445
|
+
value: input3.hashtmldetail
|
|
3446
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3447
|
+
path: _path2 + ".included_types",
|
|
3448
|
+
expected: "(Array<string> | undefined)",
|
|
3449
|
+
value: input3.included_types
|
|
3450
|
+
})) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3451
|
+
path: _path2 + ".included_types[" + _index29 + "]",
|
|
3452
|
+
expected: "string",
|
|
3453
|
+
value: elem
|
|
3454
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3455
|
+
path: _path2 + ".included_types",
|
|
3456
|
+
expected: "(Array<string> | undefined)",
|
|
3457
|
+
value: input3.included_types
|
|
3458
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3459
|
+
path: _path2 + ".isleaf",
|
|
3460
|
+
expected: "(boolean | undefined)",
|
|
3461
|
+
value: input3.isleaf
|
|
3462
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3463
|
+
path: _path2 + ".values",
|
|
3464
|
+
expected: "(TermValues | undefined)",
|
|
3465
|
+
value: input3.values
|
|
3466
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3467
|
+
path: _path2 + ".values",
|
|
3468
|
+
expected: "(TermValues | undefined)",
|
|
3469
|
+
value: input3.values
|
|
3470
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
3471
|
+
path: _path2 + ".skipValuesBuild",
|
|
3472
|
+
expected: "(boolean | undefined)",
|
|
3473
|
+
value: input3.skipValuesBuild
|
|
3474
|
+
})].every((flag) => flag);
|
|
3475
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
3476
|
+
path: _path2 + ".grade",
|
|
3477
|
+
expected: "number",
|
|
3478
|
+
value: input3.grade
|
|
3479
|
+
}), "string" === typeof input3.grade_label || $report(_exceptionable2, {
|
|
3480
|
+
path: _path2 + ".grade_label",
|
|
3481
|
+
expected: "string",
|
|
3482
|
+
value: input3.grade_label
|
|
3483
|
+
}), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
|
|
3484
|
+
path: _path2 + ".child_id",
|
|
3485
|
+
expected: "(string | undefined)",
|
|
3486
|
+
value: input3.child_id
|
|
3487
|
+
}), "string" === typeof input3.child_label || $report(_exceptionable2, {
|
|
3488
|
+
path: _path2 + ".child_label",
|
|
3489
|
+
expected: "string",
|
|
3490
|
+
value: input3.child_label
|
|
3491
|
+
})].every((flag) => flag);
|
|
3492
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
3493
|
+
path: _path2 + ".join",
|
|
3494
|
+
expected: "(string | undefined)",
|
|
3495
|
+
value: input3.join
|
|
3496
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
3497
|
+
path: _path2 + ".isnot",
|
|
3498
|
+
expected: "(boolean | undefined)",
|
|
3499
|
+
value: input3.isnot
|
|
3500
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
3501
|
+
path: _path2 + ".term",
|
|
3502
|
+
expected: "DtTerm",
|
|
3503
|
+
value: input3.term
|
|
3504
|
+
})) && $vo32(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3505
|
+
path: _path2 + ".term",
|
|
3506
|
+
expected: "DtTerm",
|
|
3507
|
+
value: input3.term
|
|
3508
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3509
|
+
path: _path2 + ".values",
|
|
3510
|
+
expected: "Array<__type>.o2",
|
|
3511
|
+
value: input3.values
|
|
3512
|
+
})) && input3.values.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3513
|
+
path: _path2 + ".values[" + _index30 + "]",
|
|
3514
|
+
expected: "__type.o4",
|
|
3515
|
+
value: elem
|
|
3516
|
+
})) && $vo37(elem, _path2 + ".values[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3517
|
+
path: _path2 + ".values[" + _index30 + "]",
|
|
3518
|
+
expected: "__type.o4",
|
|
3519
|
+
value: elem
|
|
3520
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3521
|
+
path: _path2 + ".values",
|
|
3522
|
+
expected: "Array<__type>.o2",
|
|
3523
|
+
value: input3.values
|
|
3524
|
+
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
3525
|
+
path: _path2 + ".includeNotTested",
|
|
3526
|
+
expected: "(boolean | undefined)",
|
|
3527
|
+
value: input3.includeNotTested
|
|
3528
|
+
}), void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName || $report(_exceptionable2, {
|
|
3529
|
+
path: _path2 + ".excludeGeneName",
|
|
3530
|
+
expected: "(boolean | undefined)",
|
|
3531
|
+
value: input3.excludeGeneName
|
|
3532
|
+
})].every((flag) => flag);
|
|
3533
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3534
|
+
path: _path2 + ".id",
|
|
3535
|
+
expected: "string",
|
|
3536
|
+
value: input3.id
|
|
3537
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
3538
|
+
path: _path2 + ".query",
|
|
3539
|
+
expected: "string",
|
|
3540
|
+
value: input3.query
|
|
3541
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3542
|
+
path: _path2 + ".name",
|
|
3543
|
+
expected: "string",
|
|
3544
|
+
value: input3.name
|
|
3545
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
3546
|
+
path: _path2 + ".name_noOrigin",
|
|
3547
|
+
expected: "string",
|
|
3548
|
+
value: input3.name_noOrigin
|
|
3549
|
+
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
3550
|
+
path: _path2 + ".parentTerm",
|
|
3551
|
+
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)',
|
|
3552
|
+
value: input3.parentTerm
|
|
3553
|
+
})) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
3554
|
+
path: _path2 + ".parentTerm",
|
|
3555
|
+
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)',
|
|
3556
|
+
value: input3.parentTerm
|
|
3557
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3558
|
+
path: _path2 + ".isleaf",
|
|
3559
|
+
expected: "boolean",
|
|
3560
|
+
value: input3.isleaf
|
|
3561
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
3562
|
+
path: _path2 + ".type",
|
|
3563
|
+
expected: "string",
|
|
3564
|
+
value: input3.type
|
|
3565
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
3566
|
+
path: _path2 + ".dt",
|
|
3567
|
+
expected: "number",
|
|
3568
|
+
value: input3.dt
|
|
3569
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
3570
|
+
path: _path2 + ".origin",
|
|
3571
|
+
expected: "(string | undefined)",
|
|
3572
|
+
value: input3.origin
|
|
3573
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3574
|
+
path: _path2 + ".values",
|
|
3575
|
+
expected: "TermValues",
|
|
3576
|
+
value: input3.values
|
|
3577
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3578
|
+
path: _path2 + ".values",
|
|
3579
|
+
expected: "TermValues",
|
|
3580
|
+
value: input3.values
|
|
3581
|
+
})].every((flag) => flag);
|
|
3582
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3583
|
+
path: _path2 + ".id",
|
|
3584
|
+
expected: "string",
|
|
3585
|
+
value: input3.id
|
|
3586
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3587
|
+
path: _path2 + ".name",
|
|
3588
|
+
expected: "string",
|
|
3589
|
+
value: input3.name
|
|
3590
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
3591
|
+
path: _path2 + ".type",
|
|
3592
|
+
expected: '"geneVariant"',
|
|
3593
|
+
value: input3.type
|
|
3594
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3595
|
+
path: _path2 + ".child_types",
|
|
3596
|
+
expected: "(Array<string> | undefined)",
|
|
3597
|
+
value: input3.child_types
|
|
3598
|
+
})) && input3.child_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3599
|
+
path: _path2 + ".child_types[" + _index31 + "]",
|
|
3600
|
+
expected: "string",
|
|
3601
|
+
value: elem
|
|
3602
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3603
|
+
path: _path2 + ".child_types",
|
|
3604
|
+
expected: "(Array<string> | undefined)",
|
|
3605
|
+
value: input3.child_types
|
|
3606
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3607
|
+
path: _path2 + ".hashtmldetail",
|
|
3608
|
+
expected: "(boolean | undefined)",
|
|
3609
|
+
value: input3.hashtmldetail
|
|
3610
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3611
|
+
path: _path2 + ".included_types",
|
|
3612
|
+
expected: "(Array<string> | undefined)",
|
|
3613
|
+
value: input3.included_types
|
|
3614
|
+
})) && input3.included_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3615
|
+
path: _path2 + ".included_types[" + _index32 + "]",
|
|
3616
|
+
expected: "string",
|
|
3617
|
+
value: elem
|
|
3618
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3619
|
+
path: _path2 + ".included_types",
|
|
3620
|
+
expected: "(Array<string> | undefined)",
|
|
3621
|
+
value: input3.included_types
|
|
3622
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3623
|
+
path: _path2 + ".isleaf",
|
|
3624
|
+
expected: "(boolean | undefined)",
|
|
3625
|
+
value: input3.isleaf
|
|
3626
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3627
|
+
path: _path2 + ".values",
|
|
3628
|
+
expected: "(TermValues | undefined)",
|
|
3629
|
+
value: input3.values
|
|
3630
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3631
|
+
path: _path2 + ".values",
|
|
3632
|
+
expected: "(TermValues | undefined)",
|
|
3633
|
+
value: input3.values
|
|
3634
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
3635
|
+
path: _path2 + ".skipValuesBuild",
|
|
3636
|
+
expected: "(boolean | undefined)",
|
|
3637
|
+
value: input3.skipValuesBuild
|
|
3638
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
3639
|
+
path: _path2 + ".kind",
|
|
3640
|
+
expected: '"gene"',
|
|
3641
|
+
value: input3.kind
|
|
3642
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
3643
|
+
path: _path2 + ".gene",
|
|
3644
|
+
expected: "string",
|
|
3645
|
+
value: input3.gene
|
|
3646
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3647
|
+
path: _path2 + ".chr",
|
|
3648
|
+
expected: "(string | undefined)",
|
|
3649
|
+
value: input3.chr
|
|
3650
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3651
|
+
path: _path2 + ".start",
|
|
3652
|
+
expected: "(number | undefined)",
|
|
3653
|
+
value: input3.start
|
|
3654
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3655
|
+
path: _path2 + ".stop",
|
|
3656
|
+
expected: "(number | undefined)",
|
|
3657
|
+
value: input3.stop
|
|
3658
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
3659
|
+
path: _path2 + ".genes",
|
|
3660
|
+
expected: "Array<GvGeneTerm>",
|
|
3661
|
+
value: input3.genes
|
|
3662
|
+
})) && input3.genes.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3663
|
+
path: _path2 + ".genes[" + _index33 + "]",
|
|
3664
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3665
|
+
value: elem
|
|
3666
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3667
|
+
path: _path2 + ".genes[" + _index33 + "]",
|
|
3668
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3669
|
+
value: elem
|
|
3670
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3671
|
+
path: _path2 + ".genes",
|
|
3672
|
+
expected: "Array<GvGeneTerm>",
|
|
3673
|
+
value: input3.genes
|
|
3674
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3675
|
+
path: _path2 + ".groupsetting",
|
|
3676
|
+
expected: "(TermGroupSetting | undefined)",
|
|
3677
|
+
value: input3.groupsetting
|
|
3678
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3679
|
+
path: _path2 + ".groupsetting",
|
|
3680
|
+
expected: "(TermGroupSetting | undefined)",
|
|
3681
|
+
value: input3.groupsetting
|
|
3682
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
3683
|
+
path: _path2 + ".childTerms",
|
|
3684
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
3685
|
+
value: input3.childTerms
|
|
3686
|
+
})) && input3.childTerms.map((elem, _index34) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3687
|
+
path: _path2 + ".childTerms[" + _index34 + "]",
|
|
3688
|
+
expected: "DtTerm",
|
|
3689
|
+
value: elem
|
|
3690
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index34 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3691
|
+
path: _path2 + ".childTerms[" + _index34 + "]",
|
|
3692
|
+
expected: "DtTerm",
|
|
3693
|
+
value: elem
|
|
3694
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3695
|
+
path: _path2 + ".childTerms",
|
|
3696
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
3697
|
+
value: input3.childTerms
|
|
3698
|
+
})].every((flag) => flag);
|
|
3699
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3700
|
+
path: _path2 + ".id",
|
|
3701
|
+
expected: "string",
|
|
3702
|
+
value: input3.id
|
|
3703
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3704
|
+
path: _path2 + ".name",
|
|
3705
|
+
expected: "string",
|
|
3706
|
+
value: input3.name
|
|
3707
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
3708
|
+
path: _path2 + ".type",
|
|
3709
|
+
expected: "string",
|
|
3710
|
+
value: input3.type
|
|
3711
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3712
|
+
path: _path2 + ".child_types",
|
|
3713
|
+
expected: "(Array<string> | undefined)",
|
|
3714
|
+
value: input3.child_types
|
|
3715
|
+
})) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3716
|
+
path: _path2 + ".child_types[" + _index35 + "]",
|
|
3717
|
+
expected: "string",
|
|
3718
|
+
value: elem
|
|
3719
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3720
|
+
path: _path2 + ".child_types",
|
|
3721
|
+
expected: "(Array<string> | undefined)",
|
|
3722
|
+
value: input3.child_types
|
|
3723
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3724
|
+
path: _path2 + ".hashtmldetail",
|
|
3725
|
+
expected: "(boolean | undefined)",
|
|
3726
|
+
value: input3.hashtmldetail
|
|
3727
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3728
|
+
path: _path2 + ".included_types",
|
|
3729
|
+
expected: "(Array<string> | undefined)",
|
|
3730
|
+
value: input3.included_types
|
|
3731
|
+
})) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3732
|
+
path: _path2 + ".included_types[" + _index36 + "]",
|
|
3733
|
+
expected: "string",
|
|
3734
|
+
value: elem
|
|
3735
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3736
|
+
path: _path2 + ".included_types",
|
|
3737
|
+
expected: "(Array<string> | undefined)",
|
|
3738
|
+
value: input3.included_types
|
|
3739
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3740
|
+
path: _path2 + ".isleaf",
|
|
3741
|
+
expected: "(boolean | undefined)",
|
|
3742
|
+
value: input3.isleaf
|
|
3743
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3744
|
+
path: _path2 + ".values",
|
|
3745
|
+
expected: "(TermValues | undefined)",
|
|
3746
|
+
value: input3.values
|
|
3747
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3748
|
+
path: _path2 + ".values",
|
|
3749
|
+
expected: "(TermValues | undefined)",
|
|
3750
|
+
value: input3.values
|
|
3751
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
3752
|
+
path: _path2 + ".skipValuesBuild",
|
|
3753
|
+
expected: "(boolean | undefined)",
|
|
3754
|
+
value: input3.skipValuesBuild
|
|
3755
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
3756
|
+
path: _path2 + ".kind",
|
|
3757
|
+
expected: '"gene"',
|
|
3758
|
+
value: input3.kind
|
|
3759
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
3760
|
+
path: _path2 + ".gene",
|
|
3761
|
+
expected: "string",
|
|
3762
|
+
value: input3.gene
|
|
3763
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3764
|
+
path: _path2 + ".chr",
|
|
3765
|
+
expected: "(string | undefined)",
|
|
3766
|
+
value: input3.chr
|
|
3767
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3768
|
+
path: _path2 + ".start",
|
|
3769
|
+
expected: "(number | undefined)",
|
|
3770
|
+
value: input3.start
|
|
3771
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3772
|
+
path: _path2 + ".stop",
|
|
3773
|
+
expected: "(number | undefined)",
|
|
3774
|
+
value: input3.stop
|
|
3775
|
+
})].every((flag) => flag);
|
|
3776
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3777
|
+
path: _path2 + ".id",
|
|
3778
|
+
expected: "string",
|
|
3779
|
+
value: input3.id
|
|
3780
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3781
|
+
path: _path2 + ".name",
|
|
3782
|
+
expected: "string",
|
|
3783
|
+
value: input3.name
|
|
3784
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
3785
|
+
path: _path2 + ".type",
|
|
3786
|
+
expected: "string",
|
|
3787
|
+
value: input3.type
|
|
3788
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3789
|
+
path: _path2 + ".child_types",
|
|
3790
|
+
expected: "(Array<string> | undefined)",
|
|
3791
|
+
value: input3.child_types
|
|
3792
|
+
})) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3793
|
+
path: _path2 + ".child_types[" + _index37 + "]",
|
|
3794
|
+
expected: "string",
|
|
3795
|
+
value: elem
|
|
3796
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3797
|
+
path: _path2 + ".child_types",
|
|
3798
|
+
expected: "(Array<string> | undefined)",
|
|
3799
|
+
value: input3.child_types
|
|
3800
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3801
|
+
path: _path2 + ".hashtmldetail",
|
|
3802
|
+
expected: "(boolean | undefined)",
|
|
3803
|
+
value: input3.hashtmldetail
|
|
3804
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3805
|
+
path: _path2 + ".included_types",
|
|
3806
|
+
expected: "(Array<string> | undefined)",
|
|
3807
|
+
value: input3.included_types
|
|
3808
|
+
})) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3809
|
+
path: _path2 + ".included_types[" + _index38 + "]",
|
|
3810
|
+
expected: "string",
|
|
3811
|
+
value: elem
|
|
3812
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3813
|
+
path: _path2 + ".included_types",
|
|
3814
|
+
expected: "(Array<string> | undefined)",
|
|
3815
|
+
value: input3.included_types
|
|
3816
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3817
|
+
path: _path2 + ".isleaf",
|
|
3818
|
+
expected: "(boolean | undefined)",
|
|
3819
|
+
value: input3.isleaf
|
|
3820
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3821
|
+
path: _path2 + ".values",
|
|
3822
|
+
expected: "(TermValues | undefined)",
|
|
3823
|
+
value: input3.values
|
|
3824
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3825
|
+
path: _path2 + ".values",
|
|
3826
|
+
expected: "(TermValues | undefined)",
|
|
3827
|
+
value: input3.values
|
|
3828
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
3829
|
+
path: _path2 + ".skipValuesBuild",
|
|
3830
|
+
expected: "(boolean | undefined)",
|
|
3831
|
+
value: input3.skipValuesBuild
|
|
3832
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
3833
|
+
path: _path2 + ".kind",
|
|
3834
|
+
expected: '"coord"',
|
|
3835
|
+
value: input3.kind
|
|
3836
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3837
|
+
path: _path2 + ".chr",
|
|
3838
|
+
expected: "string",
|
|
3839
|
+
value: input3.chr
|
|
3840
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3841
|
+
path: _path2 + ".start",
|
|
3842
|
+
expected: "number",
|
|
3843
|
+
value: input3.start
|
|
3844
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3845
|
+
path: _path2 + ".stop",
|
|
3846
|
+
expected: "number",
|
|
3847
|
+
value: input3.stop
|
|
2666
3848
|
})].every((flag) => flag);
|
|
2667
|
-
const $
|
|
3849
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2668
3850
|
path: _path2 + ".id",
|
|
2669
3851
|
expected: "string",
|
|
2670
3852
|
value: input3.id
|
|
@@ -2672,16 +3854,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2672
3854
|
path: _path2 + ".name",
|
|
2673
3855
|
expected: "string",
|
|
2674
3856
|
value: input3.name
|
|
2675
|
-
}), "
|
|
3857
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
2676
3858
|
path: _path2 + ".type",
|
|
2677
|
-
expected: '"
|
|
3859
|
+
expected: '"geneVariant"',
|
|
2678
3860
|
value: input3.type
|
|
2679
3861
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2680
3862
|
path: _path2 + ".child_types",
|
|
2681
3863
|
expected: "(Array<string> | undefined)",
|
|
2682
3864
|
value: input3.child_types
|
|
2683
|
-
})) && input3.child_types.map((elem,
|
|
2684
|
-
path: _path2 + ".child_types[" +
|
|
3865
|
+
})) && input3.child_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3866
|
+
path: _path2 + ".child_types[" + _index39 + "]",
|
|
2685
3867
|
expected: "string",
|
|
2686
3868
|
value: elem
|
|
2687
3869
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2696,8 +3878,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2696
3878
|
path: _path2 + ".included_types",
|
|
2697
3879
|
expected: "(Array<string> | undefined)",
|
|
2698
3880
|
value: input3.included_types
|
|
2699
|
-
})) && input3.included_types.map((elem,
|
|
2700
|
-
path: _path2 + ".included_types[" +
|
|
3881
|
+
})) && input3.included_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3882
|
+
path: _path2 + ".included_types[" + _index40 + "]",
|
|
2701
3883
|
expected: "string",
|
|
2702
3884
|
value: elem
|
|
2703
3885
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2720,115 +3902,77 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2720
3902
|
path: _path2 + ".skipValuesBuild",
|
|
2721
3903
|
expected: "(boolean | undefined)",
|
|
2722
3904
|
value: input3.skipValuesBuild
|
|
2723
|
-
})
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
path: _path2 + ".grade_label",
|
|
2730
|
-
expected: "string",
|
|
2731
|
-
value: input3.grade_label
|
|
2732
|
-
}), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
|
|
2733
|
-
path: _path2 + ".child_id",
|
|
2734
|
-
expected: "(string | undefined)",
|
|
2735
|
-
value: input3.child_id
|
|
2736
|
-
}), "string" === typeof input3.child_label || $report(_exceptionable2, {
|
|
2737
|
-
path: _path2 + ".child_label",
|
|
3905
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
3906
|
+
path: _path2 + ".kind",
|
|
3907
|
+
expected: '"coord"',
|
|
3908
|
+
value: input3.kind
|
|
3909
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3910
|
+
path: _path2 + ".chr",
|
|
2738
3911
|
expected: "string",
|
|
2739
|
-
value: input3.
|
|
2740
|
-
})
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
3912
|
+
value: input3.chr
|
|
3913
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3914
|
+
path: _path2 + ".start",
|
|
3915
|
+
expected: "number",
|
|
3916
|
+
value: input3.start
|
|
3917
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3918
|
+
path: _path2 + ".stop",
|
|
3919
|
+
expected: "number",
|
|
3920
|
+
value: input3.stop
|
|
3921
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
3922
|
+
path: _path2 + ".genes",
|
|
3923
|
+
expected: "Array<GvGeneTerm>",
|
|
3924
|
+
value: input3.genes
|
|
3925
|
+
})) && input3.genes.map((elem, _index41) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3926
|
+
path: _path2 + ".genes[" + _index41 + "]",
|
|
3927
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3928
|
+
value: elem
|
|
3929
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index41 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3930
|
+
path: _path2 + ".genes[" + _index41 + "]",
|
|
3931
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3932
|
+
value: elem
|
|
3933
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3934
|
+
path: _path2 + ".genes",
|
|
3935
|
+
expected: "Array<GvGeneTerm>",
|
|
3936
|
+
value: input3.genes
|
|
3937
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3938
|
+
path: _path2 + ".groupsetting",
|
|
3939
|
+
expected: "(TermGroupSetting | undefined)",
|
|
3940
|
+
value: input3.groupsetting
|
|
3941
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3942
|
+
path: _path2 + ".groupsetting",
|
|
3943
|
+
expected: "(TermGroupSetting | undefined)",
|
|
3944
|
+
value: input3.groupsetting
|
|
3945
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
3946
|
+
path: _path2 + ".childTerms",
|
|
3947
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
3948
|
+
value: input3.childTerms
|
|
3949
|
+
})) && input3.childTerms.map((elem, _index42) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3950
|
+
path: _path2 + ".childTerms[" + _index42 + "]",
|
|
2755
3951
|
expected: "DtTerm",
|
|
2756
|
-
value: input3.term
|
|
2757
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2758
|
-
path: _path2 + ".values",
|
|
2759
|
-
expected: "Array<__type>.o2",
|
|
2760
|
-
value: input3.values
|
|
2761
|
-
})) && input3.values.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2762
|
-
path: _path2 + ".values[" + _index21 + "]",
|
|
2763
|
-
expected: "__type.o4",
|
|
2764
3952
|
value: elem
|
|
2765
|
-
})) && $
|
|
2766
|
-
path: _path2 + ".
|
|
2767
|
-
expected: "
|
|
3953
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index42 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3954
|
+
path: _path2 + ".childTerms[" + _index42 + "]",
|
|
3955
|
+
expected: "DtTerm",
|
|
2768
3956
|
value: elem
|
|
2769
3957
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2770
|
-
path: _path2 + ".
|
|
2771
|
-
expected: "Array<
|
|
2772
|
-
value: input3.
|
|
2773
|
-
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
2774
|
-
path: _path2 + ".includeNotTested",
|
|
2775
|
-
expected: "(boolean | undefined)",
|
|
2776
|
-
value: input3.includeNotTested
|
|
2777
|
-
}), void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName || $report(_exceptionable2, {
|
|
2778
|
-
path: _path2 + ".excludeGeneName",
|
|
2779
|
-
expected: "(boolean | undefined)",
|
|
2780
|
-
value: input3.excludeGeneName
|
|
3958
|
+
path: _path2 + ".childTerms",
|
|
3959
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
3960
|
+
value: input3.childTerms
|
|
2781
3961
|
})].every((flag) => flag);
|
|
2782
|
-
const $
|
|
2783
|
-
path: _path2 + ".
|
|
2784
|
-
expected: "string",
|
|
2785
|
-
value: input3.id
|
|
2786
|
-
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
2787
|
-
path: _path2 + ".query",
|
|
2788
|
-
expected: "string",
|
|
2789
|
-
value: input3.query
|
|
2790
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2791
|
-
path: _path2 + ".name",
|
|
3962
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
3963
|
+
path: _path2 + ".key",
|
|
2792
3964
|
expected: "string",
|
|
2793
|
-
value: input3.
|
|
2794
|
-
}), "string" === typeof input3.
|
|
2795
|
-
path: _path2 + ".
|
|
3965
|
+
value: input3.key
|
|
3966
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
3967
|
+
path: _path2 + ".label",
|
|
2796
3968
|
expected: "string",
|
|
2797
|
-
value: input3.
|
|
2798
|
-
}),
|
|
2799
|
-
path: _path2 + ".
|
|
2800
|
-
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)',
|
|
2801
|
-
value: input3.parentTerm
|
|
2802
|
-
})) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
2803
|
-
path: _path2 + ".parentTerm",
|
|
2804
|
-
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)',
|
|
2805
|
-
value: input3.parentTerm
|
|
2806
|
-
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2807
|
-
path: _path2 + ".isleaf",
|
|
2808
|
-
expected: "boolean",
|
|
2809
|
-
value: input3.isleaf
|
|
2810
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
2811
|
-
path: _path2 + ".type",
|
|
3969
|
+
value: input3.label
|
|
3970
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
3971
|
+
path: _path2 + ".value",
|
|
2812
3972
|
expected: "string",
|
|
2813
|
-
value: input3.
|
|
2814
|
-
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
2815
|
-
path: _path2 + ".dt",
|
|
2816
|
-
expected: "number",
|
|
2817
|
-
value: input3.dt
|
|
2818
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
2819
|
-
path: _path2 + ".origin",
|
|
2820
|
-
expected: "(string | undefined)",
|
|
2821
|
-
value: input3.origin
|
|
2822
|
-
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2823
|
-
path: _path2 + ".values",
|
|
2824
|
-
expected: "TermValues",
|
|
2825
|
-
value: input3.values
|
|
2826
|
-
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2827
|
-
path: _path2 + ".values",
|
|
2828
|
-
expected: "TermValues",
|
|
2829
|
-
value: input3.values
|
|
3973
|
+
value: input3.value
|
|
2830
3974
|
})].every((flag) => flag);
|
|
2831
|
-
const $
|
|
3975
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2832
3976
|
path: _path2 + ".id",
|
|
2833
3977
|
expected: "string",
|
|
2834
3978
|
value: input3.id
|
|
@@ -2844,8 +3988,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2844
3988
|
path: _path2 + ".child_types",
|
|
2845
3989
|
expected: "(Array<string> | undefined)",
|
|
2846
3990
|
value: input3.child_types
|
|
2847
|
-
})) && input3.child_types.map((elem,
|
|
2848
|
-
path: _path2 + ".child_types[" +
|
|
3991
|
+
})) && input3.child_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3992
|
+
path: _path2 + ".child_types[" + _index43 + "]",
|
|
2849
3993
|
expected: "string",
|
|
2850
3994
|
value: elem
|
|
2851
3995
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2860,8 +4004,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2860
4004
|
path: _path2 + ".included_types",
|
|
2861
4005
|
expected: "(Array<string> | undefined)",
|
|
2862
4006
|
value: input3.included_types
|
|
2863
|
-
})) && input3.included_types.map((elem,
|
|
2864
|
-
path: _path2 + ".included_types[" +
|
|
4007
|
+
})) && input3.included_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4008
|
+
path: _path2 + ".included_types[" + _index44 + "]",
|
|
2865
4009
|
expected: "string",
|
|
2866
4010
|
value: elem
|
|
2867
4011
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2884,68 +4028,64 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2884
4028
|
path: _path2 + ".skipValuesBuild",
|
|
2885
4029
|
expected: "(boolean | undefined)",
|
|
2886
4030
|
value: input3.skipValuesBuild
|
|
2887
|
-
}), "
|
|
4031
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
2888
4032
|
path: _path2 + ".kind",
|
|
2889
|
-
expected: '"
|
|
4033
|
+
expected: '"coord"',
|
|
2890
4034
|
value: input3.kind
|
|
2891
|
-
}), "string" === typeof input3.
|
|
2892
|
-
path: _path2 + ".gene",
|
|
2893
|
-
expected: "string",
|
|
2894
|
-
value: input3.gene
|
|
2895
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
4035
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2896
4036
|
path: _path2 + ".chr",
|
|
2897
|
-
expected: "
|
|
4037
|
+
expected: "string",
|
|
2898
4038
|
value: input3.chr
|
|
2899
|
-
}),
|
|
4039
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2900
4040
|
path: _path2 + ".start",
|
|
2901
|
-
expected: "
|
|
4041
|
+
expected: "number",
|
|
2902
4042
|
value: input3.start
|
|
2903
|
-
}),
|
|
4043
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2904
4044
|
path: _path2 + ".stop",
|
|
2905
|
-
expected: "
|
|
4045
|
+
expected: "number",
|
|
2906
4046
|
value: input3.stop
|
|
2907
4047
|
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
2908
4048
|
path: _path2 + ".genes",
|
|
2909
4049
|
expected: "Array<GvGeneTerm>",
|
|
2910
4050
|
value: input3.genes
|
|
2911
|
-
})) && input3.genes.map((elem,
|
|
2912
|
-
path: _path2 + ".genes[" +
|
|
4051
|
+
})) && input3.genes.map((elem, _index45) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4052
|
+
path: _path2 + ".genes[" + _index45 + "]",
|
|
2913
4053
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2914
4054
|
value: elem
|
|
2915
|
-
})) && $vu4(elem, _path2 + ".genes[" +
|
|
2916
|
-
path: _path2 + ".genes[" +
|
|
4055
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index45 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4056
|
+
path: _path2 + ".genes[" + _index45 + "]",
|
|
2917
4057
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2918
4058
|
value: elem
|
|
2919
4059
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2920
4060
|
path: _path2 + ".genes",
|
|
2921
4061
|
expected: "Array<GvGeneTerm>",
|
|
2922
4062
|
value: input3.genes
|
|
2923
|
-
}),
|
|
4063
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2924
4064
|
path: _path2 + ".groupsetting",
|
|
2925
|
-
expected: "
|
|
4065
|
+
expected: "TermGroupSetting",
|
|
2926
4066
|
value: input3.groupsetting
|
|
2927
4067
|
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2928
4068
|
path: _path2 + ".groupsetting",
|
|
2929
|
-
expected: "
|
|
4069
|
+
expected: "TermGroupSetting",
|
|
2930
4070
|
value: input3.groupsetting
|
|
2931
|
-
}),
|
|
4071
|
+
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
2932
4072
|
path: _path2 + ".childTerms",
|
|
2933
|
-
expected: "
|
|
4073
|
+
expected: "Array<DtTerm>",
|
|
2934
4074
|
value: input3.childTerms
|
|
2935
|
-
})) && input3.childTerms.map((elem,
|
|
2936
|
-
path: _path2 + ".childTerms[" +
|
|
4075
|
+
})) && input3.childTerms.map((elem, _index46) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4076
|
+
path: _path2 + ".childTerms[" + _index46 + "]",
|
|
2937
4077
|
expected: "DtTerm",
|
|
2938
4078
|
value: elem
|
|
2939
|
-
})) && $
|
|
2940
|
-
path: _path2 + ".childTerms[" +
|
|
4079
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index46 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4080
|
+
path: _path2 + ".childTerms[" + _index46 + "]",
|
|
2941
4081
|
expected: "DtTerm",
|
|
2942
4082
|
value: elem
|
|
2943
4083
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2944
4084
|
path: _path2 + ".childTerms",
|
|
2945
|
-
expected: "
|
|
4085
|
+
expected: "Array<DtTerm>",
|
|
2946
4086
|
value: input3.childTerms
|
|
2947
4087
|
})].every((flag) => flag);
|
|
2948
|
-
const $
|
|
4088
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2949
4089
|
path: _path2 + ".id",
|
|
2950
4090
|
expected: "string",
|
|
2951
4091
|
value: input3.id
|
|
@@ -2953,16 +4093,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2953
4093
|
path: _path2 + ".name",
|
|
2954
4094
|
expected: "string",
|
|
2955
4095
|
value: input3.name
|
|
2956
|
-
}), "
|
|
4096
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
2957
4097
|
path: _path2 + ".type",
|
|
2958
|
-
expected: "
|
|
4098
|
+
expected: '"geneExpression"',
|
|
2959
4099
|
value: input3.type
|
|
2960
4100
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2961
4101
|
path: _path2 + ".child_types",
|
|
2962
4102
|
expected: "(Array<string> | undefined)",
|
|
2963
4103
|
value: input3.child_types
|
|
2964
|
-
})) && input3.child_types.map((elem,
|
|
2965
|
-
path: _path2 + ".child_types[" +
|
|
4104
|
+
})) && input3.child_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4105
|
+
path: _path2 + ".child_types[" + _index47 + "]",
|
|
2966
4106
|
expected: "string",
|
|
2967
4107
|
value: elem
|
|
2968
4108
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2977,8 +4117,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2977
4117
|
path: _path2 + ".included_types",
|
|
2978
4118
|
expected: "(Array<string> | undefined)",
|
|
2979
4119
|
value: input3.included_types
|
|
2980
|
-
})) && input3.included_types.map((elem,
|
|
2981
|
-
path: _path2 + ".included_types[" +
|
|
4120
|
+
})) && input3.included_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4121
|
+
path: _path2 + ".included_types[" + _index48 + "]",
|
|
2982
4122
|
expected: "string",
|
|
2983
4123
|
value: elem
|
|
2984
4124
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3001,14 +4141,30 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3001
4141
|
path: _path2 + ".skipValuesBuild",
|
|
3002
4142
|
expected: "(boolean | undefined)",
|
|
3003
4143
|
value: input3.skipValuesBuild
|
|
3004
|
-
}), "
|
|
3005
|
-
path: _path2 + ".
|
|
3006
|
-
expected:
|
|
3007
|
-
value: input3.
|
|
4144
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
4145
|
+
path: _path2 + ".continuousColorScale",
|
|
4146
|
+
expected: "(__type.o2 | undefined)",
|
|
4147
|
+
value: input3.continuousColorScale
|
|
4148
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
4149
|
+
path: _path2 + ".continuousColorScale",
|
|
4150
|
+
expected: "(__type.o2 | undefined)",
|
|
4151
|
+
value: input3.continuousColorScale
|
|
4152
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
4153
|
+
path: _path2 + ".unit",
|
|
4154
|
+
expected: "(string | undefined)",
|
|
4155
|
+
value: input3.unit
|
|
3008
4156
|
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
3009
4157
|
path: _path2 + ".gene",
|
|
3010
4158
|
expected: "string",
|
|
3011
4159
|
value: input3.gene
|
|
4160
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
4161
|
+
path: _path2 + ".bins",
|
|
4162
|
+
expected: "(PresetNumericBins | undefined)",
|
|
4163
|
+
value: input3.bins
|
|
4164
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
4165
|
+
path: _path2 + ".bins",
|
|
4166
|
+
expected: "(PresetNumericBins | undefined)",
|
|
4167
|
+
value: input3.bins
|
|
3012
4168
|
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3013
4169
|
path: _path2 + ".chr",
|
|
3014
4170
|
expected: "(string | undefined)",
|
|
@@ -3022,7 +4178,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3022
4178
|
expected: "(number | undefined)",
|
|
3023
4179
|
value: input3.stop
|
|
3024
4180
|
})].every((flag) => flag);
|
|
3025
|
-
const $
|
|
4181
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3026
4182
|
path: _path2 + ".id",
|
|
3027
4183
|
expected: "string",
|
|
3028
4184
|
value: input3.id
|
|
@@ -3030,16 +4186,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3030
4186
|
path: _path2 + ".name",
|
|
3031
4187
|
expected: "string",
|
|
3032
4188
|
value: input3.name
|
|
3033
|
-
}), "
|
|
4189
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
3034
4190
|
path: _path2 + ".type",
|
|
3035
|
-
expected: "
|
|
4191
|
+
expected: '"metaboliteIntensity"',
|
|
3036
4192
|
value: input3.type
|
|
3037
4193
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3038
4194
|
path: _path2 + ".child_types",
|
|
3039
4195
|
expected: "(Array<string> | undefined)",
|
|
3040
4196
|
value: input3.child_types
|
|
3041
|
-
})) && input3.child_types.map((elem,
|
|
3042
|
-
path: _path2 + ".child_types[" +
|
|
4197
|
+
})) && input3.child_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4198
|
+
path: _path2 + ".child_types[" + _index49 + "]",
|
|
3043
4199
|
expected: "string",
|
|
3044
4200
|
value: elem
|
|
3045
4201
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3054,8 +4210,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3054
4210
|
path: _path2 + ".included_types",
|
|
3055
4211
|
expected: "(Array<string> | undefined)",
|
|
3056
4212
|
value: input3.included_types
|
|
3057
|
-
})) && input3.included_types.map((elem,
|
|
3058
|
-
path: _path2 + ".included_types[" +
|
|
4213
|
+
})) && input3.included_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4214
|
+
path: _path2 + ".included_types[" + _index50 + "]",
|
|
3059
4215
|
expected: "string",
|
|
3060
4216
|
value: elem
|
|
3061
4217
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3078,24 +4234,32 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3078
4234
|
path: _path2 + ".skipValuesBuild",
|
|
3079
4235
|
expected: "(boolean | undefined)",
|
|
3080
4236
|
value: input3.skipValuesBuild
|
|
3081
|
-
}), "
|
|
3082
|
-
path: _path2 + ".
|
|
3083
|
-
expected:
|
|
3084
|
-
value: input3.
|
|
3085
|
-
}), "
|
|
3086
|
-
path: _path2 + ".
|
|
3087
|
-
expected: "
|
|
3088
|
-
value: input3.
|
|
3089
|
-
}), "
|
|
3090
|
-
path: _path2 + ".
|
|
3091
|
-
expected: "
|
|
3092
|
-
value: input3.
|
|
3093
|
-
}), "
|
|
3094
|
-
path: _path2 + ".
|
|
3095
|
-
expected: "
|
|
3096
|
-
value: input3.
|
|
4237
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
4238
|
+
path: _path2 + ".continuousColorScale",
|
|
4239
|
+
expected: "(__type.o2 | undefined)",
|
|
4240
|
+
value: input3.continuousColorScale
|
|
4241
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
4242
|
+
path: _path2 + ".continuousColorScale",
|
|
4243
|
+
expected: "(__type.o2 | undefined)",
|
|
4244
|
+
value: input3.continuousColorScale
|
|
4245
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
4246
|
+
path: _path2 + ".unit",
|
|
4247
|
+
expected: "(string | undefined)",
|
|
4248
|
+
value: input3.unit
|
|
4249
|
+
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
4250
|
+
path: _path2 + ".metabolite",
|
|
4251
|
+
expected: "string",
|
|
4252
|
+
value: input3.metabolite
|
|
4253
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
4254
|
+
path: _path2 + ".bins",
|
|
4255
|
+
expected: "(PresetNumericBins | undefined)",
|
|
4256
|
+
value: input3.bins
|
|
4257
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
4258
|
+
path: _path2 + ".bins",
|
|
4259
|
+
expected: "(PresetNumericBins | undefined)",
|
|
4260
|
+
value: input3.bins
|
|
3097
4261
|
})].every((flag) => flag);
|
|
3098
|
-
const $
|
|
4262
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3099
4263
|
path: _path2 + ".id",
|
|
3100
4264
|
expected: "string",
|
|
3101
4265
|
value: input3.id
|
|
@@ -3103,16 +4267,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3103
4267
|
path: _path2 + ".name",
|
|
3104
4268
|
expected: "string",
|
|
3105
4269
|
value: input3.name
|
|
3106
|
-
}), "
|
|
4270
|
+
}), "categorical" === input3.type || $report(_exceptionable2, {
|
|
3107
4271
|
path: _path2 + ".type",
|
|
3108
|
-
expected: '"
|
|
4272
|
+
expected: '"categorical"',
|
|
3109
4273
|
value: input3.type
|
|
3110
4274
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3111
4275
|
path: _path2 + ".child_types",
|
|
3112
4276
|
expected: "(Array<string> | undefined)",
|
|
3113
4277
|
value: input3.child_types
|
|
3114
|
-
})) && input3.child_types.map((elem,
|
|
3115
|
-
path: _path2 + ".child_types[" +
|
|
4278
|
+
})) && input3.child_types.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4279
|
+
path: _path2 + ".child_types[" + _index51 + "]",
|
|
3116
4280
|
expected: "string",
|
|
3117
4281
|
value: elem
|
|
3118
4282
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3127,8 +4291,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3127
4291
|
path: _path2 + ".included_types",
|
|
3128
4292
|
expected: "(Array<string> | undefined)",
|
|
3129
4293
|
value: input3.included_types
|
|
3130
|
-
})) && input3.included_types.map((elem,
|
|
3131
|
-
path: _path2 + ".included_types[" +
|
|
4294
|
+
})) && input3.included_types.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4295
|
+
path: _path2 + ".included_types[" + _index52 + "]",
|
|
3132
4296
|
expected: "string",
|
|
3133
4297
|
value: elem
|
|
3134
4298
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3151,77 +4315,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3151
4315
|
path: _path2 + ".skipValuesBuild",
|
|
3152
4316
|
expected: "(boolean | undefined)",
|
|
3153
4317
|
value: input3.skipValuesBuild
|
|
3154
|
-
}), "
|
|
3155
|
-
path: _path2 + ".kind",
|
|
3156
|
-
expected: '"coord"',
|
|
3157
|
-
value: input3.kind
|
|
3158
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3159
|
-
path: _path2 + ".chr",
|
|
3160
|
-
expected: "string",
|
|
3161
|
-
value: input3.chr
|
|
3162
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3163
|
-
path: _path2 + ".start",
|
|
3164
|
-
expected: "number",
|
|
3165
|
-
value: input3.start
|
|
3166
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3167
|
-
path: _path2 + ".stop",
|
|
3168
|
-
expected: "number",
|
|
3169
|
-
value: input3.stop
|
|
3170
|
-
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
3171
|
-
path: _path2 + ".genes",
|
|
3172
|
-
expected: "Array<GvGeneTerm>",
|
|
3173
|
-
value: input3.genes
|
|
3174
|
-
})) && input3.genes.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3175
|
-
path: _path2 + ".genes[" + _index32 + "]",
|
|
3176
|
-
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3177
|
-
value: elem
|
|
3178
|
-
})) && $vu4(elem, _path2 + ".genes[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3179
|
-
path: _path2 + ".genes[" + _index32 + "]",
|
|
3180
|
-
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3181
|
-
value: elem
|
|
3182
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3183
|
-
path: _path2 + ".genes",
|
|
3184
|
-
expected: "Array<GvGeneTerm>",
|
|
3185
|
-
value: input3.genes
|
|
3186
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
4318
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3187
4319
|
path: _path2 + ".groupsetting",
|
|
3188
|
-
expected: "
|
|
4320
|
+
expected: "TermGroupSetting",
|
|
3189
4321
|
value: input3.groupsetting
|
|
3190
4322
|
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3191
4323
|
path: _path2 + ".groupsetting",
|
|
3192
|
-
expected: "
|
|
4324
|
+
expected: "TermGroupSetting",
|
|
3193
4325
|
value: input3.groupsetting
|
|
3194
|
-
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
3195
|
-
path: _path2 + ".childTerms",
|
|
3196
|
-
expected: "(Array<DtTerm> | undefined)",
|
|
3197
|
-
value: input3.childTerms
|
|
3198
|
-
})) && input3.childTerms.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3199
|
-
path: _path2 + ".childTerms[" + _index33 + "]",
|
|
3200
|
-
expected: "DtTerm",
|
|
3201
|
-
value: elem
|
|
3202
|
-
})) && $vo28(elem, _path2 + ".childTerms[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3203
|
-
path: _path2 + ".childTerms[" + _index33 + "]",
|
|
3204
|
-
expected: "DtTerm",
|
|
3205
|
-
value: elem
|
|
3206
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3207
|
-
path: _path2 + ".childTerms",
|
|
3208
|
-
expected: "(Array<DtTerm> | undefined)",
|
|
3209
|
-
value: input3.childTerms
|
|
3210
|
-
})].every((flag) => flag);
|
|
3211
|
-
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
3212
|
-
path: _path2 + ".key",
|
|
3213
|
-
expected: "string",
|
|
3214
|
-
value: input3.key
|
|
3215
|
-
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
3216
|
-
path: _path2 + ".label",
|
|
3217
|
-
expected: "string",
|
|
3218
|
-
value: input3.label
|
|
3219
|
-
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
3220
|
-
path: _path2 + ".value",
|
|
3221
|
-
expected: "string",
|
|
3222
|
-
value: input3.value
|
|
3223
4326
|
})].every((flag) => flag);
|
|
3224
|
-
const $
|
|
4327
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3225
4328
|
path: _path2 + ".id",
|
|
3226
4329
|
expected: "string",
|
|
3227
4330
|
value: input3.id
|
|
@@ -3229,16 +4332,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3229
4332
|
path: _path2 + ".name",
|
|
3230
4333
|
expected: "string",
|
|
3231
4334
|
value: input3.name
|
|
3232
|
-
}), "
|
|
4335
|
+
}), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
|
|
3233
4336
|
path: _path2 + ".type",
|
|
3234
|
-
expected: '"
|
|
4337
|
+
expected: '("float" | "integer")',
|
|
3235
4338
|
value: input3.type
|
|
3236
4339
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3237
4340
|
path: _path2 + ".child_types",
|
|
3238
4341
|
expected: "(Array<string> | undefined)",
|
|
3239
4342
|
value: input3.child_types
|
|
3240
|
-
})) && input3.child_types.map((elem,
|
|
3241
|
-
path: _path2 + ".child_types[" +
|
|
4343
|
+
})) && input3.child_types.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4344
|
+
path: _path2 + ".child_types[" + _index53 + "]",
|
|
3242
4345
|
expected: "string",
|
|
3243
4346
|
value: elem
|
|
3244
4347
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3253,8 +4356,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3253
4356
|
path: _path2 + ".included_types",
|
|
3254
4357
|
expected: "(Array<string> | undefined)",
|
|
3255
4358
|
value: input3.included_types
|
|
3256
|
-
})) && input3.included_types.map((elem,
|
|
3257
|
-
path: _path2 + ".included_types[" +
|
|
4359
|
+
})) && input3.included_types.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4360
|
+
path: _path2 + ".included_types[" + _index54 + "]",
|
|
3258
4361
|
expected: "string",
|
|
3259
4362
|
value: elem
|
|
3260
4363
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3277,64 +4380,28 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3277
4380
|
path: _path2 + ".skipValuesBuild",
|
|
3278
4381
|
expected: "(boolean | undefined)",
|
|
3279
4382
|
value: input3.skipValuesBuild
|
|
3280
|
-
}), "
|
|
3281
|
-
path: _path2 + ".
|
|
3282
|
-
expected:
|
|
3283
|
-
value: input3.
|
|
3284
|
-
}), "
|
|
3285
|
-
path: _path2 + ".
|
|
3286
|
-
expected: "
|
|
3287
|
-
value: input3.
|
|
3288
|
-
}), "
|
|
3289
|
-
path: _path2 + ".
|
|
3290
|
-
expected: "
|
|
3291
|
-
value: input3.
|
|
3292
|
-
}), "
|
|
3293
|
-
path: _path2 + ".
|
|
3294
|
-
expected: "
|
|
3295
|
-
value: input3.
|
|
3296
|
-
})
|
|
3297
|
-
path: _path2 + ".
|
|
3298
|
-
expected: "
|
|
3299
|
-
value: input3.
|
|
3300
|
-
})) && input3.genes.map((elem, _index36) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3301
|
-
path: _path2 + ".genes[" + _index36 + "]",
|
|
3302
|
-
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3303
|
-
value: elem
|
|
3304
|
-
})) && $vu4(elem, _path2 + ".genes[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3305
|
-
path: _path2 + ".genes[" + _index36 + "]",
|
|
3306
|
-
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3307
|
-
value: elem
|
|
3308
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3309
|
-
path: _path2 + ".genes",
|
|
3310
|
-
expected: "Array<GvGeneTerm>",
|
|
3311
|
-
value: input3.genes
|
|
3312
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3313
|
-
path: _path2 + ".groupsetting",
|
|
3314
|
-
expected: "TermGroupSetting",
|
|
3315
|
-
value: input3.groupsetting
|
|
3316
|
-
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3317
|
-
path: _path2 + ".groupsetting",
|
|
3318
|
-
expected: "TermGroupSetting",
|
|
3319
|
-
value: input3.groupsetting
|
|
3320
|
-
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
3321
|
-
path: _path2 + ".childTerms",
|
|
3322
|
-
expected: "Array<DtTerm>",
|
|
3323
|
-
value: input3.childTerms
|
|
3324
|
-
})) && input3.childTerms.map((elem, _index37) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3325
|
-
path: _path2 + ".childTerms[" + _index37 + "]",
|
|
3326
|
-
expected: "DtTerm",
|
|
3327
|
-
value: elem
|
|
3328
|
-
})) && $vo28(elem, _path2 + ".childTerms[" + _index37 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3329
|
-
path: _path2 + ".childTerms[" + _index37 + "]",
|
|
3330
|
-
expected: "DtTerm",
|
|
3331
|
-
value: elem
|
|
3332
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3333
|
-
path: _path2 + ".childTerms",
|
|
3334
|
-
expected: "Array<DtTerm>",
|
|
3335
|
-
value: input3.childTerms
|
|
4383
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
4384
|
+
path: _path2 + ".continuousColorScale",
|
|
4385
|
+
expected: "(__type.o2 | undefined)",
|
|
4386
|
+
value: input3.continuousColorScale
|
|
4387
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
4388
|
+
path: _path2 + ".continuousColorScale",
|
|
4389
|
+
expected: "(__type.o2 | undefined)",
|
|
4390
|
+
value: input3.continuousColorScale
|
|
4391
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
4392
|
+
path: _path2 + ".unit",
|
|
4393
|
+
expected: "(string | undefined)",
|
|
4394
|
+
value: input3.unit
|
|
4395
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
4396
|
+
path: _path2 + ".bins",
|
|
4397
|
+
expected: "PresetNumericBins",
|
|
4398
|
+
value: input3.bins
|
|
4399
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
4400
|
+
path: _path2 + ".bins",
|
|
4401
|
+
expected: "PresetNumericBins",
|
|
4402
|
+
value: input3.bins
|
|
3336
4403
|
})].every((flag) => flag);
|
|
3337
|
-
const $
|
|
4404
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3338
4405
|
path: _path2 + ".id",
|
|
3339
4406
|
expected: "string",
|
|
3340
4407
|
value: input3.id
|
|
@@ -3342,16 +4409,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3342
4409
|
path: _path2 + ".name",
|
|
3343
4410
|
expected: "string",
|
|
3344
4411
|
value: input3.name
|
|
3345
|
-
}), "
|
|
4412
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
3346
4413
|
path: _path2 + ".type",
|
|
3347
|
-
expected: '"
|
|
4414
|
+
expected: '"date"',
|
|
3348
4415
|
value: input3.type
|
|
3349
4416
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3350
4417
|
path: _path2 + ".child_types",
|
|
3351
4418
|
expected: "(Array<string> | undefined)",
|
|
3352
4419
|
value: input3.child_types
|
|
3353
|
-
})) && input3.child_types.map((elem,
|
|
3354
|
-
path: _path2 + ".child_types[" +
|
|
4420
|
+
})) && input3.child_types.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4421
|
+
path: _path2 + ".child_types[" + _index55 + "]",
|
|
3355
4422
|
expected: "string",
|
|
3356
4423
|
value: elem
|
|
3357
4424
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3366,8 +4433,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3366
4433
|
path: _path2 + ".included_types",
|
|
3367
4434
|
expected: "(Array<string> | undefined)",
|
|
3368
4435
|
value: input3.included_types
|
|
3369
|
-
})) && input3.included_types.map((elem,
|
|
3370
|
-
path: _path2 + ".included_types[" +
|
|
4436
|
+
})) && input3.included_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4437
|
+
path: _path2 + ".included_types[" + _index56 + "]",
|
|
3371
4438
|
expected: "string",
|
|
3372
4439
|
value: elem
|
|
3373
4440
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3390,16 +4457,32 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3390
4457
|
path: _path2 + ".skipValuesBuild",
|
|
3391
4458
|
expected: "(boolean | undefined)",
|
|
3392
4459
|
value: input3.skipValuesBuild
|
|
3393
|
-
}), ("object" === typeof input3.
|
|
3394
|
-
path: _path2 + ".
|
|
3395
|
-
expected: "
|
|
3396
|
-
value: input3.
|
|
3397
|
-
})) && $
|
|
3398
|
-
path: _path2 + ".
|
|
3399
|
-
expected: "
|
|
3400
|
-
value: input3.
|
|
4460
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
4461
|
+
path: _path2 + ".continuousColorScale",
|
|
4462
|
+
expected: "(__type.o2 | undefined)",
|
|
4463
|
+
value: input3.continuousColorScale
|
|
4464
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
4465
|
+
path: _path2 + ".continuousColorScale",
|
|
4466
|
+
expected: "(__type.o2 | undefined)",
|
|
4467
|
+
value: input3.continuousColorScale
|
|
4468
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
4469
|
+
path: _path2 + ".unit",
|
|
4470
|
+
expected: "(string | undefined)",
|
|
4471
|
+
value: input3.unit
|
|
4472
|
+
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
4473
|
+
path: _path2 + ".metabolite",
|
|
4474
|
+
expected: "string",
|
|
4475
|
+
value: input3.metabolite
|
|
4476
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
4477
|
+
path: _path2 + ".bins",
|
|
4478
|
+
expected: "(PresetNumericBins | undefined)",
|
|
4479
|
+
value: input3.bins
|
|
4480
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
4481
|
+
path: _path2 + ".bins",
|
|
4482
|
+
expected: "(PresetNumericBins | undefined)",
|
|
4483
|
+
value: input3.bins
|
|
3401
4484
|
})].every((flag) => flag);
|
|
3402
|
-
const $
|
|
4485
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3403
4486
|
path: _path2 + ".id",
|
|
3404
4487
|
expected: "string",
|
|
3405
4488
|
value: input3.id
|
|
@@ -3407,16 +4490,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3407
4490
|
path: _path2 + ".name",
|
|
3408
4491
|
expected: "string",
|
|
3409
4492
|
value: input3.name
|
|
3410
|
-
}), "
|
|
4493
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
3411
4494
|
path: _path2 + ".type",
|
|
3412
|
-
expected: '
|
|
4495
|
+
expected: '"ssGSEA"',
|
|
3413
4496
|
value: input3.type
|
|
3414
4497
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3415
4498
|
path: _path2 + ".child_types",
|
|
3416
4499
|
expected: "(Array<string> | undefined)",
|
|
3417
4500
|
value: input3.child_types
|
|
3418
|
-
})) && input3.child_types.map((elem,
|
|
3419
|
-
path: _path2 + ".child_types[" +
|
|
4501
|
+
})) && input3.child_types.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4502
|
+
path: _path2 + ".child_types[" + _index57 + "]",
|
|
3420
4503
|
expected: "string",
|
|
3421
4504
|
value: elem
|
|
3422
4505
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3431,8 +4514,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3431
4514
|
path: _path2 + ".included_types",
|
|
3432
4515
|
expected: "(Array<string> | undefined)",
|
|
3433
4516
|
value: input3.included_types
|
|
3434
|
-
})) && input3.included_types.map((elem,
|
|
3435
|
-
path: _path2 + ".included_types[" +
|
|
4517
|
+
})) && input3.included_types.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4518
|
+
path: _path2 + ".included_types[" + _index58 + "]",
|
|
3436
4519
|
expected: "string",
|
|
3437
4520
|
value: elem
|
|
3438
4521
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3455,28 +4538,40 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3455
4538
|
path: _path2 + ".skipValuesBuild",
|
|
3456
4539
|
expected: "(boolean | undefined)",
|
|
3457
4540
|
value: input3.skipValuesBuild
|
|
3458
|
-
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
3459
|
-
path: _path2 + ".bins",
|
|
3460
|
-
expected: "PresetNumericBins",
|
|
3461
|
-
value: input3.bins
|
|
3462
|
-
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
3463
|
-
path: _path2 + ".bins",
|
|
3464
|
-
expected: "PresetNumericBins",
|
|
3465
|
-
value: input3.bins
|
|
3466
|
-
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
3467
|
-
path: _path2 + ".unit",
|
|
3468
|
-
expected: "(string | undefined)",
|
|
3469
|
-
value: input3.unit
|
|
3470
4541
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
3471
4542
|
path: _path2 + ".continuousColorScale",
|
|
3472
4543
|
expected: "(__type.o2 | undefined)",
|
|
3473
4544
|
value: input3.continuousColorScale
|
|
3474
|
-
})) && $
|
|
4545
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
3475
4546
|
path: _path2 + ".continuousColorScale",
|
|
3476
4547
|
expected: "(__type.o2 | undefined)",
|
|
3477
4548
|
value: input3.continuousColorScale
|
|
4549
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
4550
|
+
path: _path2 + ".unit",
|
|
4551
|
+
expected: "(string | undefined)",
|
|
4552
|
+
value: input3.unit
|
|
4553
|
+
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
4554
|
+
path: _path2 + ".genes",
|
|
4555
|
+
expected: "(Array<string> | undefined)",
|
|
4556
|
+
value: input3.genes
|
|
4557
|
+
})) && input3.genes.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4558
|
+
path: _path2 + ".genes[" + _index59 + "]",
|
|
4559
|
+
expected: "string",
|
|
4560
|
+
value: elem
|
|
4561
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4562
|
+
path: _path2 + ".genes",
|
|
4563
|
+
expected: "(Array<string> | undefined)",
|
|
4564
|
+
value: input3.genes
|
|
4565
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
4566
|
+
path: _path2 + ".bins",
|
|
4567
|
+
expected: "(PresetNumericBins | undefined)",
|
|
4568
|
+
value: input3.bins
|
|
4569
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
4570
|
+
path: _path2 + ".bins",
|
|
4571
|
+
expected: "(PresetNumericBins | undefined)",
|
|
4572
|
+
value: input3.bins
|
|
3478
4573
|
})].every((flag) => flag);
|
|
3479
|
-
const $
|
|
4574
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3480
4575
|
path: _path2 + ".id",
|
|
3481
4576
|
expected: "string",
|
|
3482
4577
|
value: input3.id
|
|
@@ -3492,8 +4587,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3492
4587
|
path: _path2 + ".child_types",
|
|
3493
4588
|
expected: "(Array<string> | undefined)",
|
|
3494
4589
|
value: input3.child_types
|
|
3495
|
-
})) && input3.child_types.map((elem,
|
|
3496
|
-
path: _path2 + ".child_types[" +
|
|
4590
|
+
})) && input3.child_types.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4591
|
+
path: _path2 + ".child_types[" + _index60 + "]",
|
|
3497
4592
|
expected: "string",
|
|
3498
4593
|
value: elem
|
|
3499
4594
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3508,8 +4603,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3508
4603
|
path: _path2 + ".included_types",
|
|
3509
4604
|
expected: "(Array<string> | undefined)",
|
|
3510
4605
|
value: input3.included_types
|
|
3511
|
-
})) && input3.included_types.map((elem,
|
|
3512
|
-
path: _path2 + ".included_types[" +
|
|
4606
|
+
})) && input3.included_types.map((elem, _index61) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4607
|
+
path: _path2 + ".included_types[" + _index61 + "]",
|
|
3513
4608
|
expected: "string",
|
|
3514
4609
|
value: elem
|
|
3515
4610
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3533,7 +4628,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3533
4628
|
expected: "(boolean | undefined)",
|
|
3534
4629
|
value: input3.skipValuesBuild
|
|
3535
4630
|
})].every((flag) => flag);
|
|
3536
|
-
const $
|
|
4631
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3537
4632
|
path: _path2 + ".id",
|
|
3538
4633
|
expected: "string",
|
|
3539
4634
|
value: input3.id
|
|
@@ -3549,8 +4644,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3549
4644
|
path: _path2 + ".child_types",
|
|
3550
4645
|
expected: "(Array<string> | undefined)",
|
|
3551
4646
|
value: input3.child_types
|
|
3552
|
-
})) && input3.child_types.map((elem,
|
|
3553
|
-
path: _path2 + ".child_types[" +
|
|
4647
|
+
})) && input3.child_types.map((elem, _index62) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4648
|
+
path: _path2 + ".child_types[" + _index62 + "]",
|
|
3554
4649
|
expected: "string",
|
|
3555
4650
|
value: elem
|
|
3556
4651
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3565,8 +4660,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3565
4660
|
path: _path2 + ".included_types",
|
|
3566
4661
|
expected: "(Array<string> | undefined)",
|
|
3567
4662
|
value: input3.included_types
|
|
3568
|
-
})) && input3.included_types.map((elem,
|
|
3569
|
-
path: _path2 + ".included_types[" +
|
|
4663
|
+
})) && input3.included_types.map((elem, _index63) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4664
|
+
path: _path2 + ".included_types[" + _index63 + "]",
|
|
3570
4665
|
expected: "string",
|
|
3571
4666
|
value: elem
|
|
3572
4667
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3597,12 +4692,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3597
4692
|
path: _path2 + ".snps",
|
|
3598
4693
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3599
4694
|
value: input3.snps
|
|
3600
|
-
})) && input3.snps.map((elem,
|
|
3601
|
-
path: _path2 + ".snps[" +
|
|
4695
|
+
})) && input3.snps.map((elem, _index64) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4696
|
+
path: _path2 + ".snps[" + _index64 + "]",
|
|
3602
4697
|
expected: "SnpsEntry",
|
|
3603
4698
|
value: elem
|
|
3604
|
-
})) && $
|
|
3605
|
-
path: _path2 + ".snps[" +
|
|
4699
|
+
})) && $vo47(elem, _path2 + ".snps[" + _index64 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4700
|
+
path: _path2 + ".snps[" + _index64 + "]",
|
|
3606
4701
|
expected: "SnpsEntry",
|
|
3607
4702
|
value: elem
|
|
3608
4703
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3610,12 +4705,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3610
4705
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3611
4706
|
value: input3.snps
|
|
3612
4707
|
})].every((flag) => flag);
|
|
3613
|
-
const $
|
|
4708
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
3614
4709
|
path: _path2 + ".altAlleles",
|
|
3615
4710
|
expected: "(Array<string> | undefined)",
|
|
3616
4711
|
value: input3.altAlleles
|
|
3617
|
-
})) && input3.altAlleles.map((elem,
|
|
3618
|
-
path: _path2 + ".altAlleles[" +
|
|
4712
|
+
})) && input3.altAlleles.map((elem, _index65) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4713
|
+
path: _path2 + ".altAlleles[" + _index65 + "]",
|
|
3619
4714
|
expected: "string",
|
|
3620
4715
|
value: elem
|
|
3621
4716
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3626,12 +4721,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3626
4721
|
path: _path2 + ".alleles",
|
|
3627
4722
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
3628
4723
|
value: input3.alleles
|
|
3629
|
-
})) && input3.alleles.map((elem,
|
|
3630
|
-
path: _path2 + ".alleles[" +
|
|
4724
|
+
})) && input3.alleles.map((elem, _index66) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4725
|
+
path: _path2 + ".alleles[" + _index66 + "]",
|
|
3631
4726
|
expected: "AllelesEntry",
|
|
3632
4727
|
value: elem
|
|
3633
|
-
})) && $
|
|
3634
|
-
path: _path2 + ".alleles[" +
|
|
4728
|
+
})) && $vo48(elem, _path2 + ".alleles[" + _index66 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4729
|
+
path: _path2 + ".alleles[" + _index66 + "]",
|
|
3635
4730
|
expected: "AllelesEntry",
|
|
3636
4731
|
value: elem
|
|
3637
4732
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3646,7 +4741,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3646
4741
|
path: _path2 + ".gt2count",
|
|
3647
4742
|
expected: "(__type.o5 | undefined)",
|
|
3648
4743
|
value: input3.gt2count
|
|
3649
|
-
})) && $
|
|
4744
|
+
})) && $vo49(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
3650
4745
|
path: _path2 + ".gt2count",
|
|
3651
4746
|
expected: "(__type.o5 | undefined)",
|
|
3652
4747
|
value: input3.gt2count
|
|
@@ -3675,7 +4770,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3675
4770
|
expected: "(number | undefined)",
|
|
3676
4771
|
value: input3.pos
|
|
3677
4772
|
})].every((flag) => flag);
|
|
3678
|
-
const $
|
|
4773
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
3679
4774
|
path: _path2 + ".allele",
|
|
3680
4775
|
expected: "string",
|
|
3681
4776
|
value: input3.allele
|
|
@@ -3688,7 +4783,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3688
4783
|
expected: "boolean",
|
|
3689
4784
|
value: input3.isRef
|
|
3690
4785
|
})].every((flag) => flag);
|
|
3691
|
-
const $
|
|
4786
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
3692
4787
|
path: _path2 + ".k",
|
|
3693
4788
|
expected: "string",
|
|
3694
4789
|
value: input3.k
|
|
@@ -3697,7 +4792,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3697
4792
|
expected: "(number | string)",
|
|
3698
4793
|
value: input3.v
|
|
3699
4794
|
})].every((flag) => flag);
|
|
3700
|
-
const $
|
|
4795
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3701
4796
|
path: _path2 + ".id",
|
|
3702
4797
|
expected: "string",
|
|
3703
4798
|
value: input3.id
|
|
@@ -3713,8 +4808,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3713
4808
|
path: _path2 + ".child_types",
|
|
3714
4809
|
expected: "(Array<string> | undefined)",
|
|
3715
4810
|
value: input3.child_types
|
|
3716
|
-
})) && input3.child_types.map((elem,
|
|
3717
|
-
path: _path2 + ".child_types[" +
|
|
4811
|
+
})) && input3.child_types.map((elem, _index67) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4812
|
+
path: _path2 + ".child_types[" + _index67 + "]",
|
|
3718
4813
|
expected: "string",
|
|
3719
4814
|
value: elem
|
|
3720
4815
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3729,8 +4824,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3729
4824
|
path: _path2 + ".included_types",
|
|
3730
4825
|
expected: "(Array<string> | undefined)",
|
|
3731
4826
|
value: input3.included_types
|
|
3732
|
-
})) && input3.included_types.map((elem,
|
|
3733
|
-
path: _path2 + ".included_types[" +
|
|
4827
|
+
})) && input3.included_types.map((elem, _index68) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4828
|
+
path: _path2 + ".included_types[" + _index68 + "]",
|
|
3734
4829
|
expected: "string",
|
|
3735
4830
|
value: elem
|
|
3736
4831
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3745,7 +4840,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3745
4840
|
path: _path2 + ".values",
|
|
3746
4841
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3747
4842
|
value: input3.values
|
|
3748
|
-
})) && $
|
|
4843
|
+
})) && $vo51(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3749
4844
|
path: _path2 + ".values",
|
|
3750
4845
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3751
4846
|
value: input3.values
|
|
@@ -3754,7 +4849,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3754
4849
|
expected: "(boolean | undefined)",
|
|
3755
4850
|
value: input3.skipValuesBuild
|
|
3756
4851
|
})].every((flag) => flag);
|
|
3757
|
-
const $
|
|
4852
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3758
4853
|
const value = input3[key];
|
|
3759
4854
|
if (void 0 === value)
|
|
3760
4855
|
return true;
|
|
@@ -3763,7 +4858,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3763
4858
|
path: _path2 + $join(key),
|
|
3764
4859
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3765
4860
|
value
|
|
3766
|
-
})) && $
|
|
4861
|
+
})) && $vo52(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3767
4862
|
path: _path2 + $join(key),
|
|
3768
4863
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3769
4864
|
value
|
|
@@ -3773,14 +4868,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3773
4868
|
path: _path2 + $join(key),
|
|
3774
4869
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3775
4870
|
value
|
|
3776
|
-
})) && $
|
|
4871
|
+
})) && $vo52(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3777
4872
|
path: _path2 + $join(key),
|
|
3778
4873
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3779
4874
|
value
|
|
3780
4875
|
});
|
|
3781
4876
|
return true;
|
|
3782
4877
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3783
|
-
const $
|
|
4878
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
3784
4879
|
path: _path2 + ".key",
|
|
3785
4880
|
expected: "(string | undefined)",
|
|
3786
4881
|
value: input3.key
|
|
@@ -3824,12 +4919,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3824
4919
|
path: _path2 + ".list",
|
|
3825
4920
|
expected: "Array<__type>.o3",
|
|
3826
4921
|
value: input3.list
|
|
3827
|
-
})) && input3.list.map((elem,
|
|
3828
|
-
path: _path2 + ".list[" +
|
|
4922
|
+
})) && input3.list.map((elem, _index69) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4923
|
+
path: _path2 + ".list[" + _index69 + "]",
|
|
3829
4924
|
expected: "__type.o6",
|
|
3830
4925
|
value: elem
|
|
3831
|
-
})) && $
|
|
3832
|
-
path: _path2 + ".list[" +
|
|
4926
|
+
})) && $vo53(elem, _path2 + ".list[" + _index69 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4927
|
+
path: _path2 + ".list[" + _index69 + "]",
|
|
3833
4928
|
expected: "__type.o6",
|
|
3834
4929
|
value: elem
|
|
3835
4930
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3837,7 +4932,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3837
4932
|
expected: "Array<__type>.o3",
|
|
3838
4933
|
value: input3.list
|
|
3839
4934
|
}), true].every((flag) => flag);
|
|
3840
|
-
const $
|
|
4935
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
3841
4936
|
path: _path2 + ".sampleId",
|
|
3842
4937
|
expected: "string",
|
|
3843
4938
|
value: input3.sampleId
|
|
@@ -3850,14 +4945,22 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3850
4945
|
if ("gene" === input3.kind)
|
|
3851
4946
|
return $vo1(input3, _path2, _exceptionable2);
|
|
3852
4947
|
if ("coord" === input3.kind)
|
|
3853
|
-
return $
|
|
4948
|
+
return $vo38(input3, _path2, _exceptionable2);
|
|
4949
|
+
if ("geneExpression" === input3.type)
|
|
4950
|
+
return $vo39(input3, _path2, _exceptionable2);
|
|
4951
|
+
if ("metaboliteIntensity" === input3.type)
|
|
4952
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
3854
4953
|
if ("categorical" === input3.type)
|
|
3855
|
-
return $
|
|
3856
|
-
if ("integer" === input3.type || "float" === input3.type
|
|
3857
|
-
return $
|
|
4954
|
+
return $vo41(input3, _path2, _exceptionable2);
|
|
4955
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
4956
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
4957
|
+
if ("date" === input3.type)
|
|
4958
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
4959
|
+
if ("ssGSEA" === input3.type)
|
|
4960
|
+
return $vo44(input3, _path2, _exceptionable2);
|
|
3858
4961
|
if ("condition" === input3.type)
|
|
3859
|
-
return $
|
|
3860
|
-
return $
|
|
4962
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
4963
|
+
return $vo46(input3, _path2, false) || $vo50(input3, _path2, false);
|
|
3861
4964
|
})();
|
|
3862
4965
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3863
4966
|
if ("tvslst" === input3.type)
|
|
@@ -3883,16 +4986,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3883
4986
|
})();
|
|
3884
4987
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3885
4988
|
if (true === input3.startunbounded)
|
|
3886
|
-
return $
|
|
4989
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
3887
4990
|
if (true === input3.stopunbounded)
|
|
3888
|
-
return $
|
|
3889
|
-
return $
|
|
4991
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
4992
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
3890
4993
|
})();
|
|
3891
4994
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3892
4995
|
if ("gene" === input3.kind)
|
|
3893
|
-
return $
|
|
4996
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
3894
4997
|
if ("coord" === input3.kind)
|
|
3895
|
-
return $
|
|
4998
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
3896
4999
|
return $report(_exceptionable2, {
|
|
3897
5000
|
path: _path2,
|
|
3898
5001
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -3902,46 +5005,63 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3902
5005
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3903
5006
|
if (void 0 !== input3.ranges)
|
|
3904
5007
|
return $vo13(input3, _path2, _exceptionable2);
|
|
3905
|
-
return $vo6(input3, _path2, false) || $
|
|
5008
|
+
return $vo6(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
|
|
3906
5009
|
})();
|
|
3907
5010
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
5011
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
5012
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
5013
|
+
if ("geneExpression" === input3.type)
|
|
5014
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
5015
|
+
if ("date" === input3.type)
|
|
5016
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
5017
|
+
if ("metaboliteIntensity" === input3.type)
|
|
5018
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
5019
|
+
if ("ssGSEA" === input3.type)
|
|
5020
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
5021
|
+
return $report(_exceptionable2, {
|
|
5022
|
+
path: _path2,
|
|
5023
|
+
expected: "(NumericDictTerm | GeneExpressionTerm | DateTerm | MetaboliteIntensityTerm | SsGSEATerm)",
|
|
5024
|
+
value: input3
|
|
5025
|
+
});
|
|
5026
|
+
})();
|
|
5027
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3908
5028
|
if ("regular-bin" === input3.type)
|
|
3909
|
-
return $
|
|
5029
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
3910
5030
|
if ("custom-bin" === input3.type)
|
|
3911
|
-
return $
|
|
5031
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
3912
5032
|
return $report(_exceptionable2, {
|
|
3913
5033
|
path: _path2,
|
|
3914
5034
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
3915
5035
|
value: input3
|
|
3916
5036
|
});
|
|
3917
5037
|
})();
|
|
3918
|
-
const $
|
|
5038
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3919
5039
|
if (true === input3.startunbounded)
|
|
3920
|
-
return $vo18(input3, _path2, _exceptionable2);
|
|
3921
|
-
if (void 0 !== input3.start)
|
|
3922
5040
|
return $vo19(input3, _path2, _exceptionable2);
|
|
5041
|
+
if (void 0 !== input3.start)
|
|
5042
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
3923
5043
|
return $report(_exceptionable2, {
|
|
3924
5044
|
path: _path2,
|
|
3925
5045
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
3926
5046
|
value: input3
|
|
3927
5047
|
});
|
|
3928
5048
|
})();
|
|
3929
|
-
const $
|
|
5049
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3930
5050
|
if (void 0 !== input3.stop)
|
|
3931
|
-
return $vo19(input3, _path2, _exceptionable2);
|
|
3932
|
-
if (true === input3.stopunbounded)
|
|
3933
5051
|
return $vo20(input3, _path2, _exceptionable2);
|
|
5052
|
+
if (true === input3.stopunbounded)
|
|
5053
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
3934
5054
|
return $report(_exceptionable2, {
|
|
3935
5055
|
path: _path2,
|
|
3936
5056
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
3937
5057
|
value: input3
|
|
3938
5058
|
});
|
|
3939
5059
|
})();
|
|
3940
|
-
const $
|
|
5060
|
+
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3941
5061
|
if ("gene" === input3.kind)
|
|
3942
|
-
return $
|
|
5062
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
3943
5063
|
if ("coord" === input3.kind)
|
|
3944
|
-
return $
|
|
5064
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
3945
5065
|
return $report(_exceptionable2, {
|
|
3946
5066
|
path: _path2,
|
|
3947
5067
|
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; })',
|