@sjcrh/proteinpaint-types 2.137.2-0 → 2.137.2-1
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/terms/geneVariant.ts +29 -19
- package/src/terms/term.ts +4 -12
|
@@ -28,7 +28,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
28
28
|
const $io3 = (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)));
|
|
29
29
|
const $io4 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu3(input3.tvs));
|
|
30
30
|
const $io5 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io6(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) && $io8(elem)));
|
|
31
|
-
const $io6 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $
|
|
31
|
+
const $io6 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io9(input3.groupsetting));
|
|
32
32
|
const $io7 = (input3) => Object.keys(input3).every((key) => {
|
|
33
33
|
const value = input3[key];
|
|
34
34
|
if (void 0 === value)
|
|
@@ -40,17 +40,16 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
40
40
|
return true;
|
|
41
41
|
});
|
|
42
42
|
const $io8 = (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 && $io3(input3.filter));
|
|
43
|
-
const $io9 = (input3) =>
|
|
44
|
-
const $io10 = (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.
|
|
43
|
+
const $io9 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io10(elem)));
|
|
44
|
+
const $io10 = (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)));
|
|
45
45
|
const $io11 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io12(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
46
46
|
const $io12 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
47
47
|
const $io13 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io3(input3.filter)) && "string" === typeof input3.color;
|
|
48
|
-
const $io14 = (input3) => "
|
|
49
|
-
const $io15 = (input3) => (void 0 === input3.
|
|
50
|
-
const $io16 = (input3) => "
|
|
51
|
-
const $io17 = (input3) => "object" === typeof input3
|
|
52
|
-
const $io18 = (input3) =>
|
|
53
|
-
const $io19 = (input3) => Object.keys(input3).every((key) => {
|
|
48
|
+
const $io14 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io15(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 && $io24(elem)));
|
|
49
|
+
const $io15 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io23(input3.continuousColorScale));
|
|
50
|
+
const $io16 = (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);
|
|
51
|
+
const $io17 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $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);
|
|
52
|
+
const $io18 = (input3) => Object.keys(input3).every((key) => {
|
|
54
53
|
const value = input3[key];
|
|
55
54
|
if (void 0 === value)
|
|
56
55
|
return true;
|
|
@@ -58,20 +57,20 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
58
57
|
return "number" === typeof value;
|
|
59
58
|
return true;
|
|
60
59
|
});
|
|
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 $
|
|
60
|
+
const $io19 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
61
|
+
const $io20 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
62
|
+
const $io21 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
63
|
+
const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $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);
|
|
64
|
+
const $io23 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
65
|
+
const $io24 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
66
|
+
const $io25 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io26(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 && $io27(elem)));
|
|
67
|
+
const $io26 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
68
|
+
const $io27 = (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;
|
|
69
|
+
const $io28 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io29(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io32(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
70
|
+
const $io29 = (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) && $io7(input3.values));
|
|
71
|
+
const $io30 = (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) && $io7(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 && $io9(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io29(elem)));
|
|
72
|
+
const $io31 = (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) && $io7(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 && $io9(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io29(elem)));
|
|
73
|
+
const $io32 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
75
74
|
const $iu0 = (input3) => (() => {
|
|
76
75
|
if ("tvslst" === input3.type)
|
|
77
76
|
return $io3(input3);
|
|
@@ -88,55 +87,50 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
88
87
|
})();
|
|
89
88
|
const $iu2 = (input3) => (() => {
|
|
90
89
|
if (true === input3.startunbounded)
|
|
91
|
-
return $
|
|
90
|
+
return $io19(input3);
|
|
92
91
|
if (true === input3.stopunbounded)
|
|
93
|
-
return $
|
|
94
|
-
return $
|
|
92
|
+
return $io21(input3);
|
|
93
|
+
return $io20(input3);
|
|
95
94
|
})();
|
|
96
95
|
const $iu3 = (input3) => (() => {
|
|
97
96
|
if (void 0 !== input3.ranges)
|
|
98
|
-
return $
|
|
97
|
+
return $io14(input3);
|
|
99
98
|
return (() => {
|
|
100
99
|
if ($io5(input3))
|
|
101
100
|
return $io5(input3);
|
|
102
|
-
if ($
|
|
103
|
-
return $
|
|
104
|
-
if ($
|
|
105
|
-
return $
|
|
101
|
+
if ($io25(input3))
|
|
102
|
+
return $io25(input3);
|
|
103
|
+
if ($io28(input3))
|
|
104
|
+
return $io28(input3);
|
|
106
105
|
return false;
|
|
107
106
|
})();
|
|
108
107
|
})();
|
|
109
108
|
const $iu4 = (input3) => (() => {
|
|
110
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io10(elem)))
|
|
111
|
-
return $io9(input3);
|
|
112
|
-
return $io14(input3);
|
|
113
|
-
})();
|
|
114
|
-
const $iu5 = (input3) => (() => {
|
|
115
109
|
if ("regular-bin" === input3.type)
|
|
116
|
-
return $
|
|
110
|
+
return $io17(input3);
|
|
117
111
|
if ("custom-bin" === input3.type)
|
|
118
|
-
return $
|
|
112
|
+
return $io22(input3);
|
|
119
113
|
return false;
|
|
120
114
|
})();
|
|
121
|
-
const $
|
|
115
|
+
const $iu5 = (input3) => (() => {
|
|
122
116
|
if (true === input3.startunbounded)
|
|
123
|
-
return $
|
|
117
|
+
return $io19(input3);
|
|
124
118
|
if (void 0 !== input3.start)
|
|
125
|
-
return $
|
|
119
|
+
return $io20(input3);
|
|
126
120
|
return false;
|
|
127
121
|
})();
|
|
128
|
-
const $
|
|
122
|
+
const $iu6 = (input3) => (() => {
|
|
129
123
|
if (void 0 !== input3.stop)
|
|
130
|
-
return $
|
|
124
|
+
return $io20(input3);
|
|
131
125
|
if (true === input3.stopunbounded)
|
|
132
|
-
return $
|
|
126
|
+
return $io21(input3);
|
|
133
127
|
return false;
|
|
134
128
|
})();
|
|
135
|
-
const $
|
|
129
|
+
const $iu7 = (input3) => (() => {
|
|
136
130
|
if ("gene" === input3.kind)
|
|
137
|
-
return $
|
|
131
|
+
return $io30(input3);
|
|
138
132
|
if ("coord" === input3.kind)
|
|
139
|
-
return $
|
|
133
|
+
return $io31(input3);
|
|
140
134
|
return false;
|
|
141
135
|
})();
|
|
142
136
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -361,11 +355,11 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
361
355
|
value: input3.skipValuesBuild
|
|
362
356
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
363
357
|
path: _path2 + ".groupsetting",
|
|
364
|
-
expected: "
|
|
358
|
+
expected: "TermGroupSetting",
|
|
365
359
|
value: input3.groupsetting
|
|
366
|
-
})) && $
|
|
360
|
+
})) && $vo9(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
367
361
|
path: _path2 + ".groupsetting",
|
|
368
|
-
expected: "
|
|
362
|
+
expected: "TermGroupSetting",
|
|
369
363
|
value: input3.groupsetting
|
|
370
364
|
})].every((flag) => flag);
|
|
371
365
|
const $vo7 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
@@ -427,13 +421,13 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
427
421
|
expected: "(Filter | undefined)",
|
|
428
422
|
value: input3.filter
|
|
429
423
|
})].every((flag) => flag);
|
|
430
|
-
const $vo9 = (input3, _path2, _exceptionable2 = true) => [
|
|
424
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
431
425
|
path: _path2 + ".disabled",
|
|
432
|
-
expected: "
|
|
426
|
+
expected: "boolean",
|
|
433
427
|
value: input3.disabled
|
|
434
|
-
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
428
|
+
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
435
429
|
path: _path2 + ".lst",
|
|
436
|
-
expected: "Array<Groupset>",
|
|
430
|
+
expected: "(Array<Groupset> | undefined)",
|
|
437
431
|
value: input3.lst
|
|
438
432
|
})) && input3.lst.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
439
433
|
path: _path2 + ".lst[" + _index6 + "]",
|
|
@@ -445,7 +439,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
445
439
|
value: elem
|
|
446
440
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
447
441
|
path: _path2 + ".lst",
|
|
448
|
-
expected: "Array<Groupset>",
|
|
442
|
+
expected: "(Array<Groupset> | undefined)",
|
|
449
443
|
value: input3.lst
|
|
450
444
|
})].every((flag) => flag);
|
|
451
445
|
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
@@ -460,10 +454,10 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
460
454
|
path: _path2 + ".is_subcondition",
|
|
461
455
|
expected: "(boolean | undefined)",
|
|
462
456
|
value: input3.is_subcondition
|
|
463
|
-
}), void 0 === input3.
|
|
464
|
-
path: _path2 + ".
|
|
465
|
-
expected: "(
|
|
466
|
-
value: input3.
|
|
457
|
+
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
458
|
+
path: _path2 + ".dt",
|
|
459
|
+
expected: "(number | undefined)",
|
|
460
|
+
value: input3.dt
|
|
467
461
|
}), (Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
468
462
|
path: _path2 + ".groups",
|
|
469
463
|
expected: "Array<GroupEntry>",
|
|
@@ -540,24 +534,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
540
534
|
expected: "string",
|
|
541
535
|
value: input3.color
|
|
542
536
|
})].every((flag) => flag);
|
|
543
|
-
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["
|
|
544
|
-
path: _path2 + ".disabled",
|
|
545
|
-
expected: "boolean",
|
|
546
|
-
value: input3.disabled
|
|
547
|
-
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
548
|
-
path: _path2 + ".lst",
|
|
549
|
-
expected: "([] | undefined)",
|
|
550
|
-
value: input3.lst
|
|
551
|
-
})) && ((input3.lst.length === 0 || $report(_exceptionable2, {
|
|
552
|
-
path: _path2 + ".lst",
|
|
553
|
-
expected: "[]",
|
|
554
|
-
value: input3.lst
|
|
555
|
-
})) && [].every((flag) => flag)) || $report(_exceptionable2, {
|
|
556
|
-
path: _path2 + ".lst",
|
|
557
|
-
expected: "([] | undefined)",
|
|
558
|
-
value: input3.lst
|
|
559
|
-
})].every((flag) => flag);
|
|
560
|
-
const $vo15 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
537
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
561
538
|
path: _path2 + ".join",
|
|
562
539
|
expected: "(string | undefined)",
|
|
563
540
|
value: input3.join
|
|
@@ -569,7 +546,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
569
546
|
path: _path2 + ".term",
|
|
570
547
|
expected: "NumericTerm",
|
|
571
548
|
value: input3.term
|
|
572
|
-
})) && $
|
|
549
|
+
})) && $vo15(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
573
550
|
path: _path2 + ".term",
|
|
574
551
|
expected: "NumericTerm",
|
|
575
552
|
value: input3.term
|
|
@@ -595,18 +572,18 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
595
572
|
value: input3.values
|
|
596
573
|
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
597
574
|
path: _path2 + ".values[" + _index10 + "]",
|
|
598
|
-
expected: "__type.
|
|
575
|
+
expected: "__type.o5",
|
|
599
576
|
value: elem
|
|
600
|
-
})) && $
|
|
577
|
+
})) && $vo24(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
601
578
|
path: _path2 + ".values[" + _index10 + "]",
|
|
602
|
-
expected: "__type.
|
|
579
|
+
expected: "__type.o5",
|
|
603
580
|
value: elem
|
|
604
581
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
605
582
|
path: _path2 + ".values",
|
|
606
583
|
expected: "Array<__type>.o1",
|
|
607
584
|
value: input3.values
|
|
608
585
|
})].every((flag) => flag);
|
|
609
|
-
const $
|
|
586
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
610
587
|
path: _path2 + ".id",
|
|
611
588
|
expected: "string",
|
|
612
589
|
value: input3.id
|
|
@@ -666,7 +643,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
666
643
|
path: _path2 + ".bins",
|
|
667
644
|
expected: "PresetNumericBins",
|
|
668
645
|
value: input3.bins
|
|
669
|
-
})) && $
|
|
646
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
670
647
|
path: _path2 + ".bins",
|
|
671
648
|
expected: "PresetNumericBins",
|
|
672
649
|
value: input3.bins
|
|
@@ -676,18 +653,18 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
676
653
|
value: input3.unit
|
|
677
654
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
678
655
|
path: _path2 + ".continuousColorScale",
|
|
679
|
-
expected: "(__type.
|
|
656
|
+
expected: "(__type.o4 | undefined)",
|
|
680
657
|
value: input3.continuousColorScale
|
|
681
|
-
})) && $
|
|
658
|
+
})) && $vo23(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
682
659
|
path: _path2 + ".continuousColorScale",
|
|
683
|
-
expected: "(__type.
|
|
660
|
+
expected: "(__type.o4 | undefined)",
|
|
684
661
|
value: input3.continuousColorScale
|
|
685
662
|
})].every((flag) => flag);
|
|
686
|
-
const $
|
|
663
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
687
664
|
path: _path2 + '["default"]',
|
|
688
665
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
689
666
|
value: input3["default"]
|
|
690
|
-
})) && $
|
|
667
|
+
})) && $vu4(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
691
668
|
path: _path2 + '["default"]',
|
|
692
669
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
693
670
|
value: input3["default"]
|
|
@@ -695,7 +672,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
695
672
|
path: _path2 + ".less",
|
|
696
673
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
697
674
|
value: input3.less
|
|
698
|
-
})) && $
|
|
675
|
+
})) && $vu4(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
699
676
|
path: _path2 + ".less",
|
|
700
677
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
701
678
|
value: input3.less
|
|
@@ -720,11 +697,11 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
720
697
|
expected: "(number | undefined)",
|
|
721
698
|
value: input3.max
|
|
722
699
|
})].every((flag) => flag);
|
|
723
|
-
const $
|
|
700
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
724
701
|
path: _path2 + ".hiddenValues",
|
|
725
702
|
expected: "(HiddenValues | undefined)",
|
|
726
703
|
value: input3.hiddenValues
|
|
727
|
-
})) && $
|
|
704
|
+
})) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
728
705
|
path: _path2 + ".hiddenValues",
|
|
729
706
|
expected: "(HiddenValues | undefined)",
|
|
730
707
|
value: input3.hiddenValues
|
|
@@ -756,7 +733,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
756
733
|
path: _path2 + ".first_bin",
|
|
757
734
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
758
735
|
value: input3.first_bin
|
|
759
|
-
})) && $
|
|
736
|
+
})) && $vu5(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
760
737
|
path: _path2 + ".first_bin",
|
|
761
738
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
762
739
|
value: input3.first_bin
|
|
@@ -764,7 +741,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
764
741
|
path: _path2 + ".last_bin",
|
|
765
742
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
766
743
|
value: input3.last_bin
|
|
767
|
-
})) && $
|
|
744
|
+
})) && $vu6(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
768
745
|
path: _path2 + ".last_bin",
|
|
769
746
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
770
747
|
value: input3.last_bin
|
|
@@ -773,7 +750,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
773
750
|
expected: "(number | undefined)",
|
|
774
751
|
value: input3.label_offset
|
|
775
752
|
})].every((flag) => flag);
|
|
776
|
-
const $
|
|
753
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
777
754
|
const value = input3[key];
|
|
778
755
|
if (void 0 === value)
|
|
779
756
|
return true;
|
|
@@ -785,7 +762,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
785
762
|
});
|
|
786
763
|
return true;
|
|
787
764
|
}).every((flag) => flag)].every((flag) => flag);
|
|
788
|
-
const $
|
|
765
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
789
766
|
path: _path2 + ".startunbounded",
|
|
790
767
|
expected: "true",
|
|
791
768
|
value: input3.startunbounded
|
|
@@ -810,7 +787,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
810
787
|
expected: "(string | undefined)",
|
|
811
788
|
value: input3.label
|
|
812
789
|
})].every((flag) => flag);
|
|
813
|
-
const $
|
|
790
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
814
791
|
path: _path2 + ".startunbounded",
|
|
815
792
|
expected: "(false | undefined)",
|
|
816
793
|
value: input3.startunbounded
|
|
@@ -839,7 +816,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
839
816
|
expected: "(string | undefined)",
|
|
840
817
|
value: input3.label
|
|
841
818
|
})].every((flag) => flag);
|
|
842
|
-
const $
|
|
819
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
843
820
|
path: _path2 + ".start",
|
|
844
821
|
expected: "number",
|
|
845
822
|
value: input3.start
|
|
@@ -864,11 +841,11 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
864
841
|
expected: "(string | undefined)",
|
|
865
842
|
value: input3.label
|
|
866
843
|
})].every((flag) => flag);
|
|
867
|
-
const $
|
|
844
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
868
845
|
path: _path2 + ".hiddenValues",
|
|
869
846
|
expected: "(HiddenValues | undefined)",
|
|
870
847
|
value: input3.hiddenValues
|
|
871
|
-
})) && $
|
|
848
|
+
})) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
872
849
|
path: _path2 + ".hiddenValues",
|
|
873
850
|
expected: "(HiddenValues | undefined)",
|
|
874
851
|
value: input3.hiddenValues
|
|
@@ -931,7 +908,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
931
908
|
expected: '("median" | undefined)',
|
|
932
909
|
value: input3.preferredBins
|
|
933
910
|
})].every((flag) => flag);
|
|
934
|
-
const $
|
|
911
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
935
912
|
path: _path2 + ".minColor",
|
|
936
913
|
expected: "string",
|
|
937
914
|
value: input3.minColor
|
|
@@ -940,7 +917,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
940
917
|
expected: "string",
|
|
941
918
|
value: input3.maxColor
|
|
942
919
|
})].every((flag) => flag);
|
|
943
|
-
const $
|
|
920
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
944
921
|
path: _path2 + ".key",
|
|
945
922
|
expected: "string",
|
|
946
923
|
value: input3.key
|
|
@@ -957,7 +934,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
957
934
|
expected: "(string | undefined)",
|
|
958
935
|
value: input3.label
|
|
959
936
|
})].every((flag) => flag);
|
|
960
|
-
const $
|
|
937
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
961
938
|
path: _path2 + ".join",
|
|
962
939
|
expected: "(string | undefined)",
|
|
963
940
|
value: input3.join
|
|
@@ -969,7 +946,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
969
946
|
path: _path2 + ".term",
|
|
970
947
|
expected: "ConditionTerm",
|
|
971
948
|
value: input3.term
|
|
972
|
-
})) && $
|
|
949
|
+
})) && $vo26(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
973
950
|
path: _path2 + ".term",
|
|
974
951
|
expected: "ConditionTerm",
|
|
975
952
|
value: input3.term
|
|
@@ -993,7 +970,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
993
970
|
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
994
971
|
expected: "GradeAndChildEntry",
|
|
995
972
|
value: elem
|
|
996
|
-
})) && $
|
|
973
|
+
})) && $vo27(elem, _path2 + ".grade_and_child[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
997
974
|
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
998
975
|
expected: "GradeAndChildEntry",
|
|
999
976
|
value: elem
|
|
@@ -1002,7 +979,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1002
979
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1003
980
|
value: input3.grade_and_child
|
|
1004
981
|
})].every((flag) => flag);
|
|
1005
|
-
const $
|
|
982
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1006
983
|
path: _path2 + ".id",
|
|
1007
984
|
expected: "string",
|
|
1008
985
|
value: input3.id
|
|
@@ -1059,7 +1036,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1059
1036
|
expected: "(boolean | undefined)",
|
|
1060
1037
|
value: input3.skipValuesBuild
|
|
1061
1038
|
})].every((flag) => flag);
|
|
1062
|
-
const $
|
|
1039
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1063
1040
|
path: _path2 + ".grade",
|
|
1064
1041
|
expected: "number",
|
|
1065
1042
|
value: input3.grade
|
|
@@ -1076,7 +1053,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1076
1053
|
expected: "string",
|
|
1077
1054
|
value: input3.child_label
|
|
1078
1055
|
})].every((flag) => flag);
|
|
1079
|
-
const $
|
|
1056
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1080
1057
|
path: _path2 + ".join",
|
|
1081
1058
|
expected: "(string | undefined)",
|
|
1082
1059
|
value: input3.join
|
|
@@ -1088,7 +1065,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1088
1065
|
path: _path2 + ".term",
|
|
1089
1066
|
expected: "DtTerm",
|
|
1090
1067
|
value: input3.term
|
|
1091
|
-
})) && $
|
|
1068
|
+
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1092
1069
|
path: _path2 + ".term",
|
|
1093
1070
|
expected: "DtTerm",
|
|
1094
1071
|
value: input3.term
|
|
@@ -1098,11 +1075,11 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1098
1075
|
value: input3.values
|
|
1099
1076
|
})) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1100
1077
|
path: _path2 + ".values[" + _index17 + "]",
|
|
1101
|
-
expected: "__type.
|
|
1078
|
+
expected: "__type.o6",
|
|
1102
1079
|
value: elem
|
|
1103
|
-
})) && $
|
|
1080
|
+
})) && $vo32(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1104
1081
|
path: _path2 + ".values[" + _index17 + "]",
|
|
1105
|
-
expected: "__type.
|
|
1082
|
+
expected: "__type.o6",
|
|
1106
1083
|
value: elem
|
|
1107
1084
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1108
1085
|
path: _path2 + ".values",
|
|
@@ -1117,7 +1094,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1117
1094
|
expected: "(boolean | undefined)",
|
|
1118
1095
|
value: input3.excludeGeneName
|
|
1119
1096
|
})].every((flag) => flag);
|
|
1120
|
-
const $
|
|
1097
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1121
1098
|
path: _path2 + ".id",
|
|
1122
1099
|
expected: "string",
|
|
1123
1100
|
value: input3.id
|
|
@@ -1137,7 +1114,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1137
1114
|
path: _path2 + ".parentTerm",
|
|
1138
1115
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1139
1116
|
value: input3.parentTerm
|
|
1140
|
-
})) && $
|
|
1117
|
+
})) && $vu7(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1141
1118
|
path: _path2 + ".parentTerm",
|
|
1142
1119
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1143
1120
|
value: input3.parentTerm
|
|
@@ -1166,7 +1143,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1166
1143
|
expected: "TermValues",
|
|
1167
1144
|
value: input3.values
|
|
1168
1145
|
})].every((flag) => flag);
|
|
1169
|
-
const $
|
|
1146
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1170
1147
|
path: _path2 + ".id",
|
|
1171
1148
|
expected: "string",
|
|
1172
1149
|
value: input3.id
|
|
@@ -1244,11 +1221,11 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1244
1221
|
value: input3.stop
|
|
1245
1222
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1246
1223
|
path: _path2 + ".groupsetting",
|
|
1247
|
-
expected: "(
|
|
1224
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1248
1225
|
value: input3.groupsetting
|
|
1249
|
-
})) && $
|
|
1226
|
+
})) && $vo9(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1250
1227
|
path: _path2 + ".groupsetting",
|
|
1251
|
-
expected: "(
|
|
1228
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1252
1229
|
value: input3.groupsetting
|
|
1253
1230
|
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1254
1231
|
path: _path2 + ".childTerms",
|
|
@@ -1258,7 +1235,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1258
1235
|
path: _path2 + ".childTerms[" + _index20 + "]",
|
|
1259
1236
|
expected: "DtTerm",
|
|
1260
1237
|
value: elem
|
|
1261
|
-
})) && $
|
|
1238
|
+
})) && $vo29(elem, _path2 + ".childTerms[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1262
1239
|
path: _path2 + ".childTerms[" + _index20 + "]",
|
|
1263
1240
|
expected: "DtTerm",
|
|
1264
1241
|
value: elem
|
|
@@ -1267,7 +1244,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1267
1244
|
expected: "(Array<DtTerm> | undefined)",
|
|
1268
1245
|
value: input3.childTerms
|
|
1269
1246
|
})].every((flag) => flag);
|
|
1270
|
-
const $
|
|
1247
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1271
1248
|
path: _path2 + ".id",
|
|
1272
1249
|
expected: "string",
|
|
1273
1250
|
value: input3.id
|
|
@@ -1341,11 +1318,11 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1341
1318
|
value: input3.stop
|
|
1342
1319
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1343
1320
|
path: _path2 + ".groupsetting",
|
|
1344
|
-
expected: "(
|
|
1321
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1345
1322
|
value: input3.groupsetting
|
|
1346
|
-
})) && $
|
|
1323
|
+
})) && $vo9(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1347
1324
|
path: _path2 + ".groupsetting",
|
|
1348
|
-
expected: "(
|
|
1325
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1349
1326
|
value: input3.groupsetting
|
|
1350
1327
|
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1351
1328
|
path: _path2 + ".childTerms",
|
|
@@ -1355,7 +1332,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1355
1332
|
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
1356
1333
|
expected: "DtTerm",
|
|
1357
1334
|
value: elem
|
|
1358
|
-
})) && $
|
|
1335
|
+
})) && $vo29(elem, _path2 + ".childTerms[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1359
1336
|
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
1360
1337
|
expected: "DtTerm",
|
|
1361
1338
|
value: elem
|
|
@@ -1364,7 +1341,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1364
1341
|
expected: "(Array<DtTerm> | undefined)",
|
|
1365
1342
|
value: input3.childTerms
|
|
1366
1343
|
})].every((flag) => flag);
|
|
1367
|
-
const $
|
|
1344
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1368
1345
|
path: _path2 + ".key",
|
|
1369
1346
|
expected: "string",
|
|
1370
1347
|
value: input3.key
|
|
@@ -1401,59 +1378,54 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1401
1378
|
})();
|
|
1402
1379
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1403
1380
|
if (true === input3.startunbounded)
|
|
1404
|
-
return $
|
|
1381
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1405
1382
|
if (true === input3.stopunbounded)
|
|
1406
|
-
return $
|
|
1407
|
-
return $
|
|
1383
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
1384
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1408
1385
|
})();
|
|
1409
1386
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1410
1387
|
if (void 0 !== input3.ranges)
|
|
1411
|
-
return $
|
|
1412
|
-
return $vo5(input3, _path2, false) || $
|
|
1388
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
1389
|
+
return $vo5(input3, _path2, false) || $vo25(input3, _path2, false) || $vo28(input3, _path2, false);
|
|
1413
1390
|
})();
|
|
1414
1391
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1415
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index24) => "object" === typeof elem && null !== elem && $vo10(elem, _path2 + ".lst[" + _index24 + "]", false)).every((flag) => flag))
|
|
1416
|
-
return $vo9(input3, _path2, _exceptionable2);
|
|
1417
|
-
return $vo14(input3, _path2, _exceptionable2);
|
|
1418
|
-
})();
|
|
1419
|
-
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1420
1392
|
if ("regular-bin" === input3.type)
|
|
1421
|
-
return $
|
|
1393
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
1422
1394
|
if ("custom-bin" === input3.type)
|
|
1423
|
-
return $
|
|
1395
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1424
1396
|
return $report(_exceptionable2, {
|
|
1425
1397
|
path: _path2,
|
|
1426
1398
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
1427
1399
|
value: input3
|
|
1428
1400
|
});
|
|
1429
1401
|
})();
|
|
1430
|
-
const $
|
|
1402
|
+
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1431
1403
|
if (true === input3.startunbounded)
|
|
1432
|
-
return $
|
|
1404
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1433
1405
|
if (void 0 !== input3.start)
|
|
1434
|
-
return $
|
|
1406
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1435
1407
|
return $report(_exceptionable2, {
|
|
1436
1408
|
path: _path2,
|
|
1437
1409
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
1438
1410
|
value: input3
|
|
1439
1411
|
});
|
|
1440
1412
|
})();
|
|
1441
|
-
const $
|
|
1413
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1442
1414
|
if (void 0 !== input3.stop)
|
|
1443
|
-
return $
|
|
1415
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1444
1416
|
if (true === input3.stopunbounded)
|
|
1445
|
-
return $
|
|
1417
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
1446
1418
|
return $report(_exceptionable2, {
|
|
1447
1419
|
path: _path2,
|
|
1448
1420
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1449
1421
|
value: input3
|
|
1450
1422
|
});
|
|
1451
1423
|
})();
|
|
1452
|
-
const $
|
|
1424
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1453
1425
|
if ("gene" === input3.kind)
|
|
1454
|
-
return $
|
|
1426
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
1455
1427
|
if ("coord" === input3.kind)
|
|
1456
|
-
return $
|
|
1428
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
1457
1429
|
return $report(_exceptionable2, {
|
|
1458
1430
|
path: _path2,
|
|
1459
1431
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|