@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 validTermdbTopTermsByTypeRequest = (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 validTermdbTopTermsByTypeRequest = (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 validTermdbTopTermsByTypeRequest = (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 validTermdbTopTermsByTypeRequest = (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);
|
|
@@ -305,11 +299,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
305
299
|
value: input3.skipValuesBuild
|
|
306
300
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
307
301
|
path: _path2 + ".groupsetting",
|
|
308
|
-
expected: "
|
|
302
|
+
expected: "TermGroupSetting",
|
|
309
303
|
value: input3.groupsetting
|
|
310
|
-
})) && $
|
|
304
|
+
})) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
311
305
|
path: _path2 + ".groupsetting",
|
|
312
|
-
expected: "
|
|
306
|
+
expected: "TermGroupSetting",
|
|
313
307
|
value: input3.groupsetting
|
|
314
308
|
})].every((flag) => flag);
|
|
315
309
|
const $vo5 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
@@ -371,13 +365,13 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
371
365
|
expected: "(Filter | undefined)",
|
|
372
366
|
value: input3.filter
|
|
373
367
|
})].every((flag) => flag);
|
|
374
|
-
const $vo7 = (input3, _path2, _exceptionable2 = true) => [
|
|
368
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
375
369
|
path: _path2 + ".disabled",
|
|
376
|
-
expected: "
|
|
370
|
+
expected: "boolean",
|
|
377
371
|
value: input3.disabled
|
|
378
|
-
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
372
|
+
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
379
373
|
path: _path2 + ".lst",
|
|
380
|
-
expected: "Array<Groupset>",
|
|
374
|
+
expected: "(Array<Groupset> | undefined)",
|
|
381
375
|
value: input3.lst
|
|
382
376
|
})) && input3.lst.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
383
377
|
path: _path2 + ".lst[" + _index5 + "]",
|
|
@@ -389,7 +383,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
389
383
|
value: elem
|
|
390
384
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
391
385
|
path: _path2 + ".lst",
|
|
392
|
-
expected: "Array<Groupset>",
|
|
386
|
+
expected: "(Array<Groupset> | undefined)",
|
|
393
387
|
value: input3.lst
|
|
394
388
|
})].every((flag) => flag);
|
|
395
389
|
const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
@@ -404,10 +398,10 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
404
398
|
path: _path2 + ".is_subcondition",
|
|
405
399
|
expected: "(boolean | undefined)",
|
|
406
400
|
value: input3.is_subcondition
|
|
407
|
-
}), void 0 === input3.
|
|
408
|
-
path: _path2 + ".
|
|
409
|
-
expected: "(
|
|
410
|
-
value: input3.
|
|
401
|
+
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
402
|
+
path: _path2 + ".dt",
|
|
403
|
+
expected: "(number | undefined)",
|
|
404
|
+
value: input3.dt
|
|
411
405
|
}), (Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
412
406
|
path: _path2 + ".groups",
|
|
413
407
|
expected: "Array<GroupEntry>",
|
|
@@ -484,24 +478,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
484
478
|
expected: "string",
|
|
485
479
|
value: input3.color
|
|
486
480
|
})].every((flag) => flag);
|
|
487
|
-
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["
|
|
488
|
-
path: _path2 + ".disabled",
|
|
489
|
-
expected: "boolean",
|
|
490
|
-
value: input3.disabled
|
|
491
|
-
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
492
|
-
path: _path2 + ".lst",
|
|
493
|
-
expected: "([] | undefined)",
|
|
494
|
-
value: input3.lst
|
|
495
|
-
})) && ((input3.lst.length === 0 || $report(_exceptionable2, {
|
|
496
|
-
path: _path2 + ".lst",
|
|
497
|
-
expected: "[]",
|
|
498
|
-
value: input3.lst
|
|
499
|
-
})) && [].every((flag) => flag)) || $report(_exceptionable2, {
|
|
500
|
-
path: _path2 + ".lst",
|
|
501
|
-
expected: "([] | undefined)",
|
|
502
|
-
value: input3.lst
|
|
503
|
-
})].every((flag) => flag);
|
|
504
|
-
const $vo13 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
481
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
505
482
|
path: _path2 + ".join",
|
|
506
483
|
expected: "(string | undefined)",
|
|
507
484
|
value: input3.join
|
|
@@ -513,7 +490,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
513
490
|
path: _path2 + ".term",
|
|
514
491
|
expected: "NumericTerm",
|
|
515
492
|
value: input3.term
|
|
516
|
-
})) && $
|
|
493
|
+
})) && $vo13(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
517
494
|
path: _path2 + ".term",
|
|
518
495
|
expected: "NumericTerm",
|
|
519
496
|
value: input3.term
|
|
@@ -539,18 +516,18 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
539
516
|
value: input3.values
|
|
540
517
|
})) && input3.values.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
541
518
|
path: _path2 + ".values[" + _index9 + "]",
|
|
542
|
-
expected: "__type.
|
|
519
|
+
expected: "__type.o3",
|
|
543
520
|
value: elem
|
|
544
|
-
})) && $
|
|
521
|
+
})) && $vo22(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
545
522
|
path: _path2 + ".values[" + _index9 + "]",
|
|
546
|
-
expected: "__type.
|
|
523
|
+
expected: "__type.o3",
|
|
547
524
|
value: elem
|
|
548
525
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
549
526
|
path: _path2 + ".values",
|
|
550
527
|
expected: "Array<__type>.o1",
|
|
551
528
|
value: input3.values
|
|
552
529
|
})].every((flag) => flag);
|
|
553
|
-
const $
|
|
530
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
554
531
|
path: _path2 + ".id",
|
|
555
532
|
expected: "string",
|
|
556
533
|
value: input3.id
|
|
@@ -610,7 +587,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
610
587
|
path: _path2 + ".bins",
|
|
611
588
|
expected: "PresetNumericBins",
|
|
612
589
|
value: input3.bins
|
|
613
|
-
})) && $
|
|
590
|
+
})) && $vo14(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
614
591
|
path: _path2 + ".bins",
|
|
615
592
|
expected: "PresetNumericBins",
|
|
616
593
|
value: input3.bins
|
|
@@ -620,18 +597,18 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
620
597
|
value: input3.unit
|
|
621
598
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
622
599
|
path: _path2 + ".continuousColorScale",
|
|
623
|
-
expected: "(__type.
|
|
600
|
+
expected: "(__type.o2 | undefined)",
|
|
624
601
|
value: input3.continuousColorScale
|
|
625
|
-
})) && $
|
|
602
|
+
})) && $vo21(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
626
603
|
path: _path2 + ".continuousColorScale",
|
|
627
|
-
expected: "(__type.
|
|
604
|
+
expected: "(__type.o2 | undefined)",
|
|
628
605
|
value: input3.continuousColorScale
|
|
629
606
|
})].every((flag) => flag);
|
|
630
|
-
const $
|
|
607
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
631
608
|
path: _path2 + '["default"]',
|
|
632
609
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
633
610
|
value: input3["default"]
|
|
634
|
-
})) && $
|
|
611
|
+
})) && $vu4(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
635
612
|
path: _path2 + '["default"]',
|
|
636
613
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
637
614
|
value: input3["default"]
|
|
@@ -639,7 +616,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
639
616
|
path: _path2 + ".less",
|
|
640
617
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
641
618
|
value: input3.less
|
|
642
|
-
})) && $
|
|
619
|
+
})) && $vu4(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
643
620
|
path: _path2 + ".less",
|
|
644
621
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
645
622
|
value: input3.less
|
|
@@ -664,11 +641,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
664
641
|
expected: "(number | undefined)",
|
|
665
642
|
value: input3.max
|
|
666
643
|
})].every((flag) => flag);
|
|
667
|
-
const $
|
|
644
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
668
645
|
path: _path2 + ".hiddenValues",
|
|
669
646
|
expected: "(HiddenValues | undefined)",
|
|
670
647
|
value: input3.hiddenValues
|
|
671
|
-
})) && $
|
|
648
|
+
})) && $vo16(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
672
649
|
path: _path2 + ".hiddenValues",
|
|
673
650
|
expected: "(HiddenValues | undefined)",
|
|
674
651
|
value: input3.hiddenValues
|
|
@@ -700,7 +677,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
700
677
|
path: _path2 + ".first_bin",
|
|
701
678
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
702
679
|
value: input3.first_bin
|
|
703
|
-
})) && $
|
|
680
|
+
})) && $vu5(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
704
681
|
path: _path2 + ".first_bin",
|
|
705
682
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
706
683
|
value: input3.first_bin
|
|
@@ -708,7 +685,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
708
685
|
path: _path2 + ".last_bin",
|
|
709
686
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
710
687
|
value: input3.last_bin
|
|
711
|
-
})) && $
|
|
688
|
+
})) && $vu6(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
712
689
|
path: _path2 + ".last_bin",
|
|
713
690
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
714
691
|
value: input3.last_bin
|
|
@@ -717,7 +694,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
717
694
|
expected: "(number | undefined)",
|
|
718
695
|
value: input3.label_offset
|
|
719
696
|
})].every((flag) => flag);
|
|
720
|
-
const $
|
|
697
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
721
698
|
const value = input3[key];
|
|
722
699
|
if (void 0 === value)
|
|
723
700
|
return true;
|
|
@@ -729,7 +706,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
729
706
|
});
|
|
730
707
|
return true;
|
|
731
708
|
}).every((flag) => flag)].every((flag) => flag);
|
|
732
|
-
const $
|
|
709
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
733
710
|
path: _path2 + ".startunbounded",
|
|
734
711
|
expected: "true",
|
|
735
712
|
value: input3.startunbounded
|
|
@@ -754,7 +731,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
754
731
|
expected: "(string | undefined)",
|
|
755
732
|
value: input3.label
|
|
756
733
|
})].every((flag) => flag);
|
|
757
|
-
const $
|
|
734
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
758
735
|
path: _path2 + ".startunbounded",
|
|
759
736
|
expected: "(false | undefined)",
|
|
760
737
|
value: input3.startunbounded
|
|
@@ -783,7 +760,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
783
760
|
expected: "(string | undefined)",
|
|
784
761
|
value: input3.label
|
|
785
762
|
})].every((flag) => flag);
|
|
786
|
-
const $
|
|
763
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
787
764
|
path: _path2 + ".start",
|
|
788
765
|
expected: "number",
|
|
789
766
|
value: input3.start
|
|
@@ -808,11 +785,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
808
785
|
expected: "(string | undefined)",
|
|
809
786
|
value: input3.label
|
|
810
787
|
})].every((flag) => flag);
|
|
811
|
-
const $
|
|
788
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
812
789
|
path: _path2 + ".hiddenValues",
|
|
813
790
|
expected: "(HiddenValues | undefined)",
|
|
814
791
|
value: input3.hiddenValues
|
|
815
|
-
})) && $
|
|
792
|
+
})) && $vo16(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
816
793
|
path: _path2 + ".hiddenValues",
|
|
817
794
|
expected: "(HiddenValues | undefined)",
|
|
818
795
|
value: input3.hiddenValues
|
|
@@ -875,7 +852,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
875
852
|
expected: '("median" | undefined)',
|
|
876
853
|
value: input3.preferredBins
|
|
877
854
|
})].every((flag) => flag);
|
|
878
|
-
const $
|
|
855
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
879
856
|
path: _path2 + ".minColor",
|
|
880
857
|
expected: "string",
|
|
881
858
|
value: input3.minColor
|
|
@@ -884,7 +861,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
884
861
|
expected: "string",
|
|
885
862
|
value: input3.maxColor
|
|
886
863
|
})].every((flag) => flag);
|
|
887
|
-
const $
|
|
864
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
888
865
|
path: _path2 + ".key",
|
|
889
866
|
expected: "string",
|
|
890
867
|
value: input3.key
|
|
@@ -901,7 +878,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
901
878
|
expected: "(string | undefined)",
|
|
902
879
|
value: input3.label
|
|
903
880
|
})].every((flag) => flag);
|
|
904
|
-
const $
|
|
881
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
905
882
|
path: _path2 + ".join",
|
|
906
883
|
expected: "(string | undefined)",
|
|
907
884
|
value: input3.join
|
|
@@ -913,7 +890,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
913
890
|
path: _path2 + ".term",
|
|
914
891
|
expected: "ConditionTerm",
|
|
915
892
|
value: input3.term
|
|
916
|
-
})) && $
|
|
893
|
+
})) && $vo24(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
917
894
|
path: _path2 + ".term",
|
|
918
895
|
expected: "ConditionTerm",
|
|
919
896
|
value: input3.term
|
|
@@ -937,7 +914,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
937
914
|
path: _path2 + ".grade_and_child[" + _index13 + "]",
|
|
938
915
|
expected: "GradeAndChildEntry",
|
|
939
916
|
value: elem
|
|
940
|
-
})) && $
|
|
917
|
+
})) && $vo25(elem, _path2 + ".grade_and_child[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
941
918
|
path: _path2 + ".grade_and_child[" + _index13 + "]",
|
|
942
919
|
expected: "GradeAndChildEntry",
|
|
943
920
|
value: elem
|
|
@@ -946,7 +923,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
946
923
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
947
924
|
value: input3.grade_and_child
|
|
948
925
|
})].every((flag) => flag);
|
|
949
|
-
const $
|
|
926
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
950
927
|
path: _path2 + ".id",
|
|
951
928
|
expected: "string",
|
|
952
929
|
value: input3.id
|
|
@@ -1003,7 +980,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1003
980
|
expected: "(boolean | undefined)",
|
|
1004
981
|
value: input3.skipValuesBuild
|
|
1005
982
|
})].every((flag) => flag);
|
|
1006
|
-
const $
|
|
983
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1007
984
|
path: _path2 + ".grade",
|
|
1008
985
|
expected: "number",
|
|
1009
986
|
value: input3.grade
|
|
@@ -1020,7 +997,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1020
997
|
expected: "string",
|
|
1021
998
|
value: input3.child_label
|
|
1022
999
|
})].every((flag) => flag);
|
|
1023
|
-
const $
|
|
1000
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1024
1001
|
path: _path2 + ".join",
|
|
1025
1002
|
expected: "(string | undefined)",
|
|
1026
1003
|
value: input3.join
|
|
@@ -1032,7 +1009,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1032
1009
|
path: _path2 + ".term",
|
|
1033
1010
|
expected: "DtTerm",
|
|
1034
1011
|
value: input3.term
|
|
1035
|
-
})) && $
|
|
1012
|
+
})) && $vo27(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1036
1013
|
path: _path2 + ".term",
|
|
1037
1014
|
expected: "DtTerm",
|
|
1038
1015
|
value: input3.term
|
|
@@ -1042,11 +1019,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1042
1019
|
value: input3.values
|
|
1043
1020
|
})) && input3.values.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1044
1021
|
path: _path2 + ".values[" + _index16 + "]",
|
|
1045
|
-
expected: "__type.
|
|
1022
|
+
expected: "__type.o4",
|
|
1046
1023
|
value: elem
|
|
1047
|
-
})) && $
|
|
1024
|
+
})) && $vo30(elem, _path2 + ".values[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1048
1025
|
path: _path2 + ".values[" + _index16 + "]",
|
|
1049
|
-
expected: "__type.
|
|
1026
|
+
expected: "__type.o4",
|
|
1050
1027
|
value: elem
|
|
1051
1028
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1052
1029
|
path: _path2 + ".values",
|
|
@@ -1061,7 +1038,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1061
1038
|
expected: "(boolean | undefined)",
|
|
1062
1039
|
value: input3.excludeGeneName
|
|
1063
1040
|
})].every((flag) => flag);
|
|
1064
|
-
const $
|
|
1041
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1065
1042
|
path: _path2 + ".id",
|
|
1066
1043
|
expected: "string",
|
|
1067
1044
|
value: input3.id
|
|
@@ -1081,7 +1058,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1081
1058
|
path: _path2 + ".parentTerm",
|
|
1082
1059
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1083
1060
|
value: input3.parentTerm
|
|
1084
|
-
})) && $
|
|
1061
|
+
})) && $vu7(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
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
|
|
@@ -1110,7 +1087,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1110
1087
|
expected: "TermValues",
|
|
1111
1088
|
value: input3.values
|
|
1112
1089
|
})].every((flag) => flag);
|
|
1113
|
-
const $
|
|
1090
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1114
1091
|
path: _path2 + ".id",
|
|
1115
1092
|
expected: "string",
|
|
1116
1093
|
value: input3.id
|
|
@@ -1188,11 +1165,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1188
1165
|
value: input3.stop
|
|
1189
1166
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1190
1167
|
path: _path2 + ".groupsetting",
|
|
1191
|
-
expected: "(
|
|
1168
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1192
1169
|
value: input3.groupsetting
|
|
1193
|
-
})) && $
|
|
1170
|
+
})) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1194
1171
|
path: _path2 + ".groupsetting",
|
|
1195
|
-
expected: "(
|
|
1172
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1196
1173
|
value: input3.groupsetting
|
|
1197
1174
|
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1198
1175
|
path: _path2 + ".childTerms",
|
|
@@ -1202,7 +1179,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1202
1179
|
path: _path2 + ".childTerms[" + _index19 + "]",
|
|
1203
1180
|
expected: "DtTerm",
|
|
1204
1181
|
value: elem
|
|
1205
|
-
})) && $
|
|
1182
|
+
})) && $vo27(elem, _path2 + ".childTerms[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1206
1183
|
path: _path2 + ".childTerms[" + _index19 + "]",
|
|
1207
1184
|
expected: "DtTerm",
|
|
1208
1185
|
value: elem
|
|
@@ -1211,7 +1188,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1211
1188
|
expected: "(Array<DtTerm> | undefined)",
|
|
1212
1189
|
value: input3.childTerms
|
|
1213
1190
|
})].every((flag) => flag);
|
|
1214
|
-
const $
|
|
1191
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1215
1192
|
path: _path2 + ".id",
|
|
1216
1193
|
expected: "string",
|
|
1217
1194
|
value: input3.id
|
|
@@ -1285,11 +1262,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1285
1262
|
value: input3.stop
|
|
1286
1263
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1287
1264
|
path: _path2 + ".groupsetting",
|
|
1288
|
-
expected: "(
|
|
1265
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1289
1266
|
value: input3.groupsetting
|
|
1290
|
-
})) && $
|
|
1267
|
+
})) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1291
1268
|
path: _path2 + ".groupsetting",
|
|
1292
|
-
expected: "(
|
|
1269
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1293
1270
|
value: input3.groupsetting
|
|
1294
1271
|
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1295
1272
|
path: _path2 + ".childTerms",
|
|
@@ -1299,7 +1276,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1299
1276
|
path: _path2 + ".childTerms[" + _index22 + "]",
|
|
1300
1277
|
expected: "DtTerm",
|
|
1301
1278
|
value: elem
|
|
1302
|
-
})) && $
|
|
1279
|
+
})) && $vo27(elem, _path2 + ".childTerms[" + _index22 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1303
1280
|
path: _path2 + ".childTerms[" + _index22 + "]",
|
|
1304
1281
|
expected: "DtTerm",
|
|
1305
1282
|
value: elem
|
|
@@ -1308,7 +1285,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1308
1285
|
expected: "(Array<DtTerm> | undefined)",
|
|
1309
1286
|
value: input3.childTerms
|
|
1310
1287
|
})].every((flag) => flag);
|
|
1311
|
-
const $
|
|
1288
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1312
1289
|
path: _path2 + ".key",
|
|
1313
1290
|
expected: "string",
|
|
1314
1291
|
value: input3.key
|
|
@@ -1345,59 +1322,54 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1345
1322
|
})();
|
|
1346
1323
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1347
1324
|
if (true === input3.startunbounded)
|
|
1348
|
-
return $
|
|
1325
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
1349
1326
|
if (true === input3.stopunbounded)
|
|
1350
|
-
return $
|
|
1351
|
-
return $
|
|
1327
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1328
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1352
1329
|
})();
|
|
1353
1330
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1354
1331
|
if (void 0 !== input3.ranges)
|
|
1355
|
-
return $
|
|
1356
|
-
return $vo3(input3, _path2, false) || $
|
|
1332
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
1333
|
+
return $vo3(input3, _path2, false) || $vo23(input3, _path2, false) || $vo26(input3, _path2, false);
|
|
1357
1334
|
})();
|
|
1358
1335
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1359
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index23) => "object" === typeof elem && null !== elem && $vo8(elem, _path2 + ".lst[" + _index23 + "]", false)).every((flag) => flag))
|
|
1360
|
-
return $vo7(input3, _path2, _exceptionable2);
|
|
1361
|
-
return $vo12(input3, _path2, _exceptionable2);
|
|
1362
|
-
})();
|
|
1363
|
-
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1364
1336
|
if ("regular-bin" === input3.type)
|
|
1365
|
-
return $
|
|
1337
|
+
return $vo15(input3, _path2, _exceptionable2);
|
|
1366
1338
|
if ("custom-bin" === input3.type)
|
|
1367
|
-
return $
|
|
1339
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1368
1340
|
return $report(_exceptionable2, {
|
|
1369
1341
|
path: _path2,
|
|
1370
1342
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
1371
1343
|
value: input3
|
|
1372
1344
|
});
|
|
1373
1345
|
})();
|
|
1374
|
-
const $
|
|
1346
|
+
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1375
1347
|
if (true === input3.startunbounded)
|
|
1376
|
-
return $
|
|
1348
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
1377
1349
|
if (void 0 !== input3.start)
|
|
1378
|
-
return $
|
|
1350
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1379
1351
|
return $report(_exceptionable2, {
|
|
1380
1352
|
path: _path2,
|
|
1381
1353
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
1382
1354
|
value: input3
|
|
1383
1355
|
});
|
|
1384
1356
|
})();
|
|
1385
|
-
const $
|
|
1357
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1386
1358
|
if (void 0 !== input3.stop)
|
|
1387
|
-
return $
|
|
1359
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1388
1360
|
if (true === input3.stopunbounded)
|
|
1389
|
-
return $
|
|
1361
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1390
1362
|
return $report(_exceptionable2, {
|
|
1391
1363
|
path: _path2,
|
|
1392
1364
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1393
1365
|
value: input3
|
|
1394
1366
|
});
|
|
1395
1367
|
})();
|
|
1396
|
-
const $
|
|
1368
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1397
1369
|
if ("gene" === input3.kind)
|
|
1398
|
-
return $
|
|
1370
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
1399
1371
|
if ("coord" === input3.kind)
|
|
1400
|
-
return $
|
|
1372
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
1401
1373
|
return $report(_exceptionable2, {
|
|
1402
1374
|
path: _path2,
|
|
1403
1375
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|
|
@@ -1427,7 +1399,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1427
1399
|
const __is = (input2) => {
|
|
1428
1400
|
const $join = import_typia.createValidate.join;
|
|
1429
1401
|
const $io0 = (input3) => Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem));
|
|
1430
|
-
const $io1 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $
|
|
1402
|
+
const $io1 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io28(elem)));
|
|
1431
1403
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
1432
1404
|
const value = input3[key];
|
|
1433
1405
|
if (void 0 === value)
|
|
@@ -1440,20 +1412,19 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1440
1412
|
});
|
|
1441
1413
|
const $io3 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io4(input3.filter));
|
|
1442
1414
|
const $io4 = (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 && $iu1(elem)));
|
|
1443
|
-
const $io5 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $
|
|
1415
|
+
const $io5 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu4(input3.tvs));
|
|
1444
1416
|
const $io6 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io7(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) && $io3(elem)));
|
|
1445
|
-
const $io7 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $
|
|
1446
|
-
const $io8 = (input3) =>
|
|
1447
|
-
const $io9 = (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.
|
|
1417
|
+
const $io7 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting));
|
|
1418
|
+
const $io8 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io9(elem)));
|
|
1419
|
+
const $io9 = (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 && $iu2(elem)));
|
|
1448
1420
|
const $io10 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io11(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
1449
1421
|
const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
1450
1422
|
const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io4(input3.filter)) && "string" === typeof input3.color;
|
|
1451
|
-
const $io13 = (input3) => "
|
|
1452
|
-
const $io14 = (input3) => (void 0 === input3.
|
|
1453
|
-
const $io15 = (input3) => "
|
|
1454
|
-
const $io16 = (input3) => "object" === typeof input3
|
|
1455
|
-
const $io17 = (input3) =>
|
|
1456
|
-
const $io18 = (input3) => Object.keys(input3).every((key) => {
|
|
1423
|
+
const $io13 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io14(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io23(elem)));
|
|
1424
|
+
const $io14 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale));
|
|
1425
|
+
const $io15 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu5(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu5(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
1426
|
+
const $io16 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu6(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu7(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
1427
|
+
const $io17 = (input3) => Object.keys(input3).every((key) => {
|
|
1457
1428
|
const value = input3[key];
|
|
1458
1429
|
if (void 0 === value)
|
|
1459
1430
|
return true;
|
|
@@ -1461,57 +1432,57 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1461
1432
|
return "number" === typeof value;
|
|
1462
1433
|
return true;
|
|
1463
1434
|
});
|
|
1464
|
-
const $
|
|
1465
|
-
const $
|
|
1466
|
-
const $
|
|
1467
|
-
const $
|
|
1468
|
-
const $
|
|
1469
|
-
const $
|
|
1470
|
-
const $
|
|
1471
|
-
const $
|
|
1472
|
-
const $
|
|
1473
|
-
const $
|
|
1474
|
-
const $
|
|
1475
|
-
const $
|
|
1476
|
-
const $
|
|
1477
|
-
const $
|
|
1478
|
-
const $
|
|
1479
|
-
const $
|
|
1480
|
-
const $
|
|
1481
|
-
const $
|
|
1482
|
-
const $
|
|
1483
|
-
const $
|
|
1484
|
-
const $
|
|
1485
|
-
const $
|
|
1486
|
-
const $
|
|
1487
|
-
const $
|
|
1435
|
+
const $io18 = (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);
|
|
1436
|
+
const $io19 = (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);
|
|
1437
|
+
const $io20 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
1438
|
+
const $io21 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu3(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
1439
|
+
const $io22 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
1440
|
+
const $io23 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
1441
|
+
const $io24 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io25(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 && $io26(elem)));
|
|
1442
|
+
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
1443
|
+
const $io26 = (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;
|
|
1444
|
+
const $io27 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io28(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io31(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
1445
|
+
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu8(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values));
|
|
1446
|
+
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io28(elem)));
|
|
1447
|
+
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io28(elem)));
|
|
1448
|
+
const $io31 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
1449
|
+
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io28(elem)));
|
|
1450
|
+
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting));
|
|
1451
|
+
const $io34 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale));
|
|
1452
|
+
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
1453
|
+
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io37(elem)));
|
|
1454
|
+
const $io37 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io38(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io39(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
|
|
1455
|
+
const $io38 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
1456
|
+
const $io39 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
1457
|
+
const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io41(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
1458
|
+
const $io41 = (input3) => Object.keys(input3).every((key) => {
|
|
1488
1459
|
const value = input3[key];
|
|
1489
1460
|
if (void 0 === value)
|
|
1490
1461
|
return true;
|
|
1491
1462
|
if (RegExp(/(.*)/).test(key))
|
|
1492
|
-
return "object" === typeof value && null !== value && $
|
|
1463
|
+
return "object" === typeof value && null !== value && $io42(value);
|
|
1493
1464
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
1494
|
-
return "object" === typeof value && null !== value && $
|
|
1465
|
+
return "object" === typeof value && null !== value && $io42(value);
|
|
1495
1466
|
return true;
|
|
1496
1467
|
});
|
|
1497
|
-
const $
|
|
1498
|
-
const $
|
|
1468
|
+
const $io42 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io4(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io43(elem))) && true;
|
|
1469
|
+
const $io43 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
1499
1470
|
const $iu0 = (input3) => (() => {
|
|
1500
1471
|
if ("gene" === input3.kind)
|
|
1501
1472
|
return $io1(input3);
|
|
1502
1473
|
if ("coord" === input3.kind)
|
|
1503
|
-
return $
|
|
1474
|
+
return $io32(input3);
|
|
1504
1475
|
if ("categorical" === input3.type)
|
|
1505
|
-
return $
|
|
1476
|
+
return $io33(input3);
|
|
1506
1477
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
1507
|
-
return $
|
|
1478
|
+
return $io34(input3);
|
|
1508
1479
|
if ("condition" === input3.type)
|
|
1509
|
-
return $
|
|
1480
|
+
return $io35(input3);
|
|
1510
1481
|
return (() => {
|
|
1511
|
-
if ($
|
|
1512
|
-
return $
|
|
1513
|
-
if ($
|
|
1514
|
-
return $
|
|
1482
|
+
if ($io36(input3))
|
|
1483
|
+
return $io36(input3);
|
|
1484
|
+
if ($io40(input3))
|
|
1485
|
+
return $io40(input3);
|
|
1515
1486
|
return false;
|
|
1516
1487
|
})();
|
|
1517
1488
|
})();
|
|
@@ -1531,55 +1502,50 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1531
1502
|
})();
|
|
1532
1503
|
const $iu3 = (input3) => (() => {
|
|
1533
1504
|
if (true === input3.startunbounded)
|
|
1534
|
-
return $
|
|
1505
|
+
return $io18(input3);
|
|
1535
1506
|
if (true === input3.stopunbounded)
|
|
1536
|
-
return $
|
|
1537
|
-
return $
|
|
1507
|
+
return $io20(input3);
|
|
1508
|
+
return $io19(input3);
|
|
1538
1509
|
})();
|
|
1539
1510
|
const $iu4 = (input3) => (() => {
|
|
1540
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io9(elem)))
|
|
1541
|
-
return $io8(input3);
|
|
1542
|
-
return $io13(input3);
|
|
1543
|
-
})();
|
|
1544
|
-
const $iu5 = (input3) => (() => {
|
|
1545
1511
|
if (void 0 !== input3.ranges)
|
|
1546
|
-
return $
|
|
1512
|
+
return $io13(input3);
|
|
1547
1513
|
return (() => {
|
|
1548
1514
|
if ($io6(input3))
|
|
1549
1515
|
return $io6(input3);
|
|
1550
|
-
if ($
|
|
1551
|
-
return $
|
|
1552
|
-
if ($
|
|
1553
|
-
return $
|
|
1516
|
+
if ($io24(input3))
|
|
1517
|
+
return $io24(input3);
|
|
1518
|
+
if ($io27(input3))
|
|
1519
|
+
return $io27(input3);
|
|
1554
1520
|
return false;
|
|
1555
1521
|
})();
|
|
1556
1522
|
})();
|
|
1557
|
-
const $
|
|
1523
|
+
const $iu5 = (input3) => (() => {
|
|
1558
1524
|
if ("regular-bin" === input3.type)
|
|
1559
|
-
return $
|
|
1525
|
+
return $io16(input3);
|
|
1560
1526
|
if ("custom-bin" === input3.type)
|
|
1561
|
-
return $
|
|
1527
|
+
return $io21(input3);
|
|
1562
1528
|
return false;
|
|
1563
1529
|
})();
|
|
1564
|
-
const $
|
|
1530
|
+
const $iu6 = (input3) => (() => {
|
|
1565
1531
|
if (true === input3.startunbounded)
|
|
1566
|
-
return $
|
|
1532
|
+
return $io18(input3);
|
|
1567
1533
|
if (void 0 !== input3.start)
|
|
1568
|
-
return $
|
|
1534
|
+
return $io19(input3);
|
|
1569
1535
|
return false;
|
|
1570
1536
|
})();
|
|
1571
|
-
const $
|
|
1537
|
+
const $iu7 = (input3) => (() => {
|
|
1572
1538
|
if (void 0 !== input3.stop)
|
|
1573
|
-
return $
|
|
1539
|
+
return $io19(input3);
|
|
1574
1540
|
if (true === input3.stopunbounded)
|
|
1575
|
-
return $
|
|
1541
|
+
return $io20(input3);
|
|
1576
1542
|
return false;
|
|
1577
1543
|
})();
|
|
1578
|
-
const $
|
|
1544
|
+
const $iu8 = (input3) => (() => {
|
|
1579
1545
|
if ("gene" === input3.kind)
|
|
1580
|
-
return $
|
|
1546
|
+
return $io29(input3);
|
|
1581
1547
|
if ("coord" === input3.kind)
|
|
1582
|
-
return $
|
|
1548
|
+
return $io30(input3);
|
|
1583
1549
|
return false;
|
|
1584
1550
|
})();
|
|
1585
1551
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -1683,11 +1649,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1683
1649
|
value: input3.stop
|
|
1684
1650
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1685
1651
|
path: _path2 + ".groupsetting",
|
|
1686
|
-
expected: "
|
|
1652
|
+
expected: "TermGroupSetting",
|
|
1687
1653
|
value: input3.groupsetting
|
|
1688
|
-
})) && $
|
|
1654
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1689
1655
|
path: _path2 + ".groupsetting",
|
|
1690
|
-
expected: "
|
|
1656
|
+
expected: "TermGroupSetting",
|
|
1691
1657
|
value: input3.groupsetting
|
|
1692
1658
|
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1693
1659
|
path: _path2 + ".childTerms",
|
|
@@ -1697,7 +1663,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1697
1663
|
path: _path2 + ".childTerms[" + _index4 + "]",
|
|
1698
1664
|
expected: "DtTerm",
|
|
1699
1665
|
value: elem
|
|
1700
|
-
})) && $
|
|
1666
|
+
})) && $vo28(elem, _path2 + ".childTerms[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1701
1667
|
path: _path2 + ".childTerms[" + _index4 + "]",
|
|
1702
1668
|
expected: "DtTerm",
|
|
1703
1669
|
value: elem
|
|
@@ -1806,7 +1772,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1806
1772
|
path: _path2 + ".tvs",
|
|
1807
1773
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
1808
1774
|
value: input3.tvs
|
|
1809
|
-
})) && $
|
|
1775
|
+
})) && $vu4(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
1810
1776
|
path: _path2 + ".tvs",
|
|
1811
1777
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
1812
1778
|
value: input3.tvs
|
|
@@ -1906,20 +1872,20 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1906
1872
|
value: input3.skipValuesBuild
|
|
1907
1873
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1908
1874
|
path: _path2 + ".groupsetting",
|
|
1909
|
-
expected: "
|
|
1875
|
+
expected: "TermGroupSetting",
|
|
1910
1876
|
value: input3.groupsetting
|
|
1911
|
-
})) && $
|
|
1877
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1912
1878
|
path: _path2 + ".groupsetting",
|
|
1913
|
-
expected: "
|
|
1879
|
+
expected: "TermGroupSetting",
|
|
1914
1880
|
value: input3.groupsetting
|
|
1915
1881
|
})].every((flag) => flag);
|
|
1916
|
-
const $vo8 = (input3, _path2, _exceptionable2 = true) => [
|
|
1882
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1917
1883
|
path: _path2 + ".disabled",
|
|
1918
|
-
expected: "
|
|
1884
|
+
expected: "boolean",
|
|
1919
1885
|
value: input3.disabled
|
|
1920
|
-
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
1886
|
+
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
1921
1887
|
path: _path2 + ".lst",
|
|
1922
|
-
expected: "Array<Groupset>",
|
|
1888
|
+
expected: "(Array<Groupset> | undefined)",
|
|
1923
1889
|
value: input3.lst
|
|
1924
1890
|
})) && input3.lst.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1925
1891
|
path: _path2 + ".lst[" + _index9 + "]",
|
|
@@ -1931,7 +1897,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1931
1897
|
value: elem
|
|
1932
1898
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1933
1899
|
path: _path2 + ".lst",
|
|
1934
|
-
expected: "Array<Groupset>",
|
|
1900
|
+
expected: "(Array<Groupset> | undefined)",
|
|
1935
1901
|
value: input3.lst
|
|
1936
1902
|
})].every((flag) => flag);
|
|
1937
1903
|
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
@@ -1946,10 +1912,10 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1946
1912
|
path: _path2 + ".is_subcondition",
|
|
1947
1913
|
expected: "(boolean | undefined)",
|
|
1948
1914
|
value: input3.is_subcondition
|
|
1949
|
-
}), void 0 === input3.
|
|
1950
|
-
path: _path2 + ".
|
|
1951
|
-
expected: "(
|
|
1952
|
-
value: input3.
|
|
1915
|
+
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
1916
|
+
path: _path2 + ".dt",
|
|
1917
|
+
expected: "(number | undefined)",
|
|
1918
|
+
value: input3.dt
|
|
1953
1919
|
}), (Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
1954
1920
|
path: _path2 + ".groups",
|
|
1955
1921
|
expected: "Array<GroupEntry>",
|
|
@@ -2026,24 +1992,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2026
1992
|
expected: "string",
|
|
2027
1993
|
value: input3.color
|
|
2028
1994
|
})].every((flag) => flag);
|
|
2029
|
-
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["
|
|
2030
|
-
path: _path2 + ".disabled",
|
|
2031
|
-
expected: "boolean",
|
|
2032
|
-
value: input3.disabled
|
|
2033
|
-
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
2034
|
-
path: _path2 + ".lst",
|
|
2035
|
-
expected: "([] | undefined)",
|
|
2036
|
-
value: input3.lst
|
|
2037
|
-
})) && ((input3.lst.length === 0 || $report(_exceptionable2, {
|
|
2038
|
-
path: _path2 + ".lst",
|
|
2039
|
-
expected: "[]",
|
|
2040
|
-
value: input3.lst
|
|
2041
|
-
})) && [].every((flag) => flag)) || $report(_exceptionable2, {
|
|
2042
|
-
path: _path2 + ".lst",
|
|
2043
|
-
expected: "([] | undefined)",
|
|
2044
|
-
value: input3.lst
|
|
2045
|
-
})].every((flag) => flag);
|
|
2046
|
-
const $vo14 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1995
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2047
1996
|
path: _path2 + ".join",
|
|
2048
1997
|
expected: "(string | undefined)",
|
|
2049
1998
|
value: input3.join
|
|
@@ -2055,7 +2004,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2055
2004
|
path: _path2 + ".term",
|
|
2056
2005
|
expected: "NumericTerm",
|
|
2057
2006
|
value: input3.term
|
|
2058
|
-
})) && $
|
|
2007
|
+
})) && $vo14(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2059
2008
|
path: _path2 + ".term",
|
|
2060
2009
|
expected: "NumericTerm",
|
|
2061
2010
|
value: input3.term
|
|
@@ -2081,18 +2030,18 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2081
2030
|
value: input3.values
|
|
2082
2031
|
})) && input3.values.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2083
2032
|
path: _path2 + ".values[" + _index13 + "]",
|
|
2084
|
-
expected: "__type.
|
|
2033
|
+
expected: "__type.o3",
|
|
2085
2034
|
value: elem
|
|
2086
|
-
})) && $
|
|
2035
|
+
})) && $vo23(elem, _path2 + ".values[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2087
2036
|
path: _path2 + ".values[" + _index13 + "]",
|
|
2088
|
-
expected: "__type.
|
|
2037
|
+
expected: "__type.o3",
|
|
2089
2038
|
value: elem
|
|
2090
2039
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2091
2040
|
path: _path2 + ".values",
|
|
2092
2041
|
expected: "Array<__type>.o1",
|
|
2093
2042
|
value: input3.values
|
|
2094
2043
|
})].every((flag) => flag);
|
|
2095
|
-
const $
|
|
2044
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2096
2045
|
path: _path2 + ".id",
|
|
2097
2046
|
expected: "string",
|
|
2098
2047
|
value: input3.id
|
|
@@ -2152,7 +2101,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2152
2101
|
path: _path2 + ".bins",
|
|
2153
2102
|
expected: "PresetNumericBins",
|
|
2154
2103
|
value: input3.bins
|
|
2155
|
-
})) && $
|
|
2104
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2156
2105
|
path: _path2 + ".bins",
|
|
2157
2106
|
expected: "PresetNumericBins",
|
|
2158
2107
|
value: input3.bins
|
|
@@ -2162,18 +2111,18 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2162
2111
|
value: input3.unit
|
|
2163
2112
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2164
2113
|
path: _path2 + ".continuousColorScale",
|
|
2165
|
-
expected: "(__type.
|
|
2114
|
+
expected: "(__type.o2 | undefined)",
|
|
2166
2115
|
value: input3.continuousColorScale
|
|
2167
|
-
})) && $
|
|
2116
|
+
})) && $vo22(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2168
2117
|
path: _path2 + ".continuousColorScale",
|
|
2169
|
-
expected: "(__type.
|
|
2118
|
+
expected: "(__type.o2 | undefined)",
|
|
2170
2119
|
value: input3.continuousColorScale
|
|
2171
2120
|
})].every((flag) => flag);
|
|
2172
|
-
const $
|
|
2121
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
2173
2122
|
path: _path2 + '["default"]',
|
|
2174
2123
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2175
2124
|
value: input3["default"]
|
|
2176
|
-
})) && $
|
|
2125
|
+
})) && $vu5(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
2177
2126
|
path: _path2 + '["default"]',
|
|
2178
2127
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2179
2128
|
value: input3["default"]
|
|
@@ -2181,7 +2130,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2181
2130
|
path: _path2 + ".less",
|
|
2182
2131
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2183
2132
|
value: input3.less
|
|
2184
|
-
})) && $
|
|
2133
|
+
})) && $vu5(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
2185
2134
|
path: _path2 + ".less",
|
|
2186
2135
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2187
2136
|
value: input3.less
|
|
@@ -2206,11 +2155,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2206
2155
|
expected: "(number | undefined)",
|
|
2207
2156
|
value: input3.max
|
|
2208
2157
|
})].every((flag) => flag);
|
|
2209
|
-
const $
|
|
2158
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2210
2159
|
path: _path2 + ".hiddenValues",
|
|
2211
2160
|
expected: "(HiddenValues | undefined)",
|
|
2212
2161
|
value: input3.hiddenValues
|
|
2213
|
-
})) && $
|
|
2162
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2214
2163
|
path: _path2 + ".hiddenValues",
|
|
2215
2164
|
expected: "(HiddenValues | undefined)",
|
|
2216
2165
|
value: input3.hiddenValues
|
|
@@ -2242,7 +2191,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2242
2191
|
path: _path2 + ".first_bin",
|
|
2243
2192
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
2244
2193
|
value: input3.first_bin
|
|
2245
|
-
})) && $
|
|
2194
|
+
})) && $vu6(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
2246
2195
|
path: _path2 + ".first_bin",
|
|
2247
2196
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
2248
2197
|
value: input3.first_bin
|
|
@@ -2250,7 +2199,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2250
2199
|
path: _path2 + ".last_bin",
|
|
2251
2200
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
2252
2201
|
value: input3.last_bin
|
|
2253
|
-
})) && $
|
|
2202
|
+
})) && $vu7(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
2254
2203
|
path: _path2 + ".last_bin",
|
|
2255
2204
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
2256
2205
|
value: input3.last_bin
|
|
@@ -2259,7 +2208,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2259
2208
|
expected: "(number | undefined)",
|
|
2260
2209
|
value: input3.label_offset
|
|
2261
2210
|
})].every((flag) => flag);
|
|
2262
|
-
const $
|
|
2211
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2263
2212
|
const value = input3[key];
|
|
2264
2213
|
if (void 0 === value)
|
|
2265
2214
|
return true;
|
|
@@ -2271,7 +2220,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2271
2220
|
});
|
|
2272
2221
|
return true;
|
|
2273
2222
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2274
|
-
const $
|
|
2223
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
2275
2224
|
path: _path2 + ".startunbounded",
|
|
2276
2225
|
expected: "true",
|
|
2277
2226
|
value: input3.startunbounded
|
|
@@ -2296,7 +2245,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2296
2245
|
expected: "(string | undefined)",
|
|
2297
2246
|
value: input3.label
|
|
2298
2247
|
})].every((flag) => flag);
|
|
2299
|
-
const $
|
|
2248
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
2300
2249
|
path: _path2 + ".startunbounded",
|
|
2301
2250
|
expected: "(false | undefined)",
|
|
2302
2251
|
value: input3.startunbounded
|
|
@@ -2325,7 +2274,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2325
2274
|
expected: "(string | undefined)",
|
|
2326
2275
|
value: input3.label
|
|
2327
2276
|
})].every((flag) => flag);
|
|
2328
|
-
const $
|
|
2277
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
2329
2278
|
path: _path2 + ".start",
|
|
2330
2279
|
expected: "number",
|
|
2331
2280
|
value: input3.start
|
|
@@ -2350,11 +2299,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2350
2299
|
expected: "(string | undefined)",
|
|
2351
2300
|
value: input3.label
|
|
2352
2301
|
})].every((flag) => flag);
|
|
2353
|
-
const $
|
|
2302
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2354
2303
|
path: _path2 + ".hiddenValues",
|
|
2355
2304
|
expected: "(HiddenValues | undefined)",
|
|
2356
2305
|
value: input3.hiddenValues
|
|
2357
|
-
})) && $
|
|
2306
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2358
2307
|
path: _path2 + ".hiddenValues",
|
|
2359
2308
|
expected: "(HiddenValues | undefined)",
|
|
2360
2309
|
value: input3.hiddenValues
|
|
@@ -2417,7 +2366,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2417
2366
|
expected: '("median" | undefined)',
|
|
2418
2367
|
value: input3.preferredBins
|
|
2419
2368
|
})].every((flag) => flag);
|
|
2420
|
-
const $
|
|
2369
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
2421
2370
|
path: _path2 + ".minColor",
|
|
2422
2371
|
expected: "string",
|
|
2423
2372
|
value: input3.minColor
|
|
@@ -2426,7 +2375,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2426
2375
|
expected: "string",
|
|
2427
2376
|
value: input3.maxColor
|
|
2428
2377
|
})].every((flag) => flag);
|
|
2429
|
-
const $
|
|
2378
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2430
2379
|
path: _path2 + ".key",
|
|
2431
2380
|
expected: "string",
|
|
2432
2381
|
value: input3.key
|
|
@@ -2443,7 +2392,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2443
2392
|
expected: "(string | undefined)",
|
|
2444
2393
|
value: input3.label
|
|
2445
2394
|
})].every((flag) => flag);
|
|
2446
|
-
const $
|
|
2395
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2447
2396
|
path: _path2 + ".join",
|
|
2448
2397
|
expected: "(string | undefined)",
|
|
2449
2398
|
value: input3.join
|
|
@@ -2455,7 +2404,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2455
2404
|
path: _path2 + ".term",
|
|
2456
2405
|
expected: "ConditionTerm",
|
|
2457
2406
|
value: input3.term
|
|
2458
|
-
})) && $
|
|
2407
|
+
})) && $vo25(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2459
2408
|
path: _path2 + ".term",
|
|
2460
2409
|
expected: "ConditionTerm",
|
|
2461
2410
|
value: input3.term
|
|
@@ -2479,7 +2428,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2479
2428
|
path: _path2 + ".grade_and_child[" + _index17 + "]",
|
|
2480
2429
|
expected: "GradeAndChildEntry",
|
|
2481
2430
|
value: elem
|
|
2482
|
-
})) && $
|
|
2431
|
+
})) && $vo26(elem, _path2 + ".grade_and_child[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2483
2432
|
path: _path2 + ".grade_and_child[" + _index17 + "]",
|
|
2484
2433
|
expected: "GradeAndChildEntry",
|
|
2485
2434
|
value: elem
|
|
@@ -2488,7 +2437,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2488
2437
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2489
2438
|
value: input3.grade_and_child
|
|
2490
2439
|
})].every((flag) => flag);
|
|
2491
|
-
const $
|
|
2440
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2492
2441
|
path: _path2 + ".id",
|
|
2493
2442
|
expected: "string",
|
|
2494
2443
|
value: input3.id
|
|
@@ -2545,7 +2494,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2545
2494
|
expected: "(boolean | undefined)",
|
|
2546
2495
|
value: input3.skipValuesBuild
|
|
2547
2496
|
})].every((flag) => flag);
|
|
2548
|
-
const $
|
|
2497
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
2549
2498
|
path: _path2 + ".grade",
|
|
2550
2499
|
expected: "number",
|
|
2551
2500
|
value: input3.grade
|
|
@@ -2562,7 +2511,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2562
2511
|
expected: "string",
|
|
2563
2512
|
value: input3.child_label
|
|
2564
2513
|
})].every((flag) => flag);
|
|
2565
|
-
const $
|
|
2514
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2566
2515
|
path: _path2 + ".join",
|
|
2567
2516
|
expected: "(string | undefined)",
|
|
2568
2517
|
value: input3.join
|
|
@@ -2574,7 +2523,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2574
2523
|
path: _path2 + ".term",
|
|
2575
2524
|
expected: "DtTerm",
|
|
2576
2525
|
value: input3.term
|
|
2577
|
-
})) && $
|
|
2526
|
+
})) && $vo28(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2578
2527
|
path: _path2 + ".term",
|
|
2579
2528
|
expected: "DtTerm",
|
|
2580
2529
|
value: input3.term
|
|
@@ -2584,11 +2533,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2584
2533
|
value: input3.values
|
|
2585
2534
|
})) && input3.values.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2586
2535
|
path: _path2 + ".values[" + _index20 + "]",
|
|
2587
|
-
expected: "__type.
|
|
2536
|
+
expected: "__type.o4",
|
|
2588
2537
|
value: elem
|
|
2589
|
-
})) && $
|
|
2538
|
+
})) && $vo31(elem, _path2 + ".values[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2590
2539
|
path: _path2 + ".values[" + _index20 + "]",
|
|
2591
|
-
expected: "__type.
|
|
2540
|
+
expected: "__type.o4",
|
|
2592
2541
|
value: elem
|
|
2593
2542
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2594
2543
|
path: _path2 + ".values",
|
|
@@ -2603,7 +2552,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2603
2552
|
expected: "(boolean | undefined)",
|
|
2604
2553
|
value: input3.excludeGeneName
|
|
2605
2554
|
})].every((flag) => flag);
|
|
2606
|
-
const $
|
|
2555
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2607
2556
|
path: _path2 + ".id",
|
|
2608
2557
|
expected: "string",
|
|
2609
2558
|
value: input3.id
|
|
@@ -2623,7 +2572,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2623
2572
|
path: _path2 + ".parentTerm",
|
|
2624
2573
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
2625
2574
|
value: input3.parentTerm
|
|
2626
|
-
})) && $
|
|
2575
|
+
})) && $vu8(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
2627
2576
|
path: _path2 + ".parentTerm",
|
|
2628
2577
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
2629
2578
|
value: input3.parentTerm
|
|
@@ -2652,7 +2601,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2652
2601
|
expected: "TermValues",
|
|
2653
2602
|
value: input3.values
|
|
2654
2603
|
})].every((flag) => flag);
|
|
2655
|
-
const $
|
|
2604
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2656
2605
|
path: _path2 + ".id",
|
|
2657
2606
|
expected: "string",
|
|
2658
2607
|
value: input3.id
|
|
@@ -2730,11 +2679,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2730
2679
|
value: input3.stop
|
|
2731
2680
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2732
2681
|
path: _path2 + ".groupsetting",
|
|
2733
|
-
expected: "(
|
|
2682
|
+
expected: "(TermGroupSetting | undefined)",
|
|
2734
2683
|
value: input3.groupsetting
|
|
2735
|
-
})) && $
|
|
2684
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2736
2685
|
path: _path2 + ".groupsetting",
|
|
2737
|
-
expected: "(
|
|
2686
|
+
expected: "(TermGroupSetting | undefined)",
|
|
2738
2687
|
value: input3.groupsetting
|
|
2739
2688
|
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
2740
2689
|
path: _path2 + ".childTerms",
|
|
@@ -2744,7 +2693,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2744
2693
|
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
2745
2694
|
expected: "DtTerm",
|
|
2746
2695
|
value: elem
|
|
2747
|
-
})) && $
|
|
2696
|
+
})) && $vo28(elem, _path2 + ".childTerms[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2748
2697
|
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
2749
2698
|
expected: "DtTerm",
|
|
2750
2699
|
value: elem
|
|
@@ -2753,7 +2702,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2753
2702
|
expected: "(Array<DtTerm> | undefined)",
|
|
2754
2703
|
value: input3.childTerms
|
|
2755
2704
|
})].every((flag) => flag);
|
|
2756
|
-
const $
|
|
2705
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2757
2706
|
path: _path2 + ".id",
|
|
2758
2707
|
expected: "string",
|
|
2759
2708
|
value: input3.id
|
|
@@ -2827,11 +2776,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2827
2776
|
value: input3.stop
|
|
2828
2777
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2829
2778
|
path: _path2 + ".groupsetting",
|
|
2830
|
-
expected: "(
|
|
2779
|
+
expected: "(TermGroupSetting | undefined)",
|
|
2831
2780
|
value: input3.groupsetting
|
|
2832
|
-
})) && $
|
|
2781
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2833
2782
|
path: _path2 + ".groupsetting",
|
|
2834
|
-
expected: "(
|
|
2783
|
+
expected: "(TermGroupSetting | undefined)",
|
|
2835
2784
|
value: input3.groupsetting
|
|
2836
2785
|
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
2837
2786
|
path: _path2 + ".childTerms",
|
|
@@ -2841,7 +2790,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2841
2790
|
path: _path2 + ".childTerms[" + _index26 + "]",
|
|
2842
2791
|
expected: "DtTerm",
|
|
2843
2792
|
value: elem
|
|
2844
|
-
})) && $
|
|
2793
|
+
})) && $vo28(elem, _path2 + ".childTerms[" + _index26 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2845
2794
|
path: _path2 + ".childTerms[" + _index26 + "]",
|
|
2846
2795
|
expected: "DtTerm",
|
|
2847
2796
|
value: elem
|
|
@@ -2850,7 +2799,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2850
2799
|
expected: "(Array<DtTerm> | undefined)",
|
|
2851
2800
|
value: input3.childTerms
|
|
2852
2801
|
})].every((flag) => flag);
|
|
2853
|
-
const $
|
|
2802
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2854
2803
|
path: _path2 + ".key",
|
|
2855
2804
|
expected: "string",
|
|
2856
2805
|
value: input3.key
|
|
@@ -2863,7 +2812,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2863
2812
|
expected: "string",
|
|
2864
2813
|
value: input3.value
|
|
2865
2814
|
})].every((flag) => flag);
|
|
2866
|
-
const $
|
|
2815
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2867
2816
|
path: _path2 + ".id",
|
|
2868
2817
|
expected: "string",
|
|
2869
2818
|
value: input3.id
|
|
@@ -2937,11 +2886,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2937
2886
|
value: input3.stop
|
|
2938
2887
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2939
2888
|
path: _path2 + ".groupsetting",
|
|
2940
|
-
expected: "
|
|
2889
|
+
expected: "TermGroupSetting",
|
|
2941
2890
|
value: input3.groupsetting
|
|
2942
|
-
})) && $
|
|
2891
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2943
2892
|
path: _path2 + ".groupsetting",
|
|
2944
|
-
expected: "
|
|
2893
|
+
expected: "TermGroupSetting",
|
|
2945
2894
|
value: input3.groupsetting
|
|
2946
2895
|
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
2947
2896
|
path: _path2 + ".childTerms",
|
|
@@ -2951,7 +2900,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2951
2900
|
path: _path2 + ".childTerms[" + _index29 + "]",
|
|
2952
2901
|
expected: "DtTerm",
|
|
2953
2902
|
value: elem
|
|
2954
|
-
})) && $
|
|
2903
|
+
})) && $vo28(elem, _path2 + ".childTerms[" + _index29 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2955
2904
|
path: _path2 + ".childTerms[" + _index29 + "]",
|
|
2956
2905
|
expected: "DtTerm",
|
|
2957
2906
|
value: elem
|
|
@@ -2960,7 +2909,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2960
2909
|
expected: "Array<DtTerm>",
|
|
2961
2910
|
value: input3.childTerms
|
|
2962
2911
|
})].every((flag) => flag);
|
|
2963
|
-
const $
|
|
2912
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2964
2913
|
path: _path2 + ".id",
|
|
2965
2914
|
expected: "string",
|
|
2966
2915
|
value: input3.id
|
|
@@ -3018,14 +2967,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3018
2967
|
value: input3.skipValuesBuild
|
|
3019
2968
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3020
2969
|
path: _path2 + ".groupsetting",
|
|
3021
|
-
expected: "
|
|
2970
|
+
expected: "TermGroupSetting",
|
|
3022
2971
|
value: input3.groupsetting
|
|
3023
|
-
})) && $
|
|
2972
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3024
2973
|
path: _path2 + ".groupsetting",
|
|
3025
|
-
expected: "
|
|
2974
|
+
expected: "TermGroupSetting",
|
|
3026
2975
|
value: input3.groupsetting
|
|
3027
2976
|
})].every((flag) => flag);
|
|
3028
|
-
const $
|
|
2977
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3029
2978
|
path: _path2 + ".id",
|
|
3030
2979
|
expected: "string",
|
|
3031
2980
|
value: input3.id
|
|
@@ -3085,7 +3034,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3085
3034
|
path: _path2 + ".bins",
|
|
3086
3035
|
expected: "PresetNumericBins",
|
|
3087
3036
|
value: input3.bins
|
|
3088
|
-
})) && $
|
|
3037
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
3089
3038
|
path: _path2 + ".bins",
|
|
3090
3039
|
expected: "PresetNumericBins",
|
|
3091
3040
|
value: input3.bins
|
|
@@ -3095,14 +3044,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3095
3044
|
value: input3.unit
|
|
3096
3045
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
3097
3046
|
path: _path2 + ".continuousColorScale",
|
|
3098
|
-
expected: "(__type.
|
|
3047
|
+
expected: "(__type.o2 | undefined)",
|
|
3099
3048
|
value: input3.continuousColorScale
|
|
3100
|
-
})) && $
|
|
3049
|
+
})) && $vo22(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
3101
3050
|
path: _path2 + ".continuousColorScale",
|
|
3102
|
-
expected: "(__type.
|
|
3051
|
+
expected: "(__type.o2 | undefined)",
|
|
3103
3052
|
value: input3.continuousColorScale
|
|
3104
3053
|
})].every((flag) => flag);
|
|
3105
|
-
const $
|
|
3054
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3106
3055
|
path: _path2 + ".id",
|
|
3107
3056
|
expected: "string",
|
|
3108
3057
|
value: input3.id
|
|
@@ -3159,7 +3108,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3159
3108
|
expected: "(boolean | undefined)",
|
|
3160
3109
|
value: input3.skipValuesBuild
|
|
3161
3110
|
})].every((flag) => flag);
|
|
3162
|
-
const $
|
|
3111
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3163
3112
|
path: _path2 + ".id",
|
|
3164
3113
|
expected: "string",
|
|
3165
3114
|
value: input3.id
|
|
@@ -3227,7 +3176,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3227
3176
|
path: _path2 + ".snps[" + _index38 + "]",
|
|
3228
3177
|
expected: "SnpsEntry",
|
|
3229
3178
|
value: elem
|
|
3230
|
-
})) && $
|
|
3179
|
+
})) && $vo37(elem, _path2 + ".snps[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3231
3180
|
path: _path2 + ".snps[" + _index38 + "]",
|
|
3232
3181
|
expected: "SnpsEntry",
|
|
3233
3182
|
value: elem
|
|
@@ -3236,7 +3185,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3236
3185
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3237
3186
|
value: input3.snps
|
|
3238
3187
|
})].every((flag) => flag);
|
|
3239
|
-
const $
|
|
3188
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
3240
3189
|
path: _path2 + ".altAlleles",
|
|
3241
3190
|
expected: "(Array<string> | undefined)",
|
|
3242
3191
|
value: input3.altAlleles
|
|
@@ -3256,7 +3205,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3256
3205
|
path: _path2 + ".alleles[" + _index40 + "]",
|
|
3257
3206
|
expected: "AllelesEntry",
|
|
3258
3207
|
value: elem
|
|
3259
|
-
})) && $
|
|
3208
|
+
})) && $vo38(elem, _path2 + ".alleles[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3260
3209
|
path: _path2 + ".alleles[" + _index40 + "]",
|
|
3261
3210
|
expected: "AllelesEntry",
|
|
3262
3211
|
value: elem
|
|
@@ -3270,11 +3219,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3270
3219
|
value: input3.effectAllele
|
|
3271
3220
|
}), void 0 === input3.gt2count || ("object" === typeof input3.gt2count && null !== input3.gt2count || $report(_exceptionable2, {
|
|
3272
3221
|
path: _path2 + ".gt2count",
|
|
3273
|
-
expected: "(__type.
|
|
3222
|
+
expected: "(__type.o5 | undefined)",
|
|
3274
3223
|
value: input3.gt2count
|
|
3275
|
-
})) && $
|
|
3224
|
+
})) && $vo39(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
3276
3225
|
path: _path2 + ".gt2count",
|
|
3277
|
-
expected: "(__type.
|
|
3226
|
+
expected: "(__type.o5 | undefined)",
|
|
3278
3227
|
value: input3.gt2count
|
|
3279
3228
|
}), void 0 === input3.invalid || "boolean" === typeof input3.invalid || $report(_exceptionable2, {
|
|
3280
3229
|
path: _path2 + ".invalid",
|
|
@@ -3301,7 +3250,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3301
3250
|
expected: "(number | undefined)",
|
|
3302
3251
|
value: input3.pos
|
|
3303
3252
|
})].every((flag) => flag);
|
|
3304
|
-
const $
|
|
3253
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
3305
3254
|
path: _path2 + ".allele",
|
|
3306
3255
|
expected: "string",
|
|
3307
3256
|
value: input3.allele
|
|
@@ -3314,7 +3263,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3314
3263
|
expected: "boolean",
|
|
3315
3264
|
value: input3.isRef
|
|
3316
3265
|
})].every((flag) => flag);
|
|
3317
|
-
const $
|
|
3266
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
3318
3267
|
path: _path2 + ".k",
|
|
3319
3268
|
expected: "string",
|
|
3320
3269
|
value: input3.k
|
|
@@ -3323,7 +3272,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3323
3272
|
expected: "(number | string)",
|
|
3324
3273
|
value: input3.v
|
|
3325
3274
|
})].every((flag) => flag);
|
|
3326
|
-
const $
|
|
3275
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3327
3276
|
path: _path2 + ".id",
|
|
3328
3277
|
expected: "string",
|
|
3329
3278
|
value: input3.id
|
|
@@ -3371,7 +3320,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3371
3320
|
path: _path2 + ".values",
|
|
3372
3321
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3373
3322
|
value: input3.values
|
|
3374
|
-
})) && $
|
|
3323
|
+
})) && $vo41(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3375
3324
|
path: _path2 + ".values",
|
|
3376
3325
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3377
3326
|
value: input3.values
|
|
@@ -3380,7 +3329,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3380
3329
|
expected: "(boolean | undefined)",
|
|
3381
3330
|
value: input3.skipValuesBuild
|
|
3382
3331
|
})].every((flag) => flag);
|
|
3383
|
-
const $
|
|
3332
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3384
3333
|
const value = input3[key];
|
|
3385
3334
|
if (void 0 === value)
|
|
3386
3335
|
return true;
|
|
@@ -3389,7 +3338,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3389
3338
|
path: _path2 + $join(key),
|
|
3390
3339
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3391
3340
|
value
|
|
3392
|
-
})) && $
|
|
3341
|
+
})) && $vo42(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3393
3342
|
path: _path2 + $join(key),
|
|
3394
3343
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3395
3344
|
value
|
|
@@ -3399,14 +3348,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3399
3348
|
path: _path2 + $join(key),
|
|
3400
3349
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3401
3350
|
value
|
|
3402
|
-
})) && $
|
|
3351
|
+
})) && $vo42(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3403
3352
|
path: _path2 + $join(key),
|
|
3404
3353
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3405
3354
|
value
|
|
3406
3355
|
});
|
|
3407
3356
|
return true;
|
|
3408
3357
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3409
|
-
const $
|
|
3358
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
3410
3359
|
path: _path2 + ".key",
|
|
3411
3360
|
expected: "(string | undefined)",
|
|
3412
3361
|
value: input3.key
|
|
@@ -3452,18 +3401,18 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3452
3401
|
value: input3.list
|
|
3453
3402
|
})) && input3.list.map((elem, _index43) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3454
3403
|
path: _path2 + ".list[" + _index43 + "]",
|
|
3455
|
-
expected: "__type.
|
|
3404
|
+
expected: "__type.o6",
|
|
3456
3405
|
value: elem
|
|
3457
|
-
})) && $
|
|
3406
|
+
})) && $vo43(elem, _path2 + ".list[" + _index43 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3458
3407
|
path: _path2 + ".list[" + _index43 + "]",
|
|
3459
|
-
expected: "__type.
|
|
3408
|
+
expected: "__type.o6",
|
|
3460
3409
|
value: elem
|
|
3461
3410
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3462
3411
|
path: _path2 + ".list",
|
|
3463
3412
|
expected: "Array<__type>.o3",
|
|
3464
3413
|
value: input3.list
|
|
3465
3414
|
}), true].every((flag) => flag);
|
|
3466
|
-
const $
|
|
3415
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
3467
3416
|
path: _path2 + ".sampleId",
|
|
3468
3417
|
expected: "string",
|
|
3469
3418
|
value: input3.sampleId
|
|
@@ -3476,14 +3425,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3476
3425
|
if ("gene" === input3.kind)
|
|
3477
3426
|
return $vo1(input3, _path2, _exceptionable2);
|
|
3478
3427
|
if ("coord" === input3.kind)
|
|
3479
|
-
return $
|
|
3428
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
3480
3429
|
if ("categorical" === input3.type)
|
|
3481
|
-
return $
|
|
3430
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
3482
3431
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
3483
|
-
return $
|
|
3432
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
3484
3433
|
if ("condition" === input3.type)
|
|
3485
|
-
return $
|
|
3486
|
-
return $
|
|
3434
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
3435
|
+
return $vo36(input3, _path2, false) || $vo40(input3, _path2, false);
|
|
3487
3436
|
})();
|
|
3488
3437
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3489
3438
|
if ("tvslst" === input3.type)
|
|
@@ -3509,59 +3458,54 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3509
3458
|
})();
|
|
3510
3459
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3511
3460
|
if (true === input3.startunbounded)
|
|
3512
|
-
return $
|
|
3461
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
3513
3462
|
if (true === input3.stopunbounded)
|
|
3514
|
-
return $
|
|
3515
|
-
return $
|
|
3463
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
3464
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
3516
3465
|
})();
|
|
3517
3466
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3518
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index44) => "object" === typeof elem && null !== elem && $vo9(elem, _path2 + ".lst[" + _index44 + "]", false)).every((flag) => flag))
|
|
3519
|
-
return $vo8(input3, _path2, _exceptionable2);
|
|
3520
|
-
return $vo13(input3, _path2, _exceptionable2);
|
|
3521
|
-
})();
|
|
3522
|
-
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3523
3467
|
if (void 0 !== input3.ranges)
|
|
3524
|
-
return $
|
|
3525
|
-
return $vo6(input3, _path2, false) || $
|
|
3468
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
3469
|
+
return $vo6(input3, _path2, false) || $vo24(input3, _path2, false) || $vo27(input3, _path2, false);
|
|
3526
3470
|
})();
|
|
3527
|
-
const $
|
|
3471
|
+
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3528
3472
|
if ("regular-bin" === input3.type)
|
|
3529
|
-
return $
|
|
3473
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
3530
3474
|
if ("custom-bin" === input3.type)
|
|
3531
|
-
return $
|
|
3475
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
3532
3476
|
return $report(_exceptionable2, {
|
|
3533
3477
|
path: _path2,
|
|
3534
3478
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
3535
3479
|
value: input3
|
|
3536
3480
|
});
|
|
3537
3481
|
})();
|
|
3538
|
-
const $
|
|
3482
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3539
3483
|
if (true === input3.startunbounded)
|
|
3540
|
-
return $
|
|
3484
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
3541
3485
|
if (void 0 !== input3.start)
|
|
3542
|
-
return $
|
|
3486
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
3543
3487
|
return $report(_exceptionable2, {
|
|
3544
3488
|
path: _path2,
|
|
3545
3489
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
3546
3490
|
value: input3
|
|
3547
3491
|
});
|
|
3548
3492
|
})();
|
|
3549
|
-
const $
|
|
3493
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3550
3494
|
if (void 0 !== input3.stop)
|
|
3551
|
-
return $
|
|
3495
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
3552
3496
|
if (true === input3.stopunbounded)
|
|
3553
|
-
return $
|
|
3497
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
3554
3498
|
return $report(_exceptionable2, {
|
|
3555
3499
|
path: _path2,
|
|
3556
3500
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
3557
3501
|
value: input3
|
|
3558
3502
|
});
|
|
3559
3503
|
})();
|
|
3560
|
-
const $
|
|
3504
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3561
3505
|
if ("gene" === input3.kind)
|
|
3562
|
-
return $
|
|
3506
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
3563
3507
|
if ("coord" === input3.kind)
|
|
3564
|
-
return $
|
|
3508
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
3565
3509
|
return $report(_exceptionable2, {
|
|
3566
3510
|
path: _path2,
|
|
3567
3511
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|