@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 validCorrelationVolcanoRequest = (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 && $iu8(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 && $iu8(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"] && $iu9(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu9(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 && $iu5(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu6(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
@@ -61,19 +61,22 @@ var validCorrelationVolcanoRequest = (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.
|
|
75
|
-
const $io34 = (input3) =>
|
|
76
|
-
const $io35 = (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 && $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) && $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;
|
|
78
|
+
const $io37 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io38(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $io4(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io39(input3.q)) && "CatTWValues" === input3.type;
|
|
79
|
+
const $io38 = (input3) => Object.keys(input3).every((key) => {
|
|
77
80
|
const value = input3[key];
|
|
78
81
|
if (void 0 === value)
|
|
79
82
|
return true;
|
|
@@ -81,58 +84,44 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
81
84
|
return true;
|
|
82
85
|
return true;
|
|
83
86
|
});
|
|
84
|
-
const $
|
|
85
|
-
const $
|
|
86
|
-
const $
|
|
87
|
-
const $
|
|
88
|
-
const $
|
|
89
|
-
const $
|
|
90
|
-
const $
|
|
91
|
-
const $
|
|
92
|
-
const $
|
|
93
|
-
const $
|
|
94
|
-
const $
|
|
95
|
-
const $
|
|
96
|
-
const $
|
|
97
|
-
const $
|
|
98
|
-
const $
|
|
99
|
-
const $
|
|
100
|
-
const $
|
|
101
|
-
const $
|
|
102
|
-
const $
|
|
103
|
-
const $
|
|
104
|
-
const $
|
|
105
|
-
const $
|
|
106
|
-
const $
|
|
107
|
-
const $
|
|
108
|
-
const $
|
|
109
|
-
const $
|
|
110
|
-
const $
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
const $
|
|
121
|
-
const $
|
|
122
|
-
const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type);
|
|
123
|
-
const $io66 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && ("age" === input3.timeScale || "time" === input3.timeScale) && (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) && true;
|
|
124
|
-
const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type) && ("object" === typeof input3.groups && null !== input3.groups && false === Array.isArray(input3.groups) && $io68(input3.groups));
|
|
125
|
-
const $io68 = (input3) => Object.keys(input3).every((key) => {
|
|
126
|
-
const value = input3[key];
|
|
127
|
-
if (void 0 === value)
|
|
128
|
-
return true;
|
|
129
|
-
if (RegExp(/(.*)/).test(key))
|
|
130
|
-
return "object" === typeof value && null !== value && $io69(value);
|
|
131
|
-
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
132
|
-
return "object" === typeof value && null !== value && $io69(value);
|
|
133
|
-
return true;
|
|
134
|
-
});
|
|
135
|
-
const $io69 = (input3) => "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io64(elem))) && true;
|
|
87
|
+
const $io39 = (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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "values" === input3.type;
|
|
88
|
+
const $io40 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io38(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $io4(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io41(input3.q)) && "CatTWPredefinedGS" === input3.type;
|
|
89
|
+
const $io41 = (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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
|
|
90
|
+
const $io42 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io38(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $io4(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io43(input3.q)) && "CatTWCustomGS" === input3.type;
|
|
91
|
+
const $io43 = (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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io44(input3.customset));
|
|
92
|
+
const $io44 = (input3) => Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem));
|
|
93
|
+
const $io45 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io38(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "NumTWRegularBin" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io16(input3.q));
|
|
94
|
+
const $io46 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io38(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "NumTWCustomBin" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io21(input3.q));
|
|
95
|
+
const $io47 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io38(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "NumTWBinary" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io48(input3.q));
|
|
96
|
+
const $io48 = (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) && "binary" === input3.mode && "custom-bin" === input3.type && (Array.isArray(input3.lst) && (input3.lst.length === 2 && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu5(input3.lst[0])) && ("object" === typeof input3.lst[1] && null !== input3.lst[1] && $iu6(input3.lst[1]))));
|
|
97
|
+
const $io49 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io38(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "NumTWCont" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $io50(input3.q));
|
|
98
|
+
const $io50 = (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) && (void 0 === input3.mode || "continuous" === input3.mode) && (void 0 === input3.convert2ZScore || "boolean" === typeof input3.convert2ZScore) && (null !== input3.type && void 0 === input3.type);
|
|
99
|
+
const $io51 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io38(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "NumTWSpline" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io52(input3.q));
|
|
100
|
+
const $io52 = (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) && "spline" === input3.mode && (Array.isArray(input3.knots) && input3.knots.every((elem) => "object" === typeof elem && null !== elem && $io53(elem))) && (null !== input3.type && void 0 === input3.type);
|
|
101
|
+
const $io53 = (input3) => "number" === typeof input3.value;
|
|
102
|
+
const $io54 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io38(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "GvValuesTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu11(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io57(input3.q));
|
|
103
|
+
const $io55 = (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))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io31(elem)));
|
|
104
|
+
const $io56 = (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))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io31(elem)));
|
|
105
|
+
const $io57 = (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) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "values" === input3.type;
|
|
106
|
+
const $io58 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io38(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "GvPredefinedGsTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu11(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io59(input3.q));
|
|
107
|
+
const $io59 = (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) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
|
|
108
|
+
const $io60 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io38(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "GvCustomGsTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu11(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io61(input3.q));
|
|
109
|
+
const $io61 = (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) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io44(input3.customset));
|
|
110
|
+
const $io62 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io38(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "ConditionTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $io28(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io63(input3.q));
|
|
111
|
+
const $io63 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && ("age" === input3.timeScale || "time" === input3.timeScale) && (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) && true;
|
|
112
|
+
const $io64 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io38(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "SnpsTW" === input3.type && ("object" === typeof input3.q && null !== input3.q && $io65(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io67(input3.term));
|
|
113
|
+
const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type) && "number" === typeof input3.AFcutoff && "number" === typeof input3.alleleType && "string" === typeof input3.cacheid && true && "number" === typeof input3.geneticModel && true && (void 0 === input3.missingGenotype || "number" === typeof input3.missingGenotype) && "number" === typeof input3.numOfSampleWithAnyValidGT && ("object" === typeof input3.restrictAncestry && null !== input3.restrictAncestry && $io66(input3.restrictAncestry)) && true && true && ("object" === typeof input3.variant_filter && null !== input3.variant_filter && $io1(input3.variant_filter)) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
114
|
+
const $io66 = (input3) => "string" === typeof input3.name && ("object" === typeof input3.tvs && null !== input3.tvs && $iu7(input3.tvs));
|
|
115
|
+
const $io67 = (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) && (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 && $io68(elem)));
|
|
116
|
+
const $io68 = (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 && $io69(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io70(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);
|
|
117
|
+
const $io69 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
118
|
+
const $io70 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
119
|
+
const $io71 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io38(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "SnpTW" === input3.type && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu12(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io76(input3.term));
|
|
120
|
+
const $io72 = (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.mode || "discrete" === input3.mode || "binary" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type);
|
|
121
|
+
const $io73 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "filter" === input3.type);
|
|
122
|
+
const $io74 = (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.mode || "discrete" === input3.mode || "binary" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "predefined-groupset" === input3.type) && "number" === typeof input3.predefined_groupset_idx;
|
|
123
|
+
const $io75 = (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.mode || "discrete" === input3.mode || "binary" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "custom-groupset" === input3.type) && ("object" === typeof input3.customset && null !== input3.customset && $io44(input3.customset));
|
|
124
|
+
const $io76 = (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) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && "string" === typeof input3.ref && (Array.isArray(input3.alt) && input3.alt.every((elem) => "string" === typeof elem)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting));
|
|
136
125
|
const $iu0 = (input3) => (() => {
|
|
137
126
|
if ("tvslst" === input3.type)
|
|
138
127
|
return $io1(input3);
|
|
@@ -156,23 +145,41 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
156
145
|
})();
|
|
157
146
|
const $iu3 = (input3) => (() => {
|
|
158
147
|
if ("gene" === input3.kind)
|
|
159
|
-
return $
|
|
148
|
+
return $io33(input3);
|
|
160
149
|
if ("coord" === input3.kind)
|
|
161
|
-
return $
|
|
150
|
+
return $io34(input3);
|
|
162
151
|
return false;
|
|
163
152
|
})();
|
|
164
153
|
const $iu4 = (input3) => (() => {
|
|
165
|
-
if (
|
|
166
|
-
return $
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
return
|
|
175
|
-
|
|
154
|
+
if ("SnpTW" === input3.type)
|
|
155
|
+
return $io71(input3);
|
|
156
|
+
if ("SnpsTW" === input3.type)
|
|
157
|
+
return $io64(input3);
|
|
158
|
+
if ("ConditionTW" === input3.type)
|
|
159
|
+
return $io62(input3);
|
|
160
|
+
if ("GvCustomGsTW" === input3.type)
|
|
161
|
+
return $io60(input3);
|
|
162
|
+
if ("GvPredefinedGsTW" === input3.type)
|
|
163
|
+
return $io58(input3);
|
|
164
|
+
if ("GvValuesTW" === input3.type)
|
|
165
|
+
return $io54(input3);
|
|
166
|
+
if ("NumTWSpline" === input3.type)
|
|
167
|
+
return $io51(input3);
|
|
168
|
+
if ("NumTWCont" === input3.type)
|
|
169
|
+
return $io49(input3);
|
|
170
|
+
if ("NumTWBinary" === input3.type)
|
|
171
|
+
return $io47(input3);
|
|
172
|
+
if ("NumTWCustomBin" === input3.type)
|
|
173
|
+
return $io46(input3);
|
|
174
|
+
if ("NumTWRegularBin" === input3.type)
|
|
175
|
+
return $io45(input3);
|
|
176
|
+
if ("CatTWCustomGS" === input3.type)
|
|
177
|
+
return $io42(input3);
|
|
178
|
+
if ("CatTWPredefinedGS" === input3.type)
|
|
179
|
+
return $io40(input3);
|
|
180
|
+
if ("CatTWValues" === input3.type)
|
|
181
|
+
return $io37(input3);
|
|
182
|
+
return false;
|
|
176
183
|
})();
|
|
177
184
|
const $iu5 = (input3) => (() => {
|
|
178
185
|
if (true === input3.startunbounded)
|
|
@@ -194,18 +201,24 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
194
201
|
return (() => {
|
|
195
202
|
if ($io3(input3))
|
|
196
203
|
return $io3(input3);
|
|
197
|
-
if ($io24(input3))
|
|
198
|
-
return $io24(input3);
|
|
199
204
|
if ($io27(input3))
|
|
200
205
|
return $io27(input3);
|
|
206
|
+
if ($io30(input3))
|
|
207
|
+
return $io30(input3);
|
|
201
208
|
return false;
|
|
202
209
|
})();
|
|
203
210
|
})();
|
|
204
211
|
const $iu8 = (input3) => (() => {
|
|
205
|
-
if ("integer" === input3.type || "float" === input3.type
|
|
212
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
206
213
|
return $io13(input3);
|
|
207
214
|
if ("geneExpression" === input3.type)
|
|
208
215
|
return $io22(input3);
|
|
216
|
+
if ("date" === input3.type)
|
|
217
|
+
return $io24(input3);
|
|
218
|
+
if ("metaboliteIntensity" === input3.type)
|
|
219
|
+
return $io23(input3);
|
|
220
|
+
if ("ssGSEA" === input3.type)
|
|
221
|
+
return $io25(input3);
|
|
209
222
|
return false;
|
|
210
223
|
})();
|
|
211
224
|
const $iu9 = (input3) => (() => {
|
|
@@ -217,87 +230,29 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
217
230
|
})();
|
|
218
231
|
const $iu10 = (input3) => (() => {
|
|
219
232
|
if ("gene" === input3.kind)
|
|
220
|
-
return $io29(input3);
|
|
221
|
-
if ("coord" === input3.kind)
|
|
222
233
|
return $io32(input3);
|
|
234
|
+
if ("coord" === input3.kind)
|
|
235
|
+
return $io35(input3);
|
|
223
236
|
return false;
|
|
224
237
|
})();
|
|
225
238
|
const $iu11 = (input3) => (() => {
|
|
226
|
-
if ("values" === input3.type)
|
|
227
|
-
return $io36(input3);
|
|
228
|
-
if ("predefined-groupset" === input3.type)
|
|
229
|
-
return $io38(input3);
|
|
230
|
-
if ("custom-groupset" === input3.type)
|
|
231
|
-
return $io39(input3);
|
|
232
|
-
return $io37(input3);
|
|
233
|
-
})();
|
|
234
|
-
const $iu12 = (input3) => (() => {
|
|
235
|
-
if ("regular-bin" === input3.type)
|
|
236
|
-
return $io16(input3);
|
|
237
|
-
if ("spline" === input3.mode)
|
|
238
|
-
return $io44(input3);
|
|
239
|
-
return (() => {
|
|
240
|
-
if ($io21(input3))
|
|
241
|
-
return $io21(input3);
|
|
242
|
-
if ($io42(input3))
|
|
243
|
-
return $io42(input3);
|
|
244
|
-
if ($io43(input3))
|
|
245
|
-
return $io43(input3);
|
|
246
|
-
return false;
|
|
247
|
-
})();
|
|
248
|
-
})();
|
|
249
|
-
const $iu13 = (input3) => (() => {
|
|
250
239
|
if ("gene" === input3.kind)
|
|
251
|
-
return $io54(input3);
|
|
252
|
-
if ("coord" === input3.kind)
|
|
253
240
|
return $io55(input3);
|
|
254
|
-
if ("
|
|
241
|
+
if ("coord" === input3.kind)
|
|
255
242
|
return $io56(input3);
|
|
256
|
-
|
|
257
|
-
return $io57(input3);
|
|
258
|
-
if ("geneExpression" === input3.type)
|
|
259
|
-
return $io58(input3);
|
|
260
|
-
if ("condition" === input3.type)
|
|
261
|
-
return $io59(input3);
|
|
262
|
-
return (() => {
|
|
263
|
-
if ($io60(input3))
|
|
264
|
-
return $io60(input3);
|
|
265
|
-
if ($io61(input3))
|
|
266
|
-
return $io61(input3);
|
|
267
|
-
return false;
|
|
268
|
-
})();
|
|
243
|
+
return false;
|
|
269
244
|
})();
|
|
270
|
-
const $
|
|
245
|
+
const $iu12 = (input3) => (() => {
|
|
271
246
|
if (void 0 !== input3.predefined_groupset_idx)
|
|
272
|
-
return $
|
|
247
|
+
return $io74(input3);
|
|
273
248
|
if (void 0 !== input3.customset)
|
|
274
|
-
return $
|
|
275
|
-
if (void 0 !== input3.bin_size)
|
|
276
|
-
return $io16(input3);
|
|
277
|
-
if (void 0 !== input3.knots)
|
|
278
|
-
return $io44(input3);
|
|
279
|
-
if (void 0 !== input3.AFcutoff)
|
|
280
|
-
return $io47(input3);
|
|
281
|
-
if (void 0 !== input3.timeScale)
|
|
282
|
-
return $io66(input3);
|
|
249
|
+
return $io75(input3);
|
|
283
250
|
return (() => {
|
|
284
|
-
if (
|
|
285
|
-
return $
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
if ($io65(input3))
|
|
290
|
-
return $io65(input3);
|
|
291
|
-
if ($io36(input3))
|
|
292
|
-
return $io36(input3);
|
|
293
|
-
if ($io21(input3))
|
|
294
|
-
return $io21(input3);
|
|
295
|
-
if ($io42(input3))
|
|
296
|
-
return $io42(input3);
|
|
297
|
-
if ($io43(input3))
|
|
298
|
-
return $io43(input3);
|
|
299
|
-
return false;
|
|
300
|
-
})();
|
|
251
|
+
if ($io73(input3))
|
|
252
|
+
return $io73(input3);
|
|
253
|
+
if ($io72(input3))
|
|
254
|
+
return $io72(input3);
|
|
255
|
+
return false;
|
|
301
256
|
})();
|
|
302
257
|
})();
|
|
303
258
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -324,11 +279,11 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
324
279
|
value: input3.filter
|
|
325
280
|
}), true, ("object" === typeof input3.featureTw && null !== input3.featureTw || $report(_exceptionable2, {
|
|
326
281
|
path: _path2 + ".featureTw",
|
|
327
|
-
expected: "(
|
|
282
|
+
expected: "(CatTWCustomGS | CatTWPredefinedGS | CatTWValues | ConditionTW | GvCustomGsTW | GvPredefinedGsTW | GvValuesTW | NumTWBinary | NumTWCont | NumTWCustomBin | NumTWRegularBin | NumTWSpline | SnpTW | SnpsTW)",
|
|
328
283
|
value: input3.featureTw
|
|
329
284
|
})) && $vu4(input3.featureTw, _path2 + ".featureTw", _exceptionable2) || $report(_exceptionable2, {
|
|
330
285
|
path: _path2 + ".featureTw",
|
|
331
|
-
expected: "(
|
|
286
|
+
expected: "(CatTWCustomGS | CatTWPredefinedGS | CatTWValues | ConditionTW | GvCustomGsTW | GvPredefinedGsTW | GvValuesTW | NumTWBinary | NumTWCont | NumTWCustomBin | NumTWRegularBin | NumTWSpline | SnpTW | SnpsTW)",
|
|
332
287
|
value: input3.featureTw
|
|
333
288
|
}), (Array.isArray(input3.variableTwLst) || $report(_exceptionable2, {
|
|
334
289
|
path: _path2 + ".variableTwLst",
|
|
@@ -336,11 +291,11 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
336
291
|
value: input3.variableTwLst
|
|
337
292
|
})) && input3.variableTwLst.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
338
293
|
path: _path2 + ".variableTwLst[" + _index1 + "]",
|
|
339
|
-
expected: "(
|
|
294
|
+
expected: "(CatTWCustomGS | CatTWPredefinedGS | CatTWValues | ConditionTW | GvCustomGsTW | GvPredefinedGsTW | GvValuesTW | NumTWBinary | NumTWCont | NumTWCustomBin | NumTWRegularBin | NumTWSpline | SnpTW | SnpsTW)",
|
|
340
295
|
value: elem
|
|
341
296
|
})) && $vu4(elem, _path2 + ".variableTwLst[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
342
297
|
path: _path2 + ".variableTwLst[" + _index1 + "]",
|
|
343
|
-
expected: "(
|
|
298
|
+
expected: "(CatTWCustomGS | CatTWPredefinedGS | CatTWValues | ConditionTW | GvCustomGsTW | GvPredefinedGsTW | GvValuesTW | NumTWBinary | NumTWCont | NumTWCustomBin | NumTWRegularBin | NumTWSpline | SnpTW | SnpsTW)",
|
|
344
299
|
value: elem
|
|
345
300
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
346
301
|
path: _path2 + ".variableTwLst",
|
|
@@ -681,11 +636,11 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
681
636
|
value: input3.isnot
|
|
682
637
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
683
638
|
path: _path2 + ".term",
|
|
684
|
-
expected: "(GeneExpressionTerm | NumericDictTerm)",
|
|
639
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
685
640
|
value: input3.term
|
|
686
641
|
})) && $vu8(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
687
642
|
path: _path2 + ".term",
|
|
688
|
-
expected: "(GeneExpressionTerm | NumericDictTerm)",
|
|
643
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
689
644
|
value: input3.term
|
|
690
645
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
691
646
|
path: _path2 + ".ranges",
|
|
@@ -711,7 +666,7 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
711
666
|
path: _path2 + ".values[" + _index10 + "]",
|
|
712
667
|
expected: "__type.o3",
|
|
713
668
|
value: elem
|
|
714
|
-
})) && $
|
|
669
|
+
})) && $vo26(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
715
670
|
path: _path2 + ".values[" + _index10 + "]",
|
|
716
671
|
expected: "__type.o3",
|
|
717
672
|
value: elem
|
|
@@ -728,9 +683,9 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
728
683
|
path: _path2 + ".name",
|
|
729
684
|
expected: "string",
|
|
730
685
|
value: input3.name
|
|
731
|
-
}), "integer" === input3.type || "float" === input3.type ||
|
|
686
|
+
}), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
|
|
732
687
|
path: _path2 + ".type",
|
|
733
|
-
expected: '("
|
|
688
|
+
expected: '("float" | "integer")',
|
|
734
689
|
value: input3.type
|
|
735
690
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
736
691
|
path: _path2 + ".child_types",
|
|
@@ -1147,69 +1102,7 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
1147
1102
|
expected: "(number | undefined)",
|
|
1148
1103
|
value: input3.stop
|
|
1149
1104
|
})].every((flag) => flag);
|
|
1150
|
-
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.
|
|
1151
|
-
path: _path2 + ".key",
|
|
1152
|
-
expected: "string",
|
|
1153
|
-
value: input3.key
|
|
1154
|
-
}), "number" === typeof input3.value || $report(_exceptionable2, {
|
|
1155
|
-
path: _path2 + ".value",
|
|
1156
|
-
expected: "number",
|
|
1157
|
-
value: input3.value
|
|
1158
|
-
}), true === input3.uncomputable || $report(_exceptionable2, {
|
|
1159
|
-
path: _path2 + ".uncomputable",
|
|
1160
|
-
expected: "true",
|
|
1161
|
-
value: input3.uncomputable
|
|
1162
|
-
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1163
|
-
path: _path2 + ".label",
|
|
1164
|
-
expected: "(string | undefined)",
|
|
1165
|
-
value: input3.label
|
|
1166
|
-
})].every((flag) => flag);
|
|
1167
|
-
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1168
|
-
path: _path2 + ".join",
|
|
1169
|
-
expected: "(string | undefined)",
|
|
1170
|
-
value: input3.join
|
|
1171
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1172
|
-
path: _path2 + ".isnot",
|
|
1173
|
-
expected: "(boolean | undefined)",
|
|
1174
|
-
value: input3.isnot
|
|
1175
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1176
|
-
path: _path2 + ".term",
|
|
1177
|
-
expected: "ConditionTerm",
|
|
1178
|
-
value: input3.term
|
|
1179
|
-
})) && $vo25(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1180
|
-
path: _path2 + ".term",
|
|
1181
|
-
expected: "ConditionTerm",
|
|
1182
|
-
value: input3.term
|
|
1183
|
-
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
1184
|
-
path: _path2 + ".value_by_max_grade",
|
|
1185
|
-
expected: "(boolean | undefined)",
|
|
1186
|
-
value: input3.value_by_max_grade
|
|
1187
|
-
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
1188
|
-
path: _path2 + ".value_by_most_recent",
|
|
1189
|
-
expected: "(boolean | undefined)",
|
|
1190
|
-
value: input3.value_by_most_recent
|
|
1191
|
-
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
1192
|
-
path: _path2 + ".value_by_computable_grade",
|
|
1193
|
-
expected: "(boolean | undefined)",
|
|
1194
|
-
value: input3.value_by_computable_grade
|
|
1195
|
-
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
1196
|
-
path: _path2 + ".grade_and_child",
|
|
1197
|
-
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1198
|
-
value: input3.grade_and_child
|
|
1199
|
-
})) && input3.grade_and_child.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1200
|
-
path: _path2 + ".grade_and_child[" + _index16 + "]",
|
|
1201
|
-
expected: "GradeAndChildEntry",
|
|
1202
|
-
value: elem
|
|
1203
|
-
})) && $vo26(elem, _path2 + ".grade_and_child[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1204
|
-
path: _path2 + ".grade_and_child[" + _index16 + "]",
|
|
1205
|
-
expected: "GradeAndChildEntry",
|
|
1206
|
-
value: elem
|
|
1207
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1208
|
-
path: _path2 + ".grade_and_child",
|
|
1209
|
-
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1210
|
-
value: input3.grade_and_child
|
|
1211
|
-
})].every((flag) => flag);
|
|
1212
|
-
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1105
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1213
1106
|
path: _path2 + ".id",
|
|
1214
1107
|
expected: "string",
|
|
1215
1108
|
value: input3.id
|
|
@@ -1217,16 +1110,16 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
1217
1110
|
path: _path2 + ".name",
|
|
1218
1111
|
expected: "string",
|
|
1219
1112
|
value: input3.name
|
|
1220
|
-
}), "
|
|
1113
|
+
}), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
1221
1114
|
path: _path2 + ".type",
|
|
1222
|
-
expected: '"
|
|
1115
|
+
expected: '"metaboliteIntensity"',
|
|
1223
1116
|
value: input3.type
|
|
1224
1117
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1225
1118
|
path: _path2 + ".child_types",
|
|
1226
1119
|
expected: "(Array<string> | undefined)",
|
|
1227
1120
|
value: input3.child_types
|
|
1228
|
-
})) && input3.child_types.map((elem,
|
|
1229
|
-
path: _path2 + ".child_types[" +
|
|
1121
|
+
})) && input3.child_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1122
|
+
path: _path2 + ".child_types[" + _index16 + "]",
|
|
1230
1123
|
expected: "string",
|
|
1231
1124
|
value: elem
|
|
1232
1125
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1241,8 +1134,8 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
1241
1134
|
path: _path2 + ".included_types",
|
|
1242
1135
|
expected: "(Array<string> | undefined)",
|
|
1243
1136
|
value: input3.included_types
|
|
1244
|
-
})) && input3.included_types.map((elem,
|
|
1245
|
-
path: _path2 + ".included_types[" +
|
|
1137
|
+
})) && input3.included_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1138
|
+
path: _path2 + ".included_types[" + _index17 + "]",
|
|
1246
1139
|
expected: "string",
|
|
1247
1140
|
value: elem
|
|
1248
1141
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1265,115 +1158,32 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
1265
1158
|
path: _path2 + ".skipValuesBuild",
|
|
1266
1159
|
expected: "(boolean | undefined)",
|
|
1267
1160
|
value: input3.skipValuesBuild
|
|
1268
|
-
})
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
path: _path2 + ".child_id",
|
|
1279
|
-
expected: "(string | undefined)",
|
|
1280
|
-
value: input3.child_id
|
|
1281
|
-
}), "string" === typeof input3.child_label || $report(_exceptionable2, {
|
|
1282
|
-
path: _path2 + ".child_label",
|
|
1283
|
-
expected: "string",
|
|
1284
|
-
value: input3.child_label
|
|
1285
|
-
})].every((flag) => flag);
|
|
1286
|
-
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1287
|
-
path: _path2 + ".join",
|
|
1161
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1162
|
+
path: _path2 + ".continuousColorScale",
|
|
1163
|
+
expected: "(__type.o2 | undefined)",
|
|
1164
|
+
value: input3.continuousColorScale
|
|
1165
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1166
|
+
path: _path2 + ".continuousColorScale",
|
|
1167
|
+
expected: "(__type.o2 | undefined)",
|
|
1168
|
+
value: input3.continuousColorScale
|
|
1169
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1170
|
+
path: _path2 + ".unit",
|
|
1288
1171
|
expected: "(string | undefined)",
|
|
1289
|
-
value: input3.
|
|
1290
|
-
}),
|
|
1291
|
-
path: _path2 + ".
|
|
1292
|
-
expected: "(boolean | undefined)",
|
|
1293
|
-
value: input3.isnot
|
|
1294
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1295
|
-
path: _path2 + ".term",
|
|
1296
|
-
expected: "DtTerm",
|
|
1297
|
-
value: input3.term
|
|
1298
|
-
})) && $vo28(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1299
|
-
path: _path2 + ".term",
|
|
1300
|
-
expected: "DtTerm",
|
|
1301
|
-
value: input3.term
|
|
1302
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1303
|
-
path: _path2 + ".values",
|
|
1304
|
-
expected: "Array<__type>.o2",
|
|
1305
|
-
value: input3.values
|
|
1306
|
-
})) && input3.values.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1307
|
-
path: _path2 + ".values[" + _index19 + "]",
|
|
1308
|
-
expected: "__type.o4",
|
|
1309
|
-
value: elem
|
|
1310
|
-
})) && $vo33(elem, _path2 + ".values[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1311
|
-
path: _path2 + ".values[" + _index19 + "]",
|
|
1312
|
-
expected: "__type.o4",
|
|
1313
|
-
value: elem
|
|
1314
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1315
|
-
path: _path2 + ".values",
|
|
1316
|
-
expected: "Array<__type>.o2",
|
|
1317
|
-
value: input3.values
|
|
1318
|
-
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
1319
|
-
path: _path2 + ".includeNotTested",
|
|
1320
|
-
expected: "(boolean | undefined)",
|
|
1321
|
-
value: input3.includeNotTested
|
|
1322
|
-
}), void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName || $report(_exceptionable2, {
|
|
1323
|
-
path: _path2 + ".excludeGeneName",
|
|
1324
|
-
expected: "(boolean | undefined)",
|
|
1325
|
-
value: input3.excludeGeneName
|
|
1326
|
-
})].every((flag) => flag);
|
|
1327
|
-
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1328
|
-
path: _path2 + ".id",
|
|
1329
|
-
expected: "string",
|
|
1330
|
-
value: input3.id
|
|
1331
|
-
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
1332
|
-
path: _path2 + ".query",
|
|
1333
|
-
expected: "string",
|
|
1334
|
-
value: input3.query
|
|
1335
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1336
|
-
path: _path2 + ".name",
|
|
1337
|
-
expected: "string",
|
|
1338
|
-
value: input3.name
|
|
1339
|
-
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
1340
|
-
path: _path2 + ".name_noOrigin",
|
|
1341
|
-
expected: "string",
|
|
1342
|
-
value: input3.name_noOrigin
|
|
1343
|
-
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1344
|
-
path: _path2 + ".parentTerm",
|
|
1345
|
-
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)',
|
|
1346
|
-
value: input3.parentTerm
|
|
1347
|
-
})) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1348
|
-
path: _path2 + ".parentTerm",
|
|
1349
|
-
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)',
|
|
1350
|
-
value: input3.parentTerm
|
|
1351
|
-
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1352
|
-
path: _path2 + ".isleaf",
|
|
1353
|
-
expected: "boolean",
|
|
1354
|
-
value: input3.isleaf
|
|
1355
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1356
|
-
path: _path2 + ".type",
|
|
1172
|
+
value: input3.unit
|
|
1173
|
+
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1174
|
+
path: _path2 + ".metabolite",
|
|
1357
1175
|
expected: "string",
|
|
1358
|
-
value: input3.
|
|
1359
|
-
}), "
|
|
1360
|
-
path: _path2 + ".
|
|
1361
|
-
expected: "
|
|
1362
|
-
value: input3.
|
|
1363
|
-
})
|
|
1364
|
-
path: _path2 + ".
|
|
1365
|
-
expected: "(
|
|
1366
|
-
value: input3.
|
|
1367
|
-
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1368
|
-
path: _path2 + ".values",
|
|
1369
|
-
expected: "TermValues",
|
|
1370
|
-
value: input3.values
|
|
1371
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1372
|
-
path: _path2 + ".values",
|
|
1373
|
-
expected: "TermValues",
|
|
1374
|
-
value: input3.values
|
|
1176
|
+
value: input3.metabolite
|
|
1177
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1178
|
+
path: _path2 + ".bins",
|
|
1179
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1180
|
+
value: input3.bins
|
|
1181
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1182
|
+
path: _path2 + ".bins",
|
|
1183
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1184
|
+
value: input3.bins
|
|
1375
1185
|
})].every((flag) => flag);
|
|
1376
|
-
const $
|
|
1186
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1377
1187
|
path: _path2 + ".id",
|
|
1378
1188
|
expected: "string",
|
|
1379
1189
|
value: input3.id
|
|
@@ -1381,16 +1191,16 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
1381
1191
|
path: _path2 + ".name",
|
|
1382
1192
|
expected: "string",
|
|
1383
1193
|
value: input3.name
|
|
1384
|
-
}), "
|
|
1194
|
+
}), "date" === input3.type || $report(_exceptionable2, {
|
|
1385
1195
|
path: _path2 + ".type",
|
|
1386
|
-
expected: '"
|
|
1196
|
+
expected: '"date"',
|
|
1387
1197
|
value: input3.type
|
|
1388
1198
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1389
1199
|
path: _path2 + ".child_types",
|
|
1390
1200
|
expected: "(Array<string> | undefined)",
|
|
1391
1201
|
value: input3.child_types
|
|
1392
|
-
})) && input3.child_types.map((elem,
|
|
1393
|
-
path: _path2 + ".child_types[" +
|
|
1202
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1203
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
1394
1204
|
expected: "string",
|
|
1395
1205
|
value: elem
|
|
1396
1206
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1405,8 +1215,8 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
1405
1215
|
path: _path2 + ".included_types",
|
|
1406
1216
|
expected: "(Array<string> | undefined)",
|
|
1407
1217
|
value: input3.included_types
|
|
1408
|
-
})) && input3.included_types.map((elem,
|
|
1409
|
-
path: _path2 + ".included_types[" +
|
|
1218
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1219
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1410
1220
|
expected: "string",
|
|
1411
1221
|
value: elem
|
|
1412
1222
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1429,68 +1239,32 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
1429
1239
|
path: _path2 + ".skipValuesBuild",
|
|
1430
1240
|
expected: "(boolean | undefined)",
|
|
1431
1241
|
value: input3.skipValuesBuild
|
|
1432
|
-
}), "
|
|
1433
|
-
path: _path2 + ".
|
|
1434
|
-
expected:
|
|
1435
|
-
value: input3.
|
|
1436
|
-
}), "
|
|
1437
|
-
path: _path2 + ".
|
|
1438
|
-
expected: "
|
|
1439
|
-
value: input3.
|
|
1440
|
-
}), void 0 === input3.
|
|
1441
|
-
path: _path2 + ".
|
|
1242
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1243
|
+
path: _path2 + ".continuousColorScale",
|
|
1244
|
+
expected: "(__type.o2 | undefined)",
|
|
1245
|
+
value: input3.continuousColorScale
|
|
1246
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1247
|
+
path: _path2 + ".continuousColorScale",
|
|
1248
|
+
expected: "(__type.o2 | undefined)",
|
|
1249
|
+
value: input3.continuousColorScale
|
|
1250
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1251
|
+
path: _path2 + ".unit",
|
|
1442
1252
|
expected: "(string | undefined)",
|
|
1443
|
-
value: input3.
|
|
1444
|
-
}),
|
|
1445
|
-
path: _path2 + ".
|
|
1446
|
-
expected: "
|
|
1447
|
-
value: input3.
|
|
1448
|
-
}), void 0 === input3.
|
|
1449
|
-
path: _path2 + ".
|
|
1450
|
-
expected: "(
|
|
1451
|
-
value: input3.
|
|
1452
|
-
})
|
|
1453
|
-
path: _path2 + ".
|
|
1454
|
-
expected: "
|
|
1455
|
-
value: input3.
|
|
1456
|
-
})) && input3.genes.map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1457
|
-
path: _path2 + ".genes[" + _index22 + "]",
|
|
1458
|
-
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1459
|
-
value: elem
|
|
1460
|
-
})) && $vu3(elem, _path2 + ".genes[" + _index22 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1461
|
-
path: _path2 + ".genes[" + _index22 + "]",
|
|
1462
|
-
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1463
|
-
value: elem
|
|
1464
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1465
|
-
path: _path2 + ".genes",
|
|
1466
|
-
expected: "Array<GvGeneTerm>",
|
|
1467
|
-
value: input3.genes
|
|
1468
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1469
|
-
path: _path2 + ".groupsetting",
|
|
1470
|
-
expected: "(TermGroupSetting | undefined)",
|
|
1471
|
-
value: input3.groupsetting
|
|
1472
|
-
})) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1473
|
-
path: _path2 + ".groupsetting",
|
|
1474
|
-
expected: "(TermGroupSetting | undefined)",
|
|
1475
|
-
value: input3.groupsetting
|
|
1476
|
-
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1477
|
-
path: _path2 + ".childTerms",
|
|
1478
|
-
expected: "(Array<DtTerm> | undefined)",
|
|
1479
|
-
value: input3.childTerms
|
|
1480
|
-
})) && input3.childTerms.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1481
|
-
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
1482
|
-
expected: "DtTerm",
|
|
1483
|
-
value: elem
|
|
1484
|
-
})) && $vo28(elem, _path2 + ".childTerms[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1485
|
-
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
1486
|
-
expected: "DtTerm",
|
|
1487
|
-
value: elem
|
|
1488
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1489
|
-
path: _path2 + ".childTerms",
|
|
1490
|
-
expected: "(Array<DtTerm> | undefined)",
|
|
1491
|
-
value: input3.childTerms
|
|
1253
|
+
value: input3.unit
|
|
1254
|
+
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1255
|
+
path: _path2 + ".metabolite",
|
|
1256
|
+
expected: "string",
|
|
1257
|
+
value: input3.metabolite
|
|
1258
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1259
|
+
path: _path2 + ".bins",
|
|
1260
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1261
|
+
value: input3.bins
|
|
1262
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1263
|
+
path: _path2 + ".bins",
|
|
1264
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1265
|
+
value: input3.bins
|
|
1492
1266
|
})].every((flag) => flag);
|
|
1493
|
-
const $
|
|
1267
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1494
1268
|
path: _path2 + ".id",
|
|
1495
1269
|
expected: "string",
|
|
1496
1270
|
value: input3.id
|
|
@@ -1498,16 +1272,16 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
1498
1272
|
path: _path2 + ".name",
|
|
1499
1273
|
expected: "string",
|
|
1500
1274
|
value: input3.name
|
|
1501
|
-
}), "
|
|
1275
|
+
}), "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
1502
1276
|
path: _path2 + ".type",
|
|
1503
|
-
expected: "
|
|
1277
|
+
expected: '"ssGSEA"',
|
|
1504
1278
|
value: input3.type
|
|
1505
1279
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1506
1280
|
path: _path2 + ".child_types",
|
|
1507
1281
|
expected: "(Array<string> | undefined)",
|
|
1508
1282
|
value: input3.child_types
|
|
1509
|
-
})) && input3.child_types.map((elem,
|
|
1510
|
-
path: _path2 + ".child_types[" +
|
|
1283
|
+
})) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1284
|
+
path: _path2 + ".child_types[" + _index20 + "]",
|
|
1511
1285
|
expected: "string",
|
|
1512
1286
|
value: elem
|
|
1513
1287
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1522,8 +1296,8 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
1522
1296
|
path: _path2 + ".included_types",
|
|
1523
1297
|
expected: "(Array<string> | undefined)",
|
|
1524
1298
|
value: input3.included_types
|
|
1525
|
-
})) && input3.included_types.map((elem,
|
|
1526
|
-
path: _path2 + ".included_types[" +
|
|
1299
|
+
})) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1300
|
+
path: _path2 + ".included_types[" + _index21 + "]",
|
|
1527
1301
|
expected: "string",
|
|
1528
1302
|
value: elem
|
|
1529
1303
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1546,28 +1320,102 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
1546
1320
|
path: _path2 + ".skipValuesBuild",
|
|
1547
1321
|
expected: "(boolean | undefined)",
|
|
1548
1322
|
value: input3.skipValuesBuild
|
|
1549
|
-
}), "
|
|
1550
|
-
path: _path2 + ".
|
|
1551
|
-
expected:
|
|
1552
|
-
value: input3.
|
|
1553
|
-
}), "
|
|
1554
|
-
path: _path2 + ".
|
|
1323
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1324
|
+
path: _path2 + ".continuousColorScale",
|
|
1325
|
+
expected: "(__type.o2 | undefined)",
|
|
1326
|
+
value: input3.continuousColorScale
|
|
1327
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1328
|
+
path: _path2 + ".continuousColorScale",
|
|
1329
|
+
expected: "(__type.o2 | undefined)",
|
|
1330
|
+
value: input3.continuousColorScale
|
|
1331
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1332
|
+
path: _path2 + ".unit",
|
|
1333
|
+
expected: "(string | undefined)",
|
|
1334
|
+
value: input3.unit
|
|
1335
|
+
}), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1336
|
+
path: _path2 + ".genes",
|
|
1337
|
+
expected: "(Array<string> | undefined)",
|
|
1338
|
+
value: input3.genes
|
|
1339
|
+
})) && input3.genes.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1340
|
+
path: _path2 + ".genes[" + _index22 + "]",
|
|
1555
1341
|
expected: "string",
|
|
1556
|
-
value:
|
|
1557
|
-
})
|
|
1558
|
-
path: _path2 + ".
|
|
1342
|
+
value: elem
|
|
1343
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1344
|
+
path: _path2 + ".genes",
|
|
1345
|
+
expected: "(Array<string> | undefined)",
|
|
1346
|
+
value: input3.genes
|
|
1347
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1348
|
+
path: _path2 + ".bins",
|
|
1349
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1350
|
+
value: input3.bins
|
|
1351
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1352
|
+
path: _path2 + ".bins",
|
|
1353
|
+
expected: "(PresetNumericBins | undefined)",
|
|
1354
|
+
value: input3.bins
|
|
1355
|
+
})].every((flag) => flag);
|
|
1356
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1357
|
+
path: _path2 + ".key",
|
|
1358
|
+
expected: "string",
|
|
1359
|
+
value: input3.key
|
|
1360
|
+
}), "number" === typeof input3.value || $report(_exceptionable2, {
|
|
1361
|
+
path: _path2 + ".value",
|
|
1362
|
+
expected: "number",
|
|
1363
|
+
value: input3.value
|
|
1364
|
+
}), true === input3.uncomputable || $report(_exceptionable2, {
|
|
1365
|
+
path: _path2 + ".uncomputable",
|
|
1366
|
+
expected: "true",
|
|
1367
|
+
value: input3.uncomputable
|
|
1368
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1369
|
+
path: _path2 + ".label",
|
|
1559
1370
|
expected: "(string | undefined)",
|
|
1560
|
-
value: input3.
|
|
1561
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1562
|
-
path: _path2 + ".start",
|
|
1563
|
-
expected: "(number | undefined)",
|
|
1564
|
-
value: input3.start
|
|
1565
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1566
|
-
path: _path2 + ".stop",
|
|
1567
|
-
expected: "(number | undefined)",
|
|
1568
|
-
value: input3.stop
|
|
1371
|
+
value: input3.label
|
|
1569
1372
|
})].every((flag) => flag);
|
|
1570
|
-
const $
|
|
1373
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1374
|
+
path: _path2 + ".join",
|
|
1375
|
+
expected: "(string | undefined)",
|
|
1376
|
+
value: input3.join
|
|
1377
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1378
|
+
path: _path2 + ".isnot",
|
|
1379
|
+
expected: "(boolean | undefined)",
|
|
1380
|
+
value: input3.isnot
|
|
1381
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1382
|
+
path: _path2 + ".term",
|
|
1383
|
+
expected: "ConditionTerm",
|
|
1384
|
+
value: input3.term
|
|
1385
|
+
})) && $vo28(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1386
|
+
path: _path2 + ".term",
|
|
1387
|
+
expected: "ConditionTerm",
|
|
1388
|
+
value: input3.term
|
|
1389
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
1390
|
+
path: _path2 + ".value_by_max_grade",
|
|
1391
|
+
expected: "(boolean | undefined)",
|
|
1392
|
+
value: input3.value_by_max_grade
|
|
1393
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
1394
|
+
path: _path2 + ".value_by_most_recent",
|
|
1395
|
+
expected: "(boolean | undefined)",
|
|
1396
|
+
value: input3.value_by_most_recent
|
|
1397
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
1398
|
+
path: _path2 + ".value_by_computable_grade",
|
|
1399
|
+
expected: "(boolean | undefined)",
|
|
1400
|
+
value: input3.value_by_computable_grade
|
|
1401
|
+
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
1402
|
+
path: _path2 + ".grade_and_child",
|
|
1403
|
+
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1404
|
+
value: input3.grade_and_child
|
|
1405
|
+
})) && input3.grade_and_child.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1406
|
+
path: _path2 + ".grade_and_child[" + _index23 + "]",
|
|
1407
|
+
expected: "GradeAndChildEntry",
|
|
1408
|
+
value: elem
|
|
1409
|
+
})) && $vo29(elem, _path2 + ".grade_and_child[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1410
|
+
path: _path2 + ".grade_and_child[" + _index23 + "]",
|
|
1411
|
+
expected: "GradeAndChildEntry",
|
|
1412
|
+
value: elem
|
|
1413
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1414
|
+
path: _path2 + ".grade_and_child",
|
|
1415
|
+
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1416
|
+
value: input3.grade_and_child
|
|
1417
|
+
})].every((flag) => flag);
|
|
1418
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1571
1419
|
path: _path2 + ".id",
|
|
1572
1420
|
expected: "string",
|
|
1573
1421
|
value: input3.id
|
|
@@ -1575,16 +1423,16 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
1575
1423
|
path: _path2 + ".name",
|
|
1576
1424
|
expected: "string",
|
|
1577
1425
|
value: input3.name
|
|
1578
|
-
}), "
|
|
1426
|
+
}), "condition" === input3.type || $report(_exceptionable2, {
|
|
1579
1427
|
path: _path2 + ".type",
|
|
1580
|
-
expected: "
|
|
1428
|
+
expected: '"condition"',
|
|
1581
1429
|
value: input3.type
|
|
1582
1430
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1583
1431
|
path: _path2 + ".child_types",
|
|
1584
1432
|
expected: "(Array<string> | undefined)",
|
|
1585
1433
|
value: input3.child_types
|
|
1586
|
-
})) && input3.child_types.map((elem,
|
|
1587
|
-
path: _path2 + ".child_types[" +
|
|
1434
|
+
})) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1435
|
+
path: _path2 + ".child_types[" + _index24 + "]",
|
|
1588
1436
|
expected: "string",
|
|
1589
1437
|
value: elem
|
|
1590
1438
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1599,8 +1447,8 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
1599
1447
|
path: _path2 + ".included_types",
|
|
1600
1448
|
expected: "(Array<string> | undefined)",
|
|
1601
1449
|
value: input3.included_types
|
|
1602
|
-
})) && input3.included_types.map((elem,
|
|
1603
|
-
path: _path2 + ".included_types[" +
|
|
1450
|
+
})) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1451
|
+
path: _path2 + ".included_types[" + _index25 + "]",
|
|
1604
1452
|
expected: "string",
|
|
1605
1453
|
value: elem
|
|
1606
1454
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1623,47 +1471,138 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
1623
1471
|
path: _path2 + ".skipValuesBuild",
|
|
1624
1472
|
expected: "(boolean | undefined)",
|
|
1625
1473
|
value: input3.skipValuesBuild
|
|
1626
|
-
})
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
value: input3.kind
|
|
1630
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1631
|
-
path: _path2 + ".chr",
|
|
1632
|
-
expected: "string",
|
|
1633
|
-
value: input3.chr
|
|
1634
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1635
|
-
path: _path2 + ".start",
|
|
1636
|
-
expected: "number",
|
|
1637
|
-
value: input3.start
|
|
1638
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1639
|
-
path: _path2 + ".stop",
|
|
1474
|
+
})].every((flag) => flag);
|
|
1475
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1476
|
+
path: _path2 + ".grade",
|
|
1640
1477
|
expected: "number",
|
|
1641
|
-
value: input3.
|
|
1478
|
+
value: input3.grade
|
|
1479
|
+
}), "string" === typeof input3.grade_label || $report(_exceptionable2, {
|
|
1480
|
+
path: _path2 + ".grade_label",
|
|
1481
|
+
expected: "string",
|
|
1482
|
+
value: input3.grade_label
|
|
1483
|
+
}), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
|
|
1484
|
+
path: _path2 + ".child_id",
|
|
1485
|
+
expected: "(string | undefined)",
|
|
1486
|
+
value: input3.child_id
|
|
1487
|
+
}), "string" === typeof input3.child_label || $report(_exceptionable2, {
|
|
1488
|
+
path: _path2 + ".child_label",
|
|
1489
|
+
expected: "string",
|
|
1490
|
+
value: input3.child_label
|
|
1642
1491
|
})].every((flag) => flag);
|
|
1643
|
-
const $
|
|
1492
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1493
|
+
path: _path2 + ".join",
|
|
1494
|
+
expected: "(string | undefined)",
|
|
1495
|
+
value: input3.join
|
|
1496
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
1497
|
+
path: _path2 + ".isnot",
|
|
1498
|
+
expected: "(boolean | undefined)",
|
|
1499
|
+
value: input3.isnot
|
|
1500
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1501
|
+
path: _path2 + ".term",
|
|
1502
|
+
expected: "DtTerm",
|
|
1503
|
+
value: input3.term
|
|
1504
|
+
})) && $vo31(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1505
|
+
path: _path2 + ".term",
|
|
1506
|
+
expected: "DtTerm",
|
|
1507
|
+
value: input3.term
|
|
1508
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1509
|
+
path: _path2 + ".values",
|
|
1510
|
+
expected: "Array<__type>.o2",
|
|
1511
|
+
value: input3.values
|
|
1512
|
+
})) && input3.values.map((elem, _index26) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1513
|
+
path: _path2 + ".values[" + _index26 + "]",
|
|
1514
|
+
expected: "__type.o4",
|
|
1515
|
+
value: elem
|
|
1516
|
+
})) && $vo36(elem, _path2 + ".values[" + _index26 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1517
|
+
path: _path2 + ".values[" + _index26 + "]",
|
|
1518
|
+
expected: "__type.o4",
|
|
1519
|
+
value: elem
|
|
1520
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1521
|
+
path: _path2 + ".values",
|
|
1522
|
+
expected: "Array<__type>.o2",
|
|
1523
|
+
value: input3.values
|
|
1524
|
+
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
1525
|
+
path: _path2 + ".includeNotTested",
|
|
1526
|
+
expected: "(boolean | undefined)",
|
|
1527
|
+
value: input3.includeNotTested
|
|
1528
|
+
}), void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName || $report(_exceptionable2, {
|
|
1529
|
+
path: _path2 + ".excludeGeneName",
|
|
1530
|
+
expected: "(boolean | undefined)",
|
|
1531
|
+
value: input3.excludeGeneName
|
|
1532
|
+
})].every((flag) => flag);
|
|
1533
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1644
1534
|
path: _path2 + ".id",
|
|
1645
1535
|
expected: "string",
|
|
1646
1536
|
value: input3.id
|
|
1537
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
1538
|
+
path: _path2 + ".query",
|
|
1539
|
+
expected: "string",
|
|
1540
|
+
value: input3.query
|
|
1647
1541
|
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1648
1542
|
path: _path2 + ".name",
|
|
1649
1543
|
expected: "string",
|
|
1650
1544
|
value: input3.name
|
|
1651
|
-
}), "
|
|
1652
|
-
path: _path2 + ".
|
|
1653
|
-
expected: '"geneVariant"',
|
|
1654
|
-
value: input3.type
|
|
1655
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1656
|
-
path: _path2 + ".child_types",
|
|
1657
|
-
expected: "(Array<string> | undefined)",
|
|
1658
|
-
value: input3.child_types
|
|
1659
|
-
})) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1660
|
-
path: _path2 + ".child_types[" + _index28 + "]",
|
|
1545
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
1546
|
+
path: _path2 + ".name_noOrigin",
|
|
1661
1547
|
expected: "string",
|
|
1662
|
-
value:
|
|
1663
|
-
})
|
|
1664
|
-
path: _path2 + ".
|
|
1665
|
-
expected:
|
|
1666
|
-
value: input3.
|
|
1548
|
+
value: input3.name_noOrigin
|
|
1549
|
+
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1550
|
+
path: _path2 + ".parentTerm",
|
|
1551
|
+
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)',
|
|
1552
|
+
value: input3.parentTerm
|
|
1553
|
+
})) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1554
|
+
path: _path2 + ".parentTerm",
|
|
1555
|
+
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)',
|
|
1556
|
+
value: input3.parentTerm
|
|
1557
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1558
|
+
path: _path2 + ".isleaf",
|
|
1559
|
+
expected: "boolean",
|
|
1560
|
+
value: input3.isleaf
|
|
1561
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1562
|
+
path: _path2 + ".type",
|
|
1563
|
+
expected: "string",
|
|
1564
|
+
value: input3.type
|
|
1565
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
1566
|
+
path: _path2 + ".dt",
|
|
1567
|
+
expected: "number",
|
|
1568
|
+
value: input3.dt
|
|
1569
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
1570
|
+
path: _path2 + ".origin",
|
|
1571
|
+
expected: "(string | undefined)",
|
|
1572
|
+
value: input3.origin
|
|
1573
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1574
|
+
path: _path2 + ".values",
|
|
1575
|
+
expected: "TermValues",
|
|
1576
|
+
value: input3.values
|
|
1577
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1578
|
+
path: _path2 + ".values",
|
|
1579
|
+
expected: "TermValues",
|
|
1580
|
+
value: input3.values
|
|
1581
|
+
})].every((flag) => flag);
|
|
1582
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1583
|
+
path: _path2 + ".id",
|
|
1584
|
+
expected: "string",
|
|
1585
|
+
value: input3.id
|
|
1586
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1587
|
+
path: _path2 + ".name",
|
|
1588
|
+
expected: "string",
|
|
1589
|
+
value: input3.name
|
|
1590
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1591
|
+
path: _path2 + ".type",
|
|
1592
|
+
expected: '"geneVariant"',
|
|
1593
|
+
value: input3.type
|
|
1594
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1595
|
+
path: _path2 + ".child_types",
|
|
1596
|
+
expected: "(Array<string> | undefined)",
|
|
1597
|
+
value: input3.child_types
|
|
1598
|
+
})) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1599
|
+
path: _path2 + ".child_types[" + _index27 + "]",
|
|
1600
|
+
expected: "string",
|
|
1601
|
+
value: elem
|
|
1602
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1603
|
+
path: _path2 + ".child_types",
|
|
1604
|
+
expected: "(Array<string> | undefined)",
|
|
1605
|
+
value: input3.child_types
|
|
1667
1606
|
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1668
1607
|
path: _path2 + ".hashtmldetail",
|
|
1669
1608
|
expected: "(boolean | undefined)",
|
|
@@ -1672,8 +1611,8 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
1672
1611
|
path: _path2 + ".included_types",
|
|
1673
1612
|
expected: "(Array<string> | undefined)",
|
|
1674
1613
|
value: input3.included_types
|
|
1675
|
-
})) && input3.included_types.map((elem,
|
|
1676
|
-
path: _path2 + ".included_types[" +
|
|
1614
|
+
})) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1615
|
+
path: _path2 + ".included_types[" + _index28 + "]",
|
|
1677
1616
|
expected: "string",
|
|
1678
1617
|
value: elem
|
|
1679
1618
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1696,32 +1635,36 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
1696
1635
|
path: _path2 + ".skipValuesBuild",
|
|
1697
1636
|
expected: "(boolean | undefined)",
|
|
1698
1637
|
value: input3.skipValuesBuild
|
|
1699
|
-
}), "
|
|
1638
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1700
1639
|
path: _path2 + ".kind",
|
|
1701
|
-
expected: '"
|
|
1640
|
+
expected: '"gene"',
|
|
1702
1641
|
value: input3.kind
|
|
1703
|
-
}), "string" === typeof input3.
|
|
1704
|
-
path: _path2 + ".
|
|
1642
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1643
|
+
path: _path2 + ".gene",
|
|
1705
1644
|
expected: "string",
|
|
1645
|
+
value: input3.gene
|
|
1646
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1647
|
+
path: _path2 + ".chr",
|
|
1648
|
+
expected: "(string | undefined)",
|
|
1706
1649
|
value: input3.chr
|
|
1707
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1650
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1708
1651
|
path: _path2 + ".start",
|
|
1709
|
-
expected: "number",
|
|
1652
|
+
expected: "(number | undefined)",
|
|
1710
1653
|
value: input3.start
|
|
1711
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1654
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1712
1655
|
path: _path2 + ".stop",
|
|
1713
|
-
expected: "number",
|
|
1656
|
+
expected: "(number | undefined)",
|
|
1714
1657
|
value: input3.stop
|
|
1715
1658
|
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1716
1659
|
path: _path2 + ".genes",
|
|
1717
1660
|
expected: "Array<GvGeneTerm>",
|
|
1718
1661
|
value: input3.genes
|
|
1719
|
-
})) && input3.genes.map((elem,
|
|
1720
|
-
path: _path2 + ".genes[" +
|
|
1662
|
+
})) && input3.genes.map((elem, _index29) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1663
|
+
path: _path2 + ".genes[" + _index29 + "]",
|
|
1721
1664
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1722
1665
|
value: elem
|
|
1723
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1724
|
-
path: _path2 + ".genes[" +
|
|
1666
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index29 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1667
|
+
path: _path2 + ".genes[" + _index29 + "]",
|
|
1725
1668
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1726
1669
|
value: elem
|
|
1727
1670
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1740,12 +1683,12 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
1740
1683
|
path: _path2 + ".childTerms",
|
|
1741
1684
|
expected: "(Array<DtTerm> | undefined)",
|
|
1742
1685
|
value: input3.childTerms
|
|
1743
|
-
})) && input3.childTerms.map((elem,
|
|
1744
|
-
path: _path2 + ".childTerms[" +
|
|
1686
|
+
})) && input3.childTerms.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1687
|
+
path: _path2 + ".childTerms[" + _index30 + "]",
|
|
1745
1688
|
expected: "DtTerm",
|
|
1746
1689
|
value: elem
|
|
1747
|
-
})) && $
|
|
1748
|
-
path: _path2 + ".childTerms[" +
|
|
1690
|
+
})) && $vo31(elem, _path2 + ".childTerms[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1691
|
+
path: _path2 + ".childTerms[" + _index30 + "]",
|
|
1749
1692
|
expected: "DtTerm",
|
|
1750
1693
|
value: elem
|
|
1751
1694
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1753,163 +1696,335 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
1753
1696
|
expected: "(Array<DtTerm> | undefined)",
|
|
1754
1697
|
value: input3.childTerms
|
|
1755
1698
|
})].every((flag) => flag);
|
|
1756
|
-
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.
|
|
1757
|
-
path: _path2 + ".key",
|
|
1758
|
-
expected: "string",
|
|
1759
|
-
value: input3.key
|
|
1760
|
-
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1761
|
-
path: _path2 + ".label",
|
|
1762
|
-
expected: "string",
|
|
1763
|
-
value: input3.label
|
|
1764
|
-
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
1765
|
-
path: _path2 + ".value",
|
|
1766
|
-
expected: "string",
|
|
1767
|
-
value: input3.value
|
|
1768
|
-
})].every((flag) => flag);
|
|
1769
|
-
const $vo34 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
1699
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1770
1700
|
path: _path2 + ".id",
|
|
1771
|
-
expected: "
|
|
1701
|
+
expected: "string",
|
|
1772
1702
|
value: input3.id
|
|
1773
|
-
}),
|
|
1774
|
-
path: _path2 + ".$id",
|
|
1775
|
-
expected: "(string | undefined)",
|
|
1776
|
-
value: input3.$id
|
|
1777
|
-
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
1778
|
-
path: _path2 + ".isAtomic",
|
|
1779
|
-
expected: "(true | undefined)",
|
|
1780
|
-
value: input3.isAtomic
|
|
1781
|
-
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
1782
|
-
path: _path2 + ".settings",
|
|
1783
|
-
expected: "(__type.o5 | undefined)",
|
|
1784
|
-
value: input3.settings
|
|
1785
|
-
})) && $vo35(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
1786
|
-
path: _path2 + ".settings",
|
|
1787
|
-
expected: "(__type.o5 | undefined)",
|
|
1788
|
-
value: input3.settings
|
|
1789
|
-
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
1790
|
-
path: _path2 + ".minNumSamples",
|
|
1791
|
-
expected: "(number | undefined)",
|
|
1792
|
-
value: input3.minNumSamples
|
|
1793
|
-
}), true, "CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type || $report(_exceptionable2, {
|
|
1794
|
-
path: _path2 + ".type",
|
|
1795
|
-
expected: '("CatTWCustomGS" | "CatTWPredefinedGS" | "CatTWValues")',
|
|
1796
|
-
value: input3.type
|
|
1797
|
-
}), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
|
|
1798
|
-
path: _path2 + ".q",
|
|
1799
|
-
expected: "(CustomGroupSettingQ | FilterQ | PredefinedGroupSettingQ | ValuesQ)",
|
|
1800
|
-
value: input3.q
|
|
1801
|
-
})) && $vu11(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
1802
|
-
path: _path2 + ".q",
|
|
1803
|
-
expected: "(CustomGroupSettingQ | FilterQ | PredefinedGroupSettingQ | ValuesQ)",
|
|
1804
|
-
value: input3.q
|
|
1805
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1806
|
-
path: _path2 + ".term",
|
|
1807
|
-
expected: "CategoricalTerm",
|
|
1808
|
-
value: input3.term
|
|
1809
|
-
})) && $vo4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1810
|
-
path: _path2 + ".term",
|
|
1811
|
-
expected: "CategoricalTerm",
|
|
1812
|
-
value: input3.term
|
|
1813
|
-
})].every((flag) => flag);
|
|
1814
|
-
const $vo35 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
1815
|
-
const value = input3[key];
|
|
1816
|
-
if (void 0 === value)
|
|
1817
|
-
return true;
|
|
1818
|
-
if (RegExp(/(.*)/).test(key))
|
|
1819
|
-
return true;
|
|
1820
|
-
return true;
|
|
1821
|
-
}).every((flag) => flag)].every((flag) => flag);
|
|
1822
|
-
const $vo36 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1823
|
-
path: _path2 + ".hiddenValues",
|
|
1824
|
-
expected: "(HiddenValues | undefined)",
|
|
1825
|
-
value: input3.hiddenValues
|
|
1826
|
-
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
1827
|
-
path: _path2 + ".hiddenValues",
|
|
1828
|
-
expected: "(HiddenValues | undefined)",
|
|
1829
|
-
value: input3.hiddenValues
|
|
1830
|
-
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
1831
|
-
path: _path2 + ".isAtomic",
|
|
1832
|
-
expected: "(true | undefined)",
|
|
1833
|
-
value: input3.isAtomic
|
|
1834
|
-
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1703
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1835
1704
|
path: _path2 + ".name",
|
|
1836
|
-
expected: "
|
|
1705
|
+
expected: "string",
|
|
1837
1706
|
value: input3.name
|
|
1838
|
-
}),
|
|
1839
|
-
path: _path2 + ".reuseId",
|
|
1840
|
-
expected: "(string | undefined)",
|
|
1841
|
-
value: input3.reuseId
|
|
1842
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
1843
|
-
path: _path2 + ".mode",
|
|
1844
|
-
expected: '("binary" | "discrete" | undefined)',
|
|
1845
|
-
value: input3.mode
|
|
1846
|
-
}), "values" === input3.type || $report(_exceptionable2, {
|
|
1707
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1847
1708
|
path: _path2 + ".type",
|
|
1848
|
-
expected:
|
|
1709
|
+
expected: "string",
|
|
1849
1710
|
value: input3.type
|
|
1850
|
-
})
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1711
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1712
|
+
path: _path2 + ".child_types",
|
|
1713
|
+
expected: "(Array<string> | undefined)",
|
|
1714
|
+
value: input3.child_types
|
|
1715
|
+
})) && input3.child_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1716
|
+
path: _path2 + ".child_types[" + _index31 + "]",
|
|
1717
|
+
expected: "string",
|
|
1718
|
+
value: elem
|
|
1719
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1720
|
+
path: _path2 + ".child_types",
|
|
1721
|
+
expected: "(Array<string> | undefined)",
|
|
1722
|
+
value: input3.child_types
|
|
1723
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1724
|
+
path: _path2 + ".hashtmldetail",
|
|
1861
1725
|
expected: "(boolean | undefined)",
|
|
1862
|
-
value: input3.
|
|
1863
|
-
}), void 0 === input3.
|
|
1864
|
-
path: _path2 + ".
|
|
1726
|
+
value: input3.hashtmldetail
|
|
1727
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1728
|
+
path: _path2 + ".included_types",
|
|
1729
|
+
expected: "(Array<string> | undefined)",
|
|
1730
|
+
value: input3.included_types
|
|
1731
|
+
})) && input3.included_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1732
|
+
path: _path2 + ".included_types[" + _index32 + "]",
|
|
1733
|
+
expected: "string",
|
|
1734
|
+
value: elem
|
|
1735
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1736
|
+
path: _path2 + ".included_types",
|
|
1737
|
+
expected: "(Array<string> | undefined)",
|
|
1738
|
+
value: input3.included_types
|
|
1739
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1740
|
+
path: _path2 + ".isleaf",
|
|
1741
|
+
expected: "(boolean | undefined)",
|
|
1742
|
+
value: input3.isleaf
|
|
1743
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1744
|
+
path: _path2 + ".values",
|
|
1745
|
+
expected: "(TermValues | undefined)",
|
|
1746
|
+
value: input3.values
|
|
1747
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1748
|
+
path: _path2 + ".values",
|
|
1749
|
+
expected: "(TermValues | undefined)",
|
|
1750
|
+
value: input3.values
|
|
1751
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1752
|
+
path: _path2 + ".skipValuesBuild",
|
|
1753
|
+
expected: "(boolean | undefined)",
|
|
1754
|
+
value: input3.skipValuesBuild
|
|
1755
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1756
|
+
path: _path2 + ".kind",
|
|
1757
|
+
expected: '"gene"',
|
|
1758
|
+
value: input3.kind
|
|
1759
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1760
|
+
path: _path2 + ".gene",
|
|
1761
|
+
expected: "string",
|
|
1762
|
+
value: input3.gene
|
|
1763
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1764
|
+
path: _path2 + ".chr",
|
|
1865
1765
|
expected: "(string | undefined)",
|
|
1766
|
+
value: input3.chr
|
|
1767
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1768
|
+
path: _path2 + ".start",
|
|
1769
|
+
expected: "(number | undefined)",
|
|
1770
|
+
value: input3.start
|
|
1771
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1772
|
+
path: _path2 + ".stop",
|
|
1773
|
+
expected: "(number | undefined)",
|
|
1774
|
+
value: input3.stop
|
|
1775
|
+
})].every((flag) => flag);
|
|
1776
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1777
|
+
path: _path2 + ".id",
|
|
1778
|
+
expected: "string",
|
|
1779
|
+
value: input3.id
|
|
1780
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1781
|
+
path: _path2 + ".name",
|
|
1782
|
+
expected: "string",
|
|
1866
1783
|
value: input3.name
|
|
1867
|
-
}),
|
|
1868
|
-
path: _path2 + ".mode",
|
|
1869
|
-
expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
|
|
1870
|
-
value: input3.mode
|
|
1871
|
-
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
1872
|
-
path: _path2 + ".reuseId",
|
|
1873
|
-
expected: "(string | undefined)",
|
|
1874
|
-
value: input3.reuseId
|
|
1875
|
-
}), void 0 === input3.type || "filter" === input3.type || $report(_exceptionable2, {
|
|
1784
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1876
1785
|
path: _path2 + ".type",
|
|
1877
|
-
expected:
|
|
1786
|
+
expected: "string",
|
|
1878
1787
|
value: input3.type
|
|
1879
|
-
})
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1788
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1789
|
+
path: _path2 + ".child_types",
|
|
1790
|
+
expected: "(Array<string> | undefined)",
|
|
1791
|
+
value: input3.child_types
|
|
1792
|
+
})) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1793
|
+
path: _path2 + ".child_types[" + _index33 + "]",
|
|
1794
|
+
expected: "string",
|
|
1795
|
+
value: elem
|
|
1796
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1797
|
+
path: _path2 + ".child_types",
|
|
1798
|
+
expected: "(Array<string> | undefined)",
|
|
1799
|
+
value: input3.child_types
|
|
1800
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1801
|
+
path: _path2 + ".hashtmldetail",
|
|
1802
|
+
expected: "(boolean | undefined)",
|
|
1803
|
+
value: input3.hashtmldetail
|
|
1804
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1805
|
+
path: _path2 + ".included_types",
|
|
1806
|
+
expected: "(Array<string> | undefined)",
|
|
1807
|
+
value: input3.included_types
|
|
1808
|
+
})) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1809
|
+
path: _path2 + ".included_types[" + _index34 + "]",
|
|
1810
|
+
expected: "string",
|
|
1811
|
+
value: elem
|
|
1812
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1813
|
+
path: _path2 + ".included_types",
|
|
1814
|
+
expected: "(Array<string> | undefined)",
|
|
1815
|
+
value: input3.included_types
|
|
1816
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1817
|
+
path: _path2 + ".isleaf",
|
|
1818
|
+
expected: "(boolean | undefined)",
|
|
1819
|
+
value: input3.isleaf
|
|
1820
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1821
|
+
path: _path2 + ".values",
|
|
1822
|
+
expected: "(TermValues | undefined)",
|
|
1823
|
+
value: input3.values
|
|
1824
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1825
|
+
path: _path2 + ".values",
|
|
1826
|
+
expected: "(TermValues | undefined)",
|
|
1827
|
+
value: input3.values
|
|
1828
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1829
|
+
path: _path2 + ".skipValuesBuild",
|
|
1830
|
+
expected: "(boolean | undefined)",
|
|
1831
|
+
value: input3.skipValuesBuild
|
|
1832
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1833
|
+
path: _path2 + ".kind",
|
|
1834
|
+
expected: '"coord"',
|
|
1835
|
+
value: input3.kind
|
|
1836
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1837
|
+
path: _path2 + ".chr",
|
|
1838
|
+
expected: "string",
|
|
1839
|
+
value: input3.chr
|
|
1840
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1841
|
+
path: _path2 + ".start",
|
|
1842
|
+
expected: "number",
|
|
1843
|
+
value: input3.start
|
|
1844
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1845
|
+
path: _path2 + ".stop",
|
|
1846
|
+
expected: "number",
|
|
1847
|
+
value: input3.stop
|
|
1848
|
+
})].every((flag) => flag);
|
|
1849
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1850
|
+
path: _path2 + ".id",
|
|
1851
|
+
expected: "string",
|
|
1852
|
+
value: input3.id
|
|
1853
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1854
|
+
path: _path2 + ".name",
|
|
1855
|
+
expected: "string",
|
|
1856
|
+
value: input3.name
|
|
1857
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1858
|
+
path: _path2 + ".type",
|
|
1859
|
+
expected: '"geneVariant"',
|
|
1860
|
+
value: input3.type
|
|
1861
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1862
|
+
path: _path2 + ".child_types",
|
|
1863
|
+
expected: "(Array<string> | undefined)",
|
|
1864
|
+
value: input3.child_types
|
|
1865
|
+
})) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1866
|
+
path: _path2 + ".child_types[" + _index35 + "]",
|
|
1867
|
+
expected: "string",
|
|
1868
|
+
value: elem
|
|
1869
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1870
|
+
path: _path2 + ".child_types",
|
|
1871
|
+
expected: "(Array<string> | undefined)",
|
|
1872
|
+
value: input3.child_types
|
|
1873
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1874
|
+
path: _path2 + ".hashtmldetail",
|
|
1875
|
+
expected: "(boolean | undefined)",
|
|
1876
|
+
value: input3.hashtmldetail
|
|
1877
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1878
|
+
path: _path2 + ".included_types",
|
|
1879
|
+
expected: "(Array<string> | undefined)",
|
|
1880
|
+
value: input3.included_types
|
|
1881
|
+
})) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1882
|
+
path: _path2 + ".included_types[" + _index36 + "]",
|
|
1883
|
+
expected: "string",
|
|
1884
|
+
value: elem
|
|
1885
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1886
|
+
path: _path2 + ".included_types",
|
|
1887
|
+
expected: "(Array<string> | undefined)",
|
|
1888
|
+
value: input3.included_types
|
|
1889
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1890
|
+
path: _path2 + ".isleaf",
|
|
1891
|
+
expected: "(boolean | undefined)",
|
|
1892
|
+
value: input3.isleaf
|
|
1893
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1894
|
+
path: _path2 + ".values",
|
|
1895
|
+
expected: "(TermValues | undefined)",
|
|
1896
|
+
value: input3.values
|
|
1897
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1898
|
+
path: _path2 + ".values",
|
|
1899
|
+
expected: "(TermValues | undefined)",
|
|
1900
|
+
value: input3.values
|
|
1901
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1902
|
+
path: _path2 + ".skipValuesBuild",
|
|
1903
|
+
expected: "(boolean | undefined)",
|
|
1904
|
+
value: input3.skipValuesBuild
|
|
1905
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1906
|
+
path: _path2 + ".kind",
|
|
1907
|
+
expected: '"coord"',
|
|
1908
|
+
value: input3.kind
|
|
1909
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1910
|
+
path: _path2 + ".chr",
|
|
1911
|
+
expected: "string",
|
|
1912
|
+
value: input3.chr
|
|
1913
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1914
|
+
path: _path2 + ".start",
|
|
1915
|
+
expected: "number",
|
|
1916
|
+
value: input3.start
|
|
1917
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1918
|
+
path: _path2 + ".stop",
|
|
1919
|
+
expected: "number",
|
|
1920
|
+
value: input3.stop
|
|
1921
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1922
|
+
path: _path2 + ".genes",
|
|
1923
|
+
expected: "Array<GvGeneTerm>",
|
|
1924
|
+
value: input3.genes
|
|
1925
|
+
})) && input3.genes.map((elem, _index37) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1926
|
+
path: _path2 + ".genes[" + _index37 + "]",
|
|
1927
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1928
|
+
value: elem
|
|
1929
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index37 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1930
|
+
path: _path2 + ".genes[" + _index37 + "]",
|
|
1931
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1932
|
+
value: elem
|
|
1933
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1934
|
+
path: _path2 + ".genes",
|
|
1935
|
+
expected: "Array<GvGeneTerm>",
|
|
1936
|
+
value: input3.genes
|
|
1937
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1938
|
+
path: _path2 + ".groupsetting",
|
|
1939
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1940
|
+
value: input3.groupsetting
|
|
1941
|
+
})) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1942
|
+
path: _path2 + ".groupsetting",
|
|
1943
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1944
|
+
value: input3.groupsetting
|
|
1945
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1946
|
+
path: _path2 + ".childTerms",
|
|
1947
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1948
|
+
value: input3.childTerms
|
|
1949
|
+
})) && input3.childTerms.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1950
|
+
path: _path2 + ".childTerms[" + _index38 + "]",
|
|
1951
|
+
expected: "DtTerm",
|
|
1952
|
+
value: elem
|
|
1953
|
+
})) && $vo31(elem, _path2 + ".childTerms[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1954
|
+
path: _path2 + ".childTerms[" + _index38 + "]",
|
|
1955
|
+
expected: "DtTerm",
|
|
1956
|
+
value: elem
|
|
1957
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1958
|
+
path: _path2 + ".childTerms",
|
|
1959
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1960
|
+
value: input3.childTerms
|
|
1961
|
+
})].every((flag) => flag);
|
|
1962
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1963
|
+
path: _path2 + ".key",
|
|
1964
|
+
expected: "string",
|
|
1965
|
+
value: input3.key
|
|
1966
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1967
|
+
path: _path2 + ".label",
|
|
1968
|
+
expected: "string",
|
|
1969
|
+
value: input3.label
|
|
1970
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
1971
|
+
path: _path2 + ".value",
|
|
1972
|
+
expected: "string",
|
|
1973
|
+
value: input3.value
|
|
1974
|
+
})].every((flag) => flag);
|
|
1975
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
1976
|
+
path: _path2 + ".id",
|
|
1977
|
+
expected: "(string | undefined)",
|
|
1978
|
+
value: input3.id
|
|
1979
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
1980
|
+
path: _path2 + ".$id",
|
|
1981
|
+
expected: "(string | undefined)",
|
|
1982
|
+
value: input3.$id
|
|
1888
1983
|
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
1889
1984
|
path: _path2 + ".isAtomic",
|
|
1890
1985
|
expected: "(true | undefined)",
|
|
1891
1986
|
value: input3.isAtomic
|
|
1892
|
-
}), void 0 === input3.
|
|
1893
|
-
path: _path2 + ".
|
|
1894
|
-
expected: "(
|
|
1895
|
-
value: input3.
|
|
1896
|
-
})
|
|
1897
|
-
path: _path2 + ".
|
|
1898
|
-
expected: "(
|
|
1899
|
-
value: input3.
|
|
1900
|
-
}), void 0 === input3.
|
|
1901
|
-
path: _path2 + ".
|
|
1902
|
-
expected:
|
|
1903
|
-
value: input3.
|
|
1904
|
-
}), "
|
|
1987
|
+
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
1988
|
+
path: _path2 + ".settings",
|
|
1989
|
+
expected: "(__type.o5 | undefined)",
|
|
1990
|
+
value: input3.settings
|
|
1991
|
+
})) && $vo38(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
1992
|
+
path: _path2 + ".settings",
|
|
1993
|
+
expected: "(__type.o5 | undefined)",
|
|
1994
|
+
value: input3.settings
|
|
1995
|
+
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
1996
|
+
path: _path2 + ".minNumSamples",
|
|
1997
|
+
expected: "(number | undefined)",
|
|
1998
|
+
value: input3.minNumSamples
|
|
1999
|
+
}), true, ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2000
|
+
path: _path2 + ".term",
|
|
2001
|
+
expected: "CategoricalTerm",
|
|
2002
|
+
value: input3.term
|
|
2003
|
+
})) && $vo4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2004
|
+
path: _path2 + ".term",
|
|
2005
|
+
expected: "CategoricalTerm",
|
|
2006
|
+
value: input3.term
|
|
2007
|
+
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
2008
|
+
path: _path2 + ".q",
|
|
2009
|
+
expected: "ValuesQ",
|
|
2010
|
+
value: input3.q
|
|
2011
|
+
})) && $vo39(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2012
|
+
path: _path2 + ".q",
|
|
2013
|
+
expected: "ValuesQ",
|
|
2014
|
+
value: input3.q
|
|
2015
|
+
}), "CatTWValues" === input3.type || $report(_exceptionable2, {
|
|
1905
2016
|
path: _path2 + ".type",
|
|
1906
|
-
expected: '"
|
|
2017
|
+
expected: '"CatTWValues"',
|
|
1907
2018
|
value: input3.type
|
|
1908
|
-
}), "number" === typeof input3.predefined_groupset_idx || $report(_exceptionable2, {
|
|
1909
|
-
path: _path2 + ".predefined_groupset_idx",
|
|
1910
|
-
expected: "number",
|
|
1911
|
-
value: input3.predefined_groupset_idx
|
|
1912
2019
|
})].every((flag) => flag);
|
|
2020
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2021
|
+
const value = input3[key];
|
|
2022
|
+
if (void 0 === value)
|
|
2023
|
+
return true;
|
|
2024
|
+
if (RegExp(/(.*)/).test(key))
|
|
2025
|
+
return true;
|
|
2026
|
+
return true;
|
|
2027
|
+
}).every((flag) => flag)].every((flag) => flag);
|
|
1913
2028
|
const $vo39 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1914
2029
|
path: _path2 + ".hiddenValues",
|
|
1915
2030
|
expected: "(HiddenValues | undefined)",
|
|
@@ -1934,37 +2049,12 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
1934
2049
|
path: _path2 + ".mode",
|
|
1935
2050
|
expected: '("binary" | "discrete" | undefined)',
|
|
1936
2051
|
value: input3.mode
|
|
1937
|
-
}), "
|
|
2052
|
+
}), "values" === input3.type || $report(_exceptionable2, {
|
|
1938
2053
|
path: _path2 + ".type",
|
|
1939
|
-
expected: '"
|
|
2054
|
+
expected: '"values"',
|
|
1940
2055
|
value: input3.type
|
|
1941
|
-
}), ("object" === typeof input3.customset && null !== input3.customset || $report(_exceptionable2, {
|
|
1942
|
-
path: _path2 + ".customset",
|
|
1943
|
-
expected: "BaseGroupSet",
|
|
1944
|
-
value: input3.customset
|
|
1945
|
-
})) && $vo40(input3.customset, _path2 + ".customset", _exceptionable2) || $report(_exceptionable2, {
|
|
1946
|
-
path: _path2 + ".customset",
|
|
1947
|
-
expected: "BaseGroupSet",
|
|
1948
|
-
value: input3.customset
|
|
1949
|
-
})].every((flag) => flag);
|
|
1950
|
-
const $vo40 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
1951
|
-
path: _path2 + ".groups",
|
|
1952
|
-
expected: "Array<GroupEntry>",
|
|
1953
|
-
value: input3.groups
|
|
1954
|
-
})) && input3.groups.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1955
|
-
path: _path2 + ".groups[" + _index32 + "]",
|
|
1956
|
-
expected: "(FilterGroup | ValuesGroup)",
|
|
1957
|
-
value: elem
|
|
1958
|
-
})) && $vu1(elem, _path2 + ".groups[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1959
|
-
path: _path2 + ".groups[" + _index32 + "]",
|
|
1960
|
-
expected: "(FilterGroup | ValuesGroup)",
|
|
1961
|
-
value: elem
|
|
1962
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1963
|
-
path: _path2 + ".groups",
|
|
1964
|
-
expected: "Array<GroupEntry>",
|
|
1965
|
-
value: input3.groups
|
|
1966
2056
|
})].every((flag) => flag);
|
|
1967
|
-
const $
|
|
2057
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
1968
2058
|
path: _path2 + ".id",
|
|
1969
2059
|
expected: "(string | undefined)",
|
|
1970
2060
|
value: input3.id
|
|
@@ -1980,7 +2070,7 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
1980
2070
|
path: _path2 + ".settings",
|
|
1981
2071
|
expected: "(__type.o5 | undefined)",
|
|
1982
2072
|
value: input3.settings
|
|
1983
|
-
})) && $
|
|
2073
|
+
})) && $vo38(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
1984
2074
|
path: _path2 + ".settings",
|
|
1985
2075
|
expected: "(__type.o5 | undefined)",
|
|
1986
2076
|
value: input3.settings
|
|
@@ -1990,22 +2080,26 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
1990
2080
|
value: input3.minNumSamples
|
|
1991
2081
|
}), true, ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1992
2082
|
path: _path2 + ".term",
|
|
1993
|
-
expected: "
|
|
2083
|
+
expected: "CategoricalTerm",
|
|
1994
2084
|
value: input3.term
|
|
1995
|
-
})) && $
|
|
2085
|
+
})) && $vo4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1996
2086
|
path: _path2 + ".term",
|
|
1997
|
-
expected: "
|
|
2087
|
+
expected: "CategoricalTerm",
|
|
1998
2088
|
value: input3.term
|
|
1999
|
-
}), ("object" === typeof input3.q && null !== input3.q
|
|
2089
|
+
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
2000
2090
|
path: _path2 + ".q",
|
|
2001
|
-
expected: "
|
|
2091
|
+
expected: "PredefinedGroupSettingQ",
|
|
2002
2092
|
value: input3.q
|
|
2003
|
-
})) && $
|
|
2093
|
+
})) && $vo41(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2004
2094
|
path: _path2 + ".q",
|
|
2005
|
-
expected: "
|
|
2095
|
+
expected: "PredefinedGroupSettingQ",
|
|
2006
2096
|
value: input3.q
|
|
2097
|
+
}), "CatTWPredefinedGS" === input3.type || $report(_exceptionable2, {
|
|
2098
|
+
path: _path2 + ".type",
|
|
2099
|
+
expected: '"CatTWPredefinedGS"',
|
|
2100
|
+
value: input3.type
|
|
2007
2101
|
})].every((flag) => flag);
|
|
2008
|
-
const $
|
|
2102
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2009
2103
|
path: _path2 + ".hiddenValues",
|
|
2010
2104
|
expected: "(HiddenValues | undefined)",
|
|
2011
2105
|
value: input3.hiddenValues
|
|
@@ -2025,84 +2119,65 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
2025
2119
|
path: _path2 + ".reuseId",
|
|
2026
2120
|
expected: "(string | undefined)",
|
|
2027
2121
|
value: input3.reuseId
|
|
2028
|
-
}), "binary" === input3.mode || $report(_exceptionable2, {
|
|
2122
|
+
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
2029
2123
|
path: _path2 + ".mode",
|
|
2030
|
-
expected: '"binary"',
|
|
2124
|
+
expected: '("binary" | "discrete" | undefined)',
|
|
2031
2125
|
value: input3.mode
|
|
2032
|
-
}), "
|
|
2126
|
+
}), "predefined-groupset" === input3.type || $report(_exceptionable2, {
|
|
2033
2127
|
path: _path2 + ".type",
|
|
2034
|
-
expected: '"
|
|
2128
|
+
expected: '"predefined-groupset"',
|
|
2035
2129
|
value: input3.type
|
|
2036
|
-
}),
|
|
2037
|
-
path: _path2 + ".
|
|
2038
|
-
expected: "
|
|
2039
|
-
value: input3.
|
|
2040
|
-
})) && ((input3.lst.length === 2 || $report(_exceptionable2, {
|
|
2041
|
-
path: _path2 + ".lst",
|
|
2042
|
-
expected: "[(FullyBoundedBin | StartUnboundedBin), (FullyBoundedBin | StopUnboundedBin)]",
|
|
2043
|
-
value: input3.lst
|
|
2044
|
-
})) && [
|
|
2045
|
-
("object" === typeof input3.lst[0] && null !== input3.lst[0] || $report(_exceptionable2, {
|
|
2046
|
-
path: _path2 + ".lst[0]",
|
|
2047
|
-
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
2048
|
-
value: input3.lst[0]
|
|
2049
|
-
})) && $vu5(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
|
|
2050
|
-
path: _path2 + ".lst[0]",
|
|
2051
|
-
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
2052
|
-
value: input3.lst[0]
|
|
2053
|
-
}),
|
|
2054
|
-
("object" === typeof input3.lst[1] && null !== input3.lst[1] || $report(_exceptionable2, {
|
|
2055
|
-
path: _path2 + ".lst[1]",
|
|
2056
|
-
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
2057
|
-
value: input3.lst[1]
|
|
2058
|
-
})) && $vu6(input3.lst[1], _path2 + ".lst[1]", _exceptionable2) || $report(_exceptionable2, {
|
|
2059
|
-
path: _path2 + ".lst[1]",
|
|
2060
|
-
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
2061
|
-
value: input3.lst[1]
|
|
2062
|
-
})
|
|
2063
|
-
].every((flag) => flag)) || $report(_exceptionable2, {
|
|
2064
|
-
path: _path2 + ".lst",
|
|
2065
|
-
expected: "[StartUnboundedBin | FullyBoundedBin, FullyBoundedBin | StopUnboundedBin]",
|
|
2066
|
-
value: input3.lst
|
|
2130
|
+
}), "number" === typeof input3.predefined_groupset_idx || $report(_exceptionable2, {
|
|
2131
|
+
path: _path2 + ".predefined_groupset_idx",
|
|
2132
|
+
expected: "number",
|
|
2133
|
+
value: input3.predefined_groupset_idx
|
|
2067
2134
|
})].every((flag) => flag);
|
|
2068
|
-
const $
|
|
2069
|
-
path: _path2 + ".
|
|
2070
|
-
expected: "(
|
|
2071
|
-
value: input3.
|
|
2072
|
-
})
|
|
2073
|
-
path: _path2 + "
|
|
2074
|
-
expected: "(
|
|
2075
|
-
value: input3
|
|
2135
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2136
|
+
path: _path2 + ".id",
|
|
2137
|
+
expected: "(string | undefined)",
|
|
2138
|
+
value: input3.id
|
|
2139
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
2140
|
+
path: _path2 + ".$id",
|
|
2141
|
+
expected: "(string | undefined)",
|
|
2142
|
+
value: input3.$id
|
|
2076
2143
|
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
2077
2144
|
path: _path2 + ".isAtomic",
|
|
2078
2145
|
expected: "(true | undefined)",
|
|
2079
2146
|
value: input3.isAtomic
|
|
2080
|
-
}), void 0 === input3.
|
|
2081
|
-
path: _path2 + ".
|
|
2082
|
-
expected: "(
|
|
2083
|
-
value: input3.
|
|
2084
|
-
})
|
|
2085
|
-
path: _path2 + ".
|
|
2086
|
-
expected: "(
|
|
2087
|
-
value: input3.
|
|
2088
|
-
}), void 0 === input3.
|
|
2089
|
-
path: _path2 + ".
|
|
2090
|
-
expected:
|
|
2091
|
-
value: input3.
|
|
2092
|
-
}),
|
|
2093
|
-
path: _path2 + ".
|
|
2094
|
-
expected: "
|
|
2095
|
-
value: input3.
|
|
2096
|
-
})
|
|
2097
|
-
path: _path2 + ".
|
|
2098
|
-
expected: "
|
|
2099
|
-
value: input3.
|
|
2100
|
-
})
|
|
2147
|
+
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
2148
|
+
path: _path2 + ".settings",
|
|
2149
|
+
expected: "(__type.o5 | undefined)",
|
|
2150
|
+
value: input3.settings
|
|
2151
|
+
})) && $vo38(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
2152
|
+
path: _path2 + ".settings",
|
|
2153
|
+
expected: "(__type.o5 | undefined)",
|
|
2154
|
+
value: input3.settings
|
|
2155
|
+
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
2156
|
+
path: _path2 + ".minNumSamples",
|
|
2157
|
+
expected: "(number | undefined)",
|
|
2158
|
+
value: input3.minNumSamples
|
|
2159
|
+
}), true, ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2160
|
+
path: _path2 + ".term",
|
|
2161
|
+
expected: "CategoricalTerm",
|
|
2162
|
+
value: input3.term
|
|
2163
|
+
})) && $vo4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2164
|
+
path: _path2 + ".term",
|
|
2165
|
+
expected: "CategoricalTerm",
|
|
2166
|
+
value: input3.term
|
|
2167
|
+
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
2168
|
+
path: _path2 + ".q",
|
|
2169
|
+
expected: "CustomGroupSettingQ",
|
|
2170
|
+
value: input3.q
|
|
2171
|
+
})) && $vo43(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2172
|
+
path: _path2 + ".q",
|
|
2173
|
+
expected: "CustomGroupSettingQ",
|
|
2174
|
+
value: input3.q
|
|
2175
|
+
}), "CatTWCustomGS" === input3.type || $report(_exceptionable2, {
|
|
2101
2176
|
path: _path2 + ".type",
|
|
2102
|
-
expected: "
|
|
2177
|
+
expected: '"CatTWCustomGS"',
|
|
2103
2178
|
value: input3.type
|
|
2104
|
-
})
|
|
2105
|
-
const $
|
|
2179
|
+
})].every((flag) => flag);
|
|
2180
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2106
2181
|
path: _path2 + ".hiddenValues",
|
|
2107
2182
|
expected: "(HiddenValues | undefined)",
|
|
2108
2183
|
value: input3.hiddenValues
|
|
@@ -2122,39 +2197,84 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
2122
2197
|
path: _path2 + ".reuseId",
|
|
2123
2198
|
expected: "(string | undefined)",
|
|
2124
2199
|
value: input3.reuseId
|
|
2125
|
-
}), "
|
|
2200
|
+
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
2126
2201
|
path: _path2 + ".mode",
|
|
2127
|
-
expected: '"
|
|
2202
|
+
expected: '("binary" | "discrete" | undefined)',
|
|
2128
2203
|
value: input3.mode
|
|
2129
|
-
}),
|
|
2130
|
-
path: _path2 + ".
|
|
2131
|
-
expected: "
|
|
2132
|
-
value: input3.
|
|
2133
|
-
})
|
|
2134
|
-
path: _path2 + ".
|
|
2135
|
-
expected: "
|
|
2204
|
+
}), "custom-groupset" === input3.type || $report(_exceptionable2, {
|
|
2205
|
+
path: _path2 + ".type",
|
|
2206
|
+
expected: '"custom-groupset"',
|
|
2207
|
+
value: input3.type
|
|
2208
|
+
}), ("object" === typeof input3.customset && null !== input3.customset || $report(_exceptionable2, {
|
|
2209
|
+
path: _path2 + ".customset",
|
|
2210
|
+
expected: "BaseGroupSet",
|
|
2211
|
+
value: input3.customset
|
|
2212
|
+
})) && $vo44(input3.customset, _path2 + ".customset", _exceptionable2) || $report(_exceptionable2, {
|
|
2213
|
+
path: _path2 + ".customset",
|
|
2214
|
+
expected: "BaseGroupSet",
|
|
2215
|
+
value: input3.customset
|
|
2216
|
+
})].every((flag) => flag);
|
|
2217
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
2218
|
+
path: _path2 + ".groups",
|
|
2219
|
+
expected: "Array<GroupEntry>",
|
|
2220
|
+
value: input3.groups
|
|
2221
|
+
})) && input3.groups.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2222
|
+
path: _path2 + ".groups[" + _index39 + "]",
|
|
2223
|
+
expected: "(FilterGroup | ValuesGroup)",
|
|
2136
2224
|
value: elem
|
|
2137
|
-
})) && $
|
|
2138
|
-
path: _path2 + ".
|
|
2139
|
-
expected: "
|
|
2225
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2226
|
+
path: _path2 + ".groups[" + _index39 + "]",
|
|
2227
|
+
expected: "(FilterGroup | ValuesGroup)",
|
|
2140
2228
|
value: elem
|
|
2141
2229
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2142
|
-
path: _path2 + ".
|
|
2143
|
-
expected: "Array<
|
|
2144
|
-
value: input3.
|
|
2145
|
-
})
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2230
|
+
path: _path2 + ".groups",
|
|
2231
|
+
expected: "Array<GroupEntry>",
|
|
2232
|
+
value: input3.groups
|
|
2233
|
+
})].every((flag) => flag);
|
|
2234
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2235
|
+
path: _path2 + ".id",
|
|
2236
|
+
expected: "(string | undefined)",
|
|
2237
|
+
value: input3.id
|
|
2238
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
2239
|
+
path: _path2 + ".$id",
|
|
2240
|
+
expected: "(string | undefined)",
|
|
2241
|
+
value: input3.$id
|
|
2242
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
2243
|
+
path: _path2 + ".isAtomic",
|
|
2244
|
+
expected: "(true | undefined)",
|
|
2245
|
+
value: input3.isAtomic
|
|
2246
|
+
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
2247
|
+
path: _path2 + ".settings",
|
|
2248
|
+
expected: "(__type.o5 | undefined)",
|
|
2249
|
+
value: input3.settings
|
|
2250
|
+
})) && $vo38(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
2251
|
+
path: _path2 + ".settings",
|
|
2252
|
+
expected: "(__type.o5 | undefined)",
|
|
2253
|
+
value: input3.settings
|
|
2254
|
+
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
2255
|
+
path: _path2 + ".minNumSamples",
|
|
2256
|
+
expected: "(number | undefined)",
|
|
2257
|
+
value: input3.minNumSamples
|
|
2258
|
+
}), true, "NumTWRegularBin" === input3.type || $report(_exceptionable2, {
|
|
2150
2259
|
path: _path2 + ".type",
|
|
2151
|
-
expected: "
|
|
2260
|
+
expected: '"NumTWRegularBin"',
|
|
2152
2261
|
value: input3.type
|
|
2153
|
-
})
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2262
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2263
|
+
path: _path2 + ".term",
|
|
2264
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
2265
|
+
value: input3.term
|
|
2266
|
+
})) && $vu8(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2267
|
+
path: _path2 + ".term",
|
|
2268
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
2269
|
+
value: input3.term
|
|
2270
|
+
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
2271
|
+
path: _path2 + ".q",
|
|
2272
|
+
expected: "RegularNumericBinConfig",
|
|
2273
|
+
value: input3.q
|
|
2274
|
+
})) && $vo16(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2275
|
+
path: _path2 + ".q",
|
|
2276
|
+
expected: "RegularNumericBinConfig",
|
|
2277
|
+
value: input3.q
|
|
2158
2278
|
})].every((flag) => flag);
|
|
2159
2279
|
const $vo46 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2160
2280
|
path: _path2 + ".id",
|
|
@@ -2172,7 +2292,7 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
2172
2292
|
path: _path2 + ".settings",
|
|
2173
2293
|
expected: "(__type.o5 | undefined)",
|
|
2174
2294
|
value: input3.settings
|
|
2175
|
-
})) && $
|
|
2295
|
+
})) && $vo38(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
2176
2296
|
path: _path2 + ".settings",
|
|
2177
2297
|
expected: "(__type.o5 | undefined)",
|
|
2178
2298
|
value: input3.settings
|
|
@@ -2180,24 +2300,73 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
2180
2300
|
path: _path2 + ".minNumSamples",
|
|
2181
2301
|
expected: "(number | undefined)",
|
|
2182
2302
|
value: input3.minNumSamples
|
|
2183
|
-
}), true,
|
|
2303
|
+
}), true, "NumTWCustomBin" === input3.type || $report(_exceptionable2, {
|
|
2304
|
+
path: _path2 + ".type",
|
|
2305
|
+
expected: '"NumTWCustomBin"',
|
|
2306
|
+
value: input3.type
|
|
2307
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2308
|
+
path: _path2 + ".term",
|
|
2309
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
2310
|
+
value: input3.term
|
|
2311
|
+
})) && $vu8(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2312
|
+
path: _path2 + ".term",
|
|
2313
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
2314
|
+
value: input3.term
|
|
2315
|
+
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
2184
2316
|
path: _path2 + ".q",
|
|
2185
|
-
expected: "
|
|
2317
|
+
expected: "CustomNumericBinConfig",
|
|
2186
2318
|
value: input3.q
|
|
2187
|
-
})) && $
|
|
2319
|
+
})) && $vo21(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2188
2320
|
path: _path2 + ".q",
|
|
2189
|
-
expected: "
|
|
2321
|
+
expected: "CustomNumericBinConfig",
|
|
2190
2322
|
value: input3.q
|
|
2323
|
+
})].every((flag) => flag);
|
|
2324
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2325
|
+
path: _path2 + ".id",
|
|
2326
|
+
expected: "(string | undefined)",
|
|
2327
|
+
value: input3.id
|
|
2328
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
2329
|
+
path: _path2 + ".$id",
|
|
2330
|
+
expected: "(string | undefined)",
|
|
2331
|
+
value: input3.$id
|
|
2332
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
2333
|
+
path: _path2 + ".isAtomic",
|
|
2334
|
+
expected: "(true | undefined)",
|
|
2335
|
+
value: input3.isAtomic
|
|
2336
|
+
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
2337
|
+
path: _path2 + ".settings",
|
|
2338
|
+
expected: "(__type.o5 | undefined)",
|
|
2339
|
+
value: input3.settings
|
|
2340
|
+
})) && $vo38(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
2341
|
+
path: _path2 + ".settings",
|
|
2342
|
+
expected: "(__type.o5 | undefined)",
|
|
2343
|
+
value: input3.settings
|
|
2344
|
+
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
2345
|
+
path: _path2 + ".minNumSamples",
|
|
2346
|
+
expected: "(number | undefined)",
|
|
2347
|
+
value: input3.minNumSamples
|
|
2348
|
+
}), true, "NumTWBinary" === input3.type || $report(_exceptionable2, {
|
|
2349
|
+
path: _path2 + ".type",
|
|
2350
|
+
expected: '"NumTWBinary"',
|
|
2351
|
+
value: input3.type
|
|
2191
2352
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2192
2353
|
path: _path2 + ".term",
|
|
2193
|
-
expected: "
|
|
2354
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
2194
2355
|
value: input3.term
|
|
2195
|
-
})) && $
|
|
2356
|
+
})) && $vu8(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2196
2357
|
path: _path2 + ".term",
|
|
2197
|
-
expected: "
|
|
2358
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
2198
2359
|
value: input3.term
|
|
2360
|
+
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
2361
|
+
path: _path2 + ".q",
|
|
2362
|
+
expected: "BinaryNumericQ",
|
|
2363
|
+
value: input3.q
|
|
2364
|
+
})) && $vo48(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2365
|
+
path: _path2 + ".q",
|
|
2366
|
+
expected: "BinaryNumericQ",
|
|
2367
|
+
value: input3.q
|
|
2199
2368
|
})].every((flag) => flag);
|
|
2200
|
-
const $
|
|
2369
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2201
2370
|
path: _path2 + ".hiddenValues",
|
|
2202
2371
|
expected: "(HiddenValues | undefined)",
|
|
2203
2372
|
value: input3.hiddenValues
|
|
@@ -2205,257 +2374,59 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
2205
2374
|
path: _path2 + ".hiddenValues",
|
|
2206
2375
|
expected: "(HiddenValues | undefined)",
|
|
2207
2376
|
value: input3.hiddenValues
|
|
2208
|
-
}), void 0 === input3.isAtomic ||
|
|
2377
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
2209
2378
|
path: _path2 + ".isAtomic",
|
|
2210
|
-
expected: "(
|
|
2379
|
+
expected: "(true | undefined)",
|
|
2211
2380
|
value: input3.isAtomic
|
|
2212
2381
|
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2213
2382
|
path: _path2 + ".name",
|
|
2214
2383
|
expected: "(string | undefined)",
|
|
2215
2384
|
value: input3.name
|
|
2216
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
|
|
2217
|
-
path: _path2 + ".mode",
|
|
2218
|
-
expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
|
|
2219
|
-
value: input3.mode
|
|
2220
2385
|
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
2221
2386
|
path: _path2 + ".reuseId",
|
|
2222
2387
|
expected: "(string | undefined)",
|
|
2223
2388
|
value: input3.reuseId
|
|
2224
|
-
}),
|
|
2389
|
+
}), "binary" === input3.mode || $report(_exceptionable2, {
|
|
2390
|
+
path: _path2 + ".mode",
|
|
2391
|
+
expected: '"binary"',
|
|
2392
|
+
value: input3.mode
|
|
2393
|
+
}), "custom-bin" === input3.type || $report(_exceptionable2, {
|
|
2225
2394
|
path: _path2 + ".type",
|
|
2226
|
-
expected: '
|
|
2395
|
+
expected: '"custom-bin"',
|
|
2227
2396
|
value: input3.type
|
|
2228
|
-
}),
|
|
2229
|
-
path: _path2 + ".
|
|
2230
|
-
expected: "
|
|
2231
|
-
value: input3.
|
|
2232
|
-
})
|
|
2233
|
-
path: _path2 + ".
|
|
2234
|
-
expected: "
|
|
2235
|
-
value: input3.
|
|
2236
|
-
})
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
value: input3.restrictAncestry
|
|
2260
|
-
}), true, true, ("object" === typeof input3.variant_filter && null !== input3.variant_filter || $report(_exceptionable2, {
|
|
2261
|
-
path: _path2 + ".variant_filter",
|
|
2262
|
-
expected: "Filter",
|
|
2263
|
-
value: input3.variant_filter
|
|
2264
|
-
})) && $vo1(input3.variant_filter, _path2 + ".variant_filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2265
|
-
path: _path2 + ".variant_filter",
|
|
2266
|
-
expected: "Filter",
|
|
2267
|
-
value: input3.variant_filter
|
|
2268
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2269
|
-
path: _path2 + ".chr",
|
|
2270
|
-
expected: "string",
|
|
2271
|
-
value: input3.chr
|
|
2272
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2273
|
-
path: _path2 + ".start",
|
|
2274
|
-
expected: "number",
|
|
2275
|
-
value: input3.start
|
|
2276
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2277
|
-
path: _path2 + ".stop",
|
|
2278
|
-
expected: "number",
|
|
2279
|
-
value: input3.stop
|
|
2280
|
-
})].every((flag) => flag);
|
|
2281
|
-
const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2282
|
-
path: _path2 + ".name",
|
|
2283
|
-
expected: "string",
|
|
2284
|
-
value: input3.name
|
|
2285
|
-
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
2286
|
-
path: _path2 + ".tvs",
|
|
2287
|
-
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
2288
|
-
value: input3.tvs
|
|
2289
|
-
})) && $vu7(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
2290
|
-
path: _path2 + ".tvs",
|
|
2291
|
-
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
2292
|
-
value: input3.tvs
|
|
2293
|
-
})].every((flag) => flag);
|
|
2294
|
-
const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2295
|
-
path: _path2 + ".id",
|
|
2296
|
-
expected: "string",
|
|
2297
|
-
value: input3.id
|
|
2298
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2299
|
-
path: _path2 + ".name",
|
|
2300
|
-
expected: "string",
|
|
2301
|
-
value: input3.name
|
|
2302
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
2303
|
-
path: _path2 + ".type",
|
|
2304
|
-
expected: "string",
|
|
2305
|
-
value: input3.type
|
|
2306
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2307
|
-
path: _path2 + ".child_types",
|
|
2308
|
-
expected: "(Array<string> | undefined)",
|
|
2309
|
-
value: input3.child_types
|
|
2310
|
-
})) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2311
|
-
path: _path2 + ".child_types[" + _index34 + "]",
|
|
2312
|
-
expected: "string",
|
|
2313
|
-
value: elem
|
|
2314
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2315
|
-
path: _path2 + ".child_types",
|
|
2316
|
-
expected: "(Array<string> | undefined)",
|
|
2317
|
-
value: input3.child_types
|
|
2318
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2319
|
-
path: _path2 + ".hashtmldetail",
|
|
2320
|
-
expected: "(boolean | undefined)",
|
|
2321
|
-
value: input3.hashtmldetail
|
|
2322
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2323
|
-
path: _path2 + ".included_types",
|
|
2324
|
-
expected: "(Array<string> | undefined)",
|
|
2325
|
-
value: input3.included_types
|
|
2326
|
-
})) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2327
|
-
path: _path2 + ".included_types[" + _index35 + "]",
|
|
2328
|
-
expected: "string",
|
|
2329
|
-
value: elem
|
|
2330
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2331
|
-
path: _path2 + ".included_types",
|
|
2332
|
-
expected: "(Array<string> | undefined)",
|
|
2333
|
-
value: input3.included_types
|
|
2334
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2335
|
-
path: _path2 + ".isleaf",
|
|
2336
|
-
expected: "(boolean | undefined)",
|
|
2337
|
-
value: input3.isleaf
|
|
2338
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2339
|
-
path: _path2 + ".values",
|
|
2340
|
-
expected: "(TermValues | undefined)",
|
|
2341
|
-
value: input3.values
|
|
2342
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2343
|
-
path: _path2 + ".values",
|
|
2344
|
-
expected: "(TermValues | undefined)",
|
|
2345
|
-
value: input3.values
|
|
2346
|
-
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2347
|
-
path: _path2 + ".skipValuesBuild",
|
|
2348
|
-
expected: "(boolean | undefined)",
|
|
2349
|
-
value: input3.skipValuesBuild
|
|
2350
|
-
}), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
|
|
2351
|
-
path: _path2 + ".reachedVariantLimit",
|
|
2352
|
-
expected: "(boolean | undefined)",
|
|
2353
|
-
value: input3.reachedVariantLimit
|
|
2354
|
-
}), void 0 === input3.snps || (Array.isArray(input3.snps) || $report(_exceptionable2, {
|
|
2355
|
-
path: _path2 + ".snps",
|
|
2356
|
-
expected: "(Array<SnpsEntry> | undefined)",
|
|
2357
|
-
value: input3.snps
|
|
2358
|
-
})) && input3.snps.map((elem, _index36) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2359
|
-
path: _path2 + ".snps[" + _index36 + "]",
|
|
2360
|
-
expected: "SnpsEntry",
|
|
2361
|
-
value: elem
|
|
2362
|
-
})) && $vo50(elem, _path2 + ".snps[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2363
|
-
path: _path2 + ".snps[" + _index36 + "]",
|
|
2364
|
-
expected: "SnpsEntry",
|
|
2365
|
-
value: elem
|
|
2366
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2367
|
-
path: _path2 + ".snps",
|
|
2368
|
-
expected: "(Array<SnpsEntry> | undefined)",
|
|
2369
|
-
value: input3.snps
|
|
2370
|
-
})].every((flag) => flag);
|
|
2371
|
-
const $vo50 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
2372
|
-
path: _path2 + ".altAlleles",
|
|
2373
|
-
expected: "(Array<string> | undefined)",
|
|
2374
|
-
value: input3.altAlleles
|
|
2375
|
-
})) && input3.altAlleles.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2376
|
-
path: _path2 + ".altAlleles[" + _index37 + "]",
|
|
2377
|
-
expected: "string",
|
|
2378
|
-
value: elem
|
|
2379
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2380
|
-
path: _path2 + ".altAlleles",
|
|
2381
|
-
expected: "(Array<string> | undefined)",
|
|
2382
|
-
value: input3.altAlleles
|
|
2383
|
-
}), void 0 === input3.alleles || (Array.isArray(input3.alleles) || $report(_exceptionable2, {
|
|
2384
|
-
path: _path2 + ".alleles",
|
|
2385
|
-
expected: "(Array<AllelesEntry> | undefined)",
|
|
2386
|
-
value: input3.alleles
|
|
2387
|
-
})) && input3.alleles.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2388
|
-
path: _path2 + ".alleles[" + _index38 + "]",
|
|
2389
|
-
expected: "AllelesEntry",
|
|
2390
|
-
value: elem
|
|
2391
|
-
})) && $vo51(elem, _path2 + ".alleles[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2392
|
-
path: _path2 + ".alleles[" + _index38 + "]",
|
|
2393
|
-
expected: "AllelesEntry",
|
|
2394
|
-
value: elem
|
|
2395
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2396
|
-
path: _path2 + ".alleles",
|
|
2397
|
-
expected: "(Array<AllelesEntry> | undefined)",
|
|
2398
|
-
value: input3.alleles
|
|
2399
|
-
}), "boolean" === typeof input3.effectAllele || $report(_exceptionable2, {
|
|
2400
|
-
path: _path2 + ".effectAllele",
|
|
2401
|
-
expected: "boolean",
|
|
2402
|
-
value: input3.effectAllele
|
|
2403
|
-
}), void 0 === input3.gt2count || ("object" === typeof input3.gt2count && null !== input3.gt2count || $report(_exceptionable2, {
|
|
2404
|
-
path: _path2 + ".gt2count",
|
|
2405
|
-
expected: "(__type.o7 | undefined)",
|
|
2406
|
-
value: input3.gt2count
|
|
2407
|
-
})) && $vo52(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
2408
|
-
path: _path2 + ".gt2count",
|
|
2409
|
-
expected: "(__type.o7 | undefined)",
|
|
2410
|
-
value: input3.gt2count
|
|
2411
|
-
}), void 0 === input3.invalid || "boolean" === typeof input3.invalid || $report(_exceptionable2, {
|
|
2412
|
-
path: _path2 + ".invalid",
|
|
2413
|
-
expected: "(boolean | undefined)",
|
|
2414
|
-
value: input3.invalid
|
|
2415
|
-
}), void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele || $report(_exceptionable2, {
|
|
2416
|
-
path: _path2 + ".referenceAllele",
|
|
2417
|
-
expected: "(string | undefined)",
|
|
2418
|
-
value: input3.referenceAllele
|
|
2419
|
-
}), "string" === typeof input3.rsid || $report(_exceptionable2, {
|
|
2420
|
-
path: _path2 + ".rsid",
|
|
2421
|
-
expected: "string",
|
|
2422
|
-
value: input3.rsid
|
|
2423
|
-
}), "string" === typeof input3.snpid || $report(_exceptionable2, {
|
|
2424
|
-
path: _path2 + ".snpid",
|
|
2425
|
-
expected: "string",
|
|
2426
|
-
value: input3.snpid
|
|
2427
|
-
}), true, void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2428
|
-
path: _path2 + ".chr",
|
|
2429
|
-
expected: "(string | undefined)",
|
|
2430
|
-
value: input3.chr
|
|
2431
|
-
}), void 0 === input3.pos || "number" === typeof input3.pos || $report(_exceptionable2, {
|
|
2432
|
-
path: _path2 + ".pos",
|
|
2433
|
-
expected: "(number | undefined)",
|
|
2434
|
-
value: input3.pos
|
|
2435
|
-
})].every((flag) => flag);
|
|
2436
|
-
const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
2437
|
-
path: _path2 + ".allele",
|
|
2438
|
-
expected: "string",
|
|
2439
|
-
value: input3.allele
|
|
2440
|
-
}), "number" === typeof input3.count || $report(_exceptionable2, {
|
|
2441
|
-
path: _path2 + ".count",
|
|
2442
|
-
expected: "number",
|
|
2443
|
-
value: input3.count
|
|
2444
|
-
}), "boolean" === typeof input3.isRef || $report(_exceptionable2, {
|
|
2445
|
-
path: _path2 + ".isRef",
|
|
2446
|
-
expected: "boolean",
|
|
2447
|
-
value: input3.isRef
|
|
2448
|
-
})].every((flag) => flag);
|
|
2449
|
-
const $vo52 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
2450
|
-
path: _path2 + ".k",
|
|
2451
|
-
expected: "string",
|
|
2452
|
-
value: input3.k
|
|
2453
|
-
}), "string" === typeof input3.v || "number" === typeof input3.v || $report(_exceptionable2, {
|
|
2454
|
-
path: _path2 + ".v",
|
|
2455
|
-
expected: "(number | string)",
|
|
2456
|
-
value: input3.v
|
|
2397
|
+
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
2398
|
+
path: _path2 + ".lst",
|
|
2399
|
+
expected: "[StartUnboundedBin | FullyBoundedBin, FullyBoundedBin | StopUnboundedBin]",
|
|
2400
|
+
value: input3.lst
|
|
2401
|
+
})) && ((input3.lst.length === 2 || $report(_exceptionable2, {
|
|
2402
|
+
path: _path2 + ".lst",
|
|
2403
|
+
expected: "[(FullyBoundedBin | StartUnboundedBin), (FullyBoundedBin | StopUnboundedBin)]",
|
|
2404
|
+
value: input3.lst
|
|
2405
|
+
})) && [
|
|
2406
|
+
("object" === typeof input3.lst[0] && null !== input3.lst[0] || $report(_exceptionable2, {
|
|
2407
|
+
path: _path2 + ".lst[0]",
|
|
2408
|
+
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
2409
|
+
value: input3.lst[0]
|
|
2410
|
+
})) && $vu5(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
|
|
2411
|
+
path: _path2 + ".lst[0]",
|
|
2412
|
+
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
2413
|
+
value: input3.lst[0]
|
|
2414
|
+
}),
|
|
2415
|
+
("object" === typeof input3.lst[1] && null !== input3.lst[1] || $report(_exceptionable2, {
|
|
2416
|
+
path: _path2 + ".lst[1]",
|
|
2417
|
+
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
2418
|
+
value: input3.lst[1]
|
|
2419
|
+
})) && $vu6(input3.lst[1], _path2 + ".lst[1]", _exceptionable2) || $report(_exceptionable2, {
|
|
2420
|
+
path: _path2 + ".lst[1]",
|
|
2421
|
+
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
2422
|
+
value: input3.lst[1]
|
|
2423
|
+
})
|
|
2424
|
+
].every((flag) => flag)) || $report(_exceptionable2, {
|
|
2425
|
+
path: _path2 + ".lst",
|
|
2426
|
+
expected: "[StartUnboundedBin | FullyBoundedBin, FullyBoundedBin | StopUnboundedBin]",
|
|
2427
|
+
value: input3.lst
|
|
2457
2428
|
})].every((flag) => flag);
|
|
2458
|
-
const $
|
|
2429
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2459
2430
|
path: _path2 + ".id",
|
|
2460
2431
|
expected: "(string | undefined)",
|
|
2461
2432
|
value: input3.id
|
|
@@ -2471,7 +2442,7 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
2471
2442
|
path: _path2 + ".settings",
|
|
2472
2443
|
expected: "(__type.o5 | undefined)",
|
|
2473
2444
|
value: input3.settings
|
|
2474
|
-
})) && $
|
|
2445
|
+
})) && $vo38(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
2475
2446
|
path: _path2 + ".settings",
|
|
2476
2447
|
expected: "(__type.o5 | undefined)",
|
|
2477
2448
|
value: input3.settings
|
|
@@ -2479,43 +2450,228 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
2479
2450
|
path: _path2 + ".minNumSamples",
|
|
2480
2451
|
expected: "(number | undefined)",
|
|
2481
2452
|
value: input3.minNumSamples
|
|
2482
|
-
}), true,
|
|
2453
|
+
}), true, "NumTWCont" === input3.type || $report(_exceptionable2, {
|
|
2454
|
+
path: _path2 + ".type",
|
|
2455
|
+
expected: '"NumTWCont"',
|
|
2456
|
+
value: input3.type
|
|
2457
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2483
2458
|
path: _path2 + ".term",
|
|
2484
|
-
expected:
|
|
2459
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
2485
2460
|
value: input3.term
|
|
2486
|
-
})) && $
|
|
2461
|
+
})) && $vu8(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2487
2462
|
path: _path2 + ".term",
|
|
2488
|
-
expected:
|
|
2463
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
2489
2464
|
value: input3.term
|
|
2490
2465
|
}), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
|
|
2491
2466
|
path: _path2 + ".q",
|
|
2492
|
-
expected: "
|
|
2467
|
+
expected: "ContinuousNumericQ",
|
|
2493
2468
|
value: input3.q
|
|
2494
|
-
})) && $
|
|
2469
|
+
})) && $vo50(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2495
2470
|
path: _path2 + ".q",
|
|
2496
|
-
expected: "
|
|
2471
|
+
expected: "ContinuousNumericQ",
|
|
2497
2472
|
value: input3.q
|
|
2498
2473
|
})].every((flag) => flag);
|
|
2499
|
-
const $
|
|
2500
|
-
path: _path2 + ".
|
|
2501
|
-
expected: "
|
|
2502
|
-
value: input3.
|
|
2503
|
-
}), "
|
|
2474
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2475
|
+
path: _path2 + ".hiddenValues",
|
|
2476
|
+
expected: "(HiddenValues | undefined)",
|
|
2477
|
+
value: input3.hiddenValues
|
|
2478
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2479
|
+
path: _path2 + ".hiddenValues",
|
|
2480
|
+
expected: "(HiddenValues | undefined)",
|
|
2481
|
+
value: input3.hiddenValues
|
|
2482
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
2483
|
+
path: _path2 + ".isAtomic",
|
|
2484
|
+
expected: "(true | undefined)",
|
|
2485
|
+
value: input3.isAtomic
|
|
2486
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2504
2487
|
path: _path2 + ".name",
|
|
2505
|
-
expected: "string",
|
|
2488
|
+
expected: "(string | undefined)",
|
|
2506
2489
|
value: input3.name
|
|
2507
|
-
}), "
|
|
2508
|
-
path: _path2 + ".
|
|
2509
|
-
expected:
|
|
2510
|
-
value: input3.
|
|
2511
|
-
}), void 0 === input3.
|
|
2512
|
-
path: _path2 + ".
|
|
2513
|
-
expected: "
|
|
2514
|
-
value: input3.
|
|
2515
|
-
})
|
|
2516
|
-
path: _path2 + ".
|
|
2517
|
-
expected: "
|
|
2518
|
-
value:
|
|
2490
|
+
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
2491
|
+
path: _path2 + ".reuseId",
|
|
2492
|
+
expected: "(string | undefined)",
|
|
2493
|
+
value: input3.reuseId
|
|
2494
|
+
}), void 0 === input3.mode || "continuous" === input3.mode || $report(_exceptionable2, {
|
|
2495
|
+
path: _path2 + ".mode",
|
|
2496
|
+
expected: '("continuous" | undefined)',
|
|
2497
|
+
value: input3.mode
|
|
2498
|
+
}), void 0 === input3.convert2ZScore || "boolean" === typeof input3.convert2ZScore || $report(_exceptionable2, {
|
|
2499
|
+
path: _path2 + ".convert2ZScore",
|
|
2500
|
+
expected: "(boolean | undefined)",
|
|
2501
|
+
value: input3.convert2ZScore
|
|
2502
|
+
}), (null !== input3.type || $report(_exceptionable2, {
|
|
2503
|
+
path: _path2 + ".type",
|
|
2504
|
+
expected: "undefined",
|
|
2505
|
+
value: input3.type
|
|
2506
|
+
})) && (void 0 === input3.type || $report(_exceptionable2, {
|
|
2507
|
+
path: _path2 + ".type",
|
|
2508
|
+
expected: "undefined",
|
|
2509
|
+
value: input3.type
|
|
2510
|
+
}))].every((flag) => flag);
|
|
2511
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2512
|
+
path: _path2 + ".id",
|
|
2513
|
+
expected: "(string | undefined)",
|
|
2514
|
+
value: input3.id
|
|
2515
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
2516
|
+
path: _path2 + ".$id",
|
|
2517
|
+
expected: "(string | undefined)",
|
|
2518
|
+
value: input3.$id
|
|
2519
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
2520
|
+
path: _path2 + ".isAtomic",
|
|
2521
|
+
expected: "(true | undefined)",
|
|
2522
|
+
value: input3.isAtomic
|
|
2523
|
+
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
2524
|
+
path: _path2 + ".settings",
|
|
2525
|
+
expected: "(__type.o5 | undefined)",
|
|
2526
|
+
value: input3.settings
|
|
2527
|
+
})) && $vo38(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
2528
|
+
path: _path2 + ".settings",
|
|
2529
|
+
expected: "(__type.o5 | undefined)",
|
|
2530
|
+
value: input3.settings
|
|
2531
|
+
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
2532
|
+
path: _path2 + ".minNumSamples",
|
|
2533
|
+
expected: "(number | undefined)",
|
|
2534
|
+
value: input3.minNumSamples
|
|
2535
|
+
}), true, "NumTWSpline" === input3.type || $report(_exceptionable2, {
|
|
2536
|
+
path: _path2 + ".type",
|
|
2537
|
+
expected: '"NumTWSpline"',
|
|
2538
|
+
value: input3.type
|
|
2539
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2540
|
+
path: _path2 + ".term",
|
|
2541
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
2542
|
+
value: input3.term
|
|
2543
|
+
})) && $vu8(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2544
|
+
path: _path2 + ".term",
|
|
2545
|
+
expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
|
|
2546
|
+
value: input3.term
|
|
2547
|
+
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
2548
|
+
path: _path2 + ".q",
|
|
2549
|
+
expected: "SplineNumericQ",
|
|
2550
|
+
value: input3.q
|
|
2551
|
+
})) && $vo52(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2552
|
+
path: _path2 + ".q",
|
|
2553
|
+
expected: "SplineNumericQ",
|
|
2554
|
+
value: input3.q
|
|
2555
|
+
})].every((flag) => flag);
|
|
2556
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2557
|
+
path: _path2 + ".hiddenValues",
|
|
2558
|
+
expected: "(HiddenValues | undefined)",
|
|
2559
|
+
value: input3.hiddenValues
|
|
2560
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2561
|
+
path: _path2 + ".hiddenValues",
|
|
2562
|
+
expected: "(HiddenValues | undefined)",
|
|
2563
|
+
value: input3.hiddenValues
|
|
2564
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
2565
|
+
path: _path2 + ".isAtomic",
|
|
2566
|
+
expected: "(true | undefined)",
|
|
2567
|
+
value: input3.isAtomic
|
|
2568
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2569
|
+
path: _path2 + ".name",
|
|
2570
|
+
expected: "(string | undefined)",
|
|
2571
|
+
value: input3.name
|
|
2572
|
+
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
2573
|
+
path: _path2 + ".reuseId",
|
|
2574
|
+
expected: "(string | undefined)",
|
|
2575
|
+
value: input3.reuseId
|
|
2576
|
+
}), "spline" === input3.mode || $report(_exceptionable2, {
|
|
2577
|
+
path: _path2 + ".mode",
|
|
2578
|
+
expected: '"spline"',
|
|
2579
|
+
value: input3.mode
|
|
2580
|
+
}), (Array.isArray(input3.knots) || $report(_exceptionable2, {
|
|
2581
|
+
path: _path2 + ".knots",
|
|
2582
|
+
expected: "Array<__type>.o3",
|
|
2583
|
+
value: input3.knots
|
|
2584
|
+
})) && input3.knots.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2585
|
+
path: _path2 + ".knots[" + _index40 + "]",
|
|
2586
|
+
expected: "__type.o6",
|
|
2587
|
+
value: elem
|
|
2588
|
+
})) && $vo53(elem, _path2 + ".knots[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2589
|
+
path: _path2 + ".knots[" + _index40 + "]",
|
|
2590
|
+
expected: "__type.o6",
|
|
2591
|
+
value: elem
|
|
2592
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2593
|
+
path: _path2 + ".knots",
|
|
2594
|
+
expected: "Array<__type>.o3",
|
|
2595
|
+
value: input3.knots
|
|
2596
|
+
}), (null !== input3.type || $report(_exceptionable2, {
|
|
2597
|
+
path: _path2 + ".type",
|
|
2598
|
+
expected: "undefined",
|
|
2599
|
+
value: input3.type
|
|
2600
|
+
})) && (void 0 === input3.type || $report(_exceptionable2, {
|
|
2601
|
+
path: _path2 + ".type",
|
|
2602
|
+
expected: "undefined",
|
|
2603
|
+
value: input3.type
|
|
2604
|
+
}))].every((flag) => flag);
|
|
2605
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
|
|
2606
|
+
path: _path2 + ".value",
|
|
2607
|
+
expected: "number",
|
|
2608
|
+
value: input3.value
|
|
2609
|
+
})].every((flag) => flag);
|
|
2610
|
+
const $vo54 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2611
|
+
path: _path2 + ".id",
|
|
2612
|
+
expected: "(string | undefined)",
|
|
2613
|
+
value: input3.id
|
|
2614
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
2615
|
+
path: _path2 + ".$id",
|
|
2616
|
+
expected: "(string | undefined)",
|
|
2617
|
+
value: input3.$id
|
|
2618
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
2619
|
+
path: _path2 + ".isAtomic",
|
|
2620
|
+
expected: "(true | undefined)",
|
|
2621
|
+
value: input3.isAtomic
|
|
2622
|
+
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
2623
|
+
path: _path2 + ".settings",
|
|
2624
|
+
expected: "(__type.o5 | undefined)",
|
|
2625
|
+
value: input3.settings
|
|
2626
|
+
})) && $vo38(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
2627
|
+
path: _path2 + ".settings",
|
|
2628
|
+
expected: "(__type.o5 | undefined)",
|
|
2629
|
+
value: input3.settings
|
|
2630
|
+
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
2631
|
+
path: _path2 + ".minNumSamples",
|
|
2632
|
+
expected: "(number | undefined)",
|
|
2633
|
+
value: input3.minNumSamples
|
|
2634
|
+
}), true, "GvValuesTW" === input3.type || $report(_exceptionable2, {
|
|
2635
|
+
path: _path2 + ".type",
|
|
2636
|
+
expected: '"GvValuesTW"',
|
|
2637
|
+
value: input3.type
|
|
2638
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2639
|
+
path: _path2 + ".term",
|
|
2640
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; })',
|
|
2641
|
+
value: input3.term
|
|
2642
|
+
})) && $vu11(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2643
|
+
path: _path2 + ".term",
|
|
2644
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; })',
|
|
2645
|
+
value: input3.term
|
|
2646
|
+
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
2647
|
+
path: _path2 + ".q",
|
|
2648
|
+
expected: "GvValuesQ",
|
|
2649
|
+
value: input3.q
|
|
2650
|
+
})) && $vo57(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2651
|
+
path: _path2 + ".q",
|
|
2652
|
+
expected: "GvValuesQ",
|
|
2653
|
+
value: input3.q
|
|
2654
|
+
})].every((flag) => flag);
|
|
2655
|
+
const $vo55 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2656
|
+
path: _path2 + ".id",
|
|
2657
|
+
expected: "string",
|
|
2658
|
+
value: input3.id
|
|
2659
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2660
|
+
path: _path2 + ".name",
|
|
2661
|
+
expected: "string",
|
|
2662
|
+
value: input3.name
|
|
2663
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
2664
|
+
path: _path2 + ".type",
|
|
2665
|
+
expected: '"geneVariant"',
|
|
2666
|
+
value: input3.type
|
|
2667
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2668
|
+
path: _path2 + ".child_types",
|
|
2669
|
+
expected: "(Array<string> | undefined)",
|
|
2670
|
+
value: input3.child_types
|
|
2671
|
+
})) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2672
|
+
path: _path2 + ".child_types[" + _index41 + "]",
|
|
2673
|
+
expected: "string",
|
|
2674
|
+
value: elem
|
|
2519
2675
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2520
2676
|
path: _path2 + ".child_types",
|
|
2521
2677
|
expected: "(Array<string> | undefined)",
|
|
@@ -2528,8 +2684,8 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
2528
2684
|
path: _path2 + ".included_types",
|
|
2529
2685
|
expected: "(Array<string> | undefined)",
|
|
2530
2686
|
value: input3.included_types
|
|
2531
|
-
})) && input3.included_types.map((elem,
|
|
2532
|
-
path: _path2 + ".included_types[" +
|
|
2687
|
+
})) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2688
|
+
path: _path2 + ".included_types[" + _index42 + "]",
|
|
2533
2689
|
expected: "string",
|
|
2534
2690
|
value: elem
|
|
2535
2691
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2576,12 +2732,12 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
2576
2732
|
path: _path2 + ".genes",
|
|
2577
2733
|
expected: "Array<GvGeneTerm>",
|
|
2578
2734
|
value: input3.genes
|
|
2579
|
-
})) && input3.genes.map((elem,
|
|
2580
|
-
path: _path2 + ".genes[" +
|
|
2735
|
+
})) && input3.genes.map((elem, _index43) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2736
|
+
path: _path2 + ".genes[" + _index43 + "]",
|
|
2581
2737
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2582
2738
|
value: elem
|
|
2583
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2584
|
-
path: _path2 + ".genes[" +
|
|
2739
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index43 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2740
|
+
path: _path2 + ".genes[" + _index43 + "]",
|
|
2585
2741
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2586
2742
|
value: elem
|
|
2587
2743
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2600,12 +2756,12 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
2600
2756
|
path: _path2 + ".childTerms",
|
|
2601
2757
|
expected: "Array<DtTerm>",
|
|
2602
2758
|
value: input3.childTerms
|
|
2603
|
-
})) && input3.childTerms.map((elem,
|
|
2604
|
-
path: _path2 + ".childTerms[" +
|
|
2759
|
+
})) && input3.childTerms.map((elem, _index44) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2760
|
+
path: _path2 + ".childTerms[" + _index44 + "]",
|
|
2605
2761
|
expected: "DtTerm",
|
|
2606
2762
|
value: elem
|
|
2607
|
-
})) && $
|
|
2608
|
-
path: _path2 + ".childTerms[" +
|
|
2763
|
+
})) && $vo31(elem, _path2 + ".childTerms[" + _index44 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2764
|
+
path: _path2 + ".childTerms[" + _index44 + "]",
|
|
2609
2765
|
expected: "DtTerm",
|
|
2610
2766
|
value: elem
|
|
2611
2767
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2613,7 +2769,7 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
2613
2769
|
expected: "Array<DtTerm>",
|
|
2614
2770
|
value: input3.childTerms
|
|
2615
2771
|
})].every((flag) => flag);
|
|
2616
|
-
const $
|
|
2772
|
+
const $vo56 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2617
2773
|
path: _path2 + ".id",
|
|
2618
2774
|
expected: "string",
|
|
2619
2775
|
value: input3.id
|
|
@@ -2629,8 +2785,8 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
2629
2785
|
path: _path2 + ".child_types",
|
|
2630
2786
|
expected: "(Array<string> | undefined)",
|
|
2631
2787
|
value: input3.child_types
|
|
2632
|
-
})) && input3.child_types.map((elem,
|
|
2633
|
-
path: _path2 + ".child_types[" +
|
|
2788
|
+
})) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2789
|
+
path: _path2 + ".child_types[" + _index45 + "]",
|
|
2634
2790
|
expected: "string",
|
|
2635
2791
|
value: elem
|
|
2636
2792
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2645,8 +2801,8 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
2645
2801
|
path: _path2 + ".included_types",
|
|
2646
2802
|
expected: "(Array<string> | undefined)",
|
|
2647
2803
|
value: input3.included_types
|
|
2648
|
-
})) && input3.included_types.map((elem,
|
|
2649
|
-
path: _path2 + ".included_types[" +
|
|
2804
|
+
})) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2805
|
+
path: _path2 + ".included_types[" + _index46 + "]",
|
|
2650
2806
|
expected: "string",
|
|
2651
2807
|
value: elem
|
|
2652
2808
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2689,12 +2845,12 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
2689
2845
|
path: _path2 + ".genes",
|
|
2690
2846
|
expected: "Array<GvGeneTerm>",
|
|
2691
2847
|
value: input3.genes
|
|
2692
|
-
})) && input3.genes.map((elem,
|
|
2693
|
-
path: _path2 + ".genes[" +
|
|
2848
|
+
})) && input3.genes.map((elem, _index47) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2849
|
+
path: _path2 + ".genes[" + _index47 + "]",
|
|
2694
2850
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2695
2851
|
value: elem
|
|
2696
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2697
|
-
path: _path2 + ".genes[" +
|
|
2852
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2853
|
+
path: _path2 + ".genes[" + _index47 + "]",
|
|
2698
2854
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2699
2855
|
value: elem
|
|
2700
2856
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2713,12 +2869,12 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
2713
2869
|
path: _path2 + ".childTerms",
|
|
2714
2870
|
expected: "Array<DtTerm>",
|
|
2715
2871
|
value: input3.childTerms
|
|
2716
|
-
})) && input3.childTerms.map((elem,
|
|
2717
|
-
path: _path2 + ".childTerms[" +
|
|
2872
|
+
})) && input3.childTerms.map((elem, _index48) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2873
|
+
path: _path2 + ".childTerms[" + _index48 + "]",
|
|
2718
2874
|
expected: "DtTerm",
|
|
2719
2875
|
value: elem
|
|
2720
|
-
})) && $
|
|
2721
|
-
path: _path2 + ".childTerms[" +
|
|
2876
|
+
})) && $vo31(elem, _path2 + ".childTerms[" + _index48 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2877
|
+
path: _path2 + ".childTerms[" + _index48 + "]",
|
|
2722
2878
|
expected: "DtTerm",
|
|
2723
2879
|
value: elem
|
|
2724
2880
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2726,299 +2882,481 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
2726
2882
|
expected: "Array<DtTerm>",
|
|
2727
2883
|
value: input3.childTerms
|
|
2728
2884
|
})].every((flag) => flag);
|
|
2729
|
-
const $
|
|
2730
|
-
path: _path2 + ".
|
|
2731
|
-
expected: "
|
|
2732
|
-
value: input3.
|
|
2733
|
-
}), "
|
|
2885
|
+
const $vo57 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2886
|
+
path: _path2 + ".hiddenValues",
|
|
2887
|
+
expected: "(HiddenValues | undefined)",
|
|
2888
|
+
value: input3.hiddenValues
|
|
2889
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2890
|
+
path: _path2 + ".hiddenValues",
|
|
2891
|
+
expected: "(HiddenValues | undefined)",
|
|
2892
|
+
value: input3.hiddenValues
|
|
2893
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
2894
|
+
path: _path2 + ".isAtomic",
|
|
2895
|
+
expected: "(true | undefined)",
|
|
2896
|
+
value: input3.isAtomic
|
|
2897
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2734
2898
|
path: _path2 + ".name",
|
|
2735
|
-
expected: "string",
|
|
2899
|
+
expected: "(string | undefined)",
|
|
2736
2900
|
value: input3.name
|
|
2737
|
-
}), "
|
|
2901
|
+
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
2902
|
+
path: _path2 + ".reuseId",
|
|
2903
|
+
expected: "(string | undefined)",
|
|
2904
|
+
value: input3.reuseId
|
|
2905
|
+
}), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
|
|
2906
|
+
path: _path2 + ".cnvGainCutoff",
|
|
2907
|
+
expected: "(number | undefined)",
|
|
2908
|
+
value: input3.cnvGainCutoff
|
|
2909
|
+
}), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
|
|
2910
|
+
path: _path2 + ".cnvMaxLength",
|
|
2911
|
+
expected: "(number | undefined)",
|
|
2912
|
+
value: input3.cnvMaxLength
|
|
2913
|
+
}), void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue || $report(_exceptionable2, {
|
|
2914
|
+
path: _path2 + ".cnvMinAbsValue",
|
|
2915
|
+
expected: "(number | undefined)",
|
|
2916
|
+
value: input3.cnvMinAbsValue
|
|
2917
|
+
}), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
|
|
2918
|
+
path: _path2 + ".cnvLossCutoff",
|
|
2919
|
+
expected: "(number | undefined)",
|
|
2920
|
+
value: input3.cnvLossCutoff
|
|
2921
|
+
}), "values" === input3.type || $report(_exceptionable2, {
|
|
2738
2922
|
path: _path2 + ".type",
|
|
2739
|
-
expected: '"
|
|
2923
|
+
expected: '"values"',
|
|
2740
2924
|
value: input3.type
|
|
2741
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2742
|
-
path: _path2 + ".child_types",
|
|
2743
|
-
expected: "(Array<string> | undefined)",
|
|
2744
|
-
value: input3.child_types
|
|
2745
|
-
})) && input3.child_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2746
|
-
path: _path2 + ".child_types[" + _index47 + "]",
|
|
2747
|
-
expected: "string",
|
|
2748
|
-
value: elem
|
|
2749
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2750
|
-
path: _path2 + ".child_types",
|
|
2751
|
-
expected: "(Array<string> | undefined)",
|
|
2752
|
-
value: input3.child_types
|
|
2753
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2754
|
-
path: _path2 + ".hashtmldetail",
|
|
2755
|
-
expected: "(boolean | undefined)",
|
|
2756
|
-
value: input3.hashtmldetail
|
|
2757
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2758
|
-
path: _path2 + ".included_types",
|
|
2759
|
-
expected: "(Array<string> | undefined)",
|
|
2760
|
-
value: input3.included_types
|
|
2761
|
-
})) && input3.included_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2762
|
-
path: _path2 + ".included_types[" + _index48 + "]",
|
|
2763
|
-
expected: "string",
|
|
2764
|
-
value: elem
|
|
2765
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2766
|
-
path: _path2 + ".included_types",
|
|
2767
|
-
expected: "(Array<string> | undefined)",
|
|
2768
|
-
value: input3.included_types
|
|
2769
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2770
|
-
path: _path2 + ".isleaf",
|
|
2771
|
-
expected: "(boolean | undefined)",
|
|
2772
|
-
value: input3.isleaf
|
|
2773
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2774
|
-
path: _path2 + ".values",
|
|
2775
|
-
expected: "(TermValues | undefined)",
|
|
2776
|
-
value: input3.values
|
|
2777
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2778
|
-
path: _path2 + ".values",
|
|
2779
|
-
expected: "(TermValues | undefined)",
|
|
2780
|
-
value: input3.values
|
|
2781
|
-
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2782
|
-
path: _path2 + ".skipValuesBuild",
|
|
2783
|
-
expected: "(boolean | undefined)",
|
|
2784
|
-
value: input3.skipValuesBuild
|
|
2785
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2786
|
-
path: _path2 + ".groupsetting",
|
|
2787
|
-
expected: "TermGroupSetting",
|
|
2788
|
-
value: input3.groupsetting
|
|
2789
|
-
})) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2790
|
-
path: _path2 + ".groupsetting",
|
|
2791
|
-
expected: "TermGroupSetting",
|
|
2792
|
-
value: input3.groupsetting
|
|
2793
2925
|
})].every((flag) => flag);
|
|
2794
|
-
const $
|
|
2926
|
+
const $vo58 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2795
2927
|
path: _path2 + ".id",
|
|
2796
|
-
expected: "string",
|
|
2928
|
+
expected: "(string | undefined)",
|
|
2797
2929
|
value: input3.id
|
|
2798
|
-
}), "string" === typeof input3
|
|
2799
|
-
path: _path2 + "
|
|
2800
|
-
expected: "string",
|
|
2801
|
-
value: input3.name
|
|
2802
|
-
}), "integer" === input3.type || "float" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
2803
|
-
path: _path2 + ".type",
|
|
2804
|
-
expected: '("date" | "float" | "integer")',
|
|
2805
|
-
value: input3.type
|
|
2806
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2807
|
-
path: _path2 + ".child_types",
|
|
2808
|
-
expected: "(Array<string> | undefined)",
|
|
2809
|
-
value: input3.child_types
|
|
2810
|
-
})) && input3.child_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2811
|
-
path: _path2 + ".child_types[" + _index49 + "]",
|
|
2812
|
-
expected: "string",
|
|
2813
|
-
value: elem
|
|
2814
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2815
|
-
path: _path2 + ".child_types",
|
|
2816
|
-
expected: "(Array<string> | undefined)",
|
|
2817
|
-
value: input3.child_types
|
|
2818
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2819
|
-
path: _path2 + ".hashtmldetail",
|
|
2820
|
-
expected: "(boolean | undefined)",
|
|
2821
|
-
value: input3.hashtmldetail
|
|
2822
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2823
|
-
path: _path2 + ".included_types",
|
|
2824
|
-
expected: "(Array<string> | undefined)",
|
|
2825
|
-
value: input3.included_types
|
|
2826
|
-
})) && input3.included_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2827
|
-
path: _path2 + ".included_types[" + _index50 + "]",
|
|
2828
|
-
expected: "string",
|
|
2829
|
-
value: elem
|
|
2830
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2831
|
-
path: _path2 + ".included_types",
|
|
2832
|
-
expected: "(Array<string> | undefined)",
|
|
2833
|
-
value: input3.included_types
|
|
2834
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2835
|
-
path: _path2 + ".isleaf",
|
|
2836
|
-
expected: "(boolean | undefined)",
|
|
2837
|
-
value: input3.isleaf
|
|
2838
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2839
|
-
path: _path2 + ".values",
|
|
2840
|
-
expected: "(TermValues | undefined)",
|
|
2841
|
-
value: input3.values
|
|
2842
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2843
|
-
path: _path2 + ".values",
|
|
2844
|
-
expected: "(TermValues | undefined)",
|
|
2845
|
-
value: input3.values
|
|
2846
|
-
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2847
|
-
path: _path2 + ".skipValuesBuild",
|
|
2848
|
-
expected: "(boolean | undefined)",
|
|
2849
|
-
value: input3.skipValuesBuild
|
|
2850
|
-
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2851
|
-
path: _path2 + ".continuousColorScale",
|
|
2852
|
-
expected: "(__type.o2 | undefined)",
|
|
2853
|
-
value: input3.continuousColorScale
|
|
2854
|
-
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2855
|
-
path: _path2 + ".continuousColorScale",
|
|
2856
|
-
expected: "(__type.o2 | undefined)",
|
|
2857
|
-
value: input3.continuousColorScale
|
|
2858
|
-
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
2859
|
-
path: _path2 + ".unit",
|
|
2930
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
2931
|
+
path: _path2 + ".$id",
|
|
2860
2932
|
expected: "(string | undefined)",
|
|
2861
|
-
value: input3
|
|
2862
|
-
}),
|
|
2863
|
-
path: _path2 + ".
|
|
2864
|
-
expected: "
|
|
2865
|
-
value: input3.
|
|
2866
|
-
})
|
|
2867
|
-
path: _path2 + ".
|
|
2868
|
-
expected: "
|
|
2869
|
-
value: input3.
|
|
2933
|
+
value: input3.$id
|
|
2934
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
2935
|
+
path: _path2 + ".isAtomic",
|
|
2936
|
+
expected: "(true | undefined)",
|
|
2937
|
+
value: input3.isAtomic
|
|
2938
|
+
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
2939
|
+
path: _path2 + ".settings",
|
|
2940
|
+
expected: "(__type.o5 | undefined)",
|
|
2941
|
+
value: input3.settings
|
|
2942
|
+
})) && $vo38(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
2943
|
+
path: _path2 + ".settings",
|
|
2944
|
+
expected: "(__type.o5 | undefined)",
|
|
2945
|
+
value: input3.settings
|
|
2946
|
+
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
2947
|
+
path: _path2 + ".minNumSamples",
|
|
2948
|
+
expected: "(number | undefined)",
|
|
2949
|
+
value: input3.minNumSamples
|
|
2950
|
+
}), true, "GvPredefinedGsTW" === input3.type || $report(_exceptionable2, {
|
|
2951
|
+
path: _path2 + ".type",
|
|
2952
|
+
expected: '"GvPredefinedGsTW"',
|
|
2953
|
+
value: input3.type
|
|
2954
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2955
|
+
path: _path2 + ".term",
|
|
2956
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; })',
|
|
2957
|
+
value: input3.term
|
|
2958
|
+
})) && $vu11(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2959
|
+
path: _path2 + ".term",
|
|
2960
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; })',
|
|
2961
|
+
value: input3.term
|
|
2962
|
+
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
2963
|
+
path: _path2 + ".q",
|
|
2964
|
+
expected: "GvPredefinedGsQ",
|
|
2965
|
+
value: input3.q
|
|
2966
|
+
})) && $vo59(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2967
|
+
path: _path2 + ".q",
|
|
2968
|
+
expected: "GvPredefinedGsQ",
|
|
2969
|
+
value: input3.q
|
|
2870
2970
|
})].every((flag) => flag);
|
|
2871
|
-
const $
|
|
2971
|
+
const $vo59 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2972
|
+
path: _path2 + ".hiddenValues",
|
|
2973
|
+
expected: "(HiddenValues | undefined)",
|
|
2974
|
+
value: input3.hiddenValues
|
|
2975
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2976
|
+
path: _path2 + ".hiddenValues",
|
|
2977
|
+
expected: "(HiddenValues | undefined)",
|
|
2978
|
+
value: input3.hiddenValues
|
|
2979
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
2980
|
+
path: _path2 + ".isAtomic",
|
|
2981
|
+
expected: "(true | undefined)",
|
|
2982
|
+
value: input3.isAtomic
|
|
2983
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2984
|
+
path: _path2 + ".name",
|
|
2985
|
+
expected: "(string | undefined)",
|
|
2986
|
+
value: input3.name
|
|
2987
|
+
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
2988
|
+
path: _path2 + ".reuseId",
|
|
2989
|
+
expected: "(string | undefined)",
|
|
2990
|
+
value: input3.reuseId
|
|
2991
|
+
}), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
|
|
2992
|
+
path: _path2 + ".cnvGainCutoff",
|
|
2993
|
+
expected: "(number | undefined)",
|
|
2994
|
+
value: input3.cnvGainCutoff
|
|
2995
|
+
}), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
|
|
2996
|
+
path: _path2 + ".cnvMaxLength",
|
|
2997
|
+
expected: "(number | undefined)",
|
|
2998
|
+
value: input3.cnvMaxLength
|
|
2999
|
+
}), void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue || $report(_exceptionable2, {
|
|
3000
|
+
path: _path2 + ".cnvMinAbsValue",
|
|
3001
|
+
expected: "(number | undefined)",
|
|
3002
|
+
value: input3.cnvMinAbsValue
|
|
3003
|
+
}), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
|
|
3004
|
+
path: _path2 + ".cnvLossCutoff",
|
|
3005
|
+
expected: "(number | undefined)",
|
|
3006
|
+
value: input3.cnvLossCutoff
|
|
3007
|
+
}), "predefined-groupset" === input3.type || $report(_exceptionable2, {
|
|
3008
|
+
path: _path2 + ".type",
|
|
3009
|
+
expected: '"predefined-groupset"',
|
|
3010
|
+
value: input3.type
|
|
3011
|
+
}), "number" === typeof input3.predefined_groupset_idx || $report(_exceptionable2, {
|
|
3012
|
+
path: _path2 + ".predefined_groupset_idx",
|
|
3013
|
+
expected: "number",
|
|
3014
|
+
value: input3.predefined_groupset_idx
|
|
3015
|
+
})].every((flag) => flag);
|
|
3016
|
+
const $vo60 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2872
3017
|
path: _path2 + ".id",
|
|
2873
|
-
expected: "string",
|
|
3018
|
+
expected: "(string | undefined)",
|
|
2874
3019
|
value: input3.id
|
|
2875
|
-
}), "string" === typeof input3
|
|
3020
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
3021
|
+
path: _path2 + ".$id",
|
|
3022
|
+
expected: "(string | undefined)",
|
|
3023
|
+
value: input3.$id
|
|
3024
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
3025
|
+
path: _path2 + ".isAtomic",
|
|
3026
|
+
expected: "(true | undefined)",
|
|
3027
|
+
value: input3.isAtomic
|
|
3028
|
+
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
3029
|
+
path: _path2 + ".settings",
|
|
3030
|
+
expected: "(__type.o5 | undefined)",
|
|
3031
|
+
value: input3.settings
|
|
3032
|
+
})) && $vo38(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
3033
|
+
path: _path2 + ".settings",
|
|
3034
|
+
expected: "(__type.o5 | undefined)",
|
|
3035
|
+
value: input3.settings
|
|
3036
|
+
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
3037
|
+
path: _path2 + ".minNumSamples",
|
|
3038
|
+
expected: "(number | undefined)",
|
|
3039
|
+
value: input3.minNumSamples
|
|
3040
|
+
}), true, "GvCustomGsTW" === input3.type || $report(_exceptionable2, {
|
|
3041
|
+
path: _path2 + ".type",
|
|
3042
|
+
expected: '"GvCustomGsTW"',
|
|
3043
|
+
value: input3.type
|
|
3044
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
3045
|
+
path: _path2 + ".term",
|
|
3046
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; })',
|
|
3047
|
+
value: input3.term
|
|
3048
|
+
})) && $vu11(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3049
|
+
path: _path2 + ".term",
|
|
3050
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; })',
|
|
3051
|
+
value: input3.term
|
|
3052
|
+
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
3053
|
+
path: _path2 + ".q",
|
|
3054
|
+
expected: "GvCustomGsQ",
|
|
3055
|
+
value: input3.q
|
|
3056
|
+
})) && $vo61(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
3057
|
+
path: _path2 + ".q",
|
|
3058
|
+
expected: "GvCustomGsQ",
|
|
3059
|
+
value: input3.q
|
|
3060
|
+
})].every((flag) => flag);
|
|
3061
|
+
const $vo61 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3062
|
+
path: _path2 + ".hiddenValues",
|
|
3063
|
+
expected: "(HiddenValues | undefined)",
|
|
3064
|
+
value: input3.hiddenValues
|
|
3065
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
3066
|
+
path: _path2 + ".hiddenValues",
|
|
3067
|
+
expected: "(HiddenValues | undefined)",
|
|
3068
|
+
value: input3.hiddenValues
|
|
3069
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
3070
|
+
path: _path2 + ".isAtomic",
|
|
3071
|
+
expected: "(true | undefined)",
|
|
3072
|
+
value: input3.isAtomic
|
|
3073
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2876
3074
|
path: _path2 + ".name",
|
|
2877
|
-
expected: "string",
|
|
3075
|
+
expected: "(string | undefined)",
|
|
2878
3076
|
value: input3.name
|
|
2879
|
-
}), "
|
|
3077
|
+
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3078
|
+
path: _path2 + ".reuseId",
|
|
3079
|
+
expected: "(string | undefined)",
|
|
3080
|
+
value: input3.reuseId
|
|
3081
|
+
}), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
|
|
3082
|
+
path: _path2 + ".cnvGainCutoff",
|
|
3083
|
+
expected: "(number | undefined)",
|
|
3084
|
+
value: input3.cnvGainCutoff
|
|
3085
|
+
}), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
|
|
3086
|
+
path: _path2 + ".cnvMaxLength",
|
|
3087
|
+
expected: "(number | undefined)",
|
|
3088
|
+
value: input3.cnvMaxLength
|
|
3089
|
+
}), void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue || $report(_exceptionable2, {
|
|
3090
|
+
path: _path2 + ".cnvMinAbsValue",
|
|
3091
|
+
expected: "(number | undefined)",
|
|
3092
|
+
value: input3.cnvMinAbsValue
|
|
3093
|
+
}), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
|
|
3094
|
+
path: _path2 + ".cnvLossCutoff",
|
|
3095
|
+
expected: "(number | undefined)",
|
|
3096
|
+
value: input3.cnvLossCutoff
|
|
3097
|
+
}), "custom-groupset" === input3.type || $report(_exceptionable2, {
|
|
2880
3098
|
path: _path2 + ".type",
|
|
2881
|
-
expected: '"
|
|
3099
|
+
expected: '"custom-groupset"',
|
|
2882
3100
|
value: input3.type
|
|
2883
|
-
}),
|
|
2884
|
-
path: _path2 + ".
|
|
2885
|
-
expected: "
|
|
2886
|
-
value: input3.
|
|
2887
|
-
})) && input3.
|
|
2888
|
-
path: _path2 + ".
|
|
2889
|
-
expected: "
|
|
2890
|
-
value:
|
|
2891
|
-
})
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
3101
|
+
}), ("object" === typeof input3.customset && null !== input3.customset || $report(_exceptionable2, {
|
|
3102
|
+
path: _path2 + ".customset",
|
|
3103
|
+
expected: "BaseGroupSet",
|
|
3104
|
+
value: input3.customset
|
|
3105
|
+
})) && $vo44(input3.customset, _path2 + ".customset", _exceptionable2) || $report(_exceptionable2, {
|
|
3106
|
+
path: _path2 + ".customset",
|
|
3107
|
+
expected: "BaseGroupSet",
|
|
3108
|
+
value: input3.customset
|
|
3109
|
+
})].every((flag) => flag);
|
|
3110
|
+
const $vo62 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
3111
|
+
path: _path2 + ".id",
|
|
3112
|
+
expected: "(string | undefined)",
|
|
3113
|
+
value: input3.id
|
|
3114
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
3115
|
+
path: _path2 + ".$id",
|
|
3116
|
+
expected: "(string | undefined)",
|
|
3117
|
+
value: input3.$id
|
|
3118
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
3119
|
+
path: _path2 + ".isAtomic",
|
|
3120
|
+
expected: "(true | undefined)",
|
|
3121
|
+
value: input3.isAtomic
|
|
3122
|
+
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
3123
|
+
path: _path2 + ".settings",
|
|
3124
|
+
expected: "(__type.o5 | undefined)",
|
|
3125
|
+
value: input3.settings
|
|
3126
|
+
})) && $vo38(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
3127
|
+
path: _path2 + ".settings",
|
|
3128
|
+
expected: "(__type.o5 | undefined)",
|
|
3129
|
+
value: input3.settings
|
|
3130
|
+
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
3131
|
+
path: _path2 + ".minNumSamples",
|
|
3132
|
+
expected: "(number | undefined)",
|
|
3133
|
+
value: input3.minNumSamples
|
|
3134
|
+
}), true, "ConditionTW" === input3.type || $report(_exceptionable2, {
|
|
3135
|
+
path: _path2 + ".type",
|
|
3136
|
+
expected: '"ConditionTW"',
|
|
3137
|
+
value: input3.type
|
|
3138
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
3139
|
+
path: _path2 + ".term",
|
|
3140
|
+
expected: "ConditionTerm",
|
|
3141
|
+
value: input3.term
|
|
3142
|
+
})) && $vo28(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3143
|
+
path: _path2 + ".term",
|
|
3144
|
+
expected: "ConditionTerm",
|
|
3145
|
+
value: input3.term
|
|
3146
|
+
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
3147
|
+
path: _path2 + ".q",
|
|
3148
|
+
expected: "ConditionQ",
|
|
3149
|
+
value: input3.q
|
|
3150
|
+
})) && $vo63(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
3151
|
+
path: _path2 + ".q",
|
|
3152
|
+
expected: "ConditionQ",
|
|
3153
|
+
value: input3.q
|
|
3154
|
+
})].every((flag) => flag);
|
|
3155
|
+
const $vo63 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3156
|
+
path: _path2 + ".hiddenValues",
|
|
3157
|
+
expected: "(HiddenValues | undefined)",
|
|
3158
|
+
value: input3.hiddenValues
|
|
3159
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
3160
|
+
path: _path2 + ".hiddenValues",
|
|
3161
|
+
expected: "(HiddenValues | undefined)",
|
|
3162
|
+
value: input3.hiddenValues
|
|
3163
|
+
}), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
|
|
3164
|
+
path: _path2 + ".isAtomic",
|
|
2897
3165
|
expected: "(boolean | undefined)",
|
|
2898
|
-
value: input3.
|
|
2899
|
-
}), void 0 === input3.
|
|
2900
|
-
path: _path2 + ".
|
|
2901
|
-
expected: "(
|
|
2902
|
-
value: input3.
|
|
2903
|
-
})
|
|
2904
|
-
path: _path2 + ".
|
|
2905
|
-
expected: "
|
|
3166
|
+
value: input3.isAtomic
|
|
3167
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3168
|
+
path: _path2 + ".name",
|
|
3169
|
+
expected: "(string | undefined)",
|
|
3170
|
+
value: input3.name
|
|
3171
|
+
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
|
|
3172
|
+
path: _path2 + ".mode",
|
|
3173
|
+
expected: '("binary" | "cox" | "cuminc" | "discrete" | undefined)',
|
|
3174
|
+
value: input3.mode
|
|
3175
|
+
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3176
|
+
path: _path2 + ".reuseId",
|
|
3177
|
+
expected: "(string | undefined)",
|
|
3178
|
+
value: input3.reuseId
|
|
3179
|
+
}), void 0 === input3.type || "values" === input3.type || $report(_exceptionable2, {
|
|
3180
|
+
path: _path2 + ".type",
|
|
3181
|
+
expected: '("values" | undefined)',
|
|
3182
|
+
value: input3.type
|
|
3183
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
3184
|
+
path: _path2 + ".bar_by_children",
|
|
3185
|
+
expected: "(boolean | undefined)",
|
|
3186
|
+
value: input3.bar_by_children
|
|
3187
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
3188
|
+
path: _path2 + ".bar_by_grade",
|
|
3189
|
+
expected: "(boolean | undefined)",
|
|
3190
|
+
value: input3.bar_by_grade
|
|
3191
|
+
}), void 0 === input3.breaks || (Array.isArray(input3.breaks) || $report(_exceptionable2, {
|
|
3192
|
+
path: _path2 + ".breaks",
|
|
3193
|
+
expected: "(Array<number> | undefined)",
|
|
3194
|
+
value: input3.breaks
|
|
3195
|
+
})) && input3.breaks.map((elem, _index49) => "number" === typeof elem || $report(_exceptionable2, {
|
|
3196
|
+
path: _path2 + ".breaks[" + _index49 + "]",
|
|
3197
|
+
expected: "number",
|
|
2906
3198
|
value: elem
|
|
2907
3199
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2908
|
-
path: _path2 + ".
|
|
2909
|
-
expected: "(Array<
|
|
2910
|
-
value: input3.
|
|
2911
|
-
}),
|
|
2912
|
-
path: _path2 + ".
|
|
3200
|
+
path: _path2 + ".breaks",
|
|
3201
|
+
expected: "(Array<number> | undefined)",
|
|
3202
|
+
value: input3.breaks
|
|
3203
|
+
}), "age" === input3.timeScale || "time" === input3.timeScale || $report(_exceptionable2, {
|
|
3204
|
+
path: _path2 + ".timeScale",
|
|
3205
|
+
expected: '("age" | "time")',
|
|
3206
|
+
value: input3.timeScale
|
|
3207
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
3208
|
+
path: _path2 + ".value_by_max_grade",
|
|
2913
3209
|
expected: "(boolean | undefined)",
|
|
2914
|
-
value: input3.
|
|
2915
|
-
}), void 0 === input3.
|
|
2916
|
-
path: _path2 + ".
|
|
2917
|
-
expected: "(TermValues | undefined)",
|
|
2918
|
-
value: input3.values
|
|
2919
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2920
|
-
path: _path2 + ".values",
|
|
2921
|
-
expected: "(TermValues | undefined)",
|
|
2922
|
-
value: input3.values
|
|
2923
|
-
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2924
|
-
path: _path2 + ".skipValuesBuild",
|
|
3210
|
+
value: input3.value_by_max_grade
|
|
3211
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
3212
|
+
path: _path2 + ".value_by_most_recent",
|
|
2925
3213
|
expected: "(boolean | undefined)",
|
|
2926
|
-
value: input3.
|
|
2927
|
-
}), void 0 === input3.
|
|
2928
|
-
path: _path2 + ".
|
|
2929
|
-
expected: "(
|
|
2930
|
-
value: input3.
|
|
2931
|
-
})
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
value: input3.continuousColorScale
|
|
2935
|
-
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
2936
|
-
path: _path2 + ".unit",
|
|
3214
|
+
value: input3.value_by_most_recent
|
|
3215
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
3216
|
+
path: _path2 + ".value_by_computable_grade",
|
|
3217
|
+
expected: "(boolean | undefined)",
|
|
3218
|
+
value: input3.value_by_computable_grade
|
|
3219
|
+
}), true].every((flag) => flag);
|
|
3220
|
+
const $vo64 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
3221
|
+
path: _path2 + ".id",
|
|
2937
3222
|
expected: "(string | undefined)",
|
|
2938
|
-
value: input3.
|
|
2939
|
-
}), "string" === typeof input3
|
|
2940
|
-
path: _path2 + "
|
|
3223
|
+
value: input3.id
|
|
3224
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
3225
|
+
path: _path2 + ".$id",
|
|
3226
|
+
expected: "(string | undefined)",
|
|
3227
|
+
value: input3.$id
|
|
3228
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
3229
|
+
path: _path2 + ".isAtomic",
|
|
3230
|
+
expected: "(true | undefined)",
|
|
3231
|
+
value: input3.isAtomic
|
|
3232
|
+
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
3233
|
+
path: _path2 + ".settings",
|
|
3234
|
+
expected: "(__type.o5 | undefined)",
|
|
3235
|
+
value: input3.settings
|
|
3236
|
+
})) && $vo38(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
3237
|
+
path: _path2 + ".settings",
|
|
3238
|
+
expected: "(__type.o5 | undefined)",
|
|
3239
|
+
value: input3.settings
|
|
3240
|
+
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
3241
|
+
path: _path2 + ".minNumSamples",
|
|
3242
|
+
expected: "(number | undefined)",
|
|
3243
|
+
value: input3.minNumSamples
|
|
3244
|
+
}), true, "SnpsTW" === input3.type || $report(_exceptionable2, {
|
|
3245
|
+
path: _path2 + ".type",
|
|
3246
|
+
expected: '"SnpsTW"',
|
|
3247
|
+
value: input3.type
|
|
3248
|
+
}), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
|
|
3249
|
+
path: _path2 + ".q",
|
|
3250
|
+
expected: "SnpsQ",
|
|
3251
|
+
value: input3.q
|
|
3252
|
+
})) && $vo65(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
3253
|
+
path: _path2 + ".q",
|
|
3254
|
+
expected: "SnpsQ",
|
|
3255
|
+
value: input3.q
|
|
3256
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
3257
|
+
path: _path2 + ".term",
|
|
3258
|
+
expected: "SnpsTerm",
|
|
3259
|
+
value: input3.term
|
|
3260
|
+
})) && $vo67(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3261
|
+
path: _path2 + ".term",
|
|
3262
|
+
expected: "SnpsTerm",
|
|
3263
|
+
value: input3.term
|
|
3264
|
+
})].every((flag) => flag);
|
|
3265
|
+
const $vo65 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3266
|
+
path: _path2 + ".hiddenValues",
|
|
3267
|
+
expected: "(HiddenValues | undefined)",
|
|
3268
|
+
value: input3.hiddenValues
|
|
3269
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
3270
|
+
path: _path2 + ".hiddenValues",
|
|
3271
|
+
expected: "(HiddenValues | undefined)",
|
|
3272
|
+
value: input3.hiddenValues
|
|
3273
|
+
}), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
|
|
3274
|
+
path: _path2 + ".isAtomic",
|
|
3275
|
+
expected: "(boolean | undefined)",
|
|
3276
|
+
value: input3.isAtomic
|
|
3277
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3278
|
+
path: _path2 + ".name",
|
|
3279
|
+
expected: "(string | undefined)",
|
|
3280
|
+
value: input3.name
|
|
3281
|
+
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
|
|
3282
|
+
path: _path2 + ".mode",
|
|
3283
|
+
expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
|
|
3284
|
+
value: input3.mode
|
|
3285
|
+
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3286
|
+
path: _path2 + ".reuseId",
|
|
3287
|
+
expected: "(string | undefined)",
|
|
3288
|
+
value: input3.reuseId
|
|
3289
|
+
}), void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type || $report(_exceptionable2, {
|
|
3290
|
+
path: _path2 + ".type",
|
|
3291
|
+
expected: '("custom-bin" | "custom-groupset" | "custom-samplelst" | "filter" | "predefined-groupset" | "regular-bin" | "values" | undefined)',
|
|
3292
|
+
value: input3.type
|
|
3293
|
+
}), "number" === typeof input3.AFcutoff || $report(_exceptionable2, {
|
|
3294
|
+
path: _path2 + ".AFcutoff",
|
|
3295
|
+
expected: "number",
|
|
3296
|
+
value: input3.AFcutoff
|
|
3297
|
+
}), "number" === typeof input3.alleleType || $report(_exceptionable2, {
|
|
3298
|
+
path: _path2 + ".alleleType",
|
|
3299
|
+
expected: "number",
|
|
3300
|
+
value: input3.alleleType
|
|
3301
|
+
}), "string" === typeof input3.cacheid || $report(_exceptionable2, {
|
|
3302
|
+
path: _path2 + ".cacheid",
|
|
2941
3303
|
expected: "string",
|
|
2942
|
-
value: input3.
|
|
2943
|
-
}),
|
|
2944
|
-
path: _path2 + ".
|
|
2945
|
-
expected: "
|
|
2946
|
-
value: input3.
|
|
2947
|
-
})
|
|
2948
|
-
path: _path2 + ".
|
|
2949
|
-
expected: "(
|
|
2950
|
-
value: input3.
|
|
2951
|
-
}),
|
|
3304
|
+
value: input3.cacheid
|
|
3305
|
+
}), true, "number" === typeof input3.geneticModel || $report(_exceptionable2, {
|
|
3306
|
+
path: _path2 + ".geneticModel",
|
|
3307
|
+
expected: "number",
|
|
3308
|
+
value: input3.geneticModel
|
|
3309
|
+
}), true, void 0 === input3.missingGenotype || "number" === typeof input3.missingGenotype || $report(_exceptionable2, {
|
|
3310
|
+
path: _path2 + ".missingGenotype",
|
|
3311
|
+
expected: "(number | undefined)",
|
|
3312
|
+
value: input3.missingGenotype
|
|
3313
|
+
}), "number" === typeof input3.numOfSampleWithAnyValidGT || $report(_exceptionable2, {
|
|
3314
|
+
path: _path2 + ".numOfSampleWithAnyValidGT",
|
|
3315
|
+
expected: "number",
|
|
3316
|
+
value: input3.numOfSampleWithAnyValidGT
|
|
3317
|
+
}), ("object" === typeof input3.restrictAncestry && null !== input3.restrictAncestry || $report(_exceptionable2, {
|
|
3318
|
+
path: _path2 + ".restrictAncestry",
|
|
3319
|
+
expected: "RestrictAncestry",
|
|
3320
|
+
value: input3.restrictAncestry
|
|
3321
|
+
})) && $vo66(input3.restrictAncestry, _path2 + ".restrictAncestry", _exceptionable2) || $report(_exceptionable2, {
|
|
3322
|
+
path: _path2 + ".restrictAncestry",
|
|
3323
|
+
expected: "RestrictAncestry",
|
|
3324
|
+
value: input3.restrictAncestry
|
|
3325
|
+
}), true, true, ("object" === typeof input3.variant_filter && null !== input3.variant_filter || $report(_exceptionable2, {
|
|
3326
|
+
path: _path2 + ".variant_filter",
|
|
3327
|
+
expected: "Filter",
|
|
3328
|
+
value: input3.variant_filter
|
|
3329
|
+
})) && $vo1(input3.variant_filter, _path2 + ".variant_filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3330
|
+
path: _path2 + ".variant_filter",
|
|
3331
|
+
expected: "Filter",
|
|
3332
|
+
value: input3.variant_filter
|
|
3333
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2952
3334
|
path: _path2 + ".chr",
|
|
2953
|
-
expected: "
|
|
3335
|
+
expected: "string",
|
|
2954
3336
|
value: input3.chr
|
|
2955
|
-
}),
|
|
3337
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2956
3338
|
path: _path2 + ".start",
|
|
2957
|
-
expected: "
|
|
3339
|
+
expected: "number",
|
|
2958
3340
|
value: input3.start
|
|
2959
|
-
}),
|
|
3341
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2960
3342
|
path: _path2 + ".stop",
|
|
2961
|
-
expected: "
|
|
3343
|
+
expected: "number",
|
|
2962
3344
|
value: input3.stop
|
|
2963
3345
|
})].every((flag) => flag);
|
|
2964
|
-
const $
|
|
2965
|
-
path: _path2 + ".id",
|
|
2966
|
-
expected: "string",
|
|
2967
|
-
value: input3.id
|
|
2968
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3346
|
+
const $vo66 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2969
3347
|
path: _path2 + ".name",
|
|
2970
3348
|
expected: "string",
|
|
2971
3349
|
value: input3.name
|
|
2972
|
-
}), "
|
|
2973
|
-
path: _path2 + ".
|
|
2974
|
-
expected:
|
|
2975
|
-
value: input3.
|
|
2976
|
-
})
|
|
2977
|
-
path: _path2 + ".
|
|
2978
|
-
expected: "(
|
|
2979
|
-
value: input3.
|
|
2980
|
-
})) && input3.child_types.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2981
|
-
path: _path2 + ".child_types[" + _index53 + "]",
|
|
2982
|
-
expected: "string",
|
|
2983
|
-
value: elem
|
|
2984
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2985
|
-
path: _path2 + ".child_types",
|
|
2986
|
-
expected: "(Array<string> | undefined)",
|
|
2987
|
-
value: input3.child_types
|
|
2988
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2989
|
-
path: _path2 + ".hashtmldetail",
|
|
2990
|
-
expected: "(boolean | undefined)",
|
|
2991
|
-
value: input3.hashtmldetail
|
|
2992
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2993
|
-
path: _path2 + ".included_types",
|
|
2994
|
-
expected: "(Array<string> | undefined)",
|
|
2995
|
-
value: input3.included_types
|
|
2996
|
-
})) && input3.included_types.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2997
|
-
path: _path2 + ".included_types[" + _index54 + "]",
|
|
2998
|
-
expected: "string",
|
|
2999
|
-
value: elem
|
|
3000
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3001
|
-
path: _path2 + ".included_types",
|
|
3002
|
-
expected: "(Array<string> | undefined)",
|
|
3003
|
-
value: input3.included_types
|
|
3004
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3005
|
-
path: _path2 + ".isleaf",
|
|
3006
|
-
expected: "(boolean | undefined)",
|
|
3007
|
-
value: input3.isleaf
|
|
3008
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3009
|
-
path: _path2 + ".values",
|
|
3010
|
-
expected: "(TermValues | undefined)",
|
|
3011
|
-
value: input3.values
|
|
3012
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3013
|
-
path: _path2 + ".values",
|
|
3014
|
-
expected: "(TermValues | undefined)",
|
|
3015
|
-
value: input3.values
|
|
3016
|
-
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
3017
|
-
path: _path2 + ".skipValuesBuild",
|
|
3018
|
-
expected: "(boolean | undefined)",
|
|
3019
|
-
value: input3.skipValuesBuild
|
|
3350
|
+
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
3351
|
+
path: _path2 + ".tvs",
|
|
3352
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
3353
|
+
value: input3.tvs
|
|
3354
|
+
})) && $vu7(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
3355
|
+
path: _path2 + ".tvs",
|
|
3356
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
3357
|
+
value: input3.tvs
|
|
3020
3358
|
})].every((flag) => flag);
|
|
3021
|
-
const $
|
|
3359
|
+
const $vo67 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3022
3360
|
path: _path2 + ".id",
|
|
3023
3361
|
expected: "string",
|
|
3024
3362
|
value: input3.id
|
|
@@ -3034,8 +3372,8 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
3034
3372
|
path: _path2 + ".child_types",
|
|
3035
3373
|
expected: "(Array<string> | undefined)",
|
|
3036
3374
|
value: input3.child_types
|
|
3037
|
-
})) && input3.child_types.map((elem,
|
|
3038
|
-
path: _path2 + ".child_types[" +
|
|
3375
|
+
})) && input3.child_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3376
|
+
path: _path2 + ".child_types[" + _index50 + "]",
|
|
3039
3377
|
expected: "string",
|
|
3040
3378
|
value: elem
|
|
3041
3379
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3050,8 +3388,8 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
3050
3388
|
path: _path2 + ".included_types",
|
|
3051
3389
|
expected: "(Array<string> | undefined)",
|
|
3052
3390
|
value: input3.included_types
|
|
3053
|
-
})) && input3.included_types.map((elem,
|
|
3054
|
-
path: _path2 + ".included_types[" +
|
|
3391
|
+
})) && input3.included_types.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3392
|
+
path: _path2 + ".included_types[" + _index51 + "]",
|
|
3055
3393
|
expected: "string",
|
|
3056
3394
|
value: elem
|
|
3057
3395
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3082,12 +3420,12 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
3082
3420
|
path: _path2 + ".snps",
|
|
3083
3421
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3084
3422
|
value: input3.snps
|
|
3085
|
-
})) && input3.snps.map((elem,
|
|
3086
|
-
path: _path2 + ".snps[" +
|
|
3423
|
+
})) && input3.snps.map((elem, _index52) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3424
|
+
path: _path2 + ".snps[" + _index52 + "]",
|
|
3087
3425
|
expected: "SnpsEntry",
|
|
3088
3426
|
value: elem
|
|
3089
|
-
})) && $
|
|
3090
|
-
path: _path2 + ".snps[" +
|
|
3427
|
+
})) && $vo68(elem, _path2 + ".snps[" + _index52 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3428
|
+
path: _path2 + ".snps[" + _index52 + "]",
|
|
3091
3429
|
expected: "SnpsEntry",
|
|
3092
3430
|
value: elem
|
|
3093
3431
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3095,156 +3433,168 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
3095
3433
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3096
3434
|
value: input3.snps
|
|
3097
3435
|
})].every((flag) => flag);
|
|
3098
|
-
const $
|
|
3099
|
-
path: _path2 + ".
|
|
3100
|
-
expected: "string",
|
|
3101
|
-
value: input3.id
|
|
3102
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3103
|
-
path: _path2 + ".name",
|
|
3104
|
-
expected: "string",
|
|
3105
|
-
value: input3.name
|
|
3106
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
3107
|
-
path: _path2 + ".type",
|
|
3108
|
-
expected: "string",
|
|
3109
|
-
value: input3.type
|
|
3110
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3111
|
-
path: _path2 + ".child_types",
|
|
3436
|
+
const $vo68 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
3437
|
+
path: _path2 + ".altAlleles",
|
|
3112
3438
|
expected: "(Array<string> | undefined)",
|
|
3113
|
-
value: input3.
|
|
3114
|
-
})) && input3.
|
|
3115
|
-
path: _path2 + ".
|
|
3439
|
+
value: input3.altAlleles
|
|
3440
|
+
})) && input3.altAlleles.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3441
|
+
path: _path2 + ".altAlleles[" + _index53 + "]",
|
|
3116
3442
|
expected: "string",
|
|
3117
3443
|
value: elem
|
|
3118
3444
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3119
|
-
path: _path2 + ".
|
|
3120
|
-
expected: "(Array<string> | undefined)",
|
|
3121
|
-
value: input3.child_types
|
|
3122
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3123
|
-
path: _path2 + ".hashtmldetail",
|
|
3124
|
-
expected: "(boolean | undefined)",
|
|
3125
|
-
value: input3.hashtmldetail
|
|
3126
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3127
|
-
path: _path2 + ".included_types",
|
|
3445
|
+
path: _path2 + ".altAlleles",
|
|
3128
3446
|
expected: "(Array<string> | undefined)",
|
|
3129
|
-
value: input3.
|
|
3130
|
-
})
|
|
3131
|
-
path: _path2 + ".
|
|
3132
|
-
expected: "
|
|
3447
|
+
value: input3.altAlleles
|
|
3448
|
+
}), void 0 === input3.alleles || (Array.isArray(input3.alleles) || $report(_exceptionable2, {
|
|
3449
|
+
path: _path2 + ".alleles",
|
|
3450
|
+
expected: "(Array<AllelesEntry> | undefined)",
|
|
3451
|
+
value: input3.alleles
|
|
3452
|
+
})) && input3.alleles.map((elem, _index54) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3453
|
+
path: _path2 + ".alleles[" + _index54 + "]",
|
|
3454
|
+
expected: "AllelesEntry",
|
|
3455
|
+
value: elem
|
|
3456
|
+
})) && $vo69(elem, _path2 + ".alleles[" + _index54 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3457
|
+
path: _path2 + ".alleles[" + _index54 + "]",
|
|
3458
|
+
expected: "AllelesEntry",
|
|
3133
3459
|
value: elem
|
|
3134
3460
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3135
|
-
path: _path2 + ".
|
|
3136
|
-
expected: "(Array<
|
|
3137
|
-
value: input3.
|
|
3138
|
-
}),
|
|
3139
|
-
path: _path2 + ".
|
|
3140
|
-
expected: "
|
|
3141
|
-
value: input3.
|
|
3142
|
-
}), void 0 === input3.
|
|
3143
|
-
path: _path2 + ".
|
|
3144
|
-
expected: "(
|
|
3145
|
-
value: input3.
|
|
3146
|
-
})) && $
|
|
3147
|
-
path: _path2 + ".
|
|
3148
|
-
expected: "(
|
|
3149
|
-
value: input3.
|
|
3150
|
-
}), void 0 === input3.
|
|
3151
|
-
path: _path2 + ".
|
|
3461
|
+
path: _path2 + ".alleles",
|
|
3462
|
+
expected: "(Array<AllelesEntry> | undefined)",
|
|
3463
|
+
value: input3.alleles
|
|
3464
|
+
}), "boolean" === typeof input3.effectAllele || $report(_exceptionable2, {
|
|
3465
|
+
path: _path2 + ".effectAllele",
|
|
3466
|
+
expected: "boolean",
|
|
3467
|
+
value: input3.effectAllele
|
|
3468
|
+
}), void 0 === input3.gt2count || ("object" === typeof input3.gt2count && null !== input3.gt2count || $report(_exceptionable2, {
|
|
3469
|
+
path: _path2 + ".gt2count",
|
|
3470
|
+
expected: "(__type.o7 | undefined)",
|
|
3471
|
+
value: input3.gt2count
|
|
3472
|
+
})) && $vo70(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
3473
|
+
path: _path2 + ".gt2count",
|
|
3474
|
+
expected: "(__type.o7 | undefined)",
|
|
3475
|
+
value: input3.gt2count
|
|
3476
|
+
}), void 0 === input3.invalid || "boolean" === typeof input3.invalid || $report(_exceptionable2, {
|
|
3477
|
+
path: _path2 + ".invalid",
|
|
3152
3478
|
expected: "(boolean | undefined)",
|
|
3153
|
-
value: input3.
|
|
3154
|
-
})
|
|
3155
|
-
|
|
3156
|
-
const value = input3[key];
|
|
3157
|
-
if (void 0 === value)
|
|
3158
|
-
return true;
|
|
3159
|
-
if (RegExp(/(.*)/).test(key))
|
|
3160
|
-
return ("object" === typeof value && null !== value || $report(_exceptionable2, {
|
|
3161
|
-
path: _path2 + $join(key),
|
|
3162
|
-
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3163
|
-
value
|
|
3164
|
-
})) && $vo63(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3165
|
-
path: _path2 + $join(key),
|
|
3166
|
-
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3167
|
-
value
|
|
3168
|
-
});
|
|
3169
|
-
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
3170
|
-
return ("object" === typeof value && null !== value || $report(_exceptionable2, {
|
|
3171
|
-
path: _path2 + $join(key),
|
|
3172
|
-
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3173
|
-
value
|
|
3174
|
-
})) && $vo63(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3175
|
-
path: _path2 + $join(key),
|
|
3176
|
-
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3177
|
-
value
|
|
3178
|
-
});
|
|
3179
|
-
return true;
|
|
3180
|
-
}).every((flag) => flag)].every((flag) => flag);
|
|
3181
|
-
const $vo63 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
3182
|
-
path: _path2 + ".key",
|
|
3479
|
+
value: input3.invalid
|
|
3480
|
+
}), void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele || $report(_exceptionable2, {
|
|
3481
|
+
path: _path2 + ".referenceAllele",
|
|
3183
3482
|
expected: "(string | undefined)",
|
|
3184
|
-
value: input3.
|
|
3185
|
-
}),
|
|
3186
|
-
path: _path2 + ".
|
|
3187
|
-
expected: "
|
|
3188
|
-
value: input3.
|
|
3189
|
-
}),
|
|
3190
|
-
path: _path2 + ".
|
|
3191
|
-
expected: "
|
|
3192
|
-
value: input3.
|
|
3193
|
-
}), void 0 === input3.
|
|
3194
|
-
path: _path2 + ".
|
|
3483
|
+
value: input3.referenceAllele
|
|
3484
|
+
}), "string" === typeof input3.rsid || $report(_exceptionable2, {
|
|
3485
|
+
path: _path2 + ".rsid",
|
|
3486
|
+
expected: "string",
|
|
3487
|
+
value: input3.rsid
|
|
3488
|
+
}), "string" === typeof input3.snpid || $report(_exceptionable2, {
|
|
3489
|
+
path: _path2 + ".snpid",
|
|
3490
|
+
expected: "string",
|
|
3491
|
+
value: input3.snpid
|
|
3492
|
+
}), true, void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3493
|
+
path: _path2 + ".chr",
|
|
3195
3494
|
expected: "(string | undefined)",
|
|
3196
|
-
value: input3.
|
|
3197
|
-
}), void 0 === input3.
|
|
3198
|
-
path: _path2 + ".
|
|
3495
|
+
value: input3.chr
|
|
3496
|
+
}), void 0 === input3.pos || "number" === typeof input3.pos || $report(_exceptionable2, {
|
|
3497
|
+
path: _path2 + ".pos",
|
|
3498
|
+
expected: "(number | undefined)",
|
|
3499
|
+
value: input3.pos
|
|
3500
|
+
})].every((flag) => flag);
|
|
3501
|
+
const $vo69 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
3502
|
+
path: _path2 + ".allele",
|
|
3503
|
+
expected: "string",
|
|
3504
|
+
value: input3.allele
|
|
3505
|
+
}), "number" === typeof input3.count || $report(_exceptionable2, {
|
|
3506
|
+
path: _path2 + ".count",
|
|
3507
|
+
expected: "number",
|
|
3508
|
+
value: input3.count
|
|
3509
|
+
}), "boolean" === typeof input3.isRef || $report(_exceptionable2, {
|
|
3510
|
+
path: _path2 + ".isRef",
|
|
3511
|
+
expected: "boolean",
|
|
3512
|
+
value: input3.isRef
|
|
3513
|
+
})].every((flag) => flag);
|
|
3514
|
+
const $vo70 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
3515
|
+
path: _path2 + ".k",
|
|
3516
|
+
expected: "string",
|
|
3517
|
+
value: input3.k
|
|
3518
|
+
}), "string" === typeof input3.v || "number" === typeof input3.v || $report(_exceptionable2, {
|
|
3519
|
+
path: _path2 + ".v",
|
|
3520
|
+
expected: "(number | string)",
|
|
3521
|
+
value: input3.v
|
|
3522
|
+
})].every((flag) => flag);
|
|
3523
|
+
const $vo71 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
3524
|
+
path: _path2 + ".id",
|
|
3199
3525
|
expected: "(string | undefined)",
|
|
3200
|
-
value: input3.
|
|
3201
|
-
}), void 0 === input3
|
|
3202
|
-
path: _path2 + "
|
|
3526
|
+
value: input3.id
|
|
3527
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
3528
|
+
path: _path2 + ".$id",
|
|
3529
|
+
expected: "(string | undefined)",
|
|
3530
|
+
value: input3.$id
|
|
3531
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
3532
|
+
path: _path2 + ".isAtomic",
|
|
3533
|
+
expected: "(true | undefined)",
|
|
3534
|
+
value: input3.isAtomic
|
|
3535
|
+
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
3536
|
+
path: _path2 + ".settings",
|
|
3537
|
+
expected: "(__type.o5 | undefined)",
|
|
3538
|
+
value: input3.settings
|
|
3539
|
+
})) && $vo38(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
3540
|
+
path: _path2 + ".settings",
|
|
3541
|
+
expected: "(__type.o5 | undefined)",
|
|
3542
|
+
value: input3.settings
|
|
3543
|
+
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
3544
|
+
path: _path2 + ".minNumSamples",
|
|
3203
3545
|
expected: "(number | undefined)",
|
|
3204
|
-
value: input3.
|
|
3205
|
-
}),
|
|
3206
|
-
path: _path2 + ".
|
|
3207
|
-
expected: "
|
|
3208
|
-
value: input3.
|
|
3209
|
-
})
|
|
3210
|
-
path: _path2 + ".
|
|
3211
|
-
expected:
|
|
3212
|
-
value: input3.
|
|
3213
|
-
}), "
|
|
3546
|
+
value: input3.minNumSamples
|
|
3547
|
+
}), true, "SnpTW" === input3.type || $report(_exceptionable2, {
|
|
3548
|
+
path: _path2 + ".type",
|
|
3549
|
+
expected: '"SnpTW"',
|
|
3550
|
+
value: input3.type
|
|
3551
|
+
}), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
|
|
3552
|
+
path: _path2 + ".q",
|
|
3553
|
+
expected: '(BaseQ & MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "custom-groupset"; customset: BaseGroupSet; } | BaseQ & MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "predefined-groupset"; predefined_groupset_idx: number; } | BaseQ & MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "values"; } | BaseQ & { type: "filter"; })',
|
|
3554
|
+
value: input3.q
|
|
3555
|
+
})) && $vu12(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
3556
|
+
path: _path2 + ".q",
|
|
3557
|
+
expected: '(BaseQ & MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "custom-groupset"; customset: BaseGroupSet; } | BaseQ & MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "predefined-groupset"; predefined_groupset_idx: number; } | BaseQ & MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "values"; } | BaseQ & { type: "filter"; })',
|
|
3558
|
+
value: input3.q
|
|
3559
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
3560
|
+
path: _path2 + ".term",
|
|
3561
|
+
expected: "SnpTerm",
|
|
3562
|
+
value: input3.term
|
|
3563
|
+
})) && $vo76(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3564
|
+
path: _path2 + ".term",
|
|
3565
|
+
expected: "SnpTerm",
|
|
3566
|
+
value: input3.term
|
|
3567
|
+
})].every((flag) => flag);
|
|
3568
|
+
const $vo72 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3569
|
+
path: _path2 + ".hiddenValues",
|
|
3570
|
+
expected: "(HiddenValues | undefined)",
|
|
3571
|
+
value: input3.hiddenValues
|
|
3572
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
3573
|
+
path: _path2 + ".hiddenValues",
|
|
3574
|
+
expected: "(HiddenValues | undefined)",
|
|
3575
|
+
value: input3.hiddenValues
|
|
3576
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
3577
|
+
path: _path2 + ".isAtomic",
|
|
3578
|
+
expected: "(true | undefined)",
|
|
3579
|
+
value: input3.isAtomic
|
|
3580
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3214
3581
|
path: _path2 + ".name",
|
|
3215
|
-
expected: "string",
|
|
3582
|
+
expected: "(string | undefined)",
|
|
3216
3583
|
value: input3.name
|
|
3217
|
-
}), "
|
|
3218
|
-
path: _path2 + ".
|
|
3219
|
-
expected: "
|
|
3220
|
-
value: input3.
|
|
3221
|
-
}),
|
|
3222
|
-
path: _path2 + ".
|
|
3223
|
-
expected: "
|
|
3224
|
-
value: input3.
|
|
3225
|
-
})
|
|
3226
|
-
path: _path2 + ".
|
|
3227
|
-
expected: "
|
|
3228
|
-
value:
|
|
3229
|
-
})) && $vo64(elem, _path2 + ".list[" + _index60 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3230
|
-
path: _path2 + ".list[" + _index60 + "]",
|
|
3231
|
-
expected: "__type.o8",
|
|
3232
|
-
value: elem
|
|
3233
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3234
|
-
path: _path2 + ".list",
|
|
3235
|
-
expected: "Array<__type>.o4",
|
|
3236
|
-
value: input3.list
|
|
3237
|
-
}), true].every((flag) => flag);
|
|
3238
|
-
const $vo64 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
3239
|
-
path: _path2 + ".sampleId",
|
|
3240
|
-
expected: "string",
|
|
3241
|
-
value: input3.sampleId
|
|
3242
|
-
}), "string" === typeof input3.sample || $report(_exceptionable2, {
|
|
3243
|
-
path: _path2 + ".sample",
|
|
3244
|
-
expected: "string",
|
|
3245
|
-
value: input3.sample
|
|
3584
|
+
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3585
|
+
path: _path2 + ".mode",
|
|
3586
|
+
expected: '("binary" | "discrete" | undefined)',
|
|
3587
|
+
value: input3.mode
|
|
3588
|
+
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3589
|
+
path: _path2 + ".reuseId",
|
|
3590
|
+
expected: "(string | undefined)",
|
|
3591
|
+
value: input3.reuseId
|
|
3592
|
+
}), void 0 === input3.type || "values" === input3.type || $report(_exceptionable2, {
|
|
3593
|
+
path: _path2 + ".type",
|
|
3594
|
+
expected: '("values" | undefined)',
|
|
3595
|
+
value: input3.type
|
|
3246
3596
|
})].every((flag) => flag);
|
|
3247
|
-
const $
|
|
3597
|
+
const $vo73 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3248
3598
|
path: _path2 + ".hiddenValues",
|
|
3249
3599
|
expected: "(HiddenValues | undefined)",
|
|
3250
3600
|
value: input3.hiddenValues
|
|
@@ -3268,12 +3618,12 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
3268
3618
|
path: _path2 + ".reuseId",
|
|
3269
3619
|
expected: "(string | undefined)",
|
|
3270
3620
|
value: input3.reuseId
|
|
3271
|
-
}), void 0 === input3.type || "
|
|
3621
|
+
}), void 0 === input3.type || "filter" === input3.type || $report(_exceptionable2, {
|
|
3272
3622
|
path: _path2 + ".type",
|
|
3273
|
-
expected: '("
|
|
3623
|
+
expected: '("filter" | undefined)',
|
|
3274
3624
|
value: input3.type
|
|
3275
3625
|
})].every((flag) => flag);
|
|
3276
|
-
const $
|
|
3626
|
+
const $vo74 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3277
3627
|
path: _path2 + ".hiddenValues",
|
|
3278
3628
|
expected: "(HiddenValues | undefined)",
|
|
3279
3629
|
value: input3.hiddenValues
|
|
@@ -3281,64 +3631,32 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
3281
3631
|
path: _path2 + ".hiddenValues",
|
|
3282
3632
|
expected: "(HiddenValues | undefined)",
|
|
3283
3633
|
value: input3.hiddenValues
|
|
3284
|
-
}), void 0 === input3.isAtomic ||
|
|
3634
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
3285
3635
|
path: _path2 + ".isAtomic",
|
|
3286
|
-
expected: "(
|
|
3636
|
+
expected: "(true | undefined)",
|
|
3287
3637
|
value: input3.isAtomic
|
|
3288
3638
|
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3289
3639
|
path: _path2 + ".name",
|
|
3290
3640
|
expected: "(string | undefined)",
|
|
3291
3641
|
value: input3.name
|
|
3292
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode ||
|
|
3642
|
+
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3293
3643
|
path: _path2 + ".mode",
|
|
3294
|
-
expected: '("binary" | "
|
|
3644
|
+
expected: '("binary" | "discrete" | undefined)',
|
|
3295
3645
|
value: input3.mode
|
|
3296
3646
|
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3297
3647
|
path: _path2 + ".reuseId",
|
|
3298
3648
|
expected: "(string | undefined)",
|
|
3299
3649
|
value: input3.reuseId
|
|
3300
|
-
}), void 0 === input3.type || "
|
|
3650
|
+
}), void 0 === input3.type || "predefined-groupset" === input3.type || $report(_exceptionable2, {
|
|
3301
3651
|
path: _path2 + ".type",
|
|
3302
|
-
expected: '("
|
|
3652
|
+
expected: '("predefined-groupset" | undefined)',
|
|
3303
3653
|
value: input3.type
|
|
3304
|
-
}),
|
|
3305
|
-
path: _path2 + ".
|
|
3306
|
-
expected: "(boolean | undefined)",
|
|
3307
|
-
value: input3.bar_by_children
|
|
3308
|
-
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
3309
|
-
path: _path2 + ".bar_by_grade",
|
|
3310
|
-
expected: "(boolean | undefined)",
|
|
3311
|
-
value: input3.bar_by_grade
|
|
3312
|
-
}), void 0 === input3.breaks || (Array.isArray(input3.breaks) || $report(_exceptionable2, {
|
|
3313
|
-
path: _path2 + ".breaks",
|
|
3314
|
-
expected: "(Array<number> | undefined)",
|
|
3315
|
-
value: input3.breaks
|
|
3316
|
-
})) && input3.breaks.map((elem, _index61) => "number" === typeof elem || $report(_exceptionable2, {
|
|
3317
|
-
path: _path2 + ".breaks[" + _index61 + "]",
|
|
3654
|
+
}), "number" === typeof input3.predefined_groupset_idx || $report(_exceptionable2, {
|
|
3655
|
+
path: _path2 + ".predefined_groupset_idx",
|
|
3318
3656
|
expected: "number",
|
|
3319
|
-
value:
|
|
3320
|
-
})
|
|
3321
|
-
|
|
3322
|
-
expected: "(Array<number> | undefined)",
|
|
3323
|
-
value: input3.breaks
|
|
3324
|
-
}), "age" === input3.timeScale || "time" === input3.timeScale || $report(_exceptionable2, {
|
|
3325
|
-
path: _path2 + ".timeScale",
|
|
3326
|
-
expected: '("age" | "time")',
|
|
3327
|
-
value: input3.timeScale
|
|
3328
|
-
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
3329
|
-
path: _path2 + ".value_by_max_grade",
|
|
3330
|
-
expected: "(boolean | undefined)",
|
|
3331
|
-
value: input3.value_by_max_grade
|
|
3332
|
-
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
3333
|
-
path: _path2 + ".value_by_most_recent",
|
|
3334
|
-
expected: "(boolean | undefined)",
|
|
3335
|
-
value: input3.value_by_most_recent
|
|
3336
|
-
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
3337
|
-
path: _path2 + ".value_by_computable_grade",
|
|
3338
|
-
expected: "(boolean | undefined)",
|
|
3339
|
-
value: input3.value_by_computable_grade
|
|
3340
|
-
}), true].every((flag) => flag);
|
|
3341
|
-
const $vo67 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3657
|
+
value: input3.predefined_groupset_idx
|
|
3658
|
+
})].every((flag) => flag);
|
|
3659
|
+
const $vo75 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3342
3660
|
path: _path2 + ".hiddenValues",
|
|
3343
3661
|
expected: "(HiddenValues | undefined)",
|
|
3344
3662
|
value: input3.hiddenValues
|
|
@@ -3346,86 +3664,128 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
3346
3664
|
path: _path2 + ".hiddenValues",
|
|
3347
3665
|
expected: "(HiddenValues | undefined)",
|
|
3348
3666
|
value: input3.hiddenValues
|
|
3349
|
-
}), void 0 === input3.isAtomic ||
|
|
3667
|
+
}), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
|
|
3350
3668
|
path: _path2 + ".isAtomic",
|
|
3351
|
-
expected: "(
|
|
3669
|
+
expected: "(true | undefined)",
|
|
3352
3670
|
value: input3.isAtomic
|
|
3353
3671
|
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3354
3672
|
path: _path2 + ".name",
|
|
3355
3673
|
expected: "(string | undefined)",
|
|
3356
3674
|
value: input3.name
|
|
3357
|
-
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode ||
|
|
3675
|
+
}), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
|
|
3358
3676
|
path: _path2 + ".mode",
|
|
3359
|
-
expected: '("binary" | "
|
|
3677
|
+
expected: '("binary" | "discrete" | undefined)',
|
|
3360
3678
|
value: input3.mode
|
|
3361
3679
|
}), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
|
|
3362
3680
|
path: _path2 + ".reuseId",
|
|
3363
3681
|
expected: "(string | undefined)",
|
|
3364
3682
|
value: input3.reuseId
|
|
3365
|
-
}), void 0 === input3.type || "
|
|
3683
|
+
}), void 0 === input3.type || "custom-groupset" === input3.type || $report(_exceptionable2, {
|
|
3366
3684
|
path: _path2 + ".type",
|
|
3367
|
-
expected: '("custom-
|
|
3685
|
+
expected: '("custom-groupset" | undefined)',
|
|
3368
3686
|
value: input3.type
|
|
3369
|
-
}), ("object" === typeof input3.
|
|
3370
|
-
path: _path2 + ".
|
|
3371
|
-
expected: "
|
|
3372
|
-
value: input3.
|
|
3373
|
-
})) && $
|
|
3374
|
-
path: _path2 + ".
|
|
3375
|
-
expected: "
|
|
3376
|
-
value: input3.
|
|
3687
|
+
}), ("object" === typeof input3.customset && null !== input3.customset || $report(_exceptionable2, {
|
|
3688
|
+
path: _path2 + ".customset",
|
|
3689
|
+
expected: "BaseGroupSet",
|
|
3690
|
+
value: input3.customset
|
|
3691
|
+
})) && $vo44(input3.customset, _path2 + ".customset", _exceptionable2) || $report(_exceptionable2, {
|
|
3692
|
+
path: _path2 + ".customset",
|
|
3693
|
+
expected: "BaseGroupSet",
|
|
3694
|
+
value: input3.customset
|
|
3377
3695
|
})].every((flag) => flag);
|
|
3378
|
-
const $
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
return ("object" === typeof value && null !== value || $report(_exceptionable2, {
|
|
3384
|
-
path: _path2 + $join(key),
|
|
3385
|
-
expected: "__type.o9",
|
|
3386
|
-
value
|
|
3387
|
-
})) && $vo69(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3388
|
-
path: _path2 + $join(key),
|
|
3389
|
-
expected: "__type.o9",
|
|
3390
|
-
value
|
|
3391
|
-
});
|
|
3392
|
-
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
3393
|
-
return ("object" === typeof value && null !== value || $report(_exceptionable2, {
|
|
3394
|
-
path: _path2 + $join(key),
|
|
3395
|
-
expected: "__type.o9",
|
|
3396
|
-
value
|
|
3397
|
-
})) && $vo69(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3398
|
-
path: _path2 + $join(key),
|
|
3399
|
-
expected: "__type.o9",
|
|
3400
|
-
value
|
|
3401
|
-
});
|
|
3402
|
-
return true;
|
|
3403
|
-
}).every((flag) => flag)].every((flag) => flag);
|
|
3404
|
-
const $vo69 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
3696
|
+
const $vo76 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3697
|
+
path: _path2 + ".id",
|
|
3698
|
+
expected: "string",
|
|
3699
|
+
value: input3.id
|
|
3700
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3405
3701
|
path: _path2 + ".name",
|
|
3406
3702
|
expected: "string",
|
|
3407
3703
|
value: input3.name
|
|
3408
|
-
}), "
|
|
3409
|
-
path: _path2 + ".
|
|
3410
|
-
expected: "
|
|
3411
|
-
value: input3.
|
|
3412
|
-
}), (Array.isArray(input3.
|
|
3413
|
-
path: _path2 + ".
|
|
3414
|
-
expected: "Array<
|
|
3415
|
-
value: input3.
|
|
3416
|
-
})) && input3.
|
|
3417
|
-
path: _path2 + ".
|
|
3418
|
-
expected: "
|
|
3419
|
-
value: elem
|
|
3420
|
-
})) && $vo64(elem, _path2 + ".list[" + _index62 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3421
|
-
path: _path2 + ".list[" + _index62 + "]",
|
|
3422
|
-
expected: "__type.o8",
|
|
3704
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
3705
|
+
path: _path2 + ".type",
|
|
3706
|
+
expected: "string",
|
|
3707
|
+
value: input3.type
|
|
3708
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3709
|
+
path: _path2 + ".child_types",
|
|
3710
|
+
expected: "(Array<string> | undefined)",
|
|
3711
|
+
value: input3.child_types
|
|
3712
|
+
})) && input3.child_types.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3713
|
+
path: _path2 + ".child_types[" + _index55 + "]",
|
|
3714
|
+
expected: "string",
|
|
3423
3715
|
value: elem
|
|
3424
3716
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3425
|
-
path: _path2 + ".
|
|
3426
|
-
expected: "Array<
|
|
3427
|
-
value: input3.
|
|
3428
|
-
}),
|
|
3717
|
+
path: _path2 + ".child_types",
|
|
3718
|
+
expected: "(Array<string> | undefined)",
|
|
3719
|
+
value: input3.child_types
|
|
3720
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3721
|
+
path: _path2 + ".hashtmldetail",
|
|
3722
|
+
expected: "(boolean | undefined)",
|
|
3723
|
+
value: input3.hashtmldetail
|
|
3724
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3725
|
+
path: _path2 + ".included_types",
|
|
3726
|
+
expected: "(Array<string> | undefined)",
|
|
3727
|
+
value: input3.included_types
|
|
3728
|
+
})) && input3.included_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3729
|
+
path: _path2 + ".included_types[" + _index56 + "]",
|
|
3730
|
+
expected: "string",
|
|
3731
|
+
value: elem
|
|
3732
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3733
|
+
path: _path2 + ".included_types",
|
|
3734
|
+
expected: "(Array<string> | undefined)",
|
|
3735
|
+
value: input3.included_types
|
|
3736
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3737
|
+
path: _path2 + ".isleaf",
|
|
3738
|
+
expected: "(boolean | undefined)",
|
|
3739
|
+
value: input3.isleaf
|
|
3740
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3741
|
+
path: _path2 + ".values",
|
|
3742
|
+
expected: "(TermValues | undefined)",
|
|
3743
|
+
value: input3.values
|
|
3744
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3745
|
+
path: _path2 + ".values",
|
|
3746
|
+
expected: "(TermValues | undefined)",
|
|
3747
|
+
value: input3.values
|
|
3748
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
3749
|
+
path: _path2 + ".skipValuesBuild",
|
|
3750
|
+
expected: "(boolean | undefined)",
|
|
3751
|
+
value: input3.skipValuesBuild
|
|
3752
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3753
|
+
path: _path2 + ".chr",
|
|
3754
|
+
expected: "string",
|
|
3755
|
+
value: input3.chr
|
|
3756
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3757
|
+
path: _path2 + ".start",
|
|
3758
|
+
expected: "number",
|
|
3759
|
+
value: input3.start
|
|
3760
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3761
|
+
path: _path2 + ".stop",
|
|
3762
|
+
expected: "number",
|
|
3763
|
+
value: input3.stop
|
|
3764
|
+
}), "string" === typeof input3.ref || $report(_exceptionable2, {
|
|
3765
|
+
path: _path2 + ".ref",
|
|
3766
|
+
expected: "string",
|
|
3767
|
+
value: input3.ref
|
|
3768
|
+
}), (Array.isArray(input3.alt) || $report(_exceptionable2, {
|
|
3769
|
+
path: _path2 + ".alt",
|
|
3770
|
+
expected: "Array<string>",
|
|
3771
|
+
value: input3.alt
|
|
3772
|
+
})) && input3.alt.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3773
|
+
path: _path2 + ".alt[" + _index57 + "]",
|
|
3774
|
+
expected: "string",
|
|
3775
|
+
value: elem
|
|
3776
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3777
|
+
path: _path2 + ".alt",
|
|
3778
|
+
expected: "Array<string>",
|
|
3779
|
+
value: input3.alt
|
|
3780
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3781
|
+
path: _path2 + ".groupsetting",
|
|
3782
|
+
expected: "TermGroupSetting",
|
|
3783
|
+
value: input3.groupsetting
|
|
3784
|
+
})) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3785
|
+
path: _path2 + ".groupsetting",
|
|
3786
|
+
expected: "TermGroupSetting",
|
|
3787
|
+
value: input3.groupsetting
|
|
3788
|
+
})].every((flag) => flag);
|
|
3429
3789
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3430
3790
|
if ("tvslst" === input3.type)
|
|
3431
3791
|
return $vo1(input3, _path2, _exceptionable2);
|
|
@@ -3457,9 +3817,9 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
3457
3817
|
})();
|
|
3458
3818
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3459
3819
|
if ("gene" === input3.kind)
|
|
3460
|
-
return $
|
|
3820
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
3461
3821
|
if ("coord" === input3.kind)
|
|
3462
|
-
return $
|
|
3822
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
3463
3823
|
return $report(_exceptionable2, {
|
|
3464
3824
|
path: _path2,
|
|
3465
3825
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -3467,9 +3827,39 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
3467
3827
|
});
|
|
3468
3828
|
})();
|
|
3469
3829
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3470
|
-
if (
|
|
3471
|
-
return $
|
|
3472
|
-
|
|
3830
|
+
if ("SnpTW" === input3.type)
|
|
3831
|
+
return $vo71(input3, _path2, _exceptionable2);
|
|
3832
|
+
if ("SnpsTW" === input3.type)
|
|
3833
|
+
return $vo64(input3, _path2, _exceptionable2);
|
|
3834
|
+
if ("ConditionTW" === input3.type)
|
|
3835
|
+
return $vo62(input3, _path2, _exceptionable2);
|
|
3836
|
+
if ("GvCustomGsTW" === input3.type)
|
|
3837
|
+
return $vo60(input3, _path2, _exceptionable2);
|
|
3838
|
+
if ("GvPredefinedGsTW" === input3.type)
|
|
3839
|
+
return $vo58(input3, _path2, _exceptionable2);
|
|
3840
|
+
if ("GvValuesTW" === input3.type)
|
|
3841
|
+
return $vo54(input3, _path2, _exceptionable2);
|
|
3842
|
+
if ("NumTWSpline" === input3.type)
|
|
3843
|
+
return $vo51(input3, _path2, _exceptionable2);
|
|
3844
|
+
if ("NumTWCont" === input3.type)
|
|
3845
|
+
return $vo49(input3, _path2, _exceptionable2);
|
|
3846
|
+
if ("NumTWBinary" === input3.type)
|
|
3847
|
+
return $vo47(input3, _path2, _exceptionable2);
|
|
3848
|
+
if ("NumTWCustomBin" === input3.type)
|
|
3849
|
+
return $vo46(input3, _path2, _exceptionable2);
|
|
3850
|
+
if ("NumTWRegularBin" === input3.type)
|
|
3851
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
3852
|
+
if ("CatTWCustomGS" === input3.type)
|
|
3853
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
3854
|
+
if ("CatTWPredefinedGS" === input3.type)
|
|
3855
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
3856
|
+
if ("CatTWValues" === input3.type)
|
|
3857
|
+
return $vo37(input3, _path2, _exceptionable2);
|
|
3858
|
+
return $report(_exceptionable2, {
|
|
3859
|
+
path: _path2,
|
|
3860
|
+
expected: "(SnpTW | SnpsTW | ConditionTW | GvCustomGsTW | GvPredefinedGsTW | GvValuesTW | NumTWSpline | NumTWCont | NumTWBinary | NumTWCustomBin | NumTWRegularBin | CatTWCustomGS | CatTWPredefinedGS | CatTWValues)",
|
|
3861
|
+
value: input3
|
|
3862
|
+
});
|
|
3473
3863
|
})();
|
|
3474
3864
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3475
3865
|
if (true === input3.startunbounded)
|
|
@@ -3496,16 +3886,22 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
3496
3886
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3497
3887
|
if (void 0 !== input3.ranges)
|
|
3498
3888
|
return $vo12(input3, _path2, _exceptionable2);
|
|
3499
|
-
return $vo3(input3, _path2, false) || $
|
|
3889
|
+
return $vo3(input3, _path2, false) || $vo27(input3, _path2, false) || $vo30(input3, _path2, false);
|
|
3500
3890
|
})();
|
|
3501
3891
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3502
|
-
if ("integer" === input3.type || "float" === input3.type
|
|
3892
|
+
if ("integer" === input3.type || "float" === input3.type)
|
|
3503
3893
|
return $vo13(input3, _path2, _exceptionable2);
|
|
3504
3894
|
if ("geneExpression" === input3.type)
|
|
3505
3895
|
return $vo22(input3, _path2, _exceptionable2);
|
|
3896
|
+
if ("date" === input3.type)
|
|
3897
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
3898
|
+
if ("metaboliteIntensity" === input3.type)
|
|
3899
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
3900
|
+
if ("ssGSEA" === input3.type)
|
|
3901
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
3506
3902
|
return $report(_exceptionable2, {
|
|
3507
3903
|
path: _path2,
|
|
3508
|
-
expected: "(NumericDictTerm | GeneExpressionTerm)",
|
|
3904
|
+
expected: "(NumericDictTerm | GeneExpressionTerm | DateTerm | MetaboliteIntensityTerm | SsGSEATerm)",
|
|
3509
3905
|
value: input3
|
|
3510
3906
|
});
|
|
3511
3907
|
})();
|
|
@@ -3522,9 +3918,9 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
3522
3918
|
})();
|
|
3523
3919
|
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3524
3920
|
if ("gene" === input3.kind)
|
|
3525
|
-
return $vo29(input3, _path2, _exceptionable2);
|
|
3526
|
-
if ("coord" === input3.kind)
|
|
3527
3921
|
return $vo32(input3, _path2, _exceptionable2);
|
|
3922
|
+
if ("coord" === input3.kind)
|
|
3923
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
3528
3924
|
return $report(_exceptionable2, {
|
|
3529
3925
|
path: _path2,
|
|
3530
3926
|
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; })',
|
|
@@ -3532,54 +3928,22 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
3532
3928
|
});
|
|
3533
3929
|
})();
|
|
3534
3930
|
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3535
|
-
if ("values" === input3.type)
|
|
3536
|
-
return $vo36(input3, _path2, _exceptionable2);
|
|
3537
|
-
if ("predefined-groupset" === input3.type)
|
|
3538
|
-
return $vo38(input3, _path2, _exceptionable2);
|
|
3539
|
-
if ("custom-groupset" === input3.type)
|
|
3540
|
-
return $vo39(input3, _path2, _exceptionable2);
|
|
3541
|
-
return $vo37(input3, _path2, _exceptionable2);
|
|
3542
|
-
})();
|
|
3543
|
-
const $vu12 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3544
|
-
if ("regular-bin" === input3.type)
|
|
3545
|
-
return $vo16(input3, _path2, _exceptionable2);
|
|
3546
|
-
if ("spline" === input3.mode)
|
|
3547
|
-
return $vo44(input3, _path2, _exceptionable2);
|
|
3548
|
-
return $vo21(input3, _path2, false) || $vo42(input3, _path2, false) || $vo43(input3, _path2, false);
|
|
3549
|
-
})();
|
|
3550
|
-
const $vu13 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3551
3931
|
if ("gene" === input3.kind)
|
|
3552
|
-
return $vo54(input3, _path2, _exceptionable2);
|
|
3553
|
-
if ("coord" === input3.kind)
|
|
3554
3932
|
return $vo55(input3, _path2, _exceptionable2);
|
|
3555
|
-
if ("
|
|
3933
|
+
if ("coord" === input3.kind)
|
|
3556
3934
|
return $vo56(input3, _path2, _exceptionable2);
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
return $vo59(input3, _path2, _exceptionable2);
|
|
3563
|
-
return $vo60(input3, _path2, false) || $vo61(input3, _path2, false);
|
|
3935
|
+
return $report(_exceptionable2, {
|
|
3936
|
+
path: _path2,
|
|
3937
|
+
expected: '(BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; })',
|
|
3938
|
+
value: input3
|
|
3939
|
+
});
|
|
3564
3940
|
})();
|
|
3565
|
-
const $
|
|
3941
|
+
const $vu12 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3566
3942
|
if (void 0 !== input3.predefined_groupset_idx)
|
|
3567
|
-
return $
|
|
3943
|
+
return $vo74(input3, _path2, _exceptionable2);
|
|
3568
3944
|
if (void 0 !== input3.customset)
|
|
3569
|
-
return $
|
|
3570
|
-
|
|
3571
|
-
return $vo16(input3, _path2, _exceptionable2);
|
|
3572
|
-
if (void 0 !== input3.knots)
|
|
3573
|
-
return $vo44(input3, _path2, _exceptionable2);
|
|
3574
|
-
if (void 0 !== input3.AFcutoff)
|
|
3575
|
-
return $vo47(input3, _path2, _exceptionable2);
|
|
3576
|
-
if (void 0 !== input3.timeScale)
|
|
3577
|
-
return $vo66(input3, _path2, _exceptionable2);
|
|
3578
|
-
return (() => {
|
|
3579
|
-
if (void 0 !== input3.groups)
|
|
3580
|
-
return $vo67(input3, _path2, _exceptionable2);
|
|
3581
|
-
return $vo37(input3, _path2, false) || $vo65(input3, _path2, false) || $vo36(input3, _path2, false) || $vo21(input3, _path2, false) || $vo42(input3, _path2, false) || $vo43(input3, _path2, false);
|
|
3582
|
-
})();
|
|
3945
|
+
return $vo75(input3, _path2, _exceptionable2);
|
|
3946
|
+
return $vo73(input3, _path2, false) || $vo72(input3, _path2, false);
|
|
3583
3947
|
})();
|
|
3584
3948
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
3585
3949
|
path: _path + "",
|