@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
|
@@ -26,7 +26,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
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 validNumericCategoriesRequest = (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,20 +55,20 @@ var validNumericCategoriesRequest = (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 $
|
|
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;
|
|
73
72
|
const $iu0 = (input3) => (() => {
|
|
74
73
|
if ("tvslst" === input3.type)
|
|
75
74
|
return $io1(input3);
|
|
@@ -86,55 +85,50 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
86
85
|
})();
|
|
87
86
|
const $iu2 = (input3) => (() => {
|
|
88
87
|
if (true === input3.startunbounded)
|
|
89
|
-
return $
|
|
88
|
+
return $io17(input3);
|
|
90
89
|
if (true === input3.stopunbounded)
|
|
91
|
-
return $
|
|
92
|
-
return $
|
|
90
|
+
return $io19(input3);
|
|
91
|
+
return $io18(input3);
|
|
93
92
|
})();
|
|
94
93
|
const $iu3 = (input3) => (() => {
|
|
95
94
|
if (void 0 !== input3.ranges)
|
|
96
|
-
return $
|
|
95
|
+
return $io12(input3);
|
|
97
96
|
return (() => {
|
|
98
97
|
if ($io3(input3))
|
|
99
98
|
return $io3(input3);
|
|
100
|
-
if ($
|
|
101
|
-
return $
|
|
102
|
-
if ($
|
|
103
|
-
return $
|
|
99
|
+
if ($io23(input3))
|
|
100
|
+
return $io23(input3);
|
|
101
|
+
if ($io26(input3))
|
|
102
|
+
return $io26(input3);
|
|
104
103
|
return false;
|
|
105
104
|
})();
|
|
106
105
|
})();
|
|
107
106
|
const $iu4 = (input3) => (() => {
|
|
108
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io8(elem)))
|
|
109
|
-
return $io7(input3);
|
|
110
|
-
return $io12(input3);
|
|
111
|
-
})();
|
|
112
|
-
const $iu5 = (input3) => (() => {
|
|
113
107
|
if ("regular-bin" === input3.type)
|
|
114
|
-
return $
|
|
108
|
+
return $io15(input3);
|
|
115
109
|
if ("custom-bin" === input3.type)
|
|
116
|
-
return $
|
|
110
|
+
return $io20(input3);
|
|
117
111
|
return false;
|
|
118
112
|
})();
|
|
119
|
-
const $
|
|
113
|
+
const $iu5 = (input3) => (() => {
|
|
120
114
|
if (true === input3.startunbounded)
|
|
121
|
-
return $
|
|
115
|
+
return $io17(input3);
|
|
122
116
|
if (void 0 !== input3.start)
|
|
123
|
-
return $
|
|
117
|
+
return $io18(input3);
|
|
124
118
|
return false;
|
|
125
119
|
})();
|
|
126
|
-
const $
|
|
120
|
+
const $iu6 = (input3) => (() => {
|
|
127
121
|
if (void 0 !== input3.stop)
|
|
128
|
-
return $
|
|
122
|
+
return $io18(input3);
|
|
129
123
|
if (true === input3.stopunbounded)
|
|
130
|
-
return $
|
|
124
|
+
return $io19(input3);
|
|
131
125
|
return false;
|
|
132
126
|
})();
|
|
133
|
-
const $
|
|
127
|
+
const $iu7 = (input3) => (() => {
|
|
134
128
|
if ("gene" === input3.kind)
|
|
135
|
-
return $
|
|
129
|
+
return $io28(input3);
|
|
136
130
|
if ("coord" === input3.kind)
|
|
137
|
-
return $
|
|
131
|
+
return $io29(input3);
|
|
138
132
|
return false;
|
|
139
133
|
})();
|
|
140
134
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -309,11 +303,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
309
303
|
value: input3.skipValuesBuild
|
|
310
304
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
311
305
|
path: _path2 + ".groupsetting",
|
|
312
|
-
expected: "
|
|
306
|
+
expected: "TermGroupSetting",
|
|
313
307
|
value: input3.groupsetting
|
|
314
|
-
})) && $
|
|
308
|
+
})) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
315
309
|
path: _path2 + ".groupsetting",
|
|
316
|
-
expected: "
|
|
310
|
+
expected: "TermGroupSetting",
|
|
317
311
|
value: input3.groupsetting
|
|
318
312
|
})].every((flag) => flag);
|
|
319
313
|
const $vo5 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
@@ -375,13 +369,13 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
375
369
|
expected: "(Filter | undefined)",
|
|
376
370
|
value: input3.filter
|
|
377
371
|
})].every((flag) => flag);
|
|
378
|
-
const $vo7 = (input3, _path2, _exceptionable2 = true) => [
|
|
372
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
379
373
|
path: _path2 + ".disabled",
|
|
380
|
-
expected: "
|
|
374
|
+
expected: "boolean",
|
|
381
375
|
value: input3.disabled
|
|
382
|
-
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
376
|
+
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
383
377
|
path: _path2 + ".lst",
|
|
384
|
-
expected: "Array<Groupset>",
|
|
378
|
+
expected: "(Array<Groupset> | undefined)",
|
|
385
379
|
value: input3.lst
|
|
386
380
|
})) && input3.lst.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
387
381
|
path: _path2 + ".lst[" + _index5 + "]",
|
|
@@ -393,7 +387,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
393
387
|
value: elem
|
|
394
388
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
395
389
|
path: _path2 + ".lst",
|
|
396
|
-
expected: "Array<Groupset>",
|
|
390
|
+
expected: "(Array<Groupset> | undefined)",
|
|
397
391
|
value: input3.lst
|
|
398
392
|
})].every((flag) => flag);
|
|
399
393
|
const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
@@ -408,10 +402,10 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
408
402
|
path: _path2 + ".is_subcondition",
|
|
409
403
|
expected: "(boolean | undefined)",
|
|
410
404
|
value: input3.is_subcondition
|
|
411
|
-
}), void 0 === input3.
|
|
412
|
-
path: _path2 + ".
|
|
413
|
-
expected: "(
|
|
414
|
-
value: input3.
|
|
405
|
+
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
406
|
+
path: _path2 + ".dt",
|
|
407
|
+
expected: "(number | undefined)",
|
|
408
|
+
value: input3.dt
|
|
415
409
|
}), (Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
416
410
|
path: _path2 + ".groups",
|
|
417
411
|
expected: "Array<GroupEntry>",
|
|
@@ -488,24 +482,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
488
482
|
expected: "string",
|
|
489
483
|
value: input3.color
|
|
490
484
|
})].every((flag) => flag);
|
|
491
|
-
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["
|
|
492
|
-
path: _path2 + ".disabled",
|
|
493
|
-
expected: "boolean",
|
|
494
|
-
value: input3.disabled
|
|
495
|
-
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
496
|
-
path: _path2 + ".lst",
|
|
497
|
-
expected: "([] | undefined)",
|
|
498
|
-
value: input3.lst
|
|
499
|
-
})) && ((input3.lst.length === 0 || $report(_exceptionable2, {
|
|
500
|
-
path: _path2 + ".lst",
|
|
501
|
-
expected: "[]",
|
|
502
|
-
value: input3.lst
|
|
503
|
-
})) && [].every((flag) => flag)) || $report(_exceptionable2, {
|
|
504
|
-
path: _path2 + ".lst",
|
|
505
|
-
expected: "([] | undefined)",
|
|
506
|
-
value: input3.lst
|
|
507
|
-
})].every((flag) => flag);
|
|
508
|
-
const $vo13 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
485
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
509
486
|
path: _path2 + ".join",
|
|
510
487
|
expected: "(string | undefined)",
|
|
511
488
|
value: input3.join
|
|
@@ -517,7 +494,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
517
494
|
path: _path2 + ".term",
|
|
518
495
|
expected: "NumericTerm",
|
|
519
496
|
value: input3.term
|
|
520
|
-
})) && $
|
|
497
|
+
})) && $vo13(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
521
498
|
path: _path2 + ".term",
|
|
522
499
|
expected: "NumericTerm",
|
|
523
500
|
value: input3.term
|
|
@@ -543,18 +520,18 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
543
520
|
value: input3.values
|
|
544
521
|
})) && input3.values.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
545
522
|
path: _path2 + ".values[" + _index9 + "]",
|
|
546
|
-
expected: "__type.
|
|
523
|
+
expected: "__type.o3",
|
|
547
524
|
value: elem
|
|
548
|
-
})) && $
|
|
525
|
+
})) && $vo22(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
549
526
|
path: _path2 + ".values[" + _index9 + "]",
|
|
550
|
-
expected: "__type.
|
|
527
|
+
expected: "__type.o3",
|
|
551
528
|
value: elem
|
|
552
529
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
553
530
|
path: _path2 + ".values",
|
|
554
531
|
expected: "Array<__type>.o1",
|
|
555
532
|
value: input3.values
|
|
556
533
|
})].every((flag) => flag);
|
|
557
|
-
const $
|
|
534
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
558
535
|
path: _path2 + ".id",
|
|
559
536
|
expected: "string",
|
|
560
537
|
value: input3.id
|
|
@@ -614,7 +591,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
614
591
|
path: _path2 + ".bins",
|
|
615
592
|
expected: "PresetNumericBins",
|
|
616
593
|
value: input3.bins
|
|
617
|
-
})) && $
|
|
594
|
+
})) && $vo14(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
618
595
|
path: _path2 + ".bins",
|
|
619
596
|
expected: "PresetNumericBins",
|
|
620
597
|
value: input3.bins
|
|
@@ -624,18 +601,18 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
624
601
|
value: input3.unit
|
|
625
602
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
626
603
|
path: _path2 + ".continuousColorScale",
|
|
627
|
-
expected: "(__type.
|
|
604
|
+
expected: "(__type.o2 | undefined)",
|
|
628
605
|
value: input3.continuousColorScale
|
|
629
|
-
})) && $
|
|
606
|
+
})) && $vo21(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
630
607
|
path: _path2 + ".continuousColorScale",
|
|
631
|
-
expected: "(__type.
|
|
608
|
+
expected: "(__type.o2 | undefined)",
|
|
632
609
|
value: input3.continuousColorScale
|
|
633
610
|
})].every((flag) => flag);
|
|
634
|
-
const $
|
|
611
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
635
612
|
path: _path2 + '["default"]',
|
|
636
613
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
637
614
|
value: input3["default"]
|
|
638
|
-
})) && $
|
|
615
|
+
})) && $vu4(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
639
616
|
path: _path2 + '["default"]',
|
|
640
617
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
641
618
|
value: input3["default"]
|
|
@@ -643,7 +620,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
643
620
|
path: _path2 + ".less",
|
|
644
621
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
645
622
|
value: input3.less
|
|
646
|
-
})) && $
|
|
623
|
+
})) && $vu4(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
647
624
|
path: _path2 + ".less",
|
|
648
625
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
649
626
|
value: input3.less
|
|
@@ -668,11 +645,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
668
645
|
expected: "(number | undefined)",
|
|
669
646
|
value: input3.max
|
|
670
647
|
})].every((flag) => flag);
|
|
671
|
-
const $
|
|
648
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
672
649
|
path: _path2 + ".hiddenValues",
|
|
673
650
|
expected: "(HiddenValues | undefined)",
|
|
674
651
|
value: input3.hiddenValues
|
|
675
|
-
})) && $
|
|
652
|
+
})) && $vo16(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
676
653
|
path: _path2 + ".hiddenValues",
|
|
677
654
|
expected: "(HiddenValues | undefined)",
|
|
678
655
|
value: input3.hiddenValues
|
|
@@ -704,7 +681,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
704
681
|
path: _path2 + ".first_bin",
|
|
705
682
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
706
683
|
value: input3.first_bin
|
|
707
|
-
})) && $
|
|
684
|
+
})) && $vu5(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
708
685
|
path: _path2 + ".first_bin",
|
|
709
686
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
710
687
|
value: input3.first_bin
|
|
@@ -712,7 +689,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
712
689
|
path: _path2 + ".last_bin",
|
|
713
690
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
714
691
|
value: input3.last_bin
|
|
715
|
-
})) && $
|
|
692
|
+
})) && $vu6(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
716
693
|
path: _path2 + ".last_bin",
|
|
717
694
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
718
695
|
value: input3.last_bin
|
|
@@ -721,7 +698,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
721
698
|
expected: "(number | undefined)",
|
|
722
699
|
value: input3.label_offset
|
|
723
700
|
})].every((flag) => flag);
|
|
724
|
-
const $
|
|
701
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
725
702
|
const value = input3[key];
|
|
726
703
|
if (void 0 === value)
|
|
727
704
|
return true;
|
|
@@ -733,7 +710,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
733
710
|
});
|
|
734
711
|
return true;
|
|
735
712
|
}).every((flag) => flag)].every((flag) => flag);
|
|
736
|
-
const $
|
|
713
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
737
714
|
path: _path2 + ".startunbounded",
|
|
738
715
|
expected: "true",
|
|
739
716
|
value: input3.startunbounded
|
|
@@ -758,7 +735,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
758
735
|
expected: "(string | undefined)",
|
|
759
736
|
value: input3.label
|
|
760
737
|
})].every((flag) => flag);
|
|
761
|
-
const $
|
|
738
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
762
739
|
path: _path2 + ".startunbounded",
|
|
763
740
|
expected: "(false | undefined)",
|
|
764
741
|
value: input3.startunbounded
|
|
@@ -787,7 +764,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
787
764
|
expected: "(string | undefined)",
|
|
788
765
|
value: input3.label
|
|
789
766
|
})].every((flag) => flag);
|
|
790
|
-
const $
|
|
767
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
791
768
|
path: _path2 + ".start",
|
|
792
769
|
expected: "number",
|
|
793
770
|
value: input3.start
|
|
@@ -812,11 +789,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
812
789
|
expected: "(string | undefined)",
|
|
813
790
|
value: input3.label
|
|
814
791
|
})].every((flag) => flag);
|
|
815
|
-
const $
|
|
792
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
816
793
|
path: _path2 + ".hiddenValues",
|
|
817
794
|
expected: "(HiddenValues | undefined)",
|
|
818
795
|
value: input3.hiddenValues
|
|
819
|
-
})) && $
|
|
796
|
+
})) && $vo16(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
820
797
|
path: _path2 + ".hiddenValues",
|
|
821
798
|
expected: "(HiddenValues | undefined)",
|
|
822
799
|
value: input3.hiddenValues
|
|
@@ -879,7 +856,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
879
856
|
expected: '("median" | undefined)',
|
|
880
857
|
value: input3.preferredBins
|
|
881
858
|
})].every((flag) => flag);
|
|
882
|
-
const $
|
|
859
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
883
860
|
path: _path2 + ".minColor",
|
|
884
861
|
expected: "string",
|
|
885
862
|
value: input3.minColor
|
|
@@ -888,7 +865,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
888
865
|
expected: "string",
|
|
889
866
|
value: input3.maxColor
|
|
890
867
|
})].every((flag) => flag);
|
|
891
|
-
const $
|
|
868
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
892
869
|
path: _path2 + ".key",
|
|
893
870
|
expected: "string",
|
|
894
871
|
value: input3.key
|
|
@@ -905,7 +882,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
905
882
|
expected: "(string | undefined)",
|
|
906
883
|
value: input3.label
|
|
907
884
|
})].every((flag) => flag);
|
|
908
|
-
const $
|
|
885
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
909
886
|
path: _path2 + ".join",
|
|
910
887
|
expected: "(string | undefined)",
|
|
911
888
|
value: input3.join
|
|
@@ -917,7 +894,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
917
894
|
path: _path2 + ".term",
|
|
918
895
|
expected: "ConditionTerm",
|
|
919
896
|
value: input3.term
|
|
920
|
-
})) && $
|
|
897
|
+
})) && $vo24(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
921
898
|
path: _path2 + ".term",
|
|
922
899
|
expected: "ConditionTerm",
|
|
923
900
|
value: input3.term
|
|
@@ -941,7 +918,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
941
918
|
path: _path2 + ".grade_and_child[" + _index13 + "]",
|
|
942
919
|
expected: "GradeAndChildEntry",
|
|
943
920
|
value: elem
|
|
944
|
-
})) && $
|
|
921
|
+
})) && $vo25(elem, _path2 + ".grade_and_child[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
945
922
|
path: _path2 + ".grade_and_child[" + _index13 + "]",
|
|
946
923
|
expected: "GradeAndChildEntry",
|
|
947
924
|
value: elem
|
|
@@ -950,7 +927,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
950
927
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
951
928
|
value: input3.grade_and_child
|
|
952
929
|
})].every((flag) => flag);
|
|
953
|
-
const $
|
|
930
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
954
931
|
path: _path2 + ".id",
|
|
955
932
|
expected: "string",
|
|
956
933
|
value: input3.id
|
|
@@ -1007,7 +984,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1007
984
|
expected: "(boolean | undefined)",
|
|
1008
985
|
value: input3.skipValuesBuild
|
|
1009
986
|
})].every((flag) => flag);
|
|
1010
|
-
const $
|
|
987
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1011
988
|
path: _path2 + ".grade",
|
|
1012
989
|
expected: "number",
|
|
1013
990
|
value: input3.grade
|
|
@@ -1024,7 +1001,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1024
1001
|
expected: "string",
|
|
1025
1002
|
value: input3.child_label
|
|
1026
1003
|
})].every((flag) => flag);
|
|
1027
|
-
const $
|
|
1004
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1028
1005
|
path: _path2 + ".join",
|
|
1029
1006
|
expected: "(string | undefined)",
|
|
1030
1007
|
value: input3.join
|
|
@@ -1036,7 +1013,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1036
1013
|
path: _path2 + ".term",
|
|
1037
1014
|
expected: "DtTerm",
|
|
1038
1015
|
value: input3.term
|
|
1039
|
-
})) && $
|
|
1016
|
+
})) && $vo27(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1040
1017
|
path: _path2 + ".term",
|
|
1041
1018
|
expected: "DtTerm",
|
|
1042
1019
|
value: input3.term
|
|
@@ -1046,11 +1023,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1046
1023
|
value: input3.values
|
|
1047
1024
|
})) && input3.values.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1048
1025
|
path: _path2 + ".values[" + _index16 + "]",
|
|
1049
|
-
expected: "__type.
|
|
1026
|
+
expected: "__type.o4",
|
|
1050
1027
|
value: elem
|
|
1051
|
-
})) && $
|
|
1028
|
+
})) && $vo30(elem, _path2 + ".values[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1052
1029
|
path: _path2 + ".values[" + _index16 + "]",
|
|
1053
|
-
expected: "__type.
|
|
1030
|
+
expected: "__type.o4",
|
|
1054
1031
|
value: elem
|
|
1055
1032
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1056
1033
|
path: _path2 + ".values",
|
|
@@ -1065,7 +1042,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1065
1042
|
expected: "(boolean | undefined)",
|
|
1066
1043
|
value: input3.excludeGeneName
|
|
1067
1044
|
})].every((flag) => flag);
|
|
1068
|
-
const $
|
|
1045
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1069
1046
|
path: _path2 + ".id",
|
|
1070
1047
|
expected: "string",
|
|
1071
1048
|
value: input3.id
|
|
@@ -1085,7 +1062,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1085
1062
|
path: _path2 + ".parentTerm",
|
|
1086
1063
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1087
1064
|
value: input3.parentTerm
|
|
1088
|
-
})) && $
|
|
1065
|
+
})) && $vu7(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1089
1066
|
path: _path2 + ".parentTerm",
|
|
1090
1067
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1091
1068
|
value: input3.parentTerm
|
|
@@ -1114,7 +1091,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1114
1091
|
expected: "TermValues",
|
|
1115
1092
|
value: input3.values
|
|
1116
1093
|
})].every((flag) => flag);
|
|
1117
|
-
const $
|
|
1094
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1118
1095
|
path: _path2 + ".id",
|
|
1119
1096
|
expected: "string",
|
|
1120
1097
|
value: input3.id
|
|
@@ -1192,11 +1169,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1192
1169
|
value: input3.stop
|
|
1193
1170
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1194
1171
|
path: _path2 + ".groupsetting",
|
|
1195
|
-
expected: "(
|
|
1172
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1196
1173
|
value: input3.groupsetting
|
|
1197
|
-
})) && $
|
|
1174
|
+
})) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1198
1175
|
path: _path2 + ".groupsetting",
|
|
1199
|
-
expected: "(
|
|
1176
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1200
1177
|
value: input3.groupsetting
|
|
1201
1178
|
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1202
1179
|
path: _path2 + ".childTerms",
|
|
@@ -1206,7 +1183,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1206
1183
|
path: _path2 + ".childTerms[" + _index19 + "]",
|
|
1207
1184
|
expected: "DtTerm",
|
|
1208
1185
|
value: elem
|
|
1209
|
-
})) && $
|
|
1186
|
+
})) && $vo27(elem, _path2 + ".childTerms[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1210
1187
|
path: _path2 + ".childTerms[" + _index19 + "]",
|
|
1211
1188
|
expected: "DtTerm",
|
|
1212
1189
|
value: elem
|
|
@@ -1215,7 +1192,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1215
1192
|
expected: "(Array<DtTerm> | undefined)",
|
|
1216
1193
|
value: input3.childTerms
|
|
1217
1194
|
})].every((flag) => flag);
|
|
1218
|
-
const $
|
|
1195
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1219
1196
|
path: _path2 + ".id",
|
|
1220
1197
|
expected: "string",
|
|
1221
1198
|
value: input3.id
|
|
@@ -1289,11 +1266,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1289
1266
|
value: input3.stop
|
|
1290
1267
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1291
1268
|
path: _path2 + ".groupsetting",
|
|
1292
|
-
expected: "(
|
|
1269
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1293
1270
|
value: input3.groupsetting
|
|
1294
|
-
})) && $
|
|
1271
|
+
})) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1295
1272
|
path: _path2 + ".groupsetting",
|
|
1296
|
-
expected: "(
|
|
1273
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1297
1274
|
value: input3.groupsetting
|
|
1298
1275
|
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1299
1276
|
path: _path2 + ".childTerms",
|
|
@@ -1303,7 +1280,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1303
1280
|
path: _path2 + ".childTerms[" + _index22 + "]",
|
|
1304
1281
|
expected: "DtTerm",
|
|
1305
1282
|
value: elem
|
|
1306
|
-
})) && $
|
|
1283
|
+
})) && $vo27(elem, _path2 + ".childTerms[" + _index22 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1307
1284
|
path: _path2 + ".childTerms[" + _index22 + "]",
|
|
1308
1285
|
expected: "DtTerm",
|
|
1309
1286
|
value: elem
|
|
@@ -1312,7 +1289,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1312
1289
|
expected: "(Array<DtTerm> | undefined)",
|
|
1313
1290
|
value: input3.childTerms
|
|
1314
1291
|
})].every((flag) => flag);
|
|
1315
|
-
const $
|
|
1292
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1316
1293
|
path: _path2 + ".key",
|
|
1317
1294
|
expected: "string",
|
|
1318
1295
|
value: input3.key
|
|
@@ -1349,59 +1326,54 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1349
1326
|
})();
|
|
1350
1327
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1351
1328
|
if (true === input3.startunbounded)
|
|
1352
|
-
return $
|
|
1329
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
1353
1330
|
if (true === input3.stopunbounded)
|
|
1354
|
-
return $
|
|
1355
|
-
return $
|
|
1331
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1332
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1356
1333
|
})();
|
|
1357
1334
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1358
1335
|
if (void 0 !== input3.ranges)
|
|
1359
|
-
return $
|
|
1360
|
-
return $vo3(input3, _path2, false) || $
|
|
1336
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
1337
|
+
return $vo3(input3, _path2, false) || $vo23(input3, _path2, false) || $vo26(input3, _path2, false);
|
|
1361
1338
|
})();
|
|
1362
1339
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1363
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index23) => "object" === typeof elem && null !== elem && $vo8(elem, _path2 + ".lst[" + _index23 + "]", false)).every((flag) => flag))
|
|
1364
|
-
return $vo7(input3, _path2, _exceptionable2);
|
|
1365
|
-
return $vo12(input3, _path2, _exceptionable2);
|
|
1366
|
-
})();
|
|
1367
|
-
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1368
1340
|
if ("regular-bin" === input3.type)
|
|
1369
|
-
return $
|
|
1341
|
+
return $vo15(input3, _path2, _exceptionable2);
|
|
1370
1342
|
if ("custom-bin" === input3.type)
|
|
1371
|
-
return $
|
|
1343
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1372
1344
|
return $report(_exceptionable2, {
|
|
1373
1345
|
path: _path2,
|
|
1374
1346
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
1375
1347
|
value: input3
|
|
1376
1348
|
});
|
|
1377
1349
|
})();
|
|
1378
|
-
const $
|
|
1350
|
+
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1379
1351
|
if (true === input3.startunbounded)
|
|
1380
|
-
return $
|
|
1352
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
1381
1353
|
if (void 0 !== input3.start)
|
|
1382
|
-
return $
|
|
1354
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1383
1355
|
return $report(_exceptionable2, {
|
|
1384
1356
|
path: _path2,
|
|
1385
1357
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
1386
1358
|
value: input3
|
|
1387
1359
|
});
|
|
1388
1360
|
})();
|
|
1389
|
-
const $
|
|
1361
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1390
1362
|
if (void 0 !== input3.stop)
|
|
1391
|
-
return $
|
|
1363
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1392
1364
|
if (true === input3.stopunbounded)
|
|
1393
|
-
return $
|
|
1365
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1394
1366
|
return $report(_exceptionable2, {
|
|
1395
1367
|
path: _path2,
|
|
1396
1368
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1397
1369
|
value: input3
|
|
1398
1370
|
});
|
|
1399
1371
|
})();
|
|
1400
|
-
const $
|
|
1372
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1401
1373
|
if ("gene" === input3.kind)
|
|
1402
|
-
return $
|
|
1374
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
1403
1375
|
if ("coord" === input3.kind)
|
|
1404
|
-
return $
|
|
1376
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
1405
1377
|
return $report(_exceptionable2, {
|
|
1406
1378
|
path: _path2,
|
|
1407
1379
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|