@sjcrh/proteinpaint-types 2.137.2-0 → 2.137.2-2
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-OQVYIYZL.js → chunk-657TS66W.js} +338 -394
- package/dist/{chunk-UG7RYMCA.js → chunk-6H6TQ3MA.js} +117 -145
- package/dist/{chunk-DA6B77HN.js → chunk-6LRQCE3E.js} +117 -145
- package/dist/{chunk-AKJWBIUV.js → chunk-7YFANJ2A.js} +268 -296
- package/dist/{chunk-HF2D3UVQ.js → chunk-CBPDONEQ.js} +268 -296
- package/dist/{chunk-B2FSTXLW.js → chunk-FMSTAFII.js} +117 -145
- package/dist/{chunk-3P6M5ZNJ.js → chunk-IE3MSHTB.js} +268 -296
- package/dist/{chunk-MLAGM7F5.js → chunk-MDPMNCMV.js} +268 -296
- package/dist/{chunk-M7HKDHB3.js → chunk-PAQX4HYF.js} +329 -357
- package/dist/{chunk-BS7BYTYZ.js → chunk-QCGBPQ7S.js} +113 -141
- package/dist/{chunk-C32XALTH.js → chunk-SUL2XLYM.js} +304 -360
- package/dist/{chunk-G5SBQR25.js → chunk-YGOZU46P.js} +117 -145
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +12 -12
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +9 -3
- package/src/terms/geneVariant.ts +29 -19
- package/src/terms/term.ts +4 -12
|
@@ -22,11 +22,11 @@ var validTermdbClusterRequest = (input) => {
|
|
|
22
22
|
const errors = [];
|
|
23
23
|
const __is = (input2) => {
|
|
24
24
|
const $join = import_typia.createValidate.join;
|
|
25
|
-
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "geneExpression" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $
|
|
25
|
+
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "geneExpression" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io31(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
|
|
26
26
|
const $io1 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
27
27
|
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu3(input3.tvs));
|
|
28
28
|
const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io4(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io6(elem)));
|
|
29
|
-
const $io4 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $
|
|
29
|
+
const $io4 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting));
|
|
30
30
|
const $io5 = (input3) => Object.keys(input3).every((key) => {
|
|
31
31
|
const value = input3[key];
|
|
32
32
|
if (void 0 === value)
|
|
@@ -38,17 +38,16 @@ var validTermdbClusterRequest = (input) => {
|
|
|
38
38
|
return true;
|
|
39
39
|
});
|
|
40
40
|
const $io6 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter));
|
|
41
|
-
const $io7 = (input3) =>
|
|
42
|
-
const $io8 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.
|
|
41
|
+
const $io7 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io8(elem)));
|
|
42
|
+
const $io8 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.dt || "number" === typeof input3.dt) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
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) => "
|
|
47
|
-
const $io13 = (input3) => (void 0 === input3.
|
|
48
|
-
const $io14 = (input3) => "
|
|
49
|
-
const $io15 = (input3) => "object" === typeof input3
|
|
50
|
-
const $io16 = (input3) =>
|
|
51
|
-
const $io17 = (input3) => Object.keys(input3).every((key) => {
|
|
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 && $io13(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 && $io22(elem)));
|
|
47
|
+
const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "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) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io21(input3.continuousColorScale));
|
|
48
|
+
const $io14 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu4(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu4(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);
|
|
49
|
+
const $io15 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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);
|
|
50
|
+
const $io16 = (input3) => Object.keys(input3).every((key) => {
|
|
52
51
|
const value = input3[key];
|
|
53
52
|
if (void 0 === value)
|
|
54
53
|
return true;
|
|
@@ -56,25 +55,25 @@ var validTermdbClusterRequest = (input) => {
|
|
|
56
55
|
return "number" === typeof value;
|
|
57
56
|
return true;
|
|
58
57
|
});
|
|
59
|
-
const $
|
|
60
|
-
const $
|
|
61
|
-
const $
|
|
62
|
-
const $
|
|
63
|
-
const $
|
|
64
|
-
const $
|
|
65
|
-
const $
|
|
66
|
-
const $
|
|
67
|
-
const $
|
|
68
|
-
const $
|
|
69
|
-
const $
|
|
70
|
-
const $
|
|
71
|
-
const $
|
|
72
|
-
const $
|
|
73
|
-
const $
|
|
74
|
-
const $
|
|
75
|
-
const $
|
|
76
|
-
const $
|
|
77
|
-
const $
|
|
58
|
+
const $io17 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
59
|
+
const $io18 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
60
|
+
const $io19 = (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);
|
|
61
|
+
const $io20 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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);
|
|
62
|
+
const $io21 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
63
|
+
const $io22 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
64
|
+
const $io23 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io24(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 && $io25(elem)));
|
|
65
|
+
const $io24 = (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);
|
|
66
|
+
const $io25 = (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;
|
|
67
|
+
const $io26 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io27(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io30(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
68
|
+
const $io27 = (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 && $iu7(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));
|
|
69
|
+
const $io28 = (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) && (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 && $io27(elem)));
|
|
70
|
+
const $io29 = (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 && (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 && $io27(elem)));
|
|
71
|
+
const $io30 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
72
|
+
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "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) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io21(input3.continuousColorScale)) && "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);
|
|
73
|
+
const $io32 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "metaboliteIntensity" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io33(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
|
|
74
|
+
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "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) && true && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io21(input3.continuousColorScale)) && "string" === typeof input3.metabolite;
|
|
75
|
+
const $io34 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "numericDictTerm" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io35(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
|
|
76
|
+
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "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) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
|
|
78
77
|
const $iu0 = (input3) => (() => {
|
|
79
78
|
if ("tvslst" === input3.type)
|
|
80
79
|
return $io1(input3);
|
|
@@ -91,67 +90,62 @@ var validTermdbClusterRequest = (input) => {
|
|
|
91
90
|
})();
|
|
92
91
|
const $iu2 = (input3) => (() => {
|
|
93
92
|
if (true === input3.startunbounded)
|
|
94
|
-
return $
|
|
93
|
+
return $io17(input3);
|
|
95
94
|
if (true === input3.stopunbounded)
|
|
96
|
-
return $
|
|
97
|
-
return $
|
|
95
|
+
return $io19(input3);
|
|
96
|
+
return $io18(input3);
|
|
98
97
|
})();
|
|
99
98
|
const $iu3 = (input3) => (() => {
|
|
100
99
|
if (void 0 !== input3.ranges)
|
|
101
|
-
return $
|
|
100
|
+
return $io12(input3);
|
|
102
101
|
return (() => {
|
|
103
102
|
if ($io3(input3))
|
|
104
103
|
return $io3(input3);
|
|
105
|
-
if ($
|
|
106
|
-
return $
|
|
107
|
-
if ($
|
|
108
|
-
return $
|
|
104
|
+
if ($io23(input3))
|
|
105
|
+
return $io23(input3);
|
|
106
|
+
if ($io26(input3))
|
|
107
|
+
return $io26(input3);
|
|
109
108
|
return false;
|
|
110
109
|
})();
|
|
111
110
|
})();
|
|
112
111
|
const $iu4 = (input3) => (() => {
|
|
113
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io8(elem)))
|
|
114
|
-
return $io7(input3);
|
|
115
|
-
return $io12(input3);
|
|
116
|
-
})();
|
|
117
|
-
const $iu5 = (input3) => (() => {
|
|
118
112
|
if ("regular-bin" === input3.type)
|
|
119
|
-
return $
|
|
113
|
+
return $io15(input3);
|
|
120
114
|
if ("custom-bin" === input3.type)
|
|
121
|
-
return $
|
|
115
|
+
return $io20(input3);
|
|
122
116
|
return false;
|
|
123
117
|
})();
|
|
124
|
-
const $
|
|
118
|
+
const $iu5 = (input3) => (() => {
|
|
125
119
|
if (true === input3.startunbounded)
|
|
126
|
-
return $
|
|
120
|
+
return $io17(input3);
|
|
127
121
|
if (void 0 !== input3.start)
|
|
128
|
-
return $
|
|
122
|
+
return $io18(input3);
|
|
129
123
|
return false;
|
|
130
124
|
})();
|
|
131
|
-
const $
|
|
125
|
+
const $iu6 = (input3) => (() => {
|
|
132
126
|
if (void 0 !== input3.stop)
|
|
133
|
-
return $
|
|
127
|
+
return $io18(input3);
|
|
134
128
|
if (true === input3.stopunbounded)
|
|
135
|
-
return $
|
|
129
|
+
return $io19(input3);
|
|
136
130
|
return false;
|
|
137
131
|
})();
|
|
138
|
-
const $
|
|
132
|
+
const $iu7 = (input3) => (() => {
|
|
139
133
|
if ("gene" === input3.kind)
|
|
140
|
-
return $
|
|
134
|
+
return $io28(input3);
|
|
141
135
|
if ("coord" === input3.kind)
|
|
142
|
-
return $
|
|
136
|
+
return $io29(input3);
|
|
143
137
|
return false;
|
|
144
138
|
})();
|
|
145
|
-
const $
|
|
139
|
+
const $iu8 = (input3) => (() => {
|
|
146
140
|
if ("numericDictTerm" === input3.dataType)
|
|
147
|
-
return $
|
|
141
|
+
return $io34(input3);
|
|
148
142
|
if ("metaboliteIntensity" === input3.dataType)
|
|
149
|
-
return $
|
|
143
|
+
return $io32(input3);
|
|
150
144
|
if ("geneExpression" === input3.dataType)
|
|
151
145
|
return $io0(input3);
|
|
152
146
|
return false;
|
|
153
147
|
})();
|
|
154
|
-
return "object" === typeof input2 && null !== input2 && $
|
|
148
|
+
return "object" === typeof input2 && null !== input2 && $iu8(input2);
|
|
155
149
|
};
|
|
156
150
|
if (false === __is(input)) {
|
|
157
151
|
const $report = import_typia.createValidate.report(errors);
|
|
@@ -193,7 +187,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
193
187
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
194
188
|
expected: "GeneExpressionTerm",
|
|
195
189
|
value: elem
|
|
196
|
-
})) && $
|
|
190
|
+
})) && $vo31(elem, _path2 + ".terms[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
197
191
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
198
192
|
expected: "GeneExpressionTerm",
|
|
199
193
|
value: elem
|
|
@@ -347,11 +341,11 @@ var validTermdbClusterRequest = (input) => {
|
|
|
347
341
|
value: input3.skipValuesBuild
|
|
348
342
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
349
343
|
path: _path2 + ".groupsetting",
|
|
350
|
-
expected: "
|
|
344
|
+
expected: "TermGroupSetting",
|
|
351
345
|
value: input3.groupsetting
|
|
352
|
-
})) && $
|
|
346
|
+
})) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
353
347
|
path: _path2 + ".groupsetting",
|
|
354
|
-
expected: "
|
|
348
|
+
expected: "TermGroupSetting",
|
|
355
349
|
value: input3.groupsetting
|
|
356
350
|
})].every((flag) => flag);
|
|
357
351
|
const $vo5 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
@@ -413,13 +407,13 @@ var validTermdbClusterRequest = (input) => {
|
|
|
413
407
|
expected: "(Filter | undefined)",
|
|
414
408
|
value: input3.filter
|
|
415
409
|
})].every((flag) => flag);
|
|
416
|
-
const $vo7 = (input3, _path2, _exceptionable2 = true) => [
|
|
410
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
417
411
|
path: _path2 + ".disabled",
|
|
418
|
-
expected: "
|
|
412
|
+
expected: "boolean",
|
|
419
413
|
value: input3.disabled
|
|
420
|
-
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
414
|
+
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
421
415
|
path: _path2 + ".lst",
|
|
422
|
-
expected: "Array<Groupset>",
|
|
416
|
+
expected: "(Array<Groupset> | undefined)",
|
|
423
417
|
value: input3.lst
|
|
424
418
|
})) && input3.lst.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
425
419
|
path: _path2 + ".lst[" + _index6 + "]",
|
|
@@ -431,7 +425,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
431
425
|
value: elem
|
|
432
426
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
433
427
|
path: _path2 + ".lst",
|
|
434
|
-
expected: "Array<Groupset>",
|
|
428
|
+
expected: "(Array<Groupset> | undefined)",
|
|
435
429
|
value: input3.lst
|
|
436
430
|
})].every((flag) => flag);
|
|
437
431
|
const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
@@ -446,10 +440,10 @@ var validTermdbClusterRequest = (input) => {
|
|
|
446
440
|
path: _path2 + ".is_subcondition",
|
|
447
441
|
expected: "(boolean | undefined)",
|
|
448
442
|
value: input3.is_subcondition
|
|
449
|
-
}), void 0 === input3.
|
|
450
|
-
path: _path2 + ".
|
|
451
|
-
expected: "(
|
|
452
|
-
value: input3.
|
|
443
|
+
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
444
|
+
path: _path2 + ".dt",
|
|
445
|
+
expected: "(number | undefined)",
|
|
446
|
+
value: input3.dt
|
|
453
447
|
}), (Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
454
448
|
path: _path2 + ".groups",
|
|
455
449
|
expected: "Array<GroupEntry>",
|
|
@@ -526,24 +520,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
526
520
|
expected: "string",
|
|
527
521
|
value: input3.color
|
|
528
522
|
})].every((flag) => flag);
|
|
529
|
-
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["
|
|
530
|
-
path: _path2 + ".disabled",
|
|
531
|
-
expected: "boolean",
|
|
532
|
-
value: input3.disabled
|
|
533
|
-
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
534
|
-
path: _path2 + ".lst",
|
|
535
|
-
expected: "([] | undefined)",
|
|
536
|
-
value: input3.lst
|
|
537
|
-
})) && ((input3.lst.length === 0 || $report(_exceptionable2, {
|
|
538
|
-
path: _path2 + ".lst",
|
|
539
|
-
expected: "[]",
|
|
540
|
-
value: input3.lst
|
|
541
|
-
})) && [].every((flag) => flag)) || $report(_exceptionable2, {
|
|
542
|
-
path: _path2 + ".lst",
|
|
543
|
-
expected: "([] | undefined)",
|
|
544
|
-
value: input3.lst
|
|
545
|
-
})].every((flag) => flag);
|
|
546
|
-
const $vo13 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
523
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
547
524
|
path: _path2 + ".join",
|
|
548
525
|
expected: "(string | undefined)",
|
|
549
526
|
value: input3.join
|
|
@@ -555,7 +532,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
555
532
|
path: _path2 + ".term",
|
|
556
533
|
expected: "NumericTerm",
|
|
557
534
|
value: input3.term
|
|
558
|
-
})) && $
|
|
535
|
+
})) && $vo13(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
559
536
|
path: _path2 + ".term",
|
|
560
537
|
expected: "NumericTerm",
|
|
561
538
|
value: input3.term
|
|
@@ -581,18 +558,18 @@ var validTermdbClusterRequest = (input) => {
|
|
|
581
558
|
value: input3.values
|
|
582
559
|
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
583
560
|
path: _path2 + ".values[" + _index10 + "]",
|
|
584
|
-
expected: "__type.
|
|
561
|
+
expected: "__type.o3",
|
|
585
562
|
value: elem
|
|
586
|
-
})) && $
|
|
563
|
+
})) && $vo22(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
587
564
|
path: _path2 + ".values[" + _index10 + "]",
|
|
588
|
-
expected: "__type.
|
|
565
|
+
expected: "__type.o3",
|
|
589
566
|
value: elem
|
|
590
567
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
591
568
|
path: _path2 + ".values",
|
|
592
569
|
expected: "Array<__type>.o1",
|
|
593
570
|
value: input3.values
|
|
594
571
|
})].every((flag) => flag);
|
|
595
|
-
const $
|
|
572
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
596
573
|
path: _path2 + ".id",
|
|
597
574
|
expected: "string",
|
|
598
575
|
value: input3.id
|
|
@@ -652,7 +629,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
652
629
|
path: _path2 + ".bins",
|
|
653
630
|
expected: "PresetNumericBins",
|
|
654
631
|
value: input3.bins
|
|
655
|
-
})) && $
|
|
632
|
+
})) && $vo14(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
656
633
|
path: _path2 + ".bins",
|
|
657
634
|
expected: "PresetNumericBins",
|
|
658
635
|
value: input3.bins
|
|
@@ -662,18 +639,18 @@ var validTermdbClusterRequest = (input) => {
|
|
|
662
639
|
value: input3.unit
|
|
663
640
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
664
641
|
path: _path2 + ".continuousColorScale",
|
|
665
|
-
expected: "(__type.
|
|
642
|
+
expected: "(__type.o2 | undefined)",
|
|
666
643
|
value: input3.continuousColorScale
|
|
667
|
-
})) && $
|
|
644
|
+
})) && $vo21(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
668
645
|
path: _path2 + ".continuousColorScale",
|
|
669
|
-
expected: "(__type.
|
|
646
|
+
expected: "(__type.o2 | undefined)",
|
|
670
647
|
value: input3.continuousColorScale
|
|
671
648
|
})].every((flag) => flag);
|
|
672
|
-
const $
|
|
649
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
673
650
|
path: _path2 + '["default"]',
|
|
674
651
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
675
652
|
value: input3["default"]
|
|
676
|
-
})) && $
|
|
653
|
+
})) && $vu4(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
677
654
|
path: _path2 + '["default"]',
|
|
678
655
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
679
656
|
value: input3["default"]
|
|
@@ -681,7 +658,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
681
658
|
path: _path2 + ".less",
|
|
682
659
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
683
660
|
value: input3.less
|
|
684
|
-
})) && $
|
|
661
|
+
})) && $vu4(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
685
662
|
path: _path2 + ".less",
|
|
686
663
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
687
664
|
value: input3.less
|
|
@@ -706,11 +683,11 @@ var validTermdbClusterRequest = (input) => {
|
|
|
706
683
|
expected: "(number | undefined)",
|
|
707
684
|
value: input3.max
|
|
708
685
|
})].every((flag) => flag);
|
|
709
|
-
const $
|
|
686
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
710
687
|
path: _path2 + ".hiddenValues",
|
|
711
688
|
expected: "(HiddenValues | undefined)",
|
|
712
689
|
value: input3.hiddenValues
|
|
713
|
-
})) && $
|
|
690
|
+
})) && $vo16(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
714
691
|
path: _path2 + ".hiddenValues",
|
|
715
692
|
expected: "(HiddenValues | undefined)",
|
|
716
693
|
value: input3.hiddenValues
|
|
@@ -742,7 +719,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
742
719
|
path: _path2 + ".first_bin",
|
|
743
720
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
744
721
|
value: input3.first_bin
|
|
745
|
-
})) && $
|
|
722
|
+
})) && $vu5(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
746
723
|
path: _path2 + ".first_bin",
|
|
747
724
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
748
725
|
value: input3.first_bin
|
|
@@ -750,7 +727,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
750
727
|
path: _path2 + ".last_bin",
|
|
751
728
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
752
729
|
value: input3.last_bin
|
|
753
|
-
})) && $
|
|
730
|
+
})) && $vu6(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
754
731
|
path: _path2 + ".last_bin",
|
|
755
732
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
756
733
|
value: input3.last_bin
|
|
@@ -759,7 +736,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
759
736
|
expected: "(number | undefined)",
|
|
760
737
|
value: input3.label_offset
|
|
761
738
|
})].every((flag) => flag);
|
|
762
|
-
const $
|
|
739
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
763
740
|
const value = input3[key];
|
|
764
741
|
if (void 0 === value)
|
|
765
742
|
return true;
|
|
@@ -771,7 +748,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
771
748
|
});
|
|
772
749
|
return true;
|
|
773
750
|
}).every((flag) => flag)].every((flag) => flag);
|
|
774
|
-
const $
|
|
751
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
775
752
|
path: _path2 + ".startunbounded",
|
|
776
753
|
expected: "true",
|
|
777
754
|
value: input3.startunbounded
|
|
@@ -796,7 +773,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
796
773
|
expected: "(string | undefined)",
|
|
797
774
|
value: input3.label
|
|
798
775
|
})].every((flag) => flag);
|
|
799
|
-
const $
|
|
776
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
800
777
|
path: _path2 + ".startunbounded",
|
|
801
778
|
expected: "(false | undefined)",
|
|
802
779
|
value: input3.startunbounded
|
|
@@ -825,7 +802,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
825
802
|
expected: "(string | undefined)",
|
|
826
803
|
value: input3.label
|
|
827
804
|
})].every((flag) => flag);
|
|
828
|
-
const $
|
|
805
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
829
806
|
path: _path2 + ".start",
|
|
830
807
|
expected: "number",
|
|
831
808
|
value: input3.start
|
|
@@ -850,11 +827,11 @@ var validTermdbClusterRequest = (input) => {
|
|
|
850
827
|
expected: "(string | undefined)",
|
|
851
828
|
value: input3.label
|
|
852
829
|
})].every((flag) => flag);
|
|
853
|
-
const $
|
|
830
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
854
831
|
path: _path2 + ".hiddenValues",
|
|
855
832
|
expected: "(HiddenValues | undefined)",
|
|
856
833
|
value: input3.hiddenValues
|
|
857
|
-
})) && $
|
|
834
|
+
})) && $vo16(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
858
835
|
path: _path2 + ".hiddenValues",
|
|
859
836
|
expected: "(HiddenValues | undefined)",
|
|
860
837
|
value: input3.hiddenValues
|
|
@@ -917,7 +894,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
917
894
|
expected: '("median" | undefined)',
|
|
918
895
|
value: input3.preferredBins
|
|
919
896
|
})].every((flag) => flag);
|
|
920
|
-
const $
|
|
897
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
921
898
|
path: _path2 + ".minColor",
|
|
922
899
|
expected: "string",
|
|
923
900
|
value: input3.minColor
|
|
@@ -926,7 +903,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
926
903
|
expected: "string",
|
|
927
904
|
value: input3.maxColor
|
|
928
905
|
})].every((flag) => flag);
|
|
929
|
-
const $
|
|
906
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
930
907
|
path: _path2 + ".key",
|
|
931
908
|
expected: "string",
|
|
932
909
|
value: input3.key
|
|
@@ -943,7 +920,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
943
920
|
expected: "(string | undefined)",
|
|
944
921
|
value: input3.label
|
|
945
922
|
})].every((flag) => flag);
|
|
946
|
-
const $
|
|
923
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
947
924
|
path: _path2 + ".join",
|
|
948
925
|
expected: "(string | undefined)",
|
|
949
926
|
value: input3.join
|
|
@@ -955,7 +932,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
955
932
|
path: _path2 + ".term",
|
|
956
933
|
expected: "ConditionTerm",
|
|
957
934
|
value: input3.term
|
|
958
|
-
})) && $
|
|
935
|
+
})) && $vo24(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
959
936
|
path: _path2 + ".term",
|
|
960
937
|
expected: "ConditionTerm",
|
|
961
938
|
value: input3.term
|
|
@@ -979,7 +956,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
979
956
|
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
980
957
|
expected: "GradeAndChildEntry",
|
|
981
958
|
value: elem
|
|
982
|
-
})) && $
|
|
959
|
+
})) && $vo25(elem, _path2 + ".grade_and_child[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
983
960
|
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
984
961
|
expected: "GradeAndChildEntry",
|
|
985
962
|
value: elem
|
|
@@ -988,7 +965,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
988
965
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
989
966
|
value: input3.grade_and_child
|
|
990
967
|
})].every((flag) => flag);
|
|
991
|
-
const $
|
|
968
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
992
969
|
path: _path2 + ".id",
|
|
993
970
|
expected: "string",
|
|
994
971
|
value: input3.id
|
|
@@ -1045,7 +1022,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1045
1022
|
expected: "(boolean | undefined)",
|
|
1046
1023
|
value: input3.skipValuesBuild
|
|
1047
1024
|
})].every((flag) => flag);
|
|
1048
|
-
const $
|
|
1025
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1049
1026
|
path: _path2 + ".grade",
|
|
1050
1027
|
expected: "number",
|
|
1051
1028
|
value: input3.grade
|
|
@@ -1062,7 +1039,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1062
1039
|
expected: "string",
|
|
1063
1040
|
value: input3.child_label
|
|
1064
1041
|
})].every((flag) => flag);
|
|
1065
|
-
const $
|
|
1042
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1066
1043
|
path: _path2 + ".join",
|
|
1067
1044
|
expected: "(string | undefined)",
|
|
1068
1045
|
value: input3.join
|
|
@@ -1074,7 +1051,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1074
1051
|
path: _path2 + ".term",
|
|
1075
1052
|
expected: "DtTerm",
|
|
1076
1053
|
value: input3.term
|
|
1077
|
-
})) && $
|
|
1054
|
+
})) && $vo27(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1078
1055
|
path: _path2 + ".term",
|
|
1079
1056
|
expected: "DtTerm",
|
|
1080
1057
|
value: input3.term
|
|
@@ -1084,11 +1061,11 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1084
1061
|
value: input3.values
|
|
1085
1062
|
})) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1086
1063
|
path: _path2 + ".values[" + _index17 + "]",
|
|
1087
|
-
expected: "__type.
|
|
1064
|
+
expected: "__type.o4",
|
|
1088
1065
|
value: elem
|
|
1089
|
-
})) && $
|
|
1066
|
+
})) && $vo30(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1090
1067
|
path: _path2 + ".values[" + _index17 + "]",
|
|
1091
|
-
expected: "__type.
|
|
1068
|
+
expected: "__type.o4",
|
|
1092
1069
|
value: elem
|
|
1093
1070
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1094
1071
|
path: _path2 + ".values",
|
|
@@ -1103,7 +1080,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1103
1080
|
expected: "(boolean | undefined)",
|
|
1104
1081
|
value: input3.excludeGeneName
|
|
1105
1082
|
})].every((flag) => flag);
|
|
1106
|
-
const $
|
|
1083
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1107
1084
|
path: _path2 + ".id",
|
|
1108
1085
|
expected: "string",
|
|
1109
1086
|
value: input3.id
|
|
@@ -1123,7 +1100,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1123
1100
|
path: _path2 + ".parentTerm",
|
|
1124
1101
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1125
1102
|
value: input3.parentTerm
|
|
1126
|
-
})) && $
|
|
1103
|
+
})) && $vu7(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1127
1104
|
path: _path2 + ".parentTerm",
|
|
1128
1105
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1129
1106
|
value: input3.parentTerm
|
|
@@ -1152,7 +1129,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1152
1129
|
expected: "TermValues",
|
|
1153
1130
|
value: input3.values
|
|
1154
1131
|
})].every((flag) => flag);
|
|
1155
|
-
const $
|
|
1132
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1156
1133
|
path: _path2 + ".id",
|
|
1157
1134
|
expected: "string",
|
|
1158
1135
|
value: input3.id
|
|
@@ -1230,11 +1207,11 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1230
1207
|
value: input3.stop
|
|
1231
1208
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1232
1209
|
path: _path2 + ".groupsetting",
|
|
1233
|
-
expected: "(
|
|
1210
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1234
1211
|
value: input3.groupsetting
|
|
1235
|
-
})) && $
|
|
1212
|
+
})) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1236
1213
|
path: _path2 + ".groupsetting",
|
|
1237
|
-
expected: "(
|
|
1214
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1238
1215
|
value: input3.groupsetting
|
|
1239
1216
|
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1240
1217
|
path: _path2 + ".childTerms",
|
|
@@ -1244,7 +1221,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1244
1221
|
path: _path2 + ".childTerms[" + _index20 + "]",
|
|
1245
1222
|
expected: "DtTerm",
|
|
1246
1223
|
value: elem
|
|
1247
|
-
})) && $
|
|
1224
|
+
})) && $vo27(elem, _path2 + ".childTerms[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1248
1225
|
path: _path2 + ".childTerms[" + _index20 + "]",
|
|
1249
1226
|
expected: "DtTerm",
|
|
1250
1227
|
value: elem
|
|
@@ -1253,7 +1230,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1253
1230
|
expected: "(Array<DtTerm> | undefined)",
|
|
1254
1231
|
value: input3.childTerms
|
|
1255
1232
|
})].every((flag) => flag);
|
|
1256
|
-
const $
|
|
1233
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1257
1234
|
path: _path2 + ".id",
|
|
1258
1235
|
expected: "string",
|
|
1259
1236
|
value: input3.id
|
|
@@ -1327,11 +1304,11 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1327
1304
|
value: input3.stop
|
|
1328
1305
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1329
1306
|
path: _path2 + ".groupsetting",
|
|
1330
|
-
expected: "(
|
|
1307
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1331
1308
|
value: input3.groupsetting
|
|
1332
|
-
})) && $
|
|
1309
|
+
})) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1333
1310
|
path: _path2 + ".groupsetting",
|
|
1334
|
-
expected: "(
|
|
1311
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1335
1312
|
value: input3.groupsetting
|
|
1336
1313
|
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1337
1314
|
path: _path2 + ".childTerms",
|
|
@@ -1341,7 +1318,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1341
1318
|
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
1342
1319
|
expected: "DtTerm",
|
|
1343
1320
|
value: elem
|
|
1344
|
-
})) && $
|
|
1321
|
+
})) && $vo27(elem, _path2 + ".childTerms[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1345
1322
|
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
1346
1323
|
expected: "DtTerm",
|
|
1347
1324
|
value: elem
|
|
@@ -1350,7 +1327,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1350
1327
|
expected: "(Array<DtTerm> | undefined)",
|
|
1351
1328
|
value: input3.childTerms
|
|
1352
1329
|
})].every((flag) => flag);
|
|
1353
|
-
const $
|
|
1330
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1354
1331
|
path: _path2 + ".key",
|
|
1355
1332
|
expected: "string",
|
|
1356
1333
|
value: input3.key
|
|
@@ -1363,7 +1340,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1363
1340
|
expected: "string",
|
|
1364
1341
|
value: input3.value
|
|
1365
1342
|
})].every((flag) => flag);
|
|
1366
|
-
const $
|
|
1343
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1367
1344
|
path: _path2 + ".id",
|
|
1368
1345
|
expected: "string",
|
|
1369
1346
|
value: input3.id
|
|
@@ -1423,7 +1400,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1423
1400
|
path: _path2 + ".bins",
|
|
1424
1401
|
expected: "PresetNumericBins",
|
|
1425
1402
|
value: input3.bins
|
|
1426
|
-
})) && $
|
|
1403
|
+
})) && $vo14(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1427
1404
|
path: _path2 + ".bins",
|
|
1428
1405
|
expected: "PresetNumericBins",
|
|
1429
1406
|
value: input3.bins
|
|
@@ -1433,11 +1410,11 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1433
1410
|
value: input3.unit
|
|
1434
1411
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1435
1412
|
path: _path2 + ".continuousColorScale",
|
|
1436
|
-
expected: "(__type.
|
|
1413
|
+
expected: "(__type.o2 | undefined)",
|
|
1437
1414
|
value: input3.continuousColorScale
|
|
1438
|
-
})) && $
|
|
1415
|
+
})) && $vo21(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1439
1416
|
path: _path2 + ".continuousColorScale",
|
|
1440
|
-
expected: "(__type.
|
|
1417
|
+
expected: "(__type.o2 | undefined)",
|
|
1441
1418
|
value: input3.continuousColorScale
|
|
1442
1419
|
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1443
1420
|
path: _path2 + ".gene",
|
|
@@ -1456,7 +1433,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1456
1433
|
expected: "(number | undefined)",
|
|
1457
1434
|
value: input3.stop
|
|
1458
1435
|
})].every((flag) => flag);
|
|
1459
|
-
const $
|
|
1436
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
|
|
1460
1437
|
path: _path2 + ".genome",
|
|
1461
1438
|
expected: "string",
|
|
1462
1439
|
value: input3.genome
|
|
@@ -1492,7 +1469,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1492
1469
|
path: _path2 + ".terms[" + _index26 + "]",
|
|
1493
1470
|
expected: "MetaboliteIntensityTerm",
|
|
1494
1471
|
value: elem
|
|
1495
|
-
})) && $
|
|
1472
|
+
})) && $vo33(elem, _path2 + ".terms[" + _index26 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1496
1473
|
path: _path2 + ".terms[" + _index26 + "]",
|
|
1497
1474
|
expected: "MetaboliteIntensityTerm",
|
|
1498
1475
|
value: elem
|
|
@@ -1505,7 +1482,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1505
1482
|
expected: "(string | undefined)",
|
|
1506
1483
|
value: input3.zScoreTransformation
|
|
1507
1484
|
})].every((flag) => flag);
|
|
1508
|
-
const $
|
|
1485
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1509
1486
|
path: _path2 + ".id",
|
|
1510
1487
|
expected: "string",
|
|
1511
1488
|
value: input3.id
|
|
@@ -1567,18 +1544,18 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1567
1544
|
value: input3.unit
|
|
1568
1545
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1569
1546
|
path: _path2 + ".continuousColorScale",
|
|
1570
|
-
expected: "(__type.
|
|
1547
|
+
expected: "(__type.o2 | undefined)",
|
|
1571
1548
|
value: input3.continuousColorScale
|
|
1572
|
-
})) && $
|
|
1549
|
+
})) && $vo21(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1573
1550
|
path: _path2 + ".continuousColorScale",
|
|
1574
|
-
expected: "(__type.
|
|
1551
|
+
expected: "(__type.o2 | undefined)",
|
|
1575
1552
|
value: input3.continuousColorScale
|
|
1576
1553
|
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1577
1554
|
path: _path2 + ".metabolite",
|
|
1578
1555
|
expected: "string",
|
|
1579
1556
|
value: input3.metabolite
|
|
1580
1557
|
})].every((flag) => flag);
|
|
1581
|
-
const $
|
|
1558
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
|
|
1582
1559
|
path: _path2 + ".genome",
|
|
1583
1560
|
expected: "string",
|
|
1584
1561
|
value: input3.genome
|
|
@@ -1614,7 +1591,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1614
1591
|
path: _path2 + ".terms[" + _index29 + "]",
|
|
1615
1592
|
expected: "NumericDictTerm",
|
|
1616
1593
|
value: elem
|
|
1617
|
-
})) && $
|
|
1594
|
+
})) && $vo35(elem, _path2 + ".terms[" + _index29 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1618
1595
|
path: _path2 + ".terms[" + _index29 + "]",
|
|
1619
1596
|
expected: "NumericDictTerm",
|
|
1620
1597
|
value: elem
|
|
@@ -1627,7 +1604,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1627
1604
|
expected: "(string | undefined)",
|
|
1628
1605
|
value: input3.zScoreTransformation
|
|
1629
1606
|
})].every((flag) => flag);
|
|
1630
|
-
const $
|
|
1607
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1631
1608
|
path: _path2 + ".id",
|
|
1632
1609
|
expected: "string",
|
|
1633
1610
|
value: input3.id
|
|
@@ -1687,7 +1664,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1687
1664
|
path: _path2 + ".bins",
|
|
1688
1665
|
expected: "PresetNumericBins",
|
|
1689
1666
|
value: input3.bins
|
|
1690
|
-
})) && $
|
|
1667
|
+
})) && $vo14(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1691
1668
|
path: _path2 + ".bins",
|
|
1692
1669
|
expected: "PresetNumericBins",
|
|
1693
1670
|
value: input3.bins
|
|
@@ -1720,70 +1697,65 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1720
1697
|
})();
|
|
1721
1698
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1722
1699
|
if (true === input3.startunbounded)
|
|
1723
|
-
return $
|
|
1700
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
1724
1701
|
if (true === input3.stopunbounded)
|
|
1725
|
-
return $
|
|
1726
|
-
return $
|
|
1702
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1703
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1727
1704
|
})();
|
|
1728
1705
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1729
1706
|
if (void 0 !== input3.ranges)
|
|
1730
|
-
return $
|
|
1731
|
-
return $vo3(input3, _path2, false) || $
|
|
1707
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
1708
|
+
return $vo3(input3, _path2, false) || $vo23(input3, _path2, false) || $vo26(input3, _path2, false);
|
|
1732
1709
|
})();
|
|
1733
1710
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1734
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index32) => "object" === typeof elem && null !== elem && $vo8(elem, _path2 + ".lst[" + _index32 + "]", false)).every((flag) => flag))
|
|
1735
|
-
return $vo7(input3, _path2, _exceptionable2);
|
|
1736
|
-
return $vo12(input3, _path2, _exceptionable2);
|
|
1737
|
-
})();
|
|
1738
|
-
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1739
1711
|
if ("regular-bin" === input3.type)
|
|
1740
|
-
return $
|
|
1712
|
+
return $vo15(input3, _path2, _exceptionable2);
|
|
1741
1713
|
if ("custom-bin" === input3.type)
|
|
1742
|
-
return $
|
|
1714
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1743
1715
|
return $report(_exceptionable2, {
|
|
1744
1716
|
path: _path2,
|
|
1745
1717
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
1746
1718
|
value: input3
|
|
1747
1719
|
});
|
|
1748
1720
|
})();
|
|
1749
|
-
const $
|
|
1721
|
+
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1750
1722
|
if (true === input3.startunbounded)
|
|
1751
|
-
return $
|
|
1723
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
1752
1724
|
if (void 0 !== input3.start)
|
|
1753
|
-
return $
|
|
1725
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1754
1726
|
return $report(_exceptionable2, {
|
|
1755
1727
|
path: _path2,
|
|
1756
1728
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
1757
1729
|
value: input3
|
|
1758
1730
|
});
|
|
1759
1731
|
})();
|
|
1760
|
-
const $
|
|
1732
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1761
1733
|
if (void 0 !== input3.stop)
|
|
1762
|
-
return $
|
|
1734
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1763
1735
|
if (true === input3.stopunbounded)
|
|
1764
|
-
return $
|
|
1736
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1765
1737
|
return $report(_exceptionable2, {
|
|
1766
1738
|
path: _path2,
|
|
1767
1739
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1768
1740
|
value: input3
|
|
1769
1741
|
});
|
|
1770
1742
|
})();
|
|
1771
|
-
const $
|
|
1743
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1772
1744
|
if ("gene" === input3.kind)
|
|
1773
|
-
return $
|
|
1745
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
1774
1746
|
if ("coord" === input3.kind)
|
|
1775
|
-
return $
|
|
1747
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
1776
1748
|
return $report(_exceptionable2, {
|
|
1777
1749
|
path: _path2,
|
|
1778
1750
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|
|
1779
1751
|
value: input3
|
|
1780
1752
|
});
|
|
1781
1753
|
})();
|
|
1782
|
-
const $
|
|
1754
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1783
1755
|
if ("numericDictTerm" === input3.dataType)
|
|
1784
|
-
return $
|
|
1756
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
1785
1757
|
if ("metaboliteIntensity" === input3.dataType)
|
|
1786
|
-
return $
|
|
1758
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
1787
1759
|
if ("geneExpression" === input3.dataType)
|
|
1788
1760
|
return $vo0(input3, _path2, _exceptionable2);
|
|
1789
1761
|
return $report(_exceptionable2, {
|
|
@@ -1796,7 +1768,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1796
1768
|
path: _path + "",
|
|
1797
1769
|
expected: "(TermdbClusterRequestGeneExpression | TermdbClusterRequestMetabolite | TermdbClusterRequestNumericDictTerm)",
|
|
1798
1770
|
value: input2
|
|
1799
|
-
})) && $
|
|
1771
|
+
})) && $vu8(input2, _path + "", true) || $report(true, {
|
|
1800
1772
|
path: _path + "",
|
|
1801
1773
|
expected: "(TermdbClusterRequestGeneExpression | TermdbClusterRequestMetabolite | TermdbClusterRequestNumericDictTerm)",
|
|
1802
1774
|
value: input2
|
|
@@ -1839,7 +1811,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1839
1811
|
});
|
|
1840
1812
|
const $io9 = (input3) => "string" === typeof input3.text && (Array.isArray(input3.lst) && input3.lst.every((elem) => "string" === typeof elem));
|
|
1841
1813
|
const $io10 = (input3) => "object" === typeof input3.term && null !== input3.term && $iu3(input3.term) && true;
|
|
1842
|
-
const $io11 = (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) && $io12(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) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $
|
|
1814
|
+
const $io11 = (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) && $io12(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) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
|
|
1843
1815
|
const $io12 = (input3) => Object.keys(input3).every((key) => {
|
|
1844
1816
|
const value = input3[key];
|
|
1845
1817
|
if (void 0 === value)
|
|
@@ -1852,20 +1824,19 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1852
1824
|
});
|
|
1853
1825
|
const $io13 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io14(input3.filter));
|
|
1854
1826
|
const $io14 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
1855
|
-
const $io15 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $
|
|
1827
|
+
const $io15 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu4(input3.tvs));
|
|
1856
1828
|
const $io16 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io17(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io13(elem)));
|
|
1857
|
-
const $io17 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $
|
|
1858
|
-
const $io18 = (input3) =>
|
|
1859
|
-
const $io19 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.
|
|
1829
|
+
const $io17 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting));
|
|
1830
|
+
const $io18 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io19(elem)));
|
|
1831
|
+
const $io19 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.dt || "number" === typeof input3.dt) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
1860
1832
|
const $io20 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io21(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
1861
1833
|
const $io21 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
1862
1834
|
const $io22 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io14(input3.filter)) && "string" === typeof input3.color;
|
|
1863
|
-
const $io23 = (input3) => "
|
|
1864
|
-
const $io24 = (input3) => (void 0 === input3.
|
|
1865
|
-
const $io25 = (input3) => "
|
|
1866
|
-
const $io26 = (input3) => "object" === typeof input3
|
|
1867
|
-
const $io27 = (input3) =>
|
|
1868
|
-
const $io28 = (input3) => Object.keys(input3).every((key) => {
|
|
1835
|
+
const $io23 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io24(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 && $io33(elem)));
|
|
1836
|
+
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.bins && null !== input3.bins && $io25(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io32(input3.continuousColorScale));
|
|
1837
|
+
const $io25 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu5(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu5(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);
|
|
1838
|
+
const $io26 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io27(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 && $iu6(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu7(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
1839
|
+
const $io27 = (input3) => Object.keys(input3).every((key) => {
|
|
1869
1840
|
const value = input3[key];
|
|
1870
1841
|
if (void 0 === value)
|
|
1871
1842
|
return true;
|
|
@@ -1873,41 +1844,41 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1873
1844
|
return "number" === typeof value;
|
|
1874
1845
|
return true;
|
|
1875
1846
|
});
|
|
1876
|
-
const $
|
|
1877
|
-
const $
|
|
1878
|
-
const $
|
|
1879
|
-
const $
|
|
1880
|
-
const $
|
|
1881
|
-
const $
|
|
1882
|
-
const $
|
|
1883
|
-
const $
|
|
1884
|
-
const $
|
|
1885
|
-
const $
|
|
1886
|
-
const $
|
|
1887
|
-
const $
|
|
1888
|
-
const $
|
|
1889
|
-
const $
|
|
1890
|
-
const $
|
|
1891
|
-
const $
|
|
1892
|
-
const $
|
|
1893
|
-
const $
|
|
1894
|
-
const $
|
|
1895
|
-
const $
|
|
1896
|
-
const $
|
|
1897
|
-
const $
|
|
1898
|
-
const $
|
|
1899
|
-
const $
|
|
1847
|
+
const $io28 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
1848
|
+
const $io29 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
1849
|
+
const $io30 = (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);
|
|
1850
|
+
const $io31 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io27(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);
|
|
1851
|
+
const $io32 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
1852
|
+
const $io33 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
1853
|
+
const $io34 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io35(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 && $io36(elem)));
|
|
1854
|
+
const $io35 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
1855
|
+
const $io36 = (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;
|
|
1856
|
+
const $io37 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io38(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io41(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
1857
|
+
const $io38 = (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 && $iu8(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) && $io12(input3.values));
|
|
1858
|
+
const $io39 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(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) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
|
|
1859
|
+
const $io40 = (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) && $io12(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 && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
|
|
1860
|
+
const $io41 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
1861
|
+
const $io42 = (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) && $io12(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 && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
|
|
1862
|
+
const $io43 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting));
|
|
1863
|
+
const $io44 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.bins && null !== input3.bins && $io25(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io32(input3.continuousColorScale));
|
|
1864
|
+
const $io45 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
1865
|
+
const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io47(elem)));
|
|
1866
|
+
const $io47 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io48(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io49(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
|
|
1867
|
+
const $io48 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
1868
|
+
const $io49 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
1869
|
+
const $io50 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io51(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
1870
|
+
const $io51 = (input3) => Object.keys(input3).every((key) => {
|
|
1900
1871
|
const value = input3[key];
|
|
1901
1872
|
if (void 0 === value)
|
|
1902
1873
|
return true;
|
|
1903
1874
|
if (RegExp(/(.*)/).test(key))
|
|
1904
|
-
return "object" === typeof value && null !== value && $
|
|
1875
|
+
return "object" === typeof value && null !== value && $io52(value);
|
|
1905
1876
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
1906
|
-
return "object" === typeof value && null !== value && $
|
|
1877
|
+
return "object" === typeof value && null !== value && $io52(value);
|
|
1907
1878
|
return true;
|
|
1908
1879
|
});
|
|
1909
|
-
const $
|
|
1910
|
-
const $
|
|
1880
|
+
const $io52 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io14(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io53(elem))) && true;
|
|
1881
|
+
const $io53 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
1911
1882
|
const $iu0 = (input3) => (() => {
|
|
1912
1883
|
if ("tvslst" === input3.type)
|
|
1913
1884
|
return $io14(input3);
|
|
@@ -1924,77 +1895,72 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1924
1895
|
})();
|
|
1925
1896
|
const $iu2 = (input3) => (() => {
|
|
1926
1897
|
if (true === input3.startunbounded)
|
|
1927
|
-
return $
|
|
1898
|
+
return $io28(input3);
|
|
1928
1899
|
if (true === input3.stopunbounded)
|
|
1929
|
-
return $
|
|
1930
|
-
return $
|
|
1900
|
+
return $io30(input3);
|
|
1901
|
+
return $io29(input3);
|
|
1931
1902
|
})();
|
|
1932
1903
|
const $iu3 = (input3) => (() => {
|
|
1933
1904
|
if ("gene" === input3.kind)
|
|
1934
1905
|
return $io11(input3);
|
|
1935
1906
|
if ("coord" === input3.kind)
|
|
1936
|
-
return $
|
|
1907
|
+
return $io42(input3);
|
|
1937
1908
|
if ("categorical" === input3.type)
|
|
1938
|
-
return $
|
|
1909
|
+
return $io43(input3);
|
|
1939
1910
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
1940
|
-
return $
|
|
1911
|
+
return $io44(input3);
|
|
1941
1912
|
if ("condition" === input3.type)
|
|
1942
|
-
return $
|
|
1913
|
+
return $io45(input3);
|
|
1943
1914
|
return (() => {
|
|
1944
|
-
if ($
|
|
1945
|
-
return $
|
|
1946
|
-
if ($
|
|
1947
|
-
return $
|
|
1915
|
+
if ($io46(input3))
|
|
1916
|
+
return $io46(input3);
|
|
1917
|
+
if ($io50(input3))
|
|
1918
|
+
return $io50(input3);
|
|
1948
1919
|
return false;
|
|
1949
1920
|
})();
|
|
1950
1921
|
})();
|
|
1951
1922
|
const $iu4 = (input3) => (() => {
|
|
1952
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io19(elem)))
|
|
1953
|
-
return $io18(input3);
|
|
1954
|
-
return $io23(input3);
|
|
1955
|
-
})();
|
|
1956
|
-
const $iu5 = (input3) => (() => {
|
|
1957
1923
|
if (void 0 !== input3.ranges)
|
|
1958
|
-
return $
|
|
1924
|
+
return $io23(input3);
|
|
1959
1925
|
return (() => {
|
|
1960
1926
|
if ($io16(input3))
|
|
1961
1927
|
return $io16(input3);
|
|
1962
|
-
if ($
|
|
1963
|
-
return $
|
|
1964
|
-
if ($
|
|
1965
|
-
return $
|
|
1928
|
+
if ($io34(input3))
|
|
1929
|
+
return $io34(input3);
|
|
1930
|
+
if ($io37(input3))
|
|
1931
|
+
return $io37(input3);
|
|
1966
1932
|
return false;
|
|
1967
1933
|
})();
|
|
1968
1934
|
})();
|
|
1969
|
-
const $
|
|
1935
|
+
const $iu5 = (input3) => (() => {
|
|
1970
1936
|
if ("regular-bin" === input3.type)
|
|
1971
|
-
return $
|
|
1937
|
+
return $io26(input3);
|
|
1972
1938
|
if ("custom-bin" === input3.type)
|
|
1973
|
-
return $
|
|
1939
|
+
return $io31(input3);
|
|
1974
1940
|
return false;
|
|
1975
1941
|
})();
|
|
1976
|
-
const $
|
|
1942
|
+
const $iu6 = (input3) => (() => {
|
|
1977
1943
|
if (true === input3.startunbounded)
|
|
1978
|
-
return $
|
|
1944
|
+
return $io28(input3);
|
|
1979
1945
|
if (void 0 !== input3.start)
|
|
1980
|
-
return $
|
|
1946
|
+
return $io29(input3);
|
|
1981
1947
|
return false;
|
|
1982
1948
|
})();
|
|
1983
|
-
const $
|
|
1949
|
+
const $iu7 = (input3) => (() => {
|
|
1984
1950
|
if (void 0 !== input3.stop)
|
|
1985
|
-
return $
|
|
1951
|
+
return $io29(input3);
|
|
1986
1952
|
if (true === input3.stopunbounded)
|
|
1987
|
-
return $
|
|
1953
|
+
return $io30(input3);
|
|
1988
1954
|
return false;
|
|
1989
1955
|
})();
|
|
1990
|
-
const $
|
|
1956
|
+
const $iu8 = (input3) => (() => {
|
|
1991
1957
|
if ("gene" === input3.kind)
|
|
1992
|
-
return $
|
|
1958
|
+
return $io39(input3);
|
|
1993
1959
|
if ("coord" === input3.kind)
|
|
1994
|
-
return $
|
|
1960
|
+
return $io40(input3);
|
|
1995
1961
|
return false;
|
|
1996
1962
|
})();
|
|
1997
|
-
const $
|
|
1963
|
+
const $iu9 = (input3) => (() => {
|
|
1998
1964
|
if (void 0 !== input3.status)
|
|
1999
1965
|
return $io0(input3);
|
|
2000
1966
|
if (void 0 !== input3.clustering)
|
|
@@ -2003,7 +1969,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2003
1969
|
return $io10(input3);
|
|
2004
1970
|
return false;
|
|
2005
1971
|
})();
|
|
2006
|
-
return "object" === typeof input2 && null !== input2 && $
|
|
1972
|
+
return "object" === typeof input2 && null !== input2 && $iu9(input2);
|
|
2007
1973
|
};
|
|
2008
1974
|
if (false === __is(input)) {
|
|
2009
1975
|
const $report = import_typia.createValidate.report(errors);
|
|
@@ -2296,11 +2262,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2296
2262
|
value: input3.stop
|
|
2297
2263
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2298
2264
|
path: _path2 + ".groupsetting",
|
|
2299
|
-
expected: "
|
|
2265
|
+
expected: "TermGroupSetting",
|
|
2300
2266
|
value: input3.groupsetting
|
|
2301
|
-
})) && $
|
|
2267
|
+
})) && $vo18(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2302
2268
|
path: _path2 + ".groupsetting",
|
|
2303
|
-
expected: "
|
|
2269
|
+
expected: "TermGroupSetting",
|
|
2304
2270
|
value: input3.groupsetting
|
|
2305
2271
|
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
2306
2272
|
path: _path2 + ".childTerms",
|
|
@@ -2310,7 +2276,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2310
2276
|
path: _path2 + ".childTerms[" + _index11 + "]",
|
|
2311
2277
|
expected: "DtTerm",
|
|
2312
2278
|
value: elem
|
|
2313
|
-
})) && $
|
|
2279
|
+
})) && $vo38(elem, _path2 + ".childTerms[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2314
2280
|
path: _path2 + ".childTerms[" + _index11 + "]",
|
|
2315
2281
|
expected: "DtTerm",
|
|
2316
2282
|
value: elem
|
|
@@ -2419,7 +2385,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2419
2385
|
path: _path2 + ".tvs",
|
|
2420
2386
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
2421
2387
|
value: input3.tvs
|
|
2422
|
-
})) && $
|
|
2388
|
+
})) && $vu4(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
2423
2389
|
path: _path2 + ".tvs",
|
|
2424
2390
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
2425
2391
|
value: input3.tvs
|
|
@@ -2519,20 +2485,20 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2519
2485
|
value: input3.skipValuesBuild
|
|
2520
2486
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2521
2487
|
path: _path2 + ".groupsetting",
|
|
2522
|
-
expected: "
|
|
2488
|
+
expected: "TermGroupSetting",
|
|
2523
2489
|
value: input3.groupsetting
|
|
2524
|
-
})) && $
|
|
2490
|
+
})) && $vo18(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2525
2491
|
path: _path2 + ".groupsetting",
|
|
2526
|
-
expected: "
|
|
2492
|
+
expected: "TermGroupSetting",
|
|
2527
2493
|
value: input3.groupsetting
|
|
2528
2494
|
})].every((flag) => flag);
|
|
2529
|
-
const $vo18 = (input3, _path2, _exceptionable2 = true) => [
|
|
2495
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
2530
2496
|
path: _path2 + ".disabled",
|
|
2531
|
-
expected: "
|
|
2497
|
+
expected: "boolean",
|
|
2532
2498
|
value: input3.disabled
|
|
2533
|
-
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
2499
|
+
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
2534
2500
|
path: _path2 + ".lst",
|
|
2535
|
-
expected: "Array<Groupset>",
|
|
2501
|
+
expected: "(Array<Groupset> | undefined)",
|
|
2536
2502
|
value: input3.lst
|
|
2537
2503
|
})) && input3.lst.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2538
2504
|
path: _path2 + ".lst[" + _index16 + "]",
|
|
@@ -2544,7 +2510,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2544
2510
|
value: elem
|
|
2545
2511
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2546
2512
|
path: _path2 + ".lst",
|
|
2547
|
-
expected: "Array<Groupset>",
|
|
2513
|
+
expected: "(Array<Groupset> | undefined)",
|
|
2548
2514
|
value: input3.lst
|
|
2549
2515
|
})].every((flag) => flag);
|
|
2550
2516
|
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
@@ -2559,10 +2525,10 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2559
2525
|
path: _path2 + ".is_subcondition",
|
|
2560
2526
|
expected: "(boolean | undefined)",
|
|
2561
2527
|
value: input3.is_subcondition
|
|
2562
|
-
}), void 0 === input3.
|
|
2563
|
-
path: _path2 + ".
|
|
2564
|
-
expected: "(
|
|
2565
|
-
value: input3.
|
|
2528
|
+
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
2529
|
+
path: _path2 + ".dt",
|
|
2530
|
+
expected: "(number | undefined)",
|
|
2531
|
+
value: input3.dt
|
|
2566
2532
|
}), (Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
2567
2533
|
path: _path2 + ".groups",
|
|
2568
2534
|
expected: "Array<GroupEntry>",
|
|
@@ -2639,24 +2605,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2639
2605
|
expected: "string",
|
|
2640
2606
|
value: input3.color
|
|
2641
2607
|
})].every((flag) => flag);
|
|
2642
|
-
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["
|
|
2643
|
-
path: _path2 + ".disabled",
|
|
2644
|
-
expected: "boolean",
|
|
2645
|
-
value: input3.disabled
|
|
2646
|
-
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
2647
|
-
path: _path2 + ".lst",
|
|
2648
|
-
expected: "([] | undefined)",
|
|
2649
|
-
value: input3.lst
|
|
2650
|
-
})) && ((input3.lst.length === 0 || $report(_exceptionable2, {
|
|
2651
|
-
path: _path2 + ".lst",
|
|
2652
|
-
expected: "[]",
|
|
2653
|
-
value: input3.lst
|
|
2654
|
-
})) && [].every((flag) => flag)) || $report(_exceptionable2, {
|
|
2655
|
-
path: _path2 + ".lst",
|
|
2656
|
-
expected: "([] | undefined)",
|
|
2657
|
-
value: input3.lst
|
|
2658
|
-
})].every((flag) => flag);
|
|
2659
|
-
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2608
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2660
2609
|
path: _path2 + ".join",
|
|
2661
2610
|
expected: "(string | undefined)",
|
|
2662
2611
|
value: input3.join
|
|
@@ -2668,7 +2617,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2668
2617
|
path: _path2 + ".term",
|
|
2669
2618
|
expected: "NumericTerm",
|
|
2670
2619
|
value: input3.term
|
|
2671
|
-
})) && $
|
|
2620
|
+
})) && $vo24(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2672
2621
|
path: _path2 + ".term",
|
|
2673
2622
|
expected: "NumericTerm",
|
|
2674
2623
|
value: input3.term
|
|
@@ -2694,18 +2643,18 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2694
2643
|
value: input3.values
|
|
2695
2644
|
})) && input3.values.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2696
2645
|
path: _path2 + ".values[" + _index20 + "]",
|
|
2697
|
-
expected: "__type.
|
|
2646
|
+
expected: "__type.o9",
|
|
2698
2647
|
value: elem
|
|
2699
|
-
})) && $
|
|
2648
|
+
})) && $vo33(elem, _path2 + ".values[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2700
2649
|
path: _path2 + ".values[" + _index20 + "]",
|
|
2701
|
-
expected: "__type.
|
|
2650
|
+
expected: "__type.o9",
|
|
2702
2651
|
value: elem
|
|
2703
2652
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2704
2653
|
path: _path2 + ".values",
|
|
2705
2654
|
expected: "Array<__type>.o5",
|
|
2706
2655
|
value: input3.values
|
|
2707
2656
|
})].every((flag) => flag);
|
|
2708
|
-
const $
|
|
2657
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2709
2658
|
path: _path2 + ".id",
|
|
2710
2659
|
expected: "string",
|
|
2711
2660
|
value: input3.id
|
|
@@ -2765,7 +2714,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2765
2714
|
path: _path2 + ".bins",
|
|
2766
2715
|
expected: "PresetNumericBins",
|
|
2767
2716
|
value: input3.bins
|
|
2768
|
-
})) && $
|
|
2717
|
+
})) && $vo25(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2769
2718
|
path: _path2 + ".bins",
|
|
2770
2719
|
expected: "PresetNumericBins",
|
|
2771
2720
|
value: input3.bins
|
|
@@ -2775,18 +2724,18 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2775
2724
|
value: input3.unit
|
|
2776
2725
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2777
2726
|
path: _path2 + ".continuousColorScale",
|
|
2778
|
-
expected: "(__type.
|
|
2727
|
+
expected: "(__type.o8 | undefined)",
|
|
2779
2728
|
value: input3.continuousColorScale
|
|
2780
|
-
})) && $
|
|
2729
|
+
})) && $vo32(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2781
2730
|
path: _path2 + ".continuousColorScale",
|
|
2782
|
-
expected: "(__type.
|
|
2731
|
+
expected: "(__type.o8 | undefined)",
|
|
2783
2732
|
value: input3.continuousColorScale
|
|
2784
2733
|
})].every((flag) => flag);
|
|
2785
|
-
const $
|
|
2734
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
2786
2735
|
path: _path2 + '["default"]',
|
|
2787
2736
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2788
2737
|
value: input3["default"]
|
|
2789
|
-
})) && $
|
|
2738
|
+
})) && $vu5(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
2790
2739
|
path: _path2 + '["default"]',
|
|
2791
2740
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2792
2741
|
value: input3["default"]
|
|
@@ -2794,7 +2743,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2794
2743
|
path: _path2 + ".less",
|
|
2795
2744
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2796
2745
|
value: input3.less
|
|
2797
|
-
})) && $
|
|
2746
|
+
})) && $vu5(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
2798
2747
|
path: _path2 + ".less",
|
|
2799
2748
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2800
2749
|
value: input3.less
|
|
@@ -2819,11 +2768,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2819
2768
|
expected: "(number | undefined)",
|
|
2820
2769
|
value: input3.max
|
|
2821
2770
|
})].every((flag) => flag);
|
|
2822
|
-
const $
|
|
2771
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2823
2772
|
path: _path2 + ".hiddenValues",
|
|
2824
2773
|
expected: "(HiddenValues | undefined)",
|
|
2825
2774
|
value: input3.hiddenValues
|
|
2826
|
-
})) && $
|
|
2775
|
+
})) && $vo27(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2827
2776
|
path: _path2 + ".hiddenValues",
|
|
2828
2777
|
expected: "(HiddenValues | undefined)",
|
|
2829
2778
|
value: input3.hiddenValues
|
|
@@ -2855,7 +2804,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2855
2804
|
path: _path2 + ".first_bin",
|
|
2856
2805
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
2857
2806
|
value: input3.first_bin
|
|
2858
|
-
})) && $
|
|
2807
|
+
})) && $vu6(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
2859
2808
|
path: _path2 + ".first_bin",
|
|
2860
2809
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
2861
2810
|
value: input3.first_bin
|
|
@@ -2863,7 +2812,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2863
2812
|
path: _path2 + ".last_bin",
|
|
2864
2813
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
2865
2814
|
value: input3.last_bin
|
|
2866
|
-
})) && $
|
|
2815
|
+
})) && $vu7(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
2867
2816
|
path: _path2 + ".last_bin",
|
|
2868
2817
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
2869
2818
|
value: input3.last_bin
|
|
@@ -2872,7 +2821,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2872
2821
|
expected: "(number | undefined)",
|
|
2873
2822
|
value: input3.label_offset
|
|
2874
2823
|
})].every((flag) => flag);
|
|
2875
|
-
const $
|
|
2824
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2876
2825
|
const value = input3[key];
|
|
2877
2826
|
if (void 0 === value)
|
|
2878
2827
|
return true;
|
|
@@ -2884,7 +2833,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2884
2833
|
});
|
|
2885
2834
|
return true;
|
|
2886
2835
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2887
|
-
const $
|
|
2836
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
2888
2837
|
path: _path2 + ".startunbounded",
|
|
2889
2838
|
expected: "true",
|
|
2890
2839
|
value: input3.startunbounded
|
|
@@ -2909,7 +2858,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2909
2858
|
expected: "(string | undefined)",
|
|
2910
2859
|
value: input3.label
|
|
2911
2860
|
})].every((flag) => flag);
|
|
2912
|
-
const $
|
|
2861
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
2913
2862
|
path: _path2 + ".startunbounded",
|
|
2914
2863
|
expected: "(false | undefined)",
|
|
2915
2864
|
value: input3.startunbounded
|
|
@@ -2938,7 +2887,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2938
2887
|
expected: "(string | undefined)",
|
|
2939
2888
|
value: input3.label
|
|
2940
2889
|
})].every((flag) => flag);
|
|
2941
|
-
const $
|
|
2890
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
2942
2891
|
path: _path2 + ".start",
|
|
2943
2892
|
expected: "number",
|
|
2944
2893
|
value: input3.start
|
|
@@ -2963,11 +2912,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2963
2912
|
expected: "(string | undefined)",
|
|
2964
2913
|
value: input3.label
|
|
2965
2914
|
})].every((flag) => flag);
|
|
2966
|
-
const $
|
|
2915
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2967
2916
|
path: _path2 + ".hiddenValues",
|
|
2968
2917
|
expected: "(HiddenValues | undefined)",
|
|
2969
2918
|
value: input3.hiddenValues
|
|
2970
|
-
})) && $
|
|
2919
|
+
})) && $vo27(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2971
2920
|
path: _path2 + ".hiddenValues",
|
|
2972
2921
|
expected: "(HiddenValues | undefined)",
|
|
2973
2922
|
value: input3.hiddenValues
|
|
@@ -3030,7 +2979,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3030
2979
|
expected: '("median" | undefined)',
|
|
3031
2980
|
value: input3.preferredBins
|
|
3032
2981
|
})].every((flag) => flag);
|
|
3033
|
-
const $
|
|
2982
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
3034
2983
|
path: _path2 + ".minColor",
|
|
3035
2984
|
expected: "string",
|
|
3036
2985
|
value: input3.minColor
|
|
@@ -3039,7 +2988,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3039
2988
|
expected: "string",
|
|
3040
2989
|
value: input3.maxColor
|
|
3041
2990
|
})].every((flag) => flag);
|
|
3042
|
-
const $
|
|
2991
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
3043
2992
|
path: _path2 + ".key",
|
|
3044
2993
|
expected: "string",
|
|
3045
2994
|
value: input3.key
|
|
@@ -3056,7 +3005,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3056
3005
|
expected: "(string | undefined)",
|
|
3057
3006
|
value: input3.label
|
|
3058
3007
|
})].every((flag) => flag);
|
|
3059
|
-
const $
|
|
3008
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
3060
3009
|
path: _path2 + ".join",
|
|
3061
3010
|
expected: "(string | undefined)",
|
|
3062
3011
|
value: input3.join
|
|
@@ -3068,7 +3017,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3068
3017
|
path: _path2 + ".term",
|
|
3069
3018
|
expected: "ConditionTerm",
|
|
3070
3019
|
value: input3.term
|
|
3071
|
-
})) && $
|
|
3020
|
+
})) && $vo35(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3072
3021
|
path: _path2 + ".term",
|
|
3073
3022
|
expected: "ConditionTerm",
|
|
3074
3023
|
value: input3.term
|
|
@@ -3092,7 +3041,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3092
3041
|
path: _path2 + ".grade_and_child[" + _index24 + "]",
|
|
3093
3042
|
expected: "GradeAndChildEntry",
|
|
3094
3043
|
value: elem
|
|
3095
|
-
})) && $
|
|
3044
|
+
})) && $vo36(elem, _path2 + ".grade_and_child[" + _index24 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3096
3045
|
path: _path2 + ".grade_and_child[" + _index24 + "]",
|
|
3097
3046
|
expected: "GradeAndChildEntry",
|
|
3098
3047
|
value: elem
|
|
@@ -3101,7 +3050,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3101
3050
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
3102
3051
|
value: input3.grade_and_child
|
|
3103
3052
|
})].every((flag) => flag);
|
|
3104
|
-
const $
|
|
3053
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3105
3054
|
path: _path2 + ".id",
|
|
3106
3055
|
expected: "string",
|
|
3107
3056
|
value: input3.id
|
|
@@ -3158,7 +3107,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3158
3107
|
expected: "(boolean | undefined)",
|
|
3159
3108
|
value: input3.skipValuesBuild
|
|
3160
3109
|
})].every((flag) => flag);
|
|
3161
|
-
const $
|
|
3110
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
3162
3111
|
path: _path2 + ".grade",
|
|
3163
3112
|
expected: "number",
|
|
3164
3113
|
value: input3.grade
|
|
@@ -3175,7 +3124,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3175
3124
|
expected: "string",
|
|
3176
3125
|
value: input3.child_label
|
|
3177
3126
|
})].every((flag) => flag);
|
|
3178
|
-
const $
|
|
3127
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
3179
3128
|
path: _path2 + ".join",
|
|
3180
3129
|
expected: "(string | undefined)",
|
|
3181
3130
|
value: input3.join
|
|
@@ -3187,7 +3136,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3187
3136
|
path: _path2 + ".term",
|
|
3188
3137
|
expected: "DtTerm",
|
|
3189
3138
|
value: input3.term
|
|
3190
|
-
})) && $
|
|
3139
|
+
})) && $vo38(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
3191
3140
|
path: _path2 + ".term",
|
|
3192
3141
|
expected: "DtTerm",
|
|
3193
3142
|
value: input3.term
|
|
@@ -3197,11 +3146,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3197
3146
|
value: input3.values
|
|
3198
3147
|
})) && input3.values.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3199
3148
|
path: _path2 + ".values[" + _index27 + "]",
|
|
3200
|
-
expected: "__type.
|
|
3149
|
+
expected: "__type.o10",
|
|
3201
3150
|
value: elem
|
|
3202
|
-
})) && $
|
|
3151
|
+
})) && $vo41(elem, _path2 + ".values[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3203
3152
|
path: _path2 + ".values[" + _index27 + "]",
|
|
3204
|
-
expected: "__type.
|
|
3153
|
+
expected: "__type.o10",
|
|
3205
3154
|
value: elem
|
|
3206
3155
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3207
3156
|
path: _path2 + ".values",
|
|
@@ -3216,7 +3165,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3216
3165
|
expected: "(boolean | undefined)",
|
|
3217
3166
|
value: input3.excludeGeneName
|
|
3218
3167
|
})].every((flag) => flag);
|
|
3219
|
-
const $
|
|
3168
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3220
3169
|
path: _path2 + ".id",
|
|
3221
3170
|
expected: "string",
|
|
3222
3171
|
value: input3.id
|
|
@@ -3236,7 +3185,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3236
3185
|
path: _path2 + ".parentTerm",
|
|
3237
3186
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
3238
3187
|
value: input3.parentTerm
|
|
3239
|
-
})) && $
|
|
3188
|
+
})) && $vu8(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
3240
3189
|
path: _path2 + ".parentTerm",
|
|
3241
3190
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
3242
3191
|
value: input3.parentTerm
|
|
@@ -3265,7 +3214,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3265
3214
|
expected: "TermValues",
|
|
3266
3215
|
value: input3.values
|
|
3267
3216
|
})].every((flag) => flag);
|
|
3268
|
-
const $
|
|
3217
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3269
3218
|
path: _path2 + ".id",
|
|
3270
3219
|
expected: "string",
|
|
3271
3220
|
value: input3.id
|
|
@@ -3343,11 +3292,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3343
3292
|
value: input3.stop
|
|
3344
3293
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3345
3294
|
path: _path2 + ".groupsetting",
|
|
3346
|
-
expected: "(
|
|
3295
|
+
expected: "(TermGroupSetting | undefined)",
|
|
3347
3296
|
value: input3.groupsetting
|
|
3348
|
-
})) && $
|
|
3297
|
+
})) && $vo18(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3349
3298
|
path: _path2 + ".groupsetting",
|
|
3350
|
-
expected: "(
|
|
3299
|
+
expected: "(TermGroupSetting | undefined)",
|
|
3351
3300
|
value: input3.groupsetting
|
|
3352
3301
|
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
3353
3302
|
path: _path2 + ".childTerms",
|
|
@@ -3357,7 +3306,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3357
3306
|
path: _path2 + ".childTerms[" + _index30 + "]",
|
|
3358
3307
|
expected: "DtTerm",
|
|
3359
3308
|
value: elem
|
|
3360
|
-
})) && $
|
|
3309
|
+
})) && $vo38(elem, _path2 + ".childTerms[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3361
3310
|
path: _path2 + ".childTerms[" + _index30 + "]",
|
|
3362
3311
|
expected: "DtTerm",
|
|
3363
3312
|
value: elem
|
|
@@ -3366,7 +3315,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3366
3315
|
expected: "(Array<DtTerm> | undefined)",
|
|
3367
3316
|
value: input3.childTerms
|
|
3368
3317
|
})].every((flag) => flag);
|
|
3369
|
-
const $
|
|
3318
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3370
3319
|
path: _path2 + ".id",
|
|
3371
3320
|
expected: "string",
|
|
3372
3321
|
value: input3.id
|
|
@@ -3440,11 +3389,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3440
3389
|
value: input3.stop
|
|
3441
3390
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3442
3391
|
path: _path2 + ".groupsetting",
|
|
3443
|
-
expected: "(
|
|
3392
|
+
expected: "(TermGroupSetting | undefined)",
|
|
3444
3393
|
value: input3.groupsetting
|
|
3445
|
-
})) && $
|
|
3394
|
+
})) && $vo18(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3446
3395
|
path: _path2 + ".groupsetting",
|
|
3447
|
-
expected: "(
|
|
3396
|
+
expected: "(TermGroupSetting | undefined)",
|
|
3448
3397
|
value: input3.groupsetting
|
|
3449
3398
|
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
3450
3399
|
path: _path2 + ".childTerms",
|
|
@@ -3454,7 +3403,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3454
3403
|
path: _path2 + ".childTerms[" + _index33 + "]",
|
|
3455
3404
|
expected: "DtTerm",
|
|
3456
3405
|
value: elem
|
|
3457
|
-
})) && $
|
|
3406
|
+
})) && $vo38(elem, _path2 + ".childTerms[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3458
3407
|
path: _path2 + ".childTerms[" + _index33 + "]",
|
|
3459
3408
|
expected: "DtTerm",
|
|
3460
3409
|
value: elem
|
|
@@ -3463,7 +3412,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3463
3412
|
expected: "(Array<DtTerm> | undefined)",
|
|
3464
3413
|
value: input3.childTerms
|
|
3465
3414
|
})].every((flag) => flag);
|
|
3466
|
-
const $
|
|
3415
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
3467
3416
|
path: _path2 + ".key",
|
|
3468
3417
|
expected: "string",
|
|
3469
3418
|
value: input3.key
|
|
@@ -3476,7 +3425,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3476
3425
|
expected: "string",
|
|
3477
3426
|
value: input3.value
|
|
3478
3427
|
})].every((flag) => flag);
|
|
3479
|
-
const $
|
|
3428
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3480
3429
|
path: _path2 + ".id",
|
|
3481
3430
|
expected: "string",
|
|
3482
3431
|
value: input3.id
|
|
@@ -3550,11 +3499,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3550
3499
|
value: input3.stop
|
|
3551
3500
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3552
3501
|
path: _path2 + ".groupsetting",
|
|
3553
|
-
expected: "
|
|
3502
|
+
expected: "TermGroupSetting",
|
|
3554
3503
|
value: input3.groupsetting
|
|
3555
|
-
})) && $
|
|
3504
|
+
})) && $vo18(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3556
3505
|
path: _path2 + ".groupsetting",
|
|
3557
|
-
expected: "
|
|
3506
|
+
expected: "TermGroupSetting",
|
|
3558
3507
|
value: input3.groupsetting
|
|
3559
3508
|
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
3560
3509
|
path: _path2 + ".childTerms",
|
|
@@ -3564,7 +3513,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3564
3513
|
path: _path2 + ".childTerms[" + _index36 + "]",
|
|
3565
3514
|
expected: "DtTerm",
|
|
3566
3515
|
value: elem
|
|
3567
|
-
})) && $
|
|
3516
|
+
})) && $vo38(elem, _path2 + ".childTerms[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3568
3517
|
path: _path2 + ".childTerms[" + _index36 + "]",
|
|
3569
3518
|
expected: "DtTerm",
|
|
3570
3519
|
value: elem
|
|
@@ -3573,7 +3522,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3573
3522
|
expected: "Array<DtTerm>",
|
|
3574
3523
|
value: input3.childTerms
|
|
3575
3524
|
})].every((flag) => flag);
|
|
3576
|
-
const $
|
|
3525
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3577
3526
|
path: _path2 + ".id",
|
|
3578
3527
|
expected: "string",
|
|
3579
3528
|
value: input3.id
|
|
@@ -3631,14 +3580,14 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3631
3580
|
value: input3.skipValuesBuild
|
|
3632
3581
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3633
3582
|
path: _path2 + ".groupsetting",
|
|
3634
|
-
expected: "
|
|
3583
|
+
expected: "TermGroupSetting",
|
|
3635
3584
|
value: input3.groupsetting
|
|
3636
|
-
})) && $
|
|
3585
|
+
})) && $vo18(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3637
3586
|
path: _path2 + ".groupsetting",
|
|
3638
|
-
expected: "
|
|
3587
|
+
expected: "TermGroupSetting",
|
|
3639
3588
|
value: input3.groupsetting
|
|
3640
3589
|
})].every((flag) => flag);
|
|
3641
|
-
const $
|
|
3590
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3642
3591
|
path: _path2 + ".id",
|
|
3643
3592
|
expected: "string",
|
|
3644
3593
|
value: input3.id
|
|
@@ -3698,7 +3647,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3698
3647
|
path: _path2 + ".bins",
|
|
3699
3648
|
expected: "PresetNumericBins",
|
|
3700
3649
|
value: input3.bins
|
|
3701
|
-
})) && $
|
|
3650
|
+
})) && $vo25(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
3702
3651
|
path: _path2 + ".bins",
|
|
3703
3652
|
expected: "PresetNumericBins",
|
|
3704
3653
|
value: input3.bins
|
|
@@ -3708,14 +3657,14 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3708
3657
|
value: input3.unit
|
|
3709
3658
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
3710
3659
|
path: _path2 + ".continuousColorScale",
|
|
3711
|
-
expected: "(__type.
|
|
3660
|
+
expected: "(__type.o8 | undefined)",
|
|
3712
3661
|
value: input3.continuousColorScale
|
|
3713
|
-
})) && $
|
|
3662
|
+
})) && $vo32(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
3714
3663
|
path: _path2 + ".continuousColorScale",
|
|
3715
|
-
expected: "(__type.
|
|
3664
|
+
expected: "(__type.o8 | undefined)",
|
|
3716
3665
|
value: input3.continuousColorScale
|
|
3717
3666
|
})].every((flag) => flag);
|
|
3718
|
-
const $
|
|
3667
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3719
3668
|
path: _path2 + ".id",
|
|
3720
3669
|
expected: "string",
|
|
3721
3670
|
value: input3.id
|
|
@@ -3772,7 +3721,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3772
3721
|
expected: "(boolean | undefined)",
|
|
3773
3722
|
value: input3.skipValuesBuild
|
|
3774
3723
|
})].every((flag) => flag);
|
|
3775
|
-
const $
|
|
3724
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3776
3725
|
path: _path2 + ".id",
|
|
3777
3726
|
expected: "string",
|
|
3778
3727
|
value: input3.id
|
|
@@ -3840,7 +3789,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3840
3789
|
path: _path2 + ".snps[" + _index45 + "]",
|
|
3841
3790
|
expected: "SnpsEntry",
|
|
3842
3791
|
value: elem
|
|
3843
|
-
})) && $
|
|
3792
|
+
})) && $vo47(elem, _path2 + ".snps[" + _index45 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3844
3793
|
path: _path2 + ".snps[" + _index45 + "]",
|
|
3845
3794
|
expected: "SnpsEntry",
|
|
3846
3795
|
value: elem
|
|
@@ -3849,7 +3798,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3849
3798
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3850
3799
|
value: input3.snps
|
|
3851
3800
|
})].every((flag) => flag);
|
|
3852
|
-
const $
|
|
3801
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
3853
3802
|
path: _path2 + ".altAlleles",
|
|
3854
3803
|
expected: "(Array<string> | undefined)",
|
|
3855
3804
|
value: input3.altAlleles
|
|
@@ -3869,7 +3818,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3869
3818
|
path: _path2 + ".alleles[" + _index47 + "]",
|
|
3870
3819
|
expected: "AllelesEntry",
|
|
3871
3820
|
value: elem
|
|
3872
|
-
})) && $
|
|
3821
|
+
})) && $vo48(elem, _path2 + ".alleles[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3873
3822
|
path: _path2 + ".alleles[" + _index47 + "]",
|
|
3874
3823
|
expected: "AllelesEntry",
|
|
3875
3824
|
value: elem
|
|
@@ -3883,11 +3832,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3883
3832
|
value: input3.effectAllele
|
|
3884
3833
|
}), void 0 === input3.gt2count || ("object" === typeof input3.gt2count && null !== input3.gt2count || $report(_exceptionable2, {
|
|
3885
3834
|
path: _path2 + ".gt2count",
|
|
3886
|
-
expected: "(__type.
|
|
3835
|
+
expected: "(__type.o11 | undefined)",
|
|
3887
3836
|
value: input3.gt2count
|
|
3888
|
-
})) && $
|
|
3837
|
+
})) && $vo49(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
3889
3838
|
path: _path2 + ".gt2count",
|
|
3890
|
-
expected: "(__type.
|
|
3839
|
+
expected: "(__type.o11 | undefined)",
|
|
3891
3840
|
value: input3.gt2count
|
|
3892
3841
|
}), void 0 === input3.invalid || "boolean" === typeof input3.invalid || $report(_exceptionable2, {
|
|
3893
3842
|
path: _path2 + ".invalid",
|
|
@@ -3914,7 +3863,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3914
3863
|
expected: "(number | undefined)",
|
|
3915
3864
|
value: input3.pos
|
|
3916
3865
|
})].every((flag) => flag);
|
|
3917
|
-
const $
|
|
3866
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
3918
3867
|
path: _path2 + ".allele",
|
|
3919
3868
|
expected: "string",
|
|
3920
3869
|
value: input3.allele
|
|
@@ -3927,7 +3876,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3927
3876
|
expected: "boolean",
|
|
3928
3877
|
value: input3.isRef
|
|
3929
3878
|
})].every((flag) => flag);
|
|
3930
|
-
const $
|
|
3879
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
3931
3880
|
path: _path2 + ".k",
|
|
3932
3881
|
expected: "string",
|
|
3933
3882
|
value: input3.k
|
|
@@ -3936,7 +3885,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3936
3885
|
expected: "(number | string)",
|
|
3937
3886
|
value: input3.v
|
|
3938
3887
|
})].every((flag) => flag);
|
|
3939
|
-
const $
|
|
3888
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3940
3889
|
path: _path2 + ".id",
|
|
3941
3890
|
expected: "string",
|
|
3942
3891
|
value: input3.id
|
|
@@ -3984,7 +3933,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3984
3933
|
path: _path2 + ".values",
|
|
3985
3934
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3986
3935
|
value: input3.values
|
|
3987
|
-
})) && $
|
|
3936
|
+
})) && $vo51(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3988
3937
|
path: _path2 + ".values",
|
|
3989
3938
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3990
3939
|
value: input3.values
|
|
@@ -3993,7 +3942,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3993
3942
|
expected: "(boolean | undefined)",
|
|
3994
3943
|
value: input3.skipValuesBuild
|
|
3995
3944
|
})].every((flag) => flag);
|
|
3996
|
-
const $
|
|
3945
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3997
3946
|
const value = input3[key];
|
|
3998
3947
|
if (void 0 === value)
|
|
3999
3948
|
return true;
|
|
@@ -4002,7 +3951,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4002
3951
|
path: _path2 + $join(key),
|
|
4003
3952
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
4004
3953
|
value
|
|
4005
|
-
})) && $
|
|
3954
|
+
})) && $vo52(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
4006
3955
|
path: _path2 + $join(key),
|
|
4007
3956
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
4008
3957
|
value
|
|
@@ -4012,14 +3961,14 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4012
3961
|
path: _path2 + $join(key),
|
|
4013
3962
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
4014
3963
|
value
|
|
4015
|
-
})) && $
|
|
3964
|
+
})) && $vo52(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
4016
3965
|
path: _path2 + $join(key),
|
|
4017
3966
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
4018
3967
|
value
|
|
4019
3968
|
});
|
|
4020
3969
|
return true;
|
|
4021
3970
|
}).every((flag) => flag)].every((flag) => flag);
|
|
4022
|
-
const $
|
|
3971
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
4023
3972
|
path: _path2 + ".key",
|
|
4024
3973
|
expected: "(string | undefined)",
|
|
4025
3974
|
value: input3.key
|
|
@@ -4065,18 +4014,18 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4065
4014
|
value: input3.list
|
|
4066
4015
|
})) && input3.list.map((elem, _index50) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4067
4016
|
path: _path2 + ".list[" + _index50 + "]",
|
|
4068
|
-
expected: "__type.
|
|
4017
|
+
expected: "__type.o12",
|
|
4069
4018
|
value: elem
|
|
4070
|
-
})) && $
|
|
4019
|
+
})) && $vo53(elem, _path2 + ".list[" + _index50 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4071
4020
|
path: _path2 + ".list[" + _index50 + "]",
|
|
4072
|
-
expected: "__type.
|
|
4021
|
+
expected: "__type.o12",
|
|
4073
4022
|
value: elem
|
|
4074
4023
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
4075
4024
|
path: _path2 + ".list",
|
|
4076
4025
|
expected: "Array<__type>.o7",
|
|
4077
4026
|
value: input3.list
|
|
4078
4027
|
}), true].every((flag) => flag);
|
|
4079
|
-
const $
|
|
4028
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
4080
4029
|
path: _path2 + ".sampleId",
|
|
4081
4030
|
expected: "string",
|
|
4082
4031
|
value: input3.sampleId
|
|
@@ -4109,79 +4058,74 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4109
4058
|
})();
|
|
4110
4059
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4111
4060
|
if (true === input3.startunbounded)
|
|
4112
|
-
return $
|
|
4061
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
4113
4062
|
if (true === input3.stopunbounded)
|
|
4114
|
-
return $
|
|
4115
|
-
return $
|
|
4063
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
4064
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
4116
4065
|
})();
|
|
4117
4066
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4118
4067
|
if ("gene" === input3.kind)
|
|
4119
4068
|
return $vo11(input3, _path2, _exceptionable2);
|
|
4120
4069
|
if ("coord" === input3.kind)
|
|
4121
|
-
return $
|
|
4070
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
4122
4071
|
if ("categorical" === input3.type)
|
|
4123
|
-
return $
|
|
4072
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
4124
4073
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
4125
|
-
return $
|
|
4074
|
+
return $vo44(input3, _path2, _exceptionable2);
|
|
4126
4075
|
if ("condition" === input3.type)
|
|
4127
|
-
return $
|
|
4128
|
-
return $
|
|
4076
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
4077
|
+
return $vo46(input3, _path2, false) || $vo50(input3, _path2, false);
|
|
4129
4078
|
})();
|
|
4130
4079
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4131
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index51) => "object" === typeof elem && null !== elem && $vo19(elem, _path2 + ".lst[" + _index51 + "]", false)).every((flag) => flag))
|
|
4132
|
-
return $vo18(input3, _path2, _exceptionable2);
|
|
4133
|
-
return $vo23(input3, _path2, _exceptionable2);
|
|
4134
|
-
})();
|
|
4135
|
-
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4136
4080
|
if (void 0 !== input3.ranges)
|
|
4137
|
-
return $
|
|
4138
|
-
return $vo16(input3, _path2, false) || $
|
|
4081
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
4082
|
+
return $vo16(input3, _path2, false) || $vo34(input3, _path2, false) || $vo37(input3, _path2, false);
|
|
4139
4083
|
})();
|
|
4140
|
-
const $
|
|
4084
|
+
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4141
4085
|
if ("regular-bin" === input3.type)
|
|
4142
|
-
return $
|
|
4086
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
4143
4087
|
if ("custom-bin" === input3.type)
|
|
4144
|
-
return $
|
|
4088
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
4145
4089
|
return $report(_exceptionable2, {
|
|
4146
4090
|
path: _path2,
|
|
4147
4091
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
4148
4092
|
value: input3
|
|
4149
4093
|
});
|
|
4150
4094
|
})();
|
|
4151
|
-
const $
|
|
4095
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4152
4096
|
if (true === input3.startunbounded)
|
|
4153
|
-
return $
|
|
4097
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
4154
4098
|
if (void 0 !== input3.start)
|
|
4155
|
-
return $
|
|
4099
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
4156
4100
|
return $report(_exceptionable2, {
|
|
4157
4101
|
path: _path2,
|
|
4158
4102
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
4159
4103
|
value: input3
|
|
4160
4104
|
});
|
|
4161
4105
|
})();
|
|
4162
|
-
const $
|
|
4106
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4163
4107
|
if (void 0 !== input3.stop)
|
|
4164
|
-
return $
|
|
4108
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
4165
4109
|
if (true === input3.stopunbounded)
|
|
4166
|
-
return $
|
|
4110
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
4167
4111
|
return $report(_exceptionable2, {
|
|
4168
4112
|
path: _path2,
|
|
4169
4113
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
4170
4114
|
value: input3
|
|
4171
4115
|
});
|
|
4172
4116
|
})();
|
|
4173
|
-
const $
|
|
4117
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4174
4118
|
if ("gene" === input3.kind)
|
|
4175
|
-
return $
|
|
4119
|
+
return $vo39(input3, _path2, _exceptionable2);
|
|
4176
4120
|
if ("coord" === input3.kind)
|
|
4177
|
-
return $
|
|
4121
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
4178
4122
|
return $report(_exceptionable2, {
|
|
4179
4123
|
path: _path2,
|
|
4180
4124
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|
|
4181
4125
|
value: input3
|
|
4182
4126
|
});
|
|
4183
4127
|
})();
|
|
4184
|
-
const $
|
|
4128
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4185
4129
|
if (void 0 !== input3.status)
|
|
4186
4130
|
return $vo0(input3, _path2, _exceptionable2);
|
|
4187
4131
|
if (void 0 !== input3.clustering)
|
|
@@ -4198,7 +4142,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4198
4142
|
path: _path + "",
|
|
4199
4143
|
expected: "(ErrorResponse | SingletermResponse | ValidResponse)",
|
|
4200
4144
|
value: input2
|
|
4201
|
-
})) && $
|
|
4145
|
+
})) && $vu9(input2, _path + "", true) || $report(true, {
|
|
4202
4146
|
path: _path + "",
|
|
4203
4147
|
expected: "(ErrorResponse | SingletermResponse | ValidResponse)",
|
|
4204
4148
|
value: input2
|