@sjcrh/proteinpaint-types 2.140.1 → 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-PPFFVFUI.js → chunk-424IUJWR.js} +355 -89
- package/dist/{chunk-EWON4FG5.js → chunk-56JQGGZJ.js} +2920 -2808
- package/dist/{chunk-WKT3H4P4.js → chunk-77RH7U6G.js} +1380 -582
- package/dist/{chunk-XXHHUIEV.js → chunk-EOBFYFLQ.js} +2314 -1950
- package/dist/{chunk-IDP5KXE6.js → chunk-I7FTK55B.js} +1973 -1609
- package/dist/{chunk-ZA3FDGAD.js → chunk-KEJROUTM.js} +744 -212
- package/dist/{chunk-FZJ3E7JA.js → chunk-QWAPDNYB.js} +2502 -2138
- package/dist/{chunk-KS74VVON.js → chunk-S6OBK4RE.js} +355 -89
- package/dist/{chunk-ECF6WSOD.js → chunk-T3GTEGQN.js} +355 -89
- package/dist/{chunk-BWLSDIHM.js → chunk-UYBVE3DL.js} +2489 -2125
- package/dist/{chunk-2WLN6PMW.js → chunk-VMQUAU5V.js} +2497 -2133
- package/dist/{chunk-AADDTYUL.js → chunk-WCWYMCZD.js} +355 -89
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +12 -12
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -2
- package/src/dataset.ts +4 -2
- package/src/genome.ts +2 -2
- package/src/index.ts +1 -0
- package/src/terms/categorical.ts +0 -8
- package/src/terms/condition.ts +4 -3
- package/src/terms/date.ts +18 -0
- package/src/terms/geneExpression.ts +2 -12
- package/src/terms/geneVariant.ts +3 -0
- package/src/terms/metaboliteIntensity.ts +7 -20
- package/src/terms/numeric.ts +12 -22
- 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,8 +43,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
43
43
|
const $io9 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io10(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
44
44
|
const $io10 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
45
45
|
const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
|
|
46
|
-
const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $
|
|
47
|
-
const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type
|
|
46
|
+
const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $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
48
|
const $io14 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
49
49
|
const $io15 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu6(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu6(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
50
50
|
const $io16 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu7(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu8(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
@@ -61,17 +61,20 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
61
61
|
const $io20 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
62
62
|
const $io21 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
63
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.
|
|
65
|
-
const $io24 = (input3) => (void 0 === input3.
|
|
66
|
-
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
67
|
-
const $io26 = (input3) => "
|
|
68
|
-
const $io27 = (input3) => (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)) && (
|
|
69
|
-
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.
|
|
70
|
-
const $io29 = (input3) => "
|
|
71
|
-
const $io30 = (input3) =>
|
|
72
|
-
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.
|
|
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) && "
|
|
74
|
-
const $io33 = (input3) => "string" === typeof input3.
|
|
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;
|
|
75
78
|
const $iu0 = (input3) => (() => {
|
|
76
79
|
if ("tvslst" === input3.type)
|
|
77
80
|
return $io1(input3);
|
|
@@ -95,9 +98,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
95
98
|
})();
|
|
96
99
|
const $iu3 = (input3) => (() => {
|
|
97
100
|
if ("gene" === input3.kind)
|
|
98
|
-
return $
|
|
101
|
+
return $io33(input3);
|
|
99
102
|
if ("coord" === input3.kind)
|
|
100
|
-
return $
|
|
103
|
+
return $io34(input3);
|
|
101
104
|
return false;
|
|
102
105
|
})();
|
|
103
106
|
const $iu4 = (input3) => (() => {
|
|
@@ -106,18 +109,24 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
106
109
|
return (() => {
|
|
107
110
|
if ($io3(input3))
|
|
108
111
|
return $io3(input3);
|
|
109
|
-
if ($io24(input3))
|
|
110
|
-
return $io24(input3);
|
|
111
112
|
if ($io27(input3))
|
|
112
113
|
return $io27(input3);
|
|
114
|
+
if ($io30(input3))
|
|
115
|
+
return $io30(input3);
|
|
113
116
|
return false;
|
|
114
117
|
})();
|
|
115
118
|
})();
|
|
116
119
|
const $iu5 = (input3) => (() => {
|
|
117
|
-
if ("integer" === input3.type || "float" === input3.type
|
|
120
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
118
121
|
return $io13(input3);
|
|
119
122
|
if ("geneExpression" === input3.type)
|
|
120
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);
|
|
121
130
|
return false;
|
|
122
131
|
})();
|
|
123
132
|
const $iu6 = (input3) => (() => {
|
|
@@ -143,9 +152,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
143
152
|
})();
|
|
144
153
|
const $iu9 = (input3) => (() => {
|
|
145
154
|
if ("gene" === input3.kind)
|
|
146
|
-
return $io29(input3);
|
|
147
|
-
if ("coord" === input3.kind)
|
|
148
155
|
return $io32(input3);
|
|
156
|
+
if ("coord" === input3.kind)
|
|
157
|
+
return $io35(input3);
|
|
149
158
|
return false;
|
|
150
159
|
})();
|
|
151
160
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -505,11 +514,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
505
514
|
value: input3.isnot
|
|
506
515
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
507
516
|
path: _path2 + ".term",
|
|
508
|
-
expected: "(GeneExpressionTerm | NumericDictTerm)",
|
|
517
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
509
518
|
value: input3.term
|
|
510
519
|
})) && $vu5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
511
520
|
path: _path2 + ".term",
|
|
512
|
-
expected: "(GeneExpressionTerm | NumericDictTerm)",
|
|
521
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
513
522
|
value: input3.term
|
|
514
523
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
515
524
|
path: _path2 + ".ranges",
|
|
@@ -535,7 +544,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
535
544
|
path: _path2 + ".values[" + _index9 + "]",
|
|
536
545
|
expected: "__type.o3",
|
|
537
546
|
value: elem
|
|
538
|
-
})) && $
|
|
547
|
+
})) && $vo26(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
539
548
|
path: _path2 + ".values[" + _index9 + "]",
|
|
540
549
|
expected: "__type.o3",
|
|
541
550
|
value: elem
|
|
@@ -552,9 +561,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
552
561
|
path: _path2 + ".name",
|
|
553
562
|
expected: "string",
|
|
554
563
|
value: input3.name
|
|
555
|
-
}), "integer" === input3.type || "float" === input3.type ||
|
|
564
|
+
}), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
|
|
556
565
|
path: _path2 + ".type",
|
|
557
|
-
expected: '("
|
|
566
|
+
expected: '("float" | "integer")',
|
|
558
567
|
value: input3.type
|
|
559
568
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
560
569
|
path: _path2 + ".child_types",
|
|
@@ -971,7 +980,258 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
971
980
|
expected: "(number | undefined)",
|
|
972
981
|
value: input3.stop
|
|
973
982
|
})].every((flag) => flag);
|
|
974
|
-
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.
|
|
983
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
984
|
+
path: _path2 + ".id",
|
|
985
|
+
expected: "string",
|
|
986
|
+
value: input3.id
|
|
987
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
988
|
+
path: _path2 + ".name",
|
|
989
|
+
expected: "string",
|
|
990
|
+
value: input3.name
|
|
991
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
992
|
+
path: _path2 + ".type",
|
|
993
|
+
expected: '"metaboliteIntensity"',
|
|
994
|
+
value: input3.type
|
|
995
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
996
|
+
path: _path2 + ".child_types",
|
|
997
|
+
expected: "(Array<string> | undefined)",
|
|
998
|
+
value: input3.child_types
|
|
999
|
+
})) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1000
|
+
path: _path2 + ".child_types[" + _index15 + "]",
|
|
1001
|
+
expected: "string",
|
|
1002
|
+
value: elem
|
|
1003
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1004
|
+
path: _path2 + ".child_types",
|
|
1005
|
+
expected: "(Array<string> | undefined)",
|
|
1006
|
+
value: input3.child_types
|
|
1007
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1008
|
+
path: _path2 + ".hashtmldetail",
|
|
1009
|
+
expected: "(boolean | undefined)",
|
|
1010
|
+
value: input3.hashtmldetail
|
|
1011
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1012
|
+
path: _path2 + ".included_types",
|
|
1013
|
+
expected: "(Array<string> | undefined)",
|
|
1014
|
+
value: input3.included_types
|
|
1015
|
+
})) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1016
|
+
path: _path2 + ".included_types[" + _index16 + "]",
|
|
1017
|
+
expected: "string",
|
|
1018
|
+
value: elem
|
|
1019
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1020
|
+
path: _path2 + ".included_types",
|
|
1021
|
+
expected: "(Array<string> | undefined)",
|
|
1022
|
+
value: input3.included_types
|
|
1023
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1024
|
+
path: _path2 + ".isleaf",
|
|
1025
|
+
expected: "(boolean | undefined)",
|
|
1026
|
+
value: input3.isleaf
|
|
1027
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1028
|
+
path: _path2 + ".values",
|
|
1029
|
+
expected: "(TermValues | undefined)",
|
|
1030
|
+
value: input3.values
|
|
1031
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1032
|
+
path: _path2 + ".values",
|
|
1033
|
+
expected: "(TermValues | undefined)",
|
|
1034
|
+
value: input3.values
|
|
1035
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1036
|
+
path: _path2 + ".skipValuesBuild",
|
|
1037
|
+
expected: "(boolean | undefined)",
|
|
1038
|
+
value: input3.skipValuesBuild
|
|
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",
|
|
1049
|
+
expected: "(string | undefined)",
|
|
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
|
|
1063
|
+
})].every((flag) => flag);
|
|
1064
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1065
|
+
path: _path2 + ".id",
|
|
1066
|
+
expected: "string",
|
|
1067
|
+
value: input3.id
|
|
1068
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1069
|
+
path: _path2 + ".name",
|
|
1070
|
+
expected: "string",
|
|
1071
|
+
value: input3.name
|
|
1072
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
1073
|
+
path: _path2 + ".type",
|
|
1074
|
+
expected: '"date"',
|
|
1075
|
+
value: input3.type
|
|
1076
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1077
|
+
path: _path2 + ".child_types",
|
|
1078
|
+
expected: "(Array<string> | undefined)",
|
|
1079
|
+
value: input3.child_types
|
|
1080
|
+
})) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1081
|
+
path: _path2 + ".child_types[" + _index17 + "]",
|
|
1082
|
+
expected: "string",
|
|
1083
|
+
value: elem
|
|
1084
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1085
|
+
path: _path2 + ".child_types",
|
|
1086
|
+
expected: "(Array<string> | undefined)",
|
|
1087
|
+
value: input3.child_types
|
|
1088
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1089
|
+
path: _path2 + ".hashtmldetail",
|
|
1090
|
+
expected: "(boolean | undefined)",
|
|
1091
|
+
value: input3.hashtmldetail
|
|
1092
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1093
|
+
path: _path2 + ".included_types",
|
|
1094
|
+
expected: "(Array<string> | undefined)",
|
|
1095
|
+
value: input3.included_types
|
|
1096
|
+
})) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1097
|
+
path: _path2 + ".included_types[" + _index18 + "]",
|
|
1098
|
+
expected: "string",
|
|
1099
|
+
value: elem
|
|
1100
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1101
|
+
path: _path2 + ".included_types",
|
|
1102
|
+
expected: "(Array<string> | undefined)",
|
|
1103
|
+
value: input3.included_types
|
|
1104
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1105
|
+
path: _path2 + ".isleaf",
|
|
1106
|
+
expected: "(boolean | undefined)",
|
|
1107
|
+
value: input3.isleaf
|
|
1108
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1109
|
+
path: _path2 + ".values",
|
|
1110
|
+
expected: "(TermValues | undefined)",
|
|
1111
|
+
value: input3.values
|
|
1112
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1113
|
+
path: _path2 + ".values",
|
|
1114
|
+
expected: "(TermValues | undefined)",
|
|
1115
|
+
value: input3.values
|
|
1116
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1117
|
+
path: _path2 + ".skipValuesBuild",
|
|
1118
|
+
expected: "(boolean | undefined)",
|
|
1119
|
+
value: input3.skipValuesBuild
|
|
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",
|
|
1130
|
+
expected: "(string | undefined)",
|
|
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
|
|
1144
|
+
})].every((flag) => flag);
|
|
1145
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1146
|
+
path: _path2 + ".id",
|
|
1147
|
+
expected: "string",
|
|
1148
|
+
value: input3.id
|
|
1149
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1150
|
+
path: _path2 + ".name",
|
|
1151
|
+
expected: "string",
|
|
1152
|
+
value: input3.name
|
|
1153
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
1154
|
+
path: _path2 + ".type",
|
|
1155
|
+
expected: '"ssGSEA"',
|
|
1156
|
+
value: input3.type
|
|
1157
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1158
|
+
path: _path2 + ".child_types",
|
|
1159
|
+
expected: "(Array<string> | undefined)",
|
|
1160
|
+
value: input3.child_types
|
|
1161
|
+
})) && input3.child_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1162
|
+
path: _path2 + ".child_types[" + _index19 + "]",
|
|
1163
|
+
expected: "string",
|
|
1164
|
+
value: elem
|
|
1165
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1166
|
+
path: _path2 + ".child_types",
|
|
1167
|
+
expected: "(Array<string> | undefined)",
|
|
1168
|
+
value: input3.child_types
|
|
1169
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1170
|
+
path: _path2 + ".hashtmldetail",
|
|
1171
|
+
expected: "(boolean | undefined)",
|
|
1172
|
+
value: input3.hashtmldetail
|
|
1173
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1174
|
+
path: _path2 + ".included_types",
|
|
1175
|
+
expected: "(Array<string> | undefined)",
|
|
1176
|
+
value: input3.included_types
|
|
1177
|
+
})) && input3.included_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1178
|
+
path: _path2 + ".included_types[" + _index20 + "]",
|
|
1179
|
+
expected: "string",
|
|
1180
|
+
value: elem
|
|
1181
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1182
|
+
path: _path2 + ".included_types",
|
|
1183
|
+
expected: "(Array<string> | undefined)",
|
|
1184
|
+
value: input3.included_types
|
|
1185
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1186
|
+
path: _path2 + ".isleaf",
|
|
1187
|
+
expected: "(boolean | undefined)",
|
|
1188
|
+
value: input3.isleaf
|
|
1189
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1190
|
+
path: _path2 + ".values",
|
|
1191
|
+
expected: "(TermValues | undefined)",
|
|
1192
|
+
value: input3.values
|
|
1193
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1194
|
+
path: _path2 + ".values",
|
|
1195
|
+
expected: "(TermValues | undefined)",
|
|
1196
|
+
value: input3.values
|
|
1197
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1198
|
+
path: _path2 + ".skipValuesBuild",
|
|
1199
|
+
expected: "(boolean | undefined)",
|
|
1200
|
+
value: input3.skipValuesBuild
|
|
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 + "]",
|
|
1219
|
+
expected: "string",
|
|
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, {
|
|
975
1235
|
path: _path2 + ".key",
|
|
976
1236
|
expected: "string",
|
|
977
1237
|
value: input3.key
|
|
@@ -988,7 +1248,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
988
1248
|
expected: "(string | undefined)",
|
|
989
1249
|
value: input3.label
|
|
990
1250
|
})].every((flag) => flag);
|
|
991
|
-
const $
|
|
1251
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
992
1252
|
path: _path2 + ".join",
|
|
993
1253
|
expected: "(string | undefined)",
|
|
994
1254
|
value: input3.join
|
|
@@ -1000,7 +1260,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1000
1260
|
path: _path2 + ".term",
|
|
1001
1261
|
expected: "ConditionTerm",
|
|
1002
1262
|
value: input3.term
|
|
1003
|
-
})) && $
|
|
1263
|
+
})) && $vo28(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1004
1264
|
path: _path2 + ".term",
|
|
1005
1265
|
expected: "ConditionTerm",
|
|
1006
1266
|
value: input3.term
|
|
@@ -1020,12 +1280,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1020
1280
|
path: _path2 + ".grade_and_child",
|
|
1021
1281
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1022
1282
|
value: input3.grade_and_child
|
|
1023
|
-
})) && input3.grade_and_child.map((elem,
|
|
1024
|
-
path: _path2 + ".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 + "]",
|
|
1025
1285
|
expected: "GradeAndChildEntry",
|
|
1026
1286
|
value: elem
|
|
1027
|
-
})) && $
|
|
1028
|
-
path: _path2 + ".grade_and_child[" +
|
|
1287
|
+
})) && $vo29(elem, _path2 + ".grade_and_child[" + _index22 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1288
|
+
path: _path2 + ".grade_and_child[" + _index22 + "]",
|
|
1029
1289
|
expected: "GradeAndChildEntry",
|
|
1030
1290
|
value: elem
|
|
1031
1291
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1033,7 +1293,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1033
1293
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1034
1294
|
value: input3.grade_and_child
|
|
1035
1295
|
})].every((flag) => flag);
|
|
1036
|
-
const $
|
|
1296
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1037
1297
|
path: _path2 + ".id",
|
|
1038
1298
|
expected: "string",
|
|
1039
1299
|
value: input3.id
|
|
@@ -1049,8 +1309,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1049
1309
|
path: _path2 + ".child_types",
|
|
1050
1310
|
expected: "(Array<string> | undefined)",
|
|
1051
1311
|
value: input3.child_types
|
|
1052
|
-
})) && input3.child_types.map((elem,
|
|
1053
|
-
path: _path2 + ".child_types[" +
|
|
1312
|
+
})) && input3.child_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1313
|
+
path: _path2 + ".child_types[" + _index23 + "]",
|
|
1054
1314
|
expected: "string",
|
|
1055
1315
|
value: elem
|
|
1056
1316
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1065,8 +1325,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1065
1325
|
path: _path2 + ".included_types",
|
|
1066
1326
|
expected: "(Array<string> | undefined)",
|
|
1067
1327
|
value: input3.included_types
|
|
1068
|
-
})) && input3.included_types.map((elem,
|
|
1069
|
-
path: _path2 + ".included_types[" +
|
|
1328
|
+
})) && input3.included_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1329
|
+
path: _path2 + ".included_types[" + _index24 + "]",
|
|
1070
1330
|
expected: "string",
|
|
1071
1331
|
value: elem
|
|
1072
1332
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1090,7 +1350,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1090
1350
|
expected: "(boolean | undefined)",
|
|
1091
1351
|
value: input3.skipValuesBuild
|
|
1092
1352
|
})].every((flag) => flag);
|
|
1093
|
-
const $
|
|
1353
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1094
1354
|
path: _path2 + ".grade",
|
|
1095
1355
|
expected: "number",
|
|
1096
1356
|
value: input3.grade
|
|
@@ -1107,7 +1367,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1107
1367
|
expected: "string",
|
|
1108
1368
|
value: input3.child_label
|
|
1109
1369
|
})].every((flag) => flag);
|
|
1110
|
-
const $
|
|
1370
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1111
1371
|
path: _path2 + ".join",
|
|
1112
1372
|
expected: "(string | undefined)",
|
|
1113
1373
|
value: input3.join
|
|
@@ -1119,7 +1379,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1119
1379
|
path: _path2 + ".term",
|
|
1120
1380
|
expected: "DtTerm",
|
|
1121
1381
|
value: input3.term
|
|
1122
|
-
})) && $
|
|
1382
|
+
})) && $vo31(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1123
1383
|
path: _path2 + ".term",
|
|
1124
1384
|
expected: "DtTerm",
|
|
1125
1385
|
value: input3.term
|
|
@@ -1127,12 +1387,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1127
1387
|
path: _path2 + ".values",
|
|
1128
1388
|
expected: "Array<__type>.o2",
|
|
1129
1389
|
value: input3.values
|
|
1130
|
-
})) && input3.values.map((elem,
|
|
1131
|
-
path: _path2 + ".values[" +
|
|
1390
|
+
})) && input3.values.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1391
|
+
path: _path2 + ".values[" + _index25 + "]",
|
|
1132
1392
|
expected: "__type.o4",
|
|
1133
1393
|
value: elem
|
|
1134
|
-
})) && $
|
|
1135
|
-
path: _path2 + ".values[" +
|
|
1394
|
+
})) && $vo36(elem, _path2 + ".values[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1395
|
+
path: _path2 + ".values[" + _index25 + "]",
|
|
1136
1396
|
expected: "__type.o4",
|
|
1137
1397
|
value: elem
|
|
1138
1398
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1148,7 +1408,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1148
1408
|
expected: "(boolean | undefined)",
|
|
1149
1409
|
value: input3.excludeGeneName
|
|
1150
1410
|
})].every((flag) => flag);
|
|
1151
|
-
const $
|
|
1411
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1152
1412
|
path: _path2 + ".id",
|
|
1153
1413
|
expected: "string",
|
|
1154
1414
|
value: input3.id
|
|
@@ -1197,7 +1457,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1197
1457
|
expected: "TermValues",
|
|
1198
1458
|
value: input3.values
|
|
1199
1459
|
})].every((flag) => flag);
|
|
1200
|
-
const $
|
|
1460
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1201
1461
|
path: _path2 + ".id",
|
|
1202
1462
|
expected: "string",
|
|
1203
1463
|
value: input3.id
|
|
@@ -1213,8 +1473,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1213
1473
|
path: _path2 + ".child_types",
|
|
1214
1474
|
expected: "(Array<string> | undefined)",
|
|
1215
1475
|
value: input3.child_types
|
|
1216
|
-
})) && input3.child_types.map((elem,
|
|
1217
|
-
path: _path2 + ".child_types[" +
|
|
1476
|
+
})) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1477
|
+
path: _path2 + ".child_types[" + _index26 + "]",
|
|
1218
1478
|
expected: "string",
|
|
1219
1479
|
value: elem
|
|
1220
1480
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1229,8 +1489,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1229
1489
|
path: _path2 + ".included_types",
|
|
1230
1490
|
expected: "(Array<string> | undefined)",
|
|
1231
1491
|
value: input3.included_types
|
|
1232
|
-
})) && input3.included_types.map((elem,
|
|
1233
|
-
path: _path2 + ".included_types[" +
|
|
1492
|
+
})) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1493
|
+
path: _path2 + ".included_types[" + _index27 + "]",
|
|
1234
1494
|
expected: "string",
|
|
1235
1495
|
value: elem
|
|
1236
1496
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1277,12 +1537,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1277
1537
|
path: _path2 + ".genes",
|
|
1278
1538
|
expected: "Array<GvGeneTerm>",
|
|
1279
1539
|
value: input3.genes
|
|
1280
|
-
})) && input3.genes.map((elem,
|
|
1281
|
-
path: _path2 + ".genes[" +
|
|
1540
|
+
})) && input3.genes.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1541
|
+
path: _path2 + ".genes[" + _index28 + "]",
|
|
1282
1542
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1283
1543
|
value: elem
|
|
1284
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1285
|
-
path: _path2 + ".genes[" +
|
|
1544
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index28 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1545
|
+
path: _path2 + ".genes[" + _index28 + "]",
|
|
1286
1546
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1287
1547
|
value: elem
|
|
1288
1548
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1301,12 +1561,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1301
1561
|
path: _path2 + ".childTerms",
|
|
1302
1562
|
expected: "(Array<DtTerm> | undefined)",
|
|
1303
1563
|
value: input3.childTerms
|
|
1304
|
-
})) && input3.childTerms.map((elem,
|
|
1305
|
-
path: _path2 + ".childTerms[" +
|
|
1564
|
+
})) && input3.childTerms.map((elem, _index29) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1565
|
+
path: _path2 + ".childTerms[" + _index29 + "]",
|
|
1306
1566
|
expected: "DtTerm",
|
|
1307
1567
|
value: elem
|
|
1308
|
-
})) && $
|
|
1309
|
-
path: _path2 + ".childTerms[" +
|
|
1568
|
+
})) && $vo31(elem, _path2 + ".childTerms[" + _index29 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1569
|
+
path: _path2 + ".childTerms[" + _index29 + "]",
|
|
1310
1570
|
expected: "DtTerm",
|
|
1311
1571
|
value: elem
|
|
1312
1572
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1314,7 +1574,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1314
1574
|
expected: "(Array<DtTerm> | undefined)",
|
|
1315
1575
|
value: input3.childTerms
|
|
1316
1576
|
})].every((flag) => flag);
|
|
1317
|
-
const $
|
|
1577
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1318
1578
|
path: _path2 + ".id",
|
|
1319
1579
|
expected: "string",
|
|
1320
1580
|
value: input3.id
|
|
@@ -1330,8 +1590,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1330
1590
|
path: _path2 + ".child_types",
|
|
1331
1591
|
expected: "(Array<string> | undefined)",
|
|
1332
1592
|
value: input3.child_types
|
|
1333
|
-
})) && input3.child_types.map((elem,
|
|
1334
|
-
path: _path2 + ".child_types[" +
|
|
1593
|
+
})) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1594
|
+
path: _path2 + ".child_types[" + _index30 + "]",
|
|
1335
1595
|
expected: "string",
|
|
1336
1596
|
value: elem
|
|
1337
1597
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1346,8 +1606,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1346
1606
|
path: _path2 + ".included_types",
|
|
1347
1607
|
expected: "(Array<string> | undefined)",
|
|
1348
1608
|
value: input3.included_types
|
|
1349
|
-
})) && input3.included_types.map((elem,
|
|
1350
|
-
path: _path2 + ".included_types[" +
|
|
1609
|
+
})) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1610
|
+
path: _path2 + ".included_types[" + _index31 + "]",
|
|
1351
1611
|
expected: "string",
|
|
1352
1612
|
value: elem
|
|
1353
1613
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1391,7 +1651,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1391
1651
|
expected: "(number | undefined)",
|
|
1392
1652
|
value: input3.stop
|
|
1393
1653
|
})].every((flag) => flag);
|
|
1394
|
-
const $
|
|
1654
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1395
1655
|
path: _path2 + ".id",
|
|
1396
1656
|
expected: "string",
|
|
1397
1657
|
value: input3.id
|
|
@@ -1407,8 +1667,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1407
1667
|
path: _path2 + ".child_types",
|
|
1408
1668
|
expected: "(Array<string> | undefined)",
|
|
1409
1669
|
value: input3.child_types
|
|
1410
|
-
})) && input3.child_types.map((elem,
|
|
1411
|
-
path: _path2 + ".child_types[" +
|
|
1670
|
+
})) && input3.child_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1671
|
+
path: _path2 + ".child_types[" + _index32 + "]",
|
|
1412
1672
|
expected: "string",
|
|
1413
1673
|
value: elem
|
|
1414
1674
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1423,8 +1683,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1423
1683
|
path: _path2 + ".included_types",
|
|
1424
1684
|
expected: "(Array<string> | undefined)",
|
|
1425
1685
|
value: input3.included_types
|
|
1426
|
-
})) && input3.included_types.map((elem,
|
|
1427
|
-
path: _path2 + ".included_types[" +
|
|
1686
|
+
})) && input3.included_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1687
|
+
path: _path2 + ".included_types[" + _index33 + "]",
|
|
1428
1688
|
expected: "string",
|
|
1429
1689
|
value: elem
|
|
1430
1690
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1464,7 +1724,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1464
1724
|
expected: "number",
|
|
1465
1725
|
value: input3.stop
|
|
1466
1726
|
})].every((flag) => flag);
|
|
1467
|
-
const $
|
|
1727
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1468
1728
|
path: _path2 + ".id",
|
|
1469
1729
|
expected: "string",
|
|
1470
1730
|
value: input3.id
|
|
@@ -1480,8 +1740,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1480
1740
|
path: _path2 + ".child_types",
|
|
1481
1741
|
expected: "(Array<string> | undefined)",
|
|
1482
1742
|
value: input3.child_types
|
|
1483
|
-
})) && input3.child_types.map((elem,
|
|
1484
|
-
path: _path2 + ".child_types[" +
|
|
1743
|
+
})) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1744
|
+
path: _path2 + ".child_types[" + _index34 + "]",
|
|
1485
1745
|
expected: "string",
|
|
1486
1746
|
value: elem
|
|
1487
1747
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1496,8 +1756,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1496
1756
|
path: _path2 + ".included_types",
|
|
1497
1757
|
expected: "(Array<string> | undefined)",
|
|
1498
1758
|
value: input3.included_types
|
|
1499
|
-
})) && input3.included_types.map((elem,
|
|
1500
|
-
path: _path2 + ".included_types[" +
|
|
1759
|
+
})) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1760
|
+
path: _path2 + ".included_types[" + _index35 + "]",
|
|
1501
1761
|
expected: "string",
|
|
1502
1762
|
value: elem
|
|
1503
1763
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1540,12 +1800,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1540
1800
|
path: _path2 + ".genes",
|
|
1541
1801
|
expected: "Array<GvGeneTerm>",
|
|
1542
1802
|
value: input3.genes
|
|
1543
|
-
})) && input3.genes.map((elem,
|
|
1544
|
-
path: _path2 + ".genes[" +
|
|
1803
|
+
})) && input3.genes.map((elem, _index36) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1804
|
+
path: _path2 + ".genes[" + _index36 + "]",
|
|
1545
1805
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1546
1806
|
value: elem
|
|
1547
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1548
|
-
path: _path2 + ".genes[" +
|
|
1807
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1808
|
+
path: _path2 + ".genes[" + _index36 + "]",
|
|
1549
1809
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1550
1810
|
value: elem
|
|
1551
1811
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1564,12 +1824,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1564
1824
|
path: _path2 + ".childTerms",
|
|
1565
1825
|
expected: "(Array<DtTerm> | undefined)",
|
|
1566
1826
|
value: input3.childTerms
|
|
1567
|
-
})) && input3.childTerms.map((elem,
|
|
1568
|
-
path: _path2 + ".childTerms[" +
|
|
1827
|
+
})) && input3.childTerms.map((elem, _index37) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1828
|
+
path: _path2 + ".childTerms[" + _index37 + "]",
|
|
1569
1829
|
expected: "DtTerm",
|
|
1570
1830
|
value: elem
|
|
1571
|
-
})) && $
|
|
1572
|
-
path: _path2 + ".childTerms[" +
|
|
1831
|
+
})) && $vo31(elem, _path2 + ".childTerms[" + _index37 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1832
|
+
path: _path2 + ".childTerms[" + _index37 + "]",
|
|
1573
1833
|
expected: "DtTerm",
|
|
1574
1834
|
value: elem
|
|
1575
1835
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1577,7 +1837,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1577
1837
|
expected: "(Array<DtTerm> | undefined)",
|
|
1578
1838
|
value: input3.childTerms
|
|
1579
1839
|
})].every((flag) => flag);
|
|
1580
|
-
const $
|
|
1840
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1581
1841
|
path: _path2 + ".key",
|
|
1582
1842
|
expected: "string",
|
|
1583
1843
|
value: input3.key
|
|
@@ -1621,9 +1881,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1621
1881
|
})();
|
|
1622
1882
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1623
1883
|
if ("gene" === input3.kind)
|
|
1624
|
-
return $
|
|
1884
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
1625
1885
|
if ("coord" === input3.kind)
|
|
1626
|
-
return $
|
|
1886
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
1627
1887
|
return $report(_exceptionable2, {
|
|
1628
1888
|
path: _path2,
|
|
1629
1889
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -1633,16 +1893,22 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1633
1893
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1634
1894
|
if (void 0 !== input3.ranges)
|
|
1635
1895
|
return $vo12(input3, _path2, _exceptionable2);
|
|
1636
|
-
return $vo3(input3, _path2, false) || $
|
|
1896
|
+
return $vo3(input3, _path2, false) || $vo27(input3, _path2, false) || $vo30(input3, _path2, false);
|
|
1637
1897
|
})();
|
|
1638
1898
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1639
|
-
if ("integer" === input3.type || "float" === input3.type
|
|
1899
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
1640
1900
|
return $vo13(input3, _path2, _exceptionable2);
|
|
1641
1901
|
if ("geneExpression" === input3.type)
|
|
1642
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);
|
|
1643
1909
|
return $report(_exceptionable2, {
|
|
1644
1910
|
path: _path2,
|
|
1645
|
-
expected: "(NumericDictTerm | GeneExpressionTerm)",
|
|
1911
|
+
expected: "(NumericDictTerm | GeneExpressionTerm | DateTerm | MetaboliteIntensityTerm | SsGSEATerm)",
|
|
1646
1912
|
value: input3
|
|
1647
1913
|
});
|
|
1648
1914
|
})();
|
|
@@ -1681,9 +1947,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1681
1947
|
})();
|
|
1682
1948
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1683
1949
|
if ("gene" === input3.kind)
|
|
1684
|
-
return $vo29(input3, _path2, _exceptionable2);
|
|
1685
|
-
if ("coord" === input3.kind)
|
|
1686
1950
|
return $vo32(input3, _path2, _exceptionable2);
|
|
1951
|
+
if ("coord" === input3.kind)
|
|
1952
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
1687
1953
|
return $report(_exceptionable2, {
|
|
1688
1954
|
path: _path2,
|
|
1689
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; })',
|
|
@@ -1713,7 +1979,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1713
1979
|
const __is = (input2) => {
|
|
1714
1980
|
const $join = import_typia.createValidate.join;
|
|
1715
1981
|
const $io0 = (input3) => Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem));
|
|
1716
|
-
const $io1 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "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)));
|
|
1717
1983
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
1718
1984
|
const value = input3[key];
|
|
1719
1985
|
if (void 0 === value)
|
|
@@ -1734,8 +2000,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1734
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);
|
|
1735
2001
|
const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
1736
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;
|
|
1737
|
-
const $io13 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu6(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $
|
|
1738
|
-
const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type
|
|
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));
|
|
1739
2005
|
const $io15 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
1740
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);
|
|
1741
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);
|
|
@@ -1752,57 +2018,69 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1752
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);
|
|
1753
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);
|
|
1754
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);
|
|
1755
|
-
const $io24 = (input3) => "string" === typeof input3.
|
|
1756
|
-
const $io25 = (input3) => (void 0 === input3.
|
|
1757
|
-
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1758
|
-
const $io27 = (input3) => "
|
|
1759
|
-
const $io28 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io29(input3.term)) && (
|
|
1760
|
-
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.
|
|
1761
|
-
const $io30 = (input3) => "
|
|
1762
|
-
const $io31 = (input3) =>
|
|
1763
|
-
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.
|
|
1764
|
-
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "
|
|
1765
|
-
const $io34 = (input3) => "string" === typeof input3.
|
|
1766
|
-
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1767
|
-
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1768
|
-
const $io37 = (input3) => "string" === typeof input3.
|
|
1769
|
-
const $io38 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1770
|
-
const $io39 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1771
|
-
const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1772
|
-
const $io41 = (input3) =>
|
|
1773
|
-
const $io42 = (input3) => "string" === typeof input3.
|
|
1774
|
-
const $io43 = (input3) => "string" === typeof input3.
|
|
1775
|
-
const $io44 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1776
|
-
const $io45 = (input3) =>
|
|
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) => {
|
|
1777
2049
|
const value = input3[key];
|
|
1778
2050
|
if (void 0 === value)
|
|
1779
2051
|
return true;
|
|
1780
2052
|
if (RegExp(/(.*)/).test(key))
|
|
1781
|
-
return "object" === typeof value && null !== value && $
|
|
2053
|
+
return "object" === typeof value && null !== value && $io52(value);
|
|
1782
2054
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
1783
|
-
return "object" === typeof value && null !== value && $
|
|
2055
|
+
return "object" === typeof value && null !== value && $io52(value);
|
|
1784
2056
|
return true;
|
|
1785
2057
|
});
|
|
1786
|
-
const $
|
|
1787
|
-
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;
|
|
1788
2060
|
const $iu0 = (input3) => (() => {
|
|
1789
2061
|
if ("gene" === input3.kind)
|
|
1790
2062
|
return $io1(input3);
|
|
1791
2063
|
if ("coord" === input3.kind)
|
|
1792
|
-
return $io35(input3);
|
|
1793
|
-
if ("categorical" === input3.type)
|
|
1794
|
-
return $io36(input3);
|
|
1795
|
-
if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
|
|
1796
|
-
return $io37(input3);
|
|
1797
|
-
if ("geneExpression" === input3.type)
|
|
1798
2064
|
return $io38(input3);
|
|
1799
|
-
if ("
|
|
2065
|
+
if ("geneExpression" === input3.type)
|
|
1800
2066
|
return $io39(input3);
|
|
2067
|
+
if ("metaboliteIntensity" === input3.type)
|
|
2068
|
+
return $io40(input3);
|
|
2069
|
+
if ("categorical" === input3.type)
|
|
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);
|
|
2077
|
+
if ("condition" === input3.type)
|
|
2078
|
+
return $io45(input3);
|
|
1801
2079
|
return (() => {
|
|
1802
|
-
if ($
|
|
1803
|
-
return $
|
|
1804
|
-
if ($
|
|
1805
|
-
return $
|
|
2080
|
+
if ($io46(input3))
|
|
2081
|
+
return $io46(input3);
|
|
2082
|
+
if ($io50(input3))
|
|
2083
|
+
return $io50(input3);
|
|
1806
2084
|
return false;
|
|
1807
2085
|
})();
|
|
1808
2086
|
})();
|
|
@@ -1829,9 +2107,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1829
2107
|
})();
|
|
1830
2108
|
const $iu4 = (input3) => (() => {
|
|
1831
2109
|
if ("gene" === input3.kind)
|
|
1832
|
-
return $
|
|
2110
|
+
return $io34(input3);
|
|
1833
2111
|
if ("coord" === input3.kind)
|
|
1834
|
-
return $
|
|
2112
|
+
return $io35(input3);
|
|
1835
2113
|
return false;
|
|
1836
2114
|
})();
|
|
1837
2115
|
const $iu5 = (input3) => (() => {
|
|
@@ -1840,18 +2118,24 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1840
2118
|
return (() => {
|
|
1841
2119
|
if ($io6(input3))
|
|
1842
2120
|
return $io6(input3);
|
|
1843
|
-
if ($io25(input3))
|
|
1844
|
-
return $io25(input3);
|
|
1845
2121
|
if ($io28(input3))
|
|
1846
2122
|
return $io28(input3);
|
|
2123
|
+
if ($io31(input3))
|
|
2124
|
+
return $io31(input3);
|
|
1847
2125
|
return false;
|
|
1848
2126
|
})();
|
|
1849
2127
|
})();
|
|
1850
2128
|
const $iu6 = (input3) => (() => {
|
|
1851
|
-
if ("integer" === input3.type || "float" === input3.type
|
|
2129
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
1852
2130
|
return $io14(input3);
|
|
1853
2131
|
if ("geneExpression" === input3.type)
|
|
1854
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);
|
|
1855
2139
|
return false;
|
|
1856
2140
|
})();
|
|
1857
2141
|
const $iu7 = (input3) => (() => {
|
|
@@ -1877,9 +2161,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1877
2161
|
})();
|
|
1878
2162
|
const $iu10 = (input3) => (() => {
|
|
1879
2163
|
if ("gene" === input3.kind)
|
|
1880
|
-
return $io30(input3);
|
|
1881
|
-
if ("coord" === input3.kind)
|
|
1882
2164
|
return $io33(input3);
|
|
2165
|
+
if ("coord" === input3.kind)
|
|
2166
|
+
return $io36(input3);
|
|
1883
2167
|
return false;
|
|
1884
2168
|
})();
|
|
1885
2169
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -1894,11 +2178,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1894
2178
|
value: input3.terms
|
|
1895
2179
|
})) && input3.terms.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1896
2180
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
1897
|
-
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { 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; } & { id?: string | undefined; type: "integer" | "float" | "date"; bins: PresetNumericBins;
|
|
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; })',
|
|
1898
2182
|
value: elem
|
|
1899
2183
|
})) && $vu0(elem, _path2 + ".terms[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1900
2184
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
1901
|
-
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { 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; } & { id?: string | undefined; type: "integer" | "float" | "date"; bins: PresetNumericBins;
|
|
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; })',
|
|
1902
2186
|
value: elem
|
|
1903
2187
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1904
2188
|
path: _path2 + ".terms",
|
|
@@ -2013,7 +2297,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2013
2297
|
path: _path2 + ".childTerms[" + _index5 + "]",
|
|
2014
2298
|
expected: "DtTerm",
|
|
2015
2299
|
value: elem
|
|
2016
|
-
})) && $
|
|
2300
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2017
2301
|
path: _path2 + ".childTerms[" + _index5 + "]",
|
|
2018
2302
|
expected: "DtTerm",
|
|
2019
2303
|
value: elem
|
|
@@ -2352,11 +2636,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2352
2636
|
value: input3.isnot
|
|
2353
2637
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2354
2638
|
path: _path2 + ".term",
|
|
2355
|
-
expected: "(GeneExpressionTerm | NumericDictTerm)",
|
|
2639
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
2356
2640
|
value: input3.term
|
|
2357
2641
|
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2358
2642
|
path: _path2 + ".term",
|
|
2359
|
-
expected: "(GeneExpressionTerm | NumericDictTerm)",
|
|
2643
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
2360
2644
|
value: input3.term
|
|
2361
2645
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
2362
2646
|
path: _path2 + ".ranges",
|
|
@@ -2382,7 +2666,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2382
2666
|
path: _path2 + ".values[" + _index14 + "]",
|
|
2383
2667
|
expected: "__type.o3",
|
|
2384
2668
|
value: elem
|
|
2385
|
-
})) && $
|
|
2669
|
+
})) && $vo27(elem, _path2 + ".values[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2386
2670
|
path: _path2 + ".values[" + _index14 + "]",
|
|
2387
2671
|
expected: "__type.o3",
|
|
2388
2672
|
value: elem
|
|
@@ -2399,9 +2683,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2399
2683
|
path: _path2 + ".name",
|
|
2400
2684
|
expected: "string",
|
|
2401
2685
|
value: input3.name
|
|
2402
|
-
}), "integer" === input3.type || "float" === input3.type ||
|
|
2686
|
+
}), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
|
|
2403
2687
|
path: _path2 + ".type",
|
|
2404
|
-
expected: '("
|
|
2688
|
+
expected: '("float" | "integer")',
|
|
2405
2689
|
value: input3.type
|
|
2406
2690
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2407
2691
|
path: _path2 + ".child_types",
|
|
@@ -2818,69 +3102,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2818
3102
|
expected: "(number | undefined)",
|
|
2819
3103
|
value: input3.stop
|
|
2820
3104
|
})].every((flag) => flag);
|
|
2821
|
-
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.
|
|
2822
|
-
path: _path2 + ".key",
|
|
2823
|
-
expected: "string",
|
|
2824
|
-
value: input3.key
|
|
2825
|
-
}), "number" === typeof input3.value || $report(_exceptionable2, {
|
|
2826
|
-
path: _path2 + ".value",
|
|
2827
|
-
expected: "number",
|
|
2828
|
-
value: input3.value
|
|
2829
|
-
}), true === input3.uncomputable || $report(_exceptionable2, {
|
|
2830
|
-
path: _path2 + ".uncomputable",
|
|
2831
|
-
expected: "true",
|
|
2832
|
-
value: input3.uncomputable
|
|
2833
|
-
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2834
|
-
path: _path2 + ".label",
|
|
2835
|
-
expected: "(string | undefined)",
|
|
2836
|
-
value: input3.label
|
|
2837
|
-
})].every((flag) => flag);
|
|
2838
|
-
const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2839
|
-
path: _path2 + ".join",
|
|
2840
|
-
expected: "(string | undefined)",
|
|
2841
|
-
value: input3.join
|
|
2842
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
2843
|
-
path: _path2 + ".isnot",
|
|
2844
|
-
expected: "(boolean | undefined)",
|
|
2845
|
-
value: input3.isnot
|
|
2846
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2847
|
-
path: _path2 + ".term",
|
|
2848
|
-
expected: "ConditionTerm",
|
|
2849
|
-
value: input3.term
|
|
2850
|
-
})) && $vo26(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2851
|
-
path: _path2 + ".term",
|
|
2852
|
-
expected: "ConditionTerm",
|
|
2853
|
-
value: input3.term
|
|
2854
|
-
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
2855
|
-
path: _path2 + ".value_by_max_grade",
|
|
2856
|
-
expected: "(boolean | undefined)",
|
|
2857
|
-
value: input3.value_by_max_grade
|
|
2858
|
-
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
2859
|
-
path: _path2 + ".value_by_most_recent",
|
|
2860
|
-
expected: "(boolean | undefined)",
|
|
2861
|
-
value: input3.value_by_most_recent
|
|
2862
|
-
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
2863
|
-
path: _path2 + ".value_by_computable_grade",
|
|
2864
|
-
expected: "(boolean | undefined)",
|
|
2865
|
-
value: input3.value_by_computable_grade
|
|
2866
|
-
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
2867
|
-
path: _path2 + ".grade_and_child",
|
|
2868
|
-
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2869
|
-
value: input3.grade_and_child
|
|
2870
|
-
})) && input3.grade_and_child.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2871
|
-
path: _path2 + ".grade_and_child[" + _index20 + "]",
|
|
2872
|
-
expected: "GradeAndChildEntry",
|
|
2873
|
-
value: elem
|
|
2874
|
-
})) && $vo27(elem, _path2 + ".grade_and_child[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2875
|
-
path: _path2 + ".grade_and_child[" + _index20 + "]",
|
|
2876
|
-
expected: "GradeAndChildEntry",
|
|
2877
|
-
value: elem
|
|
2878
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2879
|
-
path: _path2 + ".grade_and_child",
|
|
2880
|
-
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2881
|
-
value: input3.grade_and_child
|
|
2882
|
-
})].every((flag) => flag);
|
|
2883
|
-
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3105
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2884
3106
|
path: _path2 + ".id",
|
|
2885
3107
|
expected: "string",
|
|
2886
3108
|
value: input3.id
|
|
@@ -2888,16 +3110,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2888
3110
|
path: _path2 + ".name",
|
|
2889
3111
|
expected: "string",
|
|
2890
3112
|
value: input3.name
|
|
2891
|
-
}), "
|
|
3113
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
2892
3114
|
path: _path2 + ".type",
|
|
2893
|
-
expected: '"
|
|
3115
|
+
expected: '"metaboliteIntensity"',
|
|
2894
3116
|
value: input3.type
|
|
2895
3117
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2896
3118
|
path: _path2 + ".child_types",
|
|
2897
3119
|
expected: "(Array<string> | undefined)",
|
|
2898
3120
|
value: input3.child_types
|
|
2899
|
-
})) && input3.child_types.map((elem,
|
|
2900
|
-
path: _path2 + ".child_types[" +
|
|
3121
|
+
})) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3122
|
+
path: _path2 + ".child_types[" + _index20 + "]",
|
|
2901
3123
|
expected: "string",
|
|
2902
3124
|
value: elem
|
|
2903
3125
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2912,8 +3134,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2912
3134
|
path: _path2 + ".included_types",
|
|
2913
3135
|
expected: "(Array<string> | undefined)",
|
|
2914
3136
|
value: input3.included_types
|
|
2915
|
-
})) && input3.included_types.map((elem,
|
|
2916
|
-
path: _path2 + ".included_types[" +
|
|
3137
|
+
})) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3138
|
+
path: _path2 + ".included_types[" + _index21 + "]",
|
|
2917
3139
|
expected: "string",
|
|
2918
3140
|
value: elem
|
|
2919
3141
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2936,115 +3158,113 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2936
3158
|
path: _path2 + ".skipValuesBuild",
|
|
2937
3159
|
expected: "(boolean | undefined)",
|
|
2938
3160
|
value: input3.skipValuesBuild
|
|
2939
|
-
})
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
path: _path2 + ".child_id",
|
|
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",
|
|
2950
3171
|
expected: "(string | undefined)",
|
|
2951
|
-
value: input3.
|
|
2952
|
-
}), "string" === typeof input3.
|
|
2953
|
-
path: _path2 + ".
|
|
3172
|
+
value: input3.unit
|
|
3173
|
+
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
3174
|
+
path: _path2 + ".metabolite",
|
|
2954
3175
|
expected: "string",
|
|
2955
|
-
value: input3.
|
|
2956
|
-
})
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
value: input3.isnot
|
|
2965
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2966
|
-
path: _path2 + ".term",
|
|
2967
|
-
expected: "DtTerm",
|
|
2968
|
-
value: input3.term
|
|
2969
|
-
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2970
|
-
path: _path2 + ".term",
|
|
2971
|
-
expected: "DtTerm",
|
|
2972
|
-
value: input3.term
|
|
2973
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2974
|
-
path: _path2 + ".values",
|
|
2975
|
-
expected: "Array<__type>.o2",
|
|
2976
|
-
value: input3.values
|
|
2977
|
-
})) && input3.values.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2978
|
-
path: _path2 + ".values[" + _index23 + "]",
|
|
2979
|
-
expected: "__type.o4",
|
|
2980
|
-
value: elem
|
|
2981
|
-
})) && $vo34(elem, _path2 + ".values[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2982
|
-
path: _path2 + ".values[" + _index23 + "]",
|
|
2983
|
-
expected: "__type.o4",
|
|
2984
|
-
value: elem
|
|
2985
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2986
|
-
path: _path2 + ".values",
|
|
2987
|
-
expected: "Array<__type>.o2",
|
|
2988
|
-
value: input3.values
|
|
2989
|
-
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
2990
|
-
path: _path2 + ".includeNotTested",
|
|
2991
|
-
expected: "(boolean | undefined)",
|
|
2992
|
-
value: input3.includeNotTested
|
|
2993
|
-
}), void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName || $report(_exceptionable2, {
|
|
2994
|
-
path: _path2 + ".excludeGeneName",
|
|
2995
|
-
expected: "(boolean | undefined)",
|
|
2996
|
-
value: input3.excludeGeneName
|
|
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
|
|
2997
3185
|
})].every((flag) => flag);
|
|
2998
|
-
const $
|
|
3186
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2999
3187
|
path: _path2 + ".id",
|
|
3000
3188
|
expected: "string",
|
|
3001
3189
|
value: input3.id
|
|
3002
|
-
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
3003
|
-
path: _path2 + ".query",
|
|
3004
|
-
expected: "string",
|
|
3005
|
-
value: input3.query
|
|
3006
3190
|
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3007
3191
|
path: _path2 + ".name",
|
|
3008
3192
|
expected: "string",
|
|
3009
3193
|
value: input3.name
|
|
3010
|
-
}), "
|
|
3011
|
-
path: _path2 + ".
|
|
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 + "]",
|
|
3012
3204
|
expected: "string",
|
|
3013
|
-
value:
|
|
3014
|
-
})
|
|
3015
|
-
path: _path2 + ".
|
|
3016
|
-
expected:
|
|
3017
|
-
value: input3.
|
|
3018
|
-
})
|
|
3019
|
-
path: _path2 + ".
|
|
3020
|
-
expected:
|
|
3021
|
-
value: input3.
|
|
3022
|
-
}),
|
|
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, {
|
|
3023
3227
|
path: _path2 + ".isleaf",
|
|
3024
|
-
expected: "boolean",
|
|
3228
|
+
expected: "(boolean | undefined)",
|
|
3025
3229
|
value: input3.isleaf
|
|
3026
|
-
}), "
|
|
3027
|
-
path: _path2 + ".type",
|
|
3028
|
-
expected: "string",
|
|
3029
|
-
value: input3.type
|
|
3030
|
-
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
3031
|
-
path: _path2 + ".dt",
|
|
3032
|
-
expected: "number",
|
|
3033
|
-
value: input3.dt
|
|
3034
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
3035
|
-
path: _path2 + ".origin",
|
|
3036
|
-
expected: "(string | undefined)",
|
|
3037
|
-
value: input3.origin
|
|
3038
|
-
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3230
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3039
3231
|
path: _path2 + ".values",
|
|
3040
|
-
expected: "TermValues",
|
|
3232
|
+
expected: "(TermValues | undefined)",
|
|
3041
3233
|
value: input3.values
|
|
3042
3234
|
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3043
3235
|
path: _path2 + ".values",
|
|
3044
|
-
expected: "TermValues",
|
|
3236
|
+
expected: "(TermValues | undefined)",
|
|
3045
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
|
|
3046
3266
|
})].every((flag) => flag);
|
|
3047
|
-
const $
|
|
3267
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3048
3268
|
path: _path2 + ".id",
|
|
3049
3269
|
expected: "string",
|
|
3050
3270
|
value: input3.id
|
|
@@ -3052,9 +3272,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3052
3272
|
path: _path2 + ".name",
|
|
3053
3273
|
expected: "string",
|
|
3054
3274
|
value: input3.name
|
|
3055
|
-
}), "
|
|
3275
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
3056
3276
|
path: _path2 + ".type",
|
|
3057
|
-
expected: '"
|
|
3277
|
+
expected: '"ssGSEA"',
|
|
3058
3278
|
value: input3.type
|
|
3059
3279
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3060
3280
|
path: _path2 + ".child_types",
|
|
@@ -3100,7 +3320,439 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3100
3320
|
path: _path2 + ".skipValuesBuild",
|
|
3101
3321
|
expected: "(boolean | undefined)",
|
|
3102
3322
|
value: input3.skipValuesBuild
|
|
3103
|
-
}), "
|
|
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, {
|
|
3104
3756
|
path: _path2 + ".kind",
|
|
3105
3757
|
expected: '"gene"',
|
|
3106
3758
|
value: input3.kind
|
|
@@ -3120,16 +3772,162 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3120
3772
|
path: _path2 + ".stop",
|
|
3121
3773
|
expected: "(number | undefined)",
|
|
3122
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
|
|
3848
|
+
})].every((flag) => flag);
|
|
3849
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3850
|
+
path: _path2 + ".id",
|
|
3851
|
+
expected: "string",
|
|
3852
|
+
value: input3.id
|
|
3853
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3854
|
+
path: _path2 + ".name",
|
|
3855
|
+
expected: "string",
|
|
3856
|
+
value: input3.name
|
|
3857
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
3858
|
+
path: _path2 + ".type",
|
|
3859
|
+
expected: '"geneVariant"',
|
|
3860
|
+
value: input3.type
|
|
3861
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3862
|
+
path: _path2 + ".child_types",
|
|
3863
|
+
expected: "(Array<string> | undefined)",
|
|
3864
|
+
value: input3.child_types
|
|
3865
|
+
})) && input3.child_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3866
|
+
path: _path2 + ".child_types[" + _index39 + "]",
|
|
3867
|
+
expected: "string",
|
|
3868
|
+
value: elem
|
|
3869
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3870
|
+
path: _path2 + ".child_types",
|
|
3871
|
+
expected: "(Array<string> | undefined)",
|
|
3872
|
+
value: input3.child_types
|
|
3873
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3874
|
+
path: _path2 + ".hashtmldetail",
|
|
3875
|
+
expected: "(boolean | undefined)",
|
|
3876
|
+
value: input3.hashtmldetail
|
|
3877
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3878
|
+
path: _path2 + ".included_types",
|
|
3879
|
+
expected: "(Array<string> | undefined)",
|
|
3880
|
+
value: input3.included_types
|
|
3881
|
+
})) && input3.included_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3882
|
+
path: _path2 + ".included_types[" + _index40 + "]",
|
|
3883
|
+
expected: "string",
|
|
3884
|
+
value: elem
|
|
3885
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3886
|
+
path: _path2 + ".included_types",
|
|
3887
|
+
expected: "(Array<string> | undefined)",
|
|
3888
|
+
value: input3.included_types
|
|
3889
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3890
|
+
path: _path2 + ".isleaf",
|
|
3891
|
+
expected: "(boolean | undefined)",
|
|
3892
|
+
value: input3.isleaf
|
|
3893
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3894
|
+
path: _path2 + ".values",
|
|
3895
|
+
expected: "(TermValues | undefined)",
|
|
3896
|
+
value: input3.values
|
|
3897
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3898
|
+
path: _path2 + ".values",
|
|
3899
|
+
expected: "(TermValues | undefined)",
|
|
3900
|
+
value: input3.values
|
|
3901
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
3902
|
+
path: _path2 + ".skipValuesBuild",
|
|
3903
|
+
expected: "(boolean | undefined)",
|
|
3904
|
+
value: input3.skipValuesBuild
|
|
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",
|
|
3911
|
+
expected: "string",
|
|
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
|
|
3123
3921
|
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
3124
3922
|
path: _path2 + ".genes",
|
|
3125
3923
|
expected: "Array<GvGeneTerm>",
|
|
3126
3924
|
value: input3.genes
|
|
3127
|
-
})) && input3.genes.map((elem,
|
|
3128
|
-
path: _path2 + ".genes[" +
|
|
3925
|
+
})) && input3.genes.map((elem, _index41) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3926
|
+
path: _path2 + ".genes[" + _index41 + "]",
|
|
3129
3927
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3130
3928
|
value: elem
|
|
3131
|
-
})) && $vu4(elem, _path2 + ".genes[" +
|
|
3132
|
-
path: _path2 + ".genes[" +
|
|
3929
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index41 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3930
|
+
path: _path2 + ".genes[" + _index41 + "]",
|
|
3133
3931
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3134
3932
|
value: elem
|
|
3135
3933
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3148,12 +3946,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3148
3946
|
path: _path2 + ".childTerms",
|
|
3149
3947
|
expected: "(Array<DtTerm> | undefined)",
|
|
3150
3948
|
value: input3.childTerms
|
|
3151
|
-
})) && input3.childTerms.map((elem,
|
|
3152
|
-
path: _path2 + ".childTerms[" +
|
|
3949
|
+
})) && input3.childTerms.map((elem, _index42) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3950
|
+
path: _path2 + ".childTerms[" + _index42 + "]",
|
|
3153
3951
|
expected: "DtTerm",
|
|
3154
3952
|
value: elem
|
|
3155
|
-
})) && $
|
|
3156
|
-
path: _path2 + ".childTerms[" +
|
|
3953
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index42 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3954
|
+
path: _path2 + ".childTerms[" + _index42 + "]",
|
|
3157
3955
|
expected: "DtTerm",
|
|
3158
3956
|
value: elem
|
|
3159
3957
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3161,7 +3959,20 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3161
3959
|
expected: "(Array<DtTerm> | undefined)",
|
|
3162
3960
|
value: input3.childTerms
|
|
3163
3961
|
})].every((flag) => flag);
|
|
3164
|
-
const $
|
|
3962
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
3963
|
+
path: _path2 + ".key",
|
|
3964
|
+
expected: "string",
|
|
3965
|
+
value: input3.key
|
|
3966
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
3967
|
+
path: _path2 + ".label",
|
|
3968
|
+
expected: "string",
|
|
3969
|
+
value: input3.label
|
|
3970
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
3971
|
+
path: _path2 + ".value",
|
|
3972
|
+
expected: "string",
|
|
3973
|
+
value: input3.value
|
|
3974
|
+
})].every((flag) => flag);
|
|
3975
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3165
3976
|
path: _path2 + ".id",
|
|
3166
3977
|
expected: "string",
|
|
3167
3978
|
value: input3.id
|
|
@@ -3169,16 +3980,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3169
3980
|
path: _path2 + ".name",
|
|
3170
3981
|
expected: "string",
|
|
3171
3982
|
value: input3.name
|
|
3172
|
-
}), "
|
|
3983
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
3173
3984
|
path: _path2 + ".type",
|
|
3174
|
-
expected: "
|
|
3985
|
+
expected: '"geneVariant"',
|
|
3175
3986
|
value: input3.type
|
|
3176
3987
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3177
3988
|
path: _path2 + ".child_types",
|
|
3178
3989
|
expected: "(Array<string> | undefined)",
|
|
3179
3990
|
value: input3.child_types
|
|
3180
|
-
})) && input3.child_types.map((elem,
|
|
3181
|
-
path: _path2 + ".child_types[" +
|
|
3991
|
+
})) && input3.child_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3992
|
+
path: _path2 + ".child_types[" + _index43 + "]",
|
|
3182
3993
|
expected: "string",
|
|
3183
3994
|
value: elem
|
|
3184
3995
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3193,8 +4004,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3193
4004
|
path: _path2 + ".included_types",
|
|
3194
4005
|
expected: "(Array<string> | undefined)",
|
|
3195
4006
|
value: input3.included_types
|
|
3196
|
-
})) && input3.included_types.map((elem,
|
|
3197
|
-
path: _path2 + ".included_types[" +
|
|
4007
|
+
})) && input3.included_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4008
|
+
path: _path2 + ".included_types[" + _index44 + "]",
|
|
3198
4009
|
expected: "string",
|
|
3199
4010
|
value: elem
|
|
3200
4011
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3217,28 +4028,64 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3217
4028
|
path: _path2 + ".skipValuesBuild",
|
|
3218
4029
|
expected: "(boolean | undefined)",
|
|
3219
4030
|
value: input3.skipValuesBuild
|
|
3220
|
-
}), "
|
|
4031
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
3221
4032
|
path: _path2 + ".kind",
|
|
3222
|
-
expected: '"
|
|
4033
|
+
expected: '"coord"',
|
|
3223
4034
|
value: input3.kind
|
|
3224
|
-
}), "string" === typeof input3.
|
|
3225
|
-
path: _path2 + ".gene",
|
|
3226
|
-
expected: "string",
|
|
3227
|
-
value: input3.gene
|
|
3228
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
4035
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3229
4036
|
path: _path2 + ".chr",
|
|
3230
|
-
expected: "
|
|
4037
|
+
expected: "string",
|
|
3231
4038
|
value: input3.chr
|
|
3232
|
-
}),
|
|
4039
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3233
4040
|
path: _path2 + ".start",
|
|
3234
|
-
expected: "
|
|
4041
|
+
expected: "number",
|
|
3235
4042
|
value: input3.start
|
|
3236
|
-
}),
|
|
4043
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3237
4044
|
path: _path2 + ".stop",
|
|
3238
|
-
expected: "
|
|
4045
|
+
expected: "number",
|
|
3239
4046
|
value: input3.stop
|
|
4047
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
4048
|
+
path: _path2 + ".genes",
|
|
4049
|
+
expected: "Array<GvGeneTerm>",
|
|
4050
|
+
value: input3.genes
|
|
4051
|
+
})) && input3.genes.map((elem, _index45) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4052
|
+
path: _path2 + ".genes[" + _index45 + "]",
|
|
4053
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
4054
|
+
value: elem
|
|
4055
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index45 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4056
|
+
path: _path2 + ".genes[" + _index45 + "]",
|
|
4057
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
4058
|
+
value: elem
|
|
4059
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4060
|
+
path: _path2 + ".genes",
|
|
4061
|
+
expected: "Array<GvGeneTerm>",
|
|
4062
|
+
value: input3.genes
|
|
4063
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
4064
|
+
path: _path2 + ".groupsetting",
|
|
4065
|
+
expected: "TermGroupSetting",
|
|
4066
|
+
value: input3.groupsetting
|
|
4067
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
4068
|
+
path: _path2 + ".groupsetting",
|
|
4069
|
+
expected: "TermGroupSetting",
|
|
4070
|
+
value: input3.groupsetting
|
|
4071
|
+
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
4072
|
+
path: _path2 + ".childTerms",
|
|
4073
|
+
expected: "Array<DtTerm>",
|
|
4074
|
+
value: input3.childTerms
|
|
4075
|
+
})) && input3.childTerms.map((elem, _index46) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4076
|
+
path: _path2 + ".childTerms[" + _index46 + "]",
|
|
4077
|
+
expected: "DtTerm",
|
|
4078
|
+
value: elem
|
|
4079
|
+
})) && $vo32(elem, _path2 + ".childTerms[" + _index46 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4080
|
+
path: _path2 + ".childTerms[" + _index46 + "]",
|
|
4081
|
+
expected: "DtTerm",
|
|
4082
|
+
value: elem
|
|
4083
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4084
|
+
path: _path2 + ".childTerms",
|
|
4085
|
+
expected: "Array<DtTerm>",
|
|
4086
|
+
value: input3.childTerms
|
|
3240
4087
|
})].every((flag) => flag);
|
|
3241
|
-
const $
|
|
4088
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3242
4089
|
path: _path2 + ".id",
|
|
3243
4090
|
expected: "string",
|
|
3244
4091
|
value: input3.id
|
|
@@ -3246,16 +4093,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3246
4093
|
path: _path2 + ".name",
|
|
3247
4094
|
expected: "string",
|
|
3248
4095
|
value: input3.name
|
|
3249
|
-
}), "
|
|
4096
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
3250
4097
|
path: _path2 + ".type",
|
|
3251
|
-
expected: "
|
|
4098
|
+
expected: '"geneExpression"',
|
|
3252
4099
|
value: input3.type
|
|
3253
4100
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3254
4101
|
path: _path2 + ".child_types",
|
|
3255
4102
|
expected: "(Array<string> | undefined)",
|
|
3256
4103
|
value: input3.child_types
|
|
3257
|
-
})) && input3.child_types.map((elem,
|
|
3258
|
-
path: _path2 + ".child_types[" +
|
|
4104
|
+
})) && input3.child_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4105
|
+
path: _path2 + ".child_types[" + _index47 + "]",
|
|
3259
4106
|
expected: "string",
|
|
3260
4107
|
value: elem
|
|
3261
4108
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3270,8 +4117,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3270
4117
|
path: _path2 + ".included_types",
|
|
3271
4118
|
expected: "(Array<string> | undefined)",
|
|
3272
4119
|
value: input3.included_types
|
|
3273
|
-
})) && input3.included_types.map((elem,
|
|
3274
|
-
path: _path2 + ".included_types[" +
|
|
4120
|
+
})) && input3.included_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4121
|
+
path: _path2 + ".included_types[" + _index48 + "]",
|
|
3275
4122
|
expected: "string",
|
|
3276
4123
|
value: elem
|
|
3277
4124
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3293,25 +4140,45 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3293
4140
|
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
3294
4141
|
path: _path2 + ".skipValuesBuild",
|
|
3295
4142
|
expected: "(boolean | undefined)",
|
|
3296
|
-
value: input3.skipValuesBuild
|
|
3297
|
-
}), "
|
|
3298
|
-
path: _path2 + ".
|
|
3299
|
-
expected:
|
|
3300
|
-
value: input3.
|
|
3301
|
-
}), "
|
|
3302
|
-
path: _path2 + ".
|
|
4143
|
+
value: input3.skipValuesBuild
|
|
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
|
|
4156
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
4157
|
+
path: _path2 + ".gene",
|
|
3303
4158
|
expected: "string",
|
|
4159
|
+
value: input3.gene
|
|
4160
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
4161
|
+
path: _path2 + ".bins",
|
|
4162
|
+
expected: "(PresetNumericBins | undefined)",
|
|
4163
|
+
value: input3.bins
|
|
4164
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
4165
|
+
path: _path2 + ".bins",
|
|
4166
|
+
expected: "(PresetNumericBins | undefined)",
|
|
4167
|
+
value: input3.bins
|
|
4168
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
4169
|
+
path: _path2 + ".chr",
|
|
4170
|
+
expected: "(string | undefined)",
|
|
3304
4171
|
value: input3.chr
|
|
3305
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
4172
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3306
4173
|
path: _path2 + ".start",
|
|
3307
|
-
expected: "number",
|
|
4174
|
+
expected: "(number | undefined)",
|
|
3308
4175
|
value: input3.start
|
|
3309
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
4176
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3310
4177
|
path: _path2 + ".stop",
|
|
3311
|
-
expected: "number",
|
|
4178
|
+
expected: "(number | undefined)",
|
|
3312
4179
|
value: input3.stop
|
|
3313
4180
|
})].every((flag) => flag);
|
|
3314
|
-
const $
|
|
4181
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3315
4182
|
path: _path2 + ".id",
|
|
3316
4183
|
expected: "string",
|
|
3317
4184
|
value: input3.id
|
|
@@ -3319,16 +4186,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3319
4186
|
path: _path2 + ".name",
|
|
3320
4187
|
expected: "string",
|
|
3321
4188
|
value: input3.name
|
|
3322
|
-
}), "
|
|
4189
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
3323
4190
|
path: _path2 + ".type",
|
|
3324
|
-
expected: '"
|
|
4191
|
+
expected: '"metaboliteIntensity"',
|
|
3325
4192
|
value: input3.type
|
|
3326
4193
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3327
4194
|
path: _path2 + ".child_types",
|
|
3328
4195
|
expected: "(Array<string> | undefined)",
|
|
3329
4196
|
value: input3.child_types
|
|
3330
|
-
})) && input3.child_types.map((elem,
|
|
3331
|
-
path: _path2 + ".child_types[" +
|
|
4197
|
+
})) && input3.child_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4198
|
+
path: _path2 + ".child_types[" + _index49 + "]",
|
|
3332
4199
|
expected: "string",
|
|
3333
4200
|
value: elem
|
|
3334
4201
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3343,8 +4210,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3343
4210
|
path: _path2 + ".included_types",
|
|
3344
4211
|
expected: "(Array<string> | undefined)",
|
|
3345
4212
|
value: input3.included_types
|
|
3346
|
-
})) && input3.included_types.map((elem,
|
|
3347
|
-
path: _path2 + ".included_types[" +
|
|
4213
|
+
})) && input3.included_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4214
|
+
path: _path2 + ".included_types[" + _index50 + "]",
|
|
3348
4215
|
expected: "string",
|
|
3349
4216
|
value: elem
|
|
3350
4217
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3367,77 +4234,32 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3367
4234
|
path: _path2 + ".skipValuesBuild",
|
|
3368
4235
|
expected: "(boolean | undefined)",
|
|
3369
4236
|
value: input3.skipValuesBuild
|
|
3370
|
-
}), "
|
|
3371
|
-
path: _path2 + ".
|
|
3372
|
-
expected:
|
|
3373
|
-
value: input3.
|
|
3374
|
-
}), "
|
|
3375
|
-
path: _path2 + ".
|
|
3376
|
-
expected: "
|
|
3377
|
-
value: input3.
|
|
3378
|
-
}), "
|
|
3379
|
-
path: _path2 + ".
|
|
3380
|
-
expected: "
|
|
3381
|
-
value: input3.
|
|
3382
|
-
}), "
|
|
3383
|
-
path: _path2 + ".
|
|
3384
|
-
expected: "number",
|
|
3385
|
-
value: input3.stop
|
|
3386
|
-
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
3387
|
-
path: _path2 + ".genes",
|
|
3388
|
-
expected: "Array<GvGeneTerm>",
|
|
3389
|
-
value: input3.genes
|
|
3390
|
-
})) && input3.genes.map((elem, _index34) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3391
|
-
path: _path2 + ".genes[" + _index34 + "]",
|
|
3392
|
-
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3393
|
-
value: elem
|
|
3394
|
-
})) && $vu4(elem, _path2 + ".genes[" + _index34 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3395
|
-
path: _path2 + ".genes[" + _index34 + "]",
|
|
3396
|
-
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3397
|
-
value: elem
|
|
3398
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3399
|
-
path: _path2 + ".genes",
|
|
3400
|
-
expected: "Array<GvGeneTerm>",
|
|
3401
|
-
value: input3.genes
|
|
3402
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3403
|
-
path: _path2 + ".groupsetting",
|
|
3404
|
-
expected: "(TermGroupSetting | undefined)",
|
|
3405
|
-
value: input3.groupsetting
|
|
3406
|
-
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3407
|
-
path: _path2 + ".groupsetting",
|
|
3408
|
-
expected: "(TermGroupSetting | undefined)",
|
|
3409
|
-
value: input3.groupsetting
|
|
3410
|
-
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
3411
|
-
path: _path2 + ".childTerms",
|
|
3412
|
-
expected: "(Array<DtTerm> | undefined)",
|
|
3413
|
-
value: input3.childTerms
|
|
3414
|
-
})) && input3.childTerms.map((elem, _index35) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3415
|
-
path: _path2 + ".childTerms[" + _index35 + "]",
|
|
3416
|
-
expected: "DtTerm",
|
|
3417
|
-
value: elem
|
|
3418
|
-
})) && $vo29(elem, _path2 + ".childTerms[" + _index35 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3419
|
-
path: _path2 + ".childTerms[" + _index35 + "]",
|
|
3420
|
-
expected: "DtTerm",
|
|
3421
|
-
value: elem
|
|
3422
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3423
|
-
path: _path2 + ".childTerms",
|
|
3424
|
-
expected: "(Array<DtTerm> | undefined)",
|
|
3425
|
-
value: input3.childTerms
|
|
3426
|
-
})].every((flag) => flag);
|
|
3427
|
-
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
3428
|
-
path: _path2 + ".key",
|
|
3429
|
-
expected: "string",
|
|
3430
|
-
value: input3.key
|
|
3431
|
-
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
3432
|
-
path: _path2 + ".label",
|
|
3433
|
-
expected: "string",
|
|
3434
|
-
value: input3.label
|
|
3435
|
-
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
3436
|
-
path: _path2 + ".value",
|
|
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",
|
|
3437
4251
|
expected: "string",
|
|
3438
|
-
value: input3.
|
|
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
|
|
3439
4261
|
})].every((flag) => flag);
|
|
3440
|
-
const $
|
|
4262
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3441
4263
|
path: _path2 + ".id",
|
|
3442
4264
|
expected: "string",
|
|
3443
4265
|
value: input3.id
|
|
@@ -3445,16 +4267,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3445
4267
|
path: _path2 + ".name",
|
|
3446
4268
|
expected: "string",
|
|
3447
4269
|
value: input3.name
|
|
3448
|
-
}), "
|
|
4270
|
+
}), "categorical" === input3.type || $report(_exceptionable2, {
|
|
3449
4271
|
path: _path2 + ".type",
|
|
3450
|
-
expected: '"
|
|
4272
|
+
expected: '"categorical"',
|
|
3451
4273
|
value: input3.type
|
|
3452
4274
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3453
4275
|
path: _path2 + ".child_types",
|
|
3454
4276
|
expected: "(Array<string> | undefined)",
|
|
3455
4277
|
value: input3.child_types
|
|
3456
|
-
})) && input3.child_types.map((elem,
|
|
3457
|
-
path: _path2 + ".child_types[" +
|
|
4278
|
+
})) && input3.child_types.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4279
|
+
path: _path2 + ".child_types[" + _index51 + "]",
|
|
3458
4280
|
expected: "string",
|
|
3459
4281
|
value: elem
|
|
3460
4282
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3469,8 +4291,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3469
4291
|
path: _path2 + ".included_types",
|
|
3470
4292
|
expected: "(Array<string> | undefined)",
|
|
3471
4293
|
value: input3.included_types
|
|
3472
|
-
})) && input3.included_types.map((elem,
|
|
3473
|
-
path: _path2 + ".included_types[" +
|
|
4294
|
+
})) && input3.included_types.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4295
|
+
path: _path2 + ".included_types[" + _index52 + "]",
|
|
3474
4296
|
expected: "string",
|
|
3475
4297
|
value: elem
|
|
3476
4298
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3493,38 +4315,6 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3493
4315
|
path: _path2 + ".skipValuesBuild",
|
|
3494
4316
|
expected: "(boolean | undefined)",
|
|
3495
4317
|
value: input3.skipValuesBuild
|
|
3496
|
-
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
3497
|
-
path: _path2 + ".kind",
|
|
3498
|
-
expected: '"coord"',
|
|
3499
|
-
value: input3.kind
|
|
3500
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3501
|
-
path: _path2 + ".chr",
|
|
3502
|
-
expected: "string",
|
|
3503
|
-
value: input3.chr
|
|
3504
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3505
|
-
path: _path2 + ".start",
|
|
3506
|
-
expected: "number",
|
|
3507
|
-
value: input3.start
|
|
3508
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3509
|
-
path: _path2 + ".stop",
|
|
3510
|
-
expected: "number",
|
|
3511
|
-
value: input3.stop
|
|
3512
|
-
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
3513
|
-
path: _path2 + ".genes",
|
|
3514
|
-
expected: "Array<GvGeneTerm>",
|
|
3515
|
-
value: input3.genes
|
|
3516
|
-
})) && input3.genes.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3517
|
-
path: _path2 + ".genes[" + _index38 + "]",
|
|
3518
|
-
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3519
|
-
value: elem
|
|
3520
|
-
})) && $vu4(elem, _path2 + ".genes[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3521
|
-
path: _path2 + ".genes[" + _index38 + "]",
|
|
3522
|
-
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3523
|
-
value: elem
|
|
3524
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3525
|
-
path: _path2 + ".genes",
|
|
3526
|
-
expected: "Array<GvGeneTerm>",
|
|
3527
|
-
value: input3.genes
|
|
3528
4318
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3529
4319
|
path: _path2 + ".groupsetting",
|
|
3530
4320
|
expected: "TermGroupSetting",
|
|
@@ -3533,24 +4323,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3533
4323
|
path: _path2 + ".groupsetting",
|
|
3534
4324
|
expected: "TermGroupSetting",
|
|
3535
4325
|
value: input3.groupsetting
|
|
3536
|
-
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
3537
|
-
path: _path2 + ".childTerms",
|
|
3538
|
-
expected: "Array<DtTerm>",
|
|
3539
|
-
value: input3.childTerms
|
|
3540
|
-
})) && input3.childTerms.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3541
|
-
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
3542
|
-
expected: "DtTerm",
|
|
3543
|
-
value: elem
|
|
3544
|
-
})) && $vo29(elem, _path2 + ".childTerms[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3545
|
-
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
3546
|
-
expected: "DtTerm",
|
|
3547
|
-
value: elem
|
|
3548
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3549
|
-
path: _path2 + ".childTerms",
|
|
3550
|
-
expected: "Array<DtTerm>",
|
|
3551
|
-
value: input3.childTerms
|
|
3552
4326
|
})].every((flag) => flag);
|
|
3553
|
-
const $
|
|
4327
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3554
4328
|
path: _path2 + ".id",
|
|
3555
4329
|
expected: "string",
|
|
3556
4330
|
value: input3.id
|
|
@@ -3558,16 +4332,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3558
4332
|
path: _path2 + ".name",
|
|
3559
4333
|
expected: "string",
|
|
3560
4334
|
value: input3.name
|
|
3561
|
-
}), "
|
|
4335
|
+
}), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
|
|
3562
4336
|
path: _path2 + ".type",
|
|
3563
|
-
expected: '"
|
|
4337
|
+
expected: '("float" | "integer")',
|
|
3564
4338
|
value: input3.type
|
|
3565
4339
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3566
4340
|
path: _path2 + ".child_types",
|
|
3567
4341
|
expected: "(Array<string> | undefined)",
|
|
3568
4342
|
value: input3.child_types
|
|
3569
|
-
})) && input3.child_types.map((elem,
|
|
3570
|
-
path: _path2 + ".child_types[" +
|
|
4343
|
+
})) && input3.child_types.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4344
|
+
path: _path2 + ".child_types[" + _index53 + "]",
|
|
3571
4345
|
expected: "string",
|
|
3572
4346
|
value: elem
|
|
3573
4347
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3582,8 +4356,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3582
4356
|
path: _path2 + ".included_types",
|
|
3583
4357
|
expected: "(Array<string> | undefined)",
|
|
3584
4358
|
value: input3.included_types
|
|
3585
|
-
})) && input3.included_types.map((elem,
|
|
3586
|
-
path: _path2 + ".included_types[" +
|
|
4359
|
+
})) && input3.included_types.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4360
|
+
path: _path2 + ".included_types[" + _index54 + "]",
|
|
3587
4361
|
expected: "string",
|
|
3588
4362
|
value: elem
|
|
3589
4363
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3606,16 +4380,28 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3606
4380
|
path: _path2 + ".skipValuesBuild",
|
|
3607
4381
|
expected: "(boolean | undefined)",
|
|
3608
4382
|
value: input3.skipValuesBuild
|
|
3609
|
-
}), ("object" === typeof input3.
|
|
3610
|
-
path: _path2 + ".
|
|
3611
|
-
expected: "
|
|
3612
|
-
value: input3.
|
|
3613
|
-
})) && $
|
|
3614
|
-
path: _path2 + ".
|
|
3615
|
-
expected: "
|
|
3616
|
-
value: input3.
|
|
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
|
|
3617
4403
|
})].every((flag) => flag);
|
|
3618
|
-
const $
|
|
4404
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3619
4405
|
path: _path2 + ".id",
|
|
3620
4406
|
expected: "string",
|
|
3621
4407
|
value: input3.id
|
|
@@ -3623,16 +4409,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3623
4409
|
path: _path2 + ".name",
|
|
3624
4410
|
expected: "string",
|
|
3625
4411
|
value: input3.name
|
|
3626
|
-
}), "
|
|
4412
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
3627
4413
|
path: _path2 + ".type",
|
|
3628
|
-
expected: '
|
|
4414
|
+
expected: '"date"',
|
|
3629
4415
|
value: input3.type
|
|
3630
4416
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3631
4417
|
path: _path2 + ".child_types",
|
|
3632
4418
|
expected: "(Array<string> | undefined)",
|
|
3633
4419
|
value: input3.child_types
|
|
3634
|
-
})) && input3.child_types.map((elem,
|
|
3635
|
-
path: _path2 + ".child_types[" +
|
|
4420
|
+
})) && input3.child_types.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4421
|
+
path: _path2 + ".child_types[" + _index55 + "]",
|
|
3636
4422
|
expected: "string",
|
|
3637
4423
|
value: elem
|
|
3638
4424
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3647,8 +4433,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3647
4433
|
path: _path2 + ".included_types",
|
|
3648
4434
|
expected: "(Array<string> | undefined)",
|
|
3649
4435
|
value: input3.included_types
|
|
3650
|
-
})) && input3.included_types.map((elem,
|
|
3651
|
-
path: _path2 + ".included_types[" +
|
|
4436
|
+
})) && input3.included_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4437
|
+
path: _path2 + ".included_types[" + _index56 + "]",
|
|
3652
4438
|
expected: "string",
|
|
3653
4439
|
value: elem
|
|
3654
4440
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3683,16 +4469,20 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3683
4469
|
path: _path2 + ".unit",
|
|
3684
4470
|
expected: "(string | undefined)",
|
|
3685
4471
|
value: input3.unit
|
|
3686
|
-
}),
|
|
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, {
|
|
3687
4477
|
path: _path2 + ".bins",
|
|
3688
|
-
expected: "PresetNumericBins",
|
|
4478
|
+
expected: "(PresetNumericBins | undefined)",
|
|
3689
4479
|
value: input3.bins
|
|
3690
4480
|
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
3691
4481
|
path: _path2 + ".bins",
|
|
3692
|
-
expected: "PresetNumericBins",
|
|
4482
|
+
expected: "(PresetNumericBins | undefined)",
|
|
3693
4483
|
value: input3.bins
|
|
3694
4484
|
})].every((flag) => flag);
|
|
3695
|
-
const $
|
|
4485
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3696
4486
|
path: _path2 + ".id",
|
|
3697
4487
|
expected: "string",
|
|
3698
4488
|
value: input3.id
|
|
@@ -3700,16 +4490,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3700
4490
|
path: _path2 + ".name",
|
|
3701
4491
|
expected: "string",
|
|
3702
4492
|
value: input3.name
|
|
3703
|
-
}), "
|
|
4493
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
3704
4494
|
path: _path2 + ".type",
|
|
3705
|
-
expected: '"
|
|
4495
|
+
expected: '"ssGSEA"',
|
|
3706
4496
|
value: input3.type
|
|
3707
4497
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3708
4498
|
path: _path2 + ".child_types",
|
|
3709
4499
|
expected: "(Array<string> | undefined)",
|
|
3710
4500
|
value: input3.child_types
|
|
3711
|
-
})) && input3.child_types.map((elem,
|
|
3712
|
-
path: _path2 + ".child_types[" +
|
|
4501
|
+
})) && input3.child_types.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4502
|
+
path: _path2 + ".child_types[" + _index57 + "]",
|
|
3713
4503
|
expected: "string",
|
|
3714
4504
|
value: elem
|
|
3715
4505
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3724,8 +4514,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3724
4514
|
path: _path2 + ".included_types",
|
|
3725
4515
|
expected: "(Array<string> | undefined)",
|
|
3726
4516
|
value: input3.included_types
|
|
3727
|
-
})) && input3.included_types.map((elem,
|
|
3728
|
-
path: _path2 + ".included_types[" +
|
|
4517
|
+
})) && input3.included_types.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4518
|
+
path: _path2 + ".included_types[" + _index58 + "]",
|
|
3729
4519
|
expected: "string",
|
|
3730
4520
|
value: elem
|
|
3731
4521
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3760,10 +4550,18 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3760
4550
|
path: _path2 + ".unit",
|
|
3761
4551
|
expected: "(string | undefined)",
|
|
3762
4552
|
value: input3.unit
|
|
3763
|
-
}),
|
|
3764
|
-
path: _path2 + ".
|
|
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 + "]",
|
|
3765
4559
|
expected: "string",
|
|
3766
|
-
value:
|
|
4560
|
+
value: elem
|
|
4561
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4562
|
+
path: _path2 + ".genes",
|
|
4563
|
+
expected: "(Array<string> | undefined)",
|
|
4564
|
+
value: input3.genes
|
|
3767
4565
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
3768
4566
|
path: _path2 + ".bins",
|
|
3769
4567
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -3772,20 +4570,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3772
4570
|
path: _path2 + ".bins",
|
|
3773
4571
|
expected: "(PresetNumericBins | undefined)",
|
|
3774
4572
|
value: input3.bins
|
|
3775
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3776
|
-
path: _path2 + ".chr",
|
|
3777
|
-
expected: "(string | undefined)",
|
|
3778
|
-
value: input3.chr
|
|
3779
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3780
|
-
path: _path2 + ".start",
|
|
3781
|
-
expected: "(number | undefined)",
|
|
3782
|
-
value: input3.start
|
|
3783
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3784
|
-
path: _path2 + ".stop",
|
|
3785
|
-
expected: "(number | undefined)",
|
|
3786
|
-
value: input3.stop
|
|
3787
4573
|
})].every((flag) => flag);
|
|
3788
|
-
const $
|
|
4574
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3789
4575
|
path: _path2 + ".id",
|
|
3790
4576
|
expected: "string",
|
|
3791
4577
|
value: input3.id
|
|
@@ -3801,8 +4587,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3801
4587
|
path: _path2 + ".child_types",
|
|
3802
4588
|
expected: "(Array<string> | undefined)",
|
|
3803
4589
|
value: input3.child_types
|
|
3804
|
-
})) && input3.child_types.map((elem,
|
|
3805
|
-
path: _path2 + ".child_types[" +
|
|
4590
|
+
})) && input3.child_types.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4591
|
+
path: _path2 + ".child_types[" + _index60 + "]",
|
|
3806
4592
|
expected: "string",
|
|
3807
4593
|
value: elem
|
|
3808
4594
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3817,8 +4603,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3817
4603
|
path: _path2 + ".included_types",
|
|
3818
4604
|
expected: "(Array<string> | undefined)",
|
|
3819
4605
|
value: input3.included_types
|
|
3820
|
-
})) && input3.included_types.map((elem,
|
|
3821
|
-
path: _path2 + ".included_types[" +
|
|
4606
|
+
})) && input3.included_types.map((elem, _index61) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4607
|
+
path: _path2 + ".included_types[" + _index61 + "]",
|
|
3822
4608
|
expected: "string",
|
|
3823
4609
|
value: elem
|
|
3824
4610
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3842,7 +4628,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3842
4628
|
expected: "(boolean | undefined)",
|
|
3843
4629
|
value: input3.skipValuesBuild
|
|
3844
4630
|
})].every((flag) => flag);
|
|
3845
|
-
const $
|
|
4631
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3846
4632
|
path: _path2 + ".id",
|
|
3847
4633
|
expected: "string",
|
|
3848
4634
|
value: input3.id
|
|
@@ -3858,8 +4644,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3858
4644
|
path: _path2 + ".child_types",
|
|
3859
4645
|
expected: "(Array<string> | undefined)",
|
|
3860
4646
|
value: input3.child_types
|
|
3861
|
-
})) && input3.child_types.map((elem,
|
|
3862
|
-
path: _path2 + ".child_types[" +
|
|
4647
|
+
})) && input3.child_types.map((elem, _index62) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4648
|
+
path: _path2 + ".child_types[" + _index62 + "]",
|
|
3863
4649
|
expected: "string",
|
|
3864
4650
|
value: elem
|
|
3865
4651
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3874,8 +4660,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3874
4660
|
path: _path2 + ".included_types",
|
|
3875
4661
|
expected: "(Array<string> | undefined)",
|
|
3876
4662
|
value: input3.included_types
|
|
3877
|
-
})) && input3.included_types.map((elem,
|
|
3878
|
-
path: _path2 + ".included_types[" +
|
|
4663
|
+
})) && input3.included_types.map((elem, _index63) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4664
|
+
path: _path2 + ".included_types[" + _index63 + "]",
|
|
3879
4665
|
expected: "string",
|
|
3880
4666
|
value: elem
|
|
3881
4667
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3906,12 +4692,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3906
4692
|
path: _path2 + ".snps",
|
|
3907
4693
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3908
4694
|
value: input3.snps
|
|
3909
|
-
})) && input3.snps.map((elem,
|
|
3910
|
-
path: _path2 + ".snps[" +
|
|
4695
|
+
})) && input3.snps.map((elem, _index64) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4696
|
+
path: _path2 + ".snps[" + _index64 + "]",
|
|
3911
4697
|
expected: "SnpsEntry",
|
|
3912
4698
|
value: elem
|
|
3913
|
-
})) && $
|
|
3914
|
-
path: _path2 + ".snps[" +
|
|
4699
|
+
})) && $vo47(elem, _path2 + ".snps[" + _index64 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4700
|
+
path: _path2 + ".snps[" + _index64 + "]",
|
|
3915
4701
|
expected: "SnpsEntry",
|
|
3916
4702
|
value: elem
|
|
3917
4703
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3919,12 +4705,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3919
4705
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3920
4706
|
value: input3.snps
|
|
3921
4707
|
})].every((flag) => flag);
|
|
3922
|
-
const $
|
|
4708
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
3923
4709
|
path: _path2 + ".altAlleles",
|
|
3924
4710
|
expected: "(Array<string> | undefined)",
|
|
3925
4711
|
value: input3.altAlleles
|
|
3926
|
-
})) && input3.altAlleles.map((elem,
|
|
3927
|
-
path: _path2 + ".altAlleles[" +
|
|
4712
|
+
})) && input3.altAlleles.map((elem, _index65) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4713
|
+
path: _path2 + ".altAlleles[" + _index65 + "]",
|
|
3928
4714
|
expected: "string",
|
|
3929
4715
|
value: elem
|
|
3930
4716
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3935,12 +4721,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3935
4721
|
path: _path2 + ".alleles",
|
|
3936
4722
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
3937
4723
|
value: input3.alleles
|
|
3938
|
-
})) && input3.alleles.map((elem,
|
|
3939
|
-
path: _path2 + ".alleles[" +
|
|
4724
|
+
})) && input3.alleles.map((elem, _index66) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4725
|
+
path: _path2 + ".alleles[" + _index66 + "]",
|
|
3940
4726
|
expected: "AllelesEntry",
|
|
3941
4727
|
value: elem
|
|
3942
|
-
})) && $
|
|
3943
|
-
path: _path2 + ".alleles[" +
|
|
4728
|
+
})) && $vo48(elem, _path2 + ".alleles[" + _index66 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4729
|
+
path: _path2 + ".alleles[" + _index66 + "]",
|
|
3944
4730
|
expected: "AllelesEntry",
|
|
3945
4731
|
value: elem
|
|
3946
4732
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3955,7 +4741,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3955
4741
|
path: _path2 + ".gt2count",
|
|
3956
4742
|
expected: "(__type.o5 | undefined)",
|
|
3957
4743
|
value: input3.gt2count
|
|
3958
|
-
})) && $
|
|
4744
|
+
})) && $vo49(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
3959
4745
|
path: _path2 + ".gt2count",
|
|
3960
4746
|
expected: "(__type.o5 | undefined)",
|
|
3961
4747
|
value: input3.gt2count
|
|
@@ -3984,7 +4770,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3984
4770
|
expected: "(number | undefined)",
|
|
3985
4771
|
value: input3.pos
|
|
3986
4772
|
})].every((flag) => flag);
|
|
3987
|
-
const $
|
|
4773
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
3988
4774
|
path: _path2 + ".allele",
|
|
3989
4775
|
expected: "string",
|
|
3990
4776
|
value: input3.allele
|
|
@@ -3997,7 +4783,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3997
4783
|
expected: "boolean",
|
|
3998
4784
|
value: input3.isRef
|
|
3999
4785
|
})].every((flag) => flag);
|
|
4000
|
-
const $
|
|
4786
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
4001
4787
|
path: _path2 + ".k",
|
|
4002
4788
|
expected: "string",
|
|
4003
4789
|
value: input3.k
|
|
@@ -4006,7 +4792,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4006
4792
|
expected: "(number | string)",
|
|
4007
4793
|
value: input3.v
|
|
4008
4794
|
})].every((flag) => flag);
|
|
4009
|
-
const $
|
|
4795
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
4010
4796
|
path: _path2 + ".id",
|
|
4011
4797
|
expected: "string",
|
|
4012
4798
|
value: input3.id
|
|
@@ -4022,8 +4808,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4022
4808
|
path: _path2 + ".child_types",
|
|
4023
4809
|
expected: "(Array<string> | undefined)",
|
|
4024
4810
|
value: input3.child_types
|
|
4025
|
-
})) && input3.child_types.map((elem,
|
|
4026
|
-
path: _path2 + ".child_types[" +
|
|
4811
|
+
})) && input3.child_types.map((elem, _index67) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4812
|
+
path: _path2 + ".child_types[" + _index67 + "]",
|
|
4027
4813
|
expected: "string",
|
|
4028
4814
|
value: elem
|
|
4029
4815
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4038,8 +4824,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4038
4824
|
path: _path2 + ".included_types",
|
|
4039
4825
|
expected: "(Array<string> | undefined)",
|
|
4040
4826
|
value: input3.included_types
|
|
4041
|
-
})) && input3.included_types.map((elem,
|
|
4042
|
-
path: _path2 + ".included_types[" +
|
|
4827
|
+
})) && input3.included_types.map((elem, _index68) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4828
|
+
path: _path2 + ".included_types[" + _index68 + "]",
|
|
4043
4829
|
expected: "string",
|
|
4044
4830
|
value: elem
|
|
4045
4831
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4054,7 +4840,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4054
4840
|
path: _path2 + ".values",
|
|
4055
4841
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
4056
4842
|
value: input3.values
|
|
4057
|
-
})) && $
|
|
4843
|
+
})) && $vo51(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
4058
4844
|
path: _path2 + ".values",
|
|
4059
4845
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
4060
4846
|
value: input3.values
|
|
@@ -4063,7 +4849,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4063
4849
|
expected: "(boolean | undefined)",
|
|
4064
4850
|
value: input3.skipValuesBuild
|
|
4065
4851
|
})].every((flag) => flag);
|
|
4066
|
-
const $
|
|
4852
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
4067
4853
|
const value = input3[key];
|
|
4068
4854
|
if (void 0 === value)
|
|
4069
4855
|
return true;
|
|
@@ -4072,7 +4858,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4072
4858
|
path: _path2 + $join(key),
|
|
4073
4859
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
4074
4860
|
value
|
|
4075
|
-
})) && $
|
|
4861
|
+
})) && $vo52(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
4076
4862
|
path: _path2 + $join(key),
|
|
4077
4863
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
4078
4864
|
value
|
|
@@ -4082,14 +4868,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4082
4868
|
path: _path2 + $join(key),
|
|
4083
4869
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
4084
4870
|
value
|
|
4085
|
-
})) && $
|
|
4871
|
+
})) && $vo52(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
4086
4872
|
path: _path2 + $join(key),
|
|
4087
4873
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
4088
4874
|
value
|
|
4089
4875
|
});
|
|
4090
4876
|
return true;
|
|
4091
4877
|
}).every((flag) => flag)].every((flag) => flag);
|
|
4092
|
-
const $
|
|
4878
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
4093
4879
|
path: _path2 + ".key",
|
|
4094
4880
|
expected: "(string | undefined)",
|
|
4095
4881
|
value: input3.key
|
|
@@ -4133,12 +4919,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4133
4919
|
path: _path2 + ".list",
|
|
4134
4920
|
expected: "Array<__type>.o3",
|
|
4135
4921
|
value: input3.list
|
|
4136
|
-
})) && input3.list.map((elem,
|
|
4137
|
-
path: _path2 + ".list[" +
|
|
4922
|
+
})) && input3.list.map((elem, _index69) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4923
|
+
path: _path2 + ".list[" + _index69 + "]",
|
|
4138
4924
|
expected: "__type.o6",
|
|
4139
4925
|
value: elem
|
|
4140
|
-
})) && $
|
|
4141
|
-
path: _path2 + ".list[" +
|
|
4926
|
+
})) && $vo53(elem, _path2 + ".list[" + _index69 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4927
|
+
path: _path2 + ".list[" + _index69 + "]",
|
|
4142
4928
|
expected: "__type.o6",
|
|
4143
4929
|
value: elem
|
|
4144
4930
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -4146,7 +4932,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4146
4932
|
expected: "Array<__type>.o3",
|
|
4147
4933
|
value: input3.list
|
|
4148
4934
|
}), true].every((flag) => flag);
|
|
4149
|
-
const $
|
|
4935
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
4150
4936
|
path: _path2 + ".sampleId",
|
|
4151
4937
|
expected: "string",
|
|
4152
4938
|
value: input3.sampleId
|
|
@@ -4159,16 +4945,22 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4159
4945
|
if ("gene" === input3.kind)
|
|
4160
4946
|
return $vo1(input3, _path2, _exceptionable2);
|
|
4161
4947
|
if ("coord" === input3.kind)
|
|
4162
|
-
return $vo35(input3, _path2, _exceptionable2);
|
|
4163
|
-
if ("categorical" === input3.type)
|
|
4164
|
-
return $vo36(input3, _path2, _exceptionable2);
|
|
4165
|
-
if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
|
|
4166
|
-
return $vo37(input3, _path2, _exceptionable2);
|
|
4167
|
-
if ("geneExpression" === input3.type)
|
|
4168
4948
|
return $vo38(input3, _path2, _exceptionable2);
|
|
4169
|
-
if ("
|
|
4949
|
+
if ("geneExpression" === input3.type)
|
|
4170
4950
|
return $vo39(input3, _path2, _exceptionable2);
|
|
4171
|
-
|
|
4951
|
+
if ("metaboliteIntensity" === input3.type)
|
|
4952
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
4953
|
+
if ("categorical" === input3.type)
|
|
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);
|
|
4961
|
+
if ("condition" === input3.type)
|
|
4962
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
4963
|
+
return $vo46(input3, _path2, false) || $vo50(input3, _path2, false);
|
|
4172
4964
|
})();
|
|
4173
4965
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4174
4966
|
if ("tvslst" === input3.type)
|
|
@@ -4201,9 +4993,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4201
4993
|
})();
|
|
4202
4994
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4203
4995
|
if ("gene" === input3.kind)
|
|
4204
|
-
return $
|
|
4996
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
4205
4997
|
if ("coord" === input3.kind)
|
|
4206
|
-
return $
|
|
4998
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
4207
4999
|
return $report(_exceptionable2, {
|
|
4208
5000
|
path: _path2,
|
|
4209
5001
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -4213,16 +5005,22 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4213
5005
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4214
5006
|
if (void 0 !== input3.ranges)
|
|
4215
5007
|
return $vo13(input3, _path2, _exceptionable2);
|
|
4216
|
-
return $vo6(input3, _path2, false) || $
|
|
5008
|
+
return $vo6(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
|
|
4217
5009
|
})();
|
|
4218
5010
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4219
|
-
if ("integer" === input3.type || "float" === input3.type
|
|
5011
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
4220
5012
|
return $vo14(input3, _path2, _exceptionable2);
|
|
4221
5013
|
if ("geneExpression" === input3.type)
|
|
4222
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);
|
|
4223
5021
|
return $report(_exceptionable2, {
|
|
4224
5022
|
path: _path2,
|
|
4225
|
-
expected: "(NumericDictTerm | GeneExpressionTerm)",
|
|
5023
|
+
expected: "(NumericDictTerm | GeneExpressionTerm | DateTerm | MetaboliteIntensityTerm | SsGSEATerm)",
|
|
4226
5024
|
value: input3
|
|
4227
5025
|
});
|
|
4228
5026
|
})();
|
|
@@ -4261,9 +5059,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
4261
5059
|
})();
|
|
4262
5060
|
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4263
5061
|
if ("gene" === input3.kind)
|
|
4264
|
-
return $vo30(input3, _path2, _exceptionable2);
|
|
4265
|
-
if ("coord" === input3.kind)
|
|
4266
5062
|
return $vo33(input3, _path2, _exceptionable2);
|
|
5063
|
+
if ("coord" === input3.kind)
|
|
5064
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
4267
5065
|
return $report(_exceptionable2, {
|
|
4268
5066
|
path: _path2,
|
|
4269
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; })',
|