@sjcrh/proteinpaint-types 2.140.1-2 → 2.140.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-KDHGWAOS.js → chunk-2WLN6PMW.js} +575 -367
- package/dist/{chunk-G5BYLEJC.js → chunk-AADDTYUL.js} +266 -154
- package/dist/{chunk-2QKCLUH3.js → chunk-BWLSDIHM.js} +575 -367
- package/dist/{chunk-P3Z422N2.js → chunk-ECF6WSOD.js} +266 -154
- package/dist/{chunk-NHELOLDH.js → chunk-EWON4FG5.js} +2401 -644
- package/dist/{chunk-ZHCVV36H.js → chunk-FZJ3E7JA.js} +579 -371
- package/dist/{chunk-34LXTZYA.js → chunk-IDP5KXE6.js} +632 -424
- package/dist/{chunk-HJ7XFSJK.js → chunk-KS74VVON.js} +262 -150
- package/dist/{chunk-Y6Z6XAFN.js → chunk-PPFFVFUI.js} +266 -154
- package/dist/{chunk-5BKOSJEU.js → chunk-WKT3H4P4.js} +731 -409
- package/dist/{chunk-F2ZZ5J3F.js → chunk-XXHHUIEV.js} +575 -367
- package/dist/{chunk-4S36DRJ4.js → chunk-ZA3FDGAD.js} +465 -255
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +12 -12
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +10 -2
- package/src/routes/termdb.cluster.ts +6 -6
- package/src/terms/geneExpression.ts +13 -17
- package/src/terms/numeric.ts +7 -18
- package/src/terms/singleCellGeneExpression.ts +3 -4
|
@@ -43,11 +43,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
43
43
|
const $io9 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io10(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
44
44
|
const $io10 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
45
45
|
const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
|
|
46
|
-
const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $
|
|
47
|
-
const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "
|
|
48
|
-
const $io14 = (input3) => "
|
|
49
|
-
const $io15 = (input3) =>
|
|
50
|
-
const $io16 = (input3) =>
|
|
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 && $iu5(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 && $io23(elem)));
|
|
47
|
+
const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
|
|
48
|
+
const $io14 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
49
|
+
const $io15 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu6(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu6(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
50
|
+
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 && $iu7(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu8(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
51
|
+
const $io17 = (input3) => Object.keys(input3).every((key) => {
|
|
51
52
|
const value = input3[key];
|
|
52
53
|
if (void 0 === value)
|
|
53
54
|
return true;
|
|
@@ -55,22 +56,22 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
55
56
|
return "number" === typeof value;
|
|
56
57
|
return true;
|
|
57
58
|
});
|
|
58
|
-
const $
|
|
59
|
-
const $
|
|
60
|
-
const $
|
|
61
|
-
const $
|
|
62
|
-
const $
|
|
63
|
-
const $
|
|
64
|
-
const $
|
|
65
|
-
const $
|
|
66
|
-
const $
|
|
67
|
-
const $
|
|
68
|
-
const $
|
|
69
|
-
const $
|
|
70
|
-
const $
|
|
71
|
-
const $
|
|
72
|
-
const $
|
|
73
|
-
const $
|
|
59
|
+
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);
|
|
60
|
+
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);
|
|
61
|
+
const $io20 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
62
|
+
const $io21 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
63
|
+
const $io22 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
64
|
+
const $io23 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
65
|
+
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)));
|
|
66
|
+
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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
67
|
+
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;
|
|
68
|
+
const $io27 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io28(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io33(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
69
|
+
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 && $iu9(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));
|
|
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) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io28(elem)));
|
|
71
|
+
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
72
|
+
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
73
|
+
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io28(elem)));
|
|
74
|
+
const $io33 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
74
75
|
const $iu0 = (input3) => (() => {
|
|
75
76
|
if ("tvslst" === input3.type)
|
|
76
77
|
return $io1(input3);
|
|
@@ -87,16 +88,16 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
87
88
|
})();
|
|
88
89
|
const $iu2 = (input3) => (() => {
|
|
89
90
|
if (true === input3.startunbounded)
|
|
90
|
-
return $
|
|
91
|
+
return $io18(input3);
|
|
91
92
|
if (true === input3.stopunbounded)
|
|
92
|
-
return $
|
|
93
|
-
return $
|
|
93
|
+
return $io20(input3);
|
|
94
|
+
return $io19(input3);
|
|
94
95
|
})();
|
|
95
96
|
const $iu3 = (input3) => (() => {
|
|
96
97
|
if ("gene" === input3.kind)
|
|
97
|
-
return $io29(input3);
|
|
98
|
-
if ("coord" === input3.kind)
|
|
99
98
|
return $io30(input3);
|
|
99
|
+
if ("coord" === input3.kind)
|
|
100
|
+
return $io31(input3);
|
|
100
101
|
return false;
|
|
101
102
|
})();
|
|
102
103
|
const $iu4 = (input3) => (() => {
|
|
@@ -105,39 +106,46 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
105
106
|
return (() => {
|
|
106
107
|
if ($io3(input3))
|
|
107
108
|
return $io3(input3);
|
|
108
|
-
if ($
|
|
109
|
-
return $
|
|
110
|
-
if ($
|
|
111
|
-
return $
|
|
109
|
+
if ($io24(input3))
|
|
110
|
+
return $io24(input3);
|
|
111
|
+
if ($io27(input3))
|
|
112
|
+
return $io27(input3);
|
|
112
113
|
return false;
|
|
113
114
|
})();
|
|
114
115
|
})();
|
|
115
116
|
const $iu5 = (input3) => (() => {
|
|
117
|
+
if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
|
|
118
|
+
return $io13(input3);
|
|
119
|
+
if ("geneExpression" === input3.type)
|
|
120
|
+
return $io22(input3);
|
|
121
|
+
return false;
|
|
122
|
+
})();
|
|
123
|
+
const $iu6 = (input3) => (() => {
|
|
116
124
|
if ("regular-bin" === input3.type)
|
|
117
|
-
return $
|
|
125
|
+
return $io16(input3);
|
|
118
126
|
if ("custom-bin" === input3.type)
|
|
119
|
-
return $
|
|
127
|
+
return $io21(input3);
|
|
120
128
|
return false;
|
|
121
129
|
})();
|
|
122
|
-
const $
|
|
130
|
+
const $iu7 = (input3) => (() => {
|
|
123
131
|
if (true === input3.startunbounded)
|
|
124
|
-
return $io17(input3);
|
|
125
|
-
if (void 0 !== input3.start)
|
|
126
132
|
return $io18(input3);
|
|
133
|
+
if (void 0 !== input3.start)
|
|
134
|
+
return $io19(input3);
|
|
127
135
|
return false;
|
|
128
136
|
})();
|
|
129
|
-
const $
|
|
137
|
+
const $iu8 = (input3) => (() => {
|
|
130
138
|
if (void 0 !== input3.stop)
|
|
131
|
-
return $io18(input3);
|
|
132
|
-
if (true === input3.stopunbounded)
|
|
133
139
|
return $io19(input3);
|
|
140
|
+
if (true === input3.stopunbounded)
|
|
141
|
+
return $io20(input3);
|
|
134
142
|
return false;
|
|
135
143
|
})();
|
|
136
|
-
const $
|
|
144
|
+
const $iu9 = (input3) => (() => {
|
|
137
145
|
if ("gene" === input3.kind)
|
|
138
|
-
return $
|
|
146
|
+
return $io29(input3);
|
|
139
147
|
if ("coord" === input3.kind)
|
|
140
|
-
return $
|
|
148
|
+
return $io32(input3);
|
|
141
149
|
return false;
|
|
142
150
|
})();
|
|
143
151
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -497,11 +505,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
497
505
|
value: input3.isnot
|
|
498
506
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
499
507
|
path: _path2 + ".term",
|
|
500
|
-
expected: "
|
|
508
|
+
expected: "(GeneExpressionTerm | NumericDictTerm)",
|
|
501
509
|
value: input3.term
|
|
502
|
-
})) && $
|
|
510
|
+
})) && $vu5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
503
511
|
path: _path2 + ".term",
|
|
504
|
-
expected: "
|
|
512
|
+
expected: "(GeneExpressionTerm | NumericDictTerm)",
|
|
505
513
|
value: input3.term
|
|
506
514
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
507
515
|
path: _path2 + ".ranges",
|
|
@@ -527,7 +535,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
527
535
|
path: _path2 + ".values[" + _index9 + "]",
|
|
528
536
|
expected: "__type.o3",
|
|
529
537
|
value: elem
|
|
530
|
-
})) && $
|
|
538
|
+
})) && $vo23(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
531
539
|
path: _path2 + ".values[" + _index9 + "]",
|
|
532
540
|
expected: "__type.o3",
|
|
533
541
|
value: elem
|
|
@@ -544,9 +552,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
544
552
|
path: _path2 + ".name",
|
|
545
553
|
expected: "string",
|
|
546
554
|
value: input3.name
|
|
547
|
-
}), "integer" === input3.type || "float" === input3.type || "
|
|
555
|
+
}), "integer" === input3.type || "float" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
548
556
|
path: _path2 + ".type",
|
|
549
|
-
expected: '("date" | "float" | "
|
|
557
|
+
expected: '("date" | "float" | "integer")',
|
|
550
558
|
value: input3.type
|
|
551
559
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
552
560
|
path: _path2 + ".child_types",
|
|
@@ -592,32 +600,41 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
592
600
|
path: _path2 + ".skipValuesBuild",
|
|
593
601
|
expected: "(boolean | undefined)",
|
|
594
602
|
value: input3.skipValuesBuild
|
|
595
|
-
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
596
|
-
path: _path2 + ".bins",
|
|
597
|
-
expected: "PresetNumericBins",
|
|
598
|
-
value: input3.bins
|
|
599
|
-
})) && $vo14(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
600
|
-
path: _path2 + ".bins",
|
|
601
|
-
expected: "PresetNumericBins",
|
|
602
|
-
value: input3.bins
|
|
603
|
-
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
604
|
-
path: _path2 + ".unit",
|
|
605
|
-
expected: "(string | undefined)",
|
|
606
|
-
value: input3.unit
|
|
607
603
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
608
604
|
path: _path2 + ".continuousColorScale",
|
|
609
605
|
expected: "(__type.o2 | undefined)",
|
|
610
606
|
value: input3.continuousColorScale
|
|
611
|
-
})) && $
|
|
607
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
612
608
|
path: _path2 + ".continuousColorScale",
|
|
613
609
|
expected: "(__type.o2 | undefined)",
|
|
614
610
|
value: input3.continuousColorScale
|
|
611
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
612
|
+
path: _path2 + ".unit",
|
|
613
|
+
expected: "(string | undefined)",
|
|
614
|
+
value: input3.unit
|
|
615
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
616
|
+
path: _path2 + ".bins",
|
|
617
|
+
expected: "PresetNumericBins",
|
|
618
|
+
value: input3.bins
|
|
619
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
620
|
+
path: _path2 + ".bins",
|
|
621
|
+
expected: "PresetNumericBins",
|
|
622
|
+
value: input3.bins
|
|
623
|
+
})].every((flag) => flag);
|
|
624
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
625
|
+
path: _path2 + ".minColor",
|
|
626
|
+
expected: "string",
|
|
627
|
+
value: input3.minColor
|
|
628
|
+
}), "string" === typeof input3.maxColor || $report(_exceptionable2, {
|
|
629
|
+
path: _path2 + ".maxColor",
|
|
630
|
+
expected: "string",
|
|
631
|
+
value: input3.maxColor
|
|
615
632
|
})].every((flag) => flag);
|
|
616
|
-
const $
|
|
633
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
617
634
|
path: _path2 + '["default"]',
|
|
618
635
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
619
636
|
value: input3["default"]
|
|
620
|
-
})) && $
|
|
637
|
+
})) && $vu6(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
621
638
|
path: _path2 + '["default"]',
|
|
622
639
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
623
640
|
value: input3["default"]
|
|
@@ -625,7 +642,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
625
642
|
path: _path2 + ".less",
|
|
626
643
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
627
644
|
value: input3.less
|
|
628
|
-
})) && $
|
|
645
|
+
})) && $vu6(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
629
646
|
path: _path2 + ".less",
|
|
630
647
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
631
648
|
value: input3.less
|
|
@@ -650,11 +667,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
650
667
|
expected: "(number | undefined)",
|
|
651
668
|
value: input3.max
|
|
652
669
|
})].every((flag) => flag);
|
|
653
|
-
const $
|
|
670
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
654
671
|
path: _path2 + ".hiddenValues",
|
|
655
672
|
expected: "(HiddenValues | undefined)",
|
|
656
673
|
value: input3.hiddenValues
|
|
657
|
-
})) && $
|
|
674
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
658
675
|
path: _path2 + ".hiddenValues",
|
|
659
676
|
expected: "(HiddenValues | undefined)",
|
|
660
677
|
value: input3.hiddenValues
|
|
@@ -686,7 +703,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
686
703
|
path: _path2 + ".first_bin",
|
|
687
704
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
688
705
|
value: input3.first_bin
|
|
689
|
-
})) && $
|
|
706
|
+
})) && $vu7(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
690
707
|
path: _path2 + ".first_bin",
|
|
691
708
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
692
709
|
value: input3.first_bin
|
|
@@ -694,7 +711,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
694
711
|
path: _path2 + ".last_bin",
|
|
695
712
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
696
713
|
value: input3.last_bin
|
|
697
|
-
})) && $
|
|
714
|
+
})) && $vu8(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
698
715
|
path: _path2 + ".last_bin",
|
|
699
716
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
700
717
|
value: input3.last_bin
|
|
@@ -703,7 +720,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
703
720
|
expected: "(number | undefined)",
|
|
704
721
|
value: input3.label_offset
|
|
705
722
|
})].every((flag) => flag);
|
|
706
|
-
const $
|
|
723
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
707
724
|
const value = input3[key];
|
|
708
725
|
if (void 0 === value)
|
|
709
726
|
return true;
|
|
@@ -715,7 +732,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
715
732
|
});
|
|
716
733
|
return true;
|
|
717
734
|
}).every((flag) => flag)].every((flag) => flag);
|
|
718
|
-
const $
|
|
735
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
719
736
|
path: _path2 + ".startunbounded",
|
|
720
737
|
expected: "true",
|
|
721
738
|
value: input3.startunbounded
|
|
@@ -740,7 +757,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
740
757
|
expected: "(string | undefined)",
|
|
741
758
|
value: input3.label
|
|
742
759
|
})].every((flag) => flag);
|
|
743
|
-
const $
|
|
760
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
744
761
|
path: _path2 + ".startunbounded",
|
|
745
762
|
expected: "(false | undefined)",
|
|
746
763
|
value: input3.startunbounded
|
|
@@ -769,7 +786,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
769
786
|
expected: "(string | undefined)",
|
|
770
787
|
value: input3.label
|
|
771
788
|
})].every((flag) => flag);
|
|
772
|
-
const $
|
|
789
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
773
790
|
path: _path2 + ".start",
|
|
774
791
|
expected: "number",
|
|
775
792
|
value: input3.start
|
|
@@ -794,11 +811,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
794
811
|
expected: "(string | undefined)",
|
|
795
812
|
value: input3.label
|
|
796
813
|
})].every((flag) => flag);
|
|
797
|
-
const $
|
|
814
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
798
815
|
path: _path2 + ".hiddenValues",
|
|
799
816
|
expected: "(HiddenValues | undefined)",
|
|
800
817
|
value: input3.hiddenValues
|
|
801
|
-
})) && $
|
|
818
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
802
819
|
path: _path2 + ".hiddenValues",
|
|
803
820
|
expected: "(HiddenValues | undefined)",
|
|
804
821
|
value: input3.hiddenValues
|
|
@@ -861,16 +878,100 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
861
878
|
expected: '("median" | undefined)',
|
|
862
879
|
value: input3.preferredBins
|
|
863
880
|
})].every((flag) => flag);
|
|
864
|
-
const $
|
|
865
|
-
path: _path2 + ".
|
|
881
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
882
|
+
path: _path2 + ".id",
|
|
866
883
|
expected: "string",
|
|
867
|
-
value: input3.
|
|
868
|
-
}), "string" === typeof input3.
|
|
869
|
-
path: _path2 + ".
|
|
884
|
+
value: input3.id
|
|
885
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
886
|
+
path: _path2 + ".name",
|
|
870
887
|
expected: "string",
|
|
871
|
-
value: input3.
|
|
888
|
+
value: input3.name
|
|
889
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
890
|
+
path: _path2 + ".type",
|
|
891
|
+
expected: '"geneExpression"',
|
|
892
|
+
value: input3.type
|
|
893
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
894
|
+
path: _path2 + ".child_types",
|
|
895
|
+
expected: "(Array<string> | undefined)",
|
|
896
|
+
value: input3.child_types
|
|
897
|
+
})) && input3.child_types.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable2, {
|
|
898
|
+
path: _path2 + ".child_types[" + _index13 + "]",
|
|
899
|
+
expected: "string",
|
|
900
|
+
value: elem
|
|
901
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
902
|
+
path: _path2 + ".child_types",
|
|
903
|
+
expected: "(Array<string> | undefined)",
|
|
904
|
+
value: input3.child_types
|
|
905
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
906
|
+
path: _path2 + ".hashtmldetail",
|
|
907
|
+
expected: "(boolean | undefined)",
|
|
908
|
+
value: input3.hashtmldetail
|
|
909
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
910
|
+
path: _path2 + ".included_types",
|
|
911
|
+
expected: "(Array<string> | undefined)",
|
|
912
|
+
value: input3.included_types
|
|
913
|
+
})) && input3.included_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
914
|
+
path: _path2 + ".included_types[" + _index14 + "]",
|
|
915
|
+
expected: "string",
|
|
916
|
+
value: elem
|
|
917
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
918
|
+
path: _path2 + ".included_types",
|
|
919
|
+
expected: "(Array<string> | undefined)",
|
|
920
|
+
value: input3.included_types
|
|
921
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
922
|
+
path: _path2 + ".isleaf",
|
|
923
|
+
expected: "(boolean | undefined)",
|
|
924
|
+
value: input3.isleaf
|
|
925
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
926
|
+
path: _path2 + ".values",
|
|
927
|
+
expected: "(TermValues | undefined)",
|
|
928
|
+
value: input3.values
|
|
929
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
930
|
+
path: _path2 + ".values",
|
|
931
|
+
expected: "(TermValues | undefined)",
|
|
932
|
+
value: input3.values
|
|
933
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
934
|
+
path: _path2 + ".skipValuesBuild",
|
|
935
|
+
expected: "(boolean | undefined)",
|
|
936
|
+
value: input3.skipValuesBuild
|
|
937
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
938
|
+
path: _path2 + ".continuousColorScale",
|
|
939
|
+
expected: "(__type.o2 | undefined)",
|
|
940
|
+
value: input3.continuousColorScale
|
|
941
|
+
})) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
942
|
+
path: _path2 + ".continuousColorScale",
|
|
943
|
+
expected: "(__type.o2 | undefined)",
|
|
944
|
+
value: input3.continuousColorScale
|
|
945
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
946
|
+
path: _path2 + ".unit",
|
|
947
|
+
expected: "(string | undefined)",
|
|
948
|
+
value: input3.unit
|
|
949
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
950
|
+
path: _path2 + ".gene",
|
|
951
|
+
expected: "string",
|
|
952
|
+
value: input3.gene
|
|
953
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
954
|
+
path: _path2 + ".bins",
|
|
955
|
+
expected: "(PresetNumericBins | undefined)",
|
|
956
|
+
value: input3.bins
|
|
957
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
958
|
+
path: _path2 + ".bins",
|
|
959
|
+
expected: "(PresetNumericBins | undefined)",
|
|
960
|
+
value: input3.bins
|
|
961
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
962
|
+
path: _path2 + ".chr",
|
|
963
|
+
expected: "(string | undefined)",
|
|
964
|
+
value: input3.chr
|
|
965
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
966
|
+
path: _path2 + ".start",
|
|
967
|
+
expected: "(number | undefined)",
|
|
968
|
+
value: input3.start
|
|
969
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
970
|
+
path: _path2 + ".stop",
|
|
971
|
+
expected: "(number | undefined)",
|
|
972
|
+
value: input3.stop
|
|
872
973
|
})].every((flag) => flag);
|
|
873
|
-
const $
|
|
974
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
874
975
|
path: _path2 + ".key",
|
|
875
976
|
expected: "string",
|
|
876
977
|
value: input3.key
|
|
@@ -887,7 +988,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
887
988
|
expected: "(string | undefined)",
|
|
888
989
|
value: input3.label
|
|
889
990
|
})].every((flag) => flag);
|
|
890
|
-
const $
|
|
991
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
891
992
|
path: _path2 + ".join",
|
|
892
993
|
expected: "(string | undefined)",
|
|
893
994
|
value: input3.join
|
|
@@ -899,7 +1000,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
899
1000
|
path: _path2 + ".term",
|
|
900
1001
|
expected: "ConditionTerm",
|
|
901
1002
|
value: input3.term
|
|
902
|
-
})) && $
|
|
1003
|
+
})) && $vo25(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
903
1004
|
path: _path2 + ".term",
|
|
904
1005
|
expected: "ConditionTerm",
|
|
905
1006
|
value: input3.term
|
|
@@ -919,12 +1020,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
919
1020
|
path: _path2 + ".grade_and_child",
|
|
920
1021
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
921
1022
|
value: input3.grade_and_child
|
|
922
|
-
})) && input3.grade_and_child.map((elem,
|
|
923
|
-
path: _path2 + ".grade_and_child[" +
|
|
1023
|
+
})) && input3.grade_and_child.map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1024
|
+
path: _path2 + ".grade_and_child[" + _index15 + "]",
|
|
924
1025
|
expected: "GradeAndChildEntry",
|
|
925
1026
|
value: elem
|
|
926
|
-
})) && $
|
|
927
|
-
path: _path2 + ".grade_and_child[" +
|
|
1027
|
+
})) && $vo26(elem, _path2 + ".grade_and_child[" + _index15 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1028
|
+
path: _path2 + ".grade_and_child[" + _index15 + "]",
|
|
928
1029
|
expected: "GradeAndChildEntry",
|
|
929
1030
|
value: elem
|
|
930
1031
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -932,7 +1033,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
932
1033
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
933
1034
|
value: input3.grade_and_child
|
|
934
1035
|
})].every((flag) => flag);
|
|
935
|
-
const $
|
|
1036
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
936
1037
|
path: _path2 + ".id",
|
|
937
1038
|
expected: "string",
|
|
938
1039
|
value: input3.id
|
|
@@ -948,8 +1049,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
948
1049
|
path: _path2 + ".child_types",
|
|
949
1050
|
expected: "(Array<string> | undefined)",
|
|
950
1051
|
value: input3.child_types
|
|
951
|
-
})) && input3.child_types.map((elem,
|
|
952
|
-
path: _path2 + ".child_types[" +
|
|
1052
|
+
})) && input3.child_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1053
|
+
path: _path2 + ".child_types[" + _index16 + "]",
|
|
953
1054
|
expected: "string",
|
|
954
1055
|
value: elem
|
|
955
1056
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -964,8 +1065,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
964
1065
|
path: _path2 + ".included_types",
|
|
965
1066
|
expected: "(Array<string> | undefined)",
|
|
966
1067
|
value: input3.included_types
|
|
967
|
-
})) && input3.included_types.map((elem,
|
|
968
|
-
path: _path2 + ".included_types[" +
|
|
1068
|
+
})) && input3.included_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1069
|
+
path: _path2 + ".included_types[" + _index17 + "]",
|
|
969
1070
|
expected: "string",
|
|
970
1071
|
value: elem
|
|
971
1072
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -989,7 +1090,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
989
1090
|
expected: "(boolean | undefined)",
|
|
990
1091
|
value: input3.skipValuesBuild
|
|
991
1092
|
})].every((flag) => flag);
|
|
992
|
-
const $
|
|
1093
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
993
1094
|
path: _path2 + ".grade",
|
|
994
1095
|
expected: "number",
|
|
995
1096
|
value: input3.grade
|
|
@@ -1006,7 +1107,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1006
1107
|
expected: "string",
|
|
1007
1108
|
value: input3.child_label
|
|
1008
1109
|
})].every((flag) => flag);
|
|
1009
|
-
const $
|
|
1110
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1010
1111
|
path: _path2 + ".join",
|
|
1011
1112
|
expected: "(string | undefined)",
|
|
1012
1113
|
value: input3.join
|
|
@@ -1018,7 +1119,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1018
1119
|
path: _path2 + ".term",
|
|
1019
1120
|
expected: "DtTerm",
|
|
1020
1121
|
value: input3.term
|
|
1021
|
-
})) && $
|
|
1122
|
+
})) && $vo28(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1022
1123
|
path: _path2 + ".term",
|
|
1023
1124
|
expected: "DtTerm",
|
|
1024
1125
|
value: input3.term
|
|
@@ -1026,12 +1127,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1026
1127
|
path: _path2 + ".values",
|
|
1027
1128
|
expected: "Array<__type>.o2",
|
|
1028
1129
|
value: input3.values
|
|
1029
|
-
})) && input3.values.map((elem,
|
|
1030
|
-
path: _path2 + ".values[" +
|
|
1130
|
+
})) && input3.values.map((elem, _index18) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1131
|
+
path: _path2 + ".values[" + _index18 + "]",
|
|
1031
1132
|
expected: "__type.o4",
|
|
1032
1133
|
value: elem
|
|
1033
|
-
})) && $
|
|
1034
|
-
path: _path2 + ".values[" +
|
|
1134
|
+
})) && $vo33(elem, _path2 + ".values[" + _index18 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1135
|
+
path: _path2 + ".values[" + _index18 + "]",
|
|
1035
1136
|
expected: "__type.o4",
|
|
1036
1137
|
value: elem
|
|
1037
1138
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1047,7 +1148,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1047
1148
|
expected: "(boolean | undefined)",
|
|
1048
1149
|
value: input3.excludeGeneName
|
|
1049
1150
|
})].every((flag) => flag);
|
|
1050
|
-
const $
|
|
1151
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1051
1152
|
path: _path2 + ".id",
|
|
1052
1153
|
expected: "string",
|
|
1053
1154
|
value: input3.id
|
|
@@ -1067,7 +1168,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1067
1168
|
path: _path2 + ".parentTerm",
|
|
1068
1169
|
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1069
1170
|
value: input3.parentTerm
|
|
1070
|
-
})) && $
|
|
1171
|
+
})) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1071
1172
|
path: _path2 + ".parentTerm",
|
|
1072
1173
|
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1073
1174
|
value: input3.parentTerm
|
|
@@ -1096,7 +1197,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1096
1197
|
expected: "TermValues",
|
|
1097
1198
|
value: input3.values
|
|
1098
1199
|
})].every((flag) => flag);
|
|
1099
|
-
const $
|
|
1200
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1100
1201
|
path: _path2 + ".id",
|
|
1101
1202
|
expected: "string",
|
|
1102
1203
|
value: input3.id
|
|
@@ -1112,8 +1213,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1112
1213
|
path: _path2 + ".child_types",
|
|
1113
1214
|
expected: "(Array<string> | undefined)",
|
|
1114
1215
|
value: input3.child_types
|
|
1115
|
-
})) && input3.child_types.map((elem,
|
|
1116
|
-
path: _path2 + ".child_types[" +
|
|
1216
|
+
})) && input3.child_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1217
|
+
path: _path2 + ".child_types[" + _index19 + "]",
|
|
1117
1218
|
expected: "string",
|
|
1118
1219
|
value: elem
|
|
1119
1220
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1128,8 +1229,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1128
1229
|
path: _path2 + ".included_types",
|
|
1129
1230
|
expected: "(Array<string> | undefined)",
|
|
1130
1231
|
value: input3.included_types
|
|
1131
|
-
})) && input3.included_types.map((elem,
|
|
1132
|
-
path: _path2 + ".included_types[" +
|
|
1232
|
+
})) && input3.included_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1233
|
+
path: _path2 + ".included_types[" + _index20 + "]",
|
|
1133
1234
|
expected: "string",
|
|
1134
1235
|
value: elem
|
|
1135
1236
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1176,12 +1277,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1176
1277
|
path: _path2 + ".genes",
|
|
1177
1278
|
expected: "Array<GvGeneTerm>",
|
|
1178
1279
|
value: input3.genes
|
|
1179
|
-
})) && input3.genes.map((elem,
|
|
1180
|
-
path: _path2 + ".genes[" +
|
|
1280
|
+
})) && input3.genes.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1281
|
+
path: _path2 + ".genes[" + _index21 + "]",
|
|
1181
1282
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1182
1283
|
value: elem
|
|
1183
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1184
|
-
path: _path2 + ".genes[" +
|
|
1284
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index21 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1285
|
+
path: _path2 + ".genes[" + _index21 + "]",
|
|
1185
1286
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1186
1287
|
value: elem
|
|
1187
1288
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1200,12 +1301,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1200
1301
|
path: _path2 + ".childTerms",
|
|
1201
1302
|
expected: "(Array<DtTerm> | undefined)",
|
|
1202
1303
|
value: input3.childTerms
|
|
1203
|
-
})) && input3.childTerms.map((elem,
|
|
1204
|
-
path: _path2 + ".childTerms[" +
|
|
1304
|
+
})) && input3.childTerms.map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1305
|
+
path: _path2 + ".childTerms[" + _index22 + "]",
|
|
1205
1306
|
expected: "DtTerm",
|
|
1206
1307
|
value: elem
|
|
1207
|
-
})) && $
|
|
1208
|
-
path: _path2 + ".childTerms[" +
|
|
1308
|
+
})) && $vo28(elem, _path2 + ".childTerms[" + _index22 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1309
|
+
path: _path2 + ".childTerms[" + _index22 + "]",
|
|
1209
1310
|
expected: "DtTerm",
|
|
1210
1311
|
value: elem
|
|
1211
1312
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1213,7 +1314,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1213
1314
|
expected: "(Array<DtTerm> | undefined)",
|
|
1214
1315
|
value: input3.childTerms
|
|
1215
1316
|
})].every((flag) => flag);
|
|
1216
|
-
const $
|
|
1317
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1217
1318
|
path: _path2 + ".id",
|
|
1218
1319
|
expected: "string",
|
|
1219
1320
|
value: input3.id
|
|
@@ -1229,8 +1330,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1229
1330
|
path: _path2 + ".child_types",
|
|
1230
1331
|
expected: "(Array<string> | undefined)",
|
|
1231
1332
|
value: input3.child_types
|
|
1232
|
-
})) && input3.child_types.map((elem,
|
|
1233
|
-
path: _path2 + ".child_types[" +
|
|
1333
|
+
})) && input3.child_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1334
|
+
path: _path2 + ".child_types[" + _index23 + "]",
|
|
1234
1335
|
expected: "string",
|
|
1235
1336
|
value: elem
|
|
1236
1337
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1245,8 +1346,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1245
1346
|
path: _path2 + ".included_types",
|
|
1246
1347
|
expected: "(Array<string> | undefined)",
|
|
1247
1348
|
value: input3.included_types
|
|
1248
|
-
})) && input3.included_types.map((elem,
|
|
1249
|
-
path: _path2 + ".included_types[" +
|
|
1349
|
+
})) && input3.included_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1350
|
+
path: _path2 + ".included_types[" + _index24 + "]",
|
|
1250
1351
|
expected: "string",
|
|
1251
1352
|
value: elem
|
|
1252
1353
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1290,7 +1391,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1290
1391
|
expected: "(number | undefined)",
|
|
1291
1392
|
value: input3.stop
|
|
1292
1393
|
})].every((flag) => flag);
|
|
1293
|
-
const $
|
|
1394
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1294
1395
|
path: _path2 + ".id",
|
|
1295
1396
|
expected: "string",
|
|
1296
1397
|
value: input3.id
|
|
@@ -1306,8 +1407,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1306
1407
|
path: _path2 + ".child_types",
|
|
1307
1408
|
expected: "(Array<string> | undefined)",
|
|
1308
1409
|
value: input3.child_types
|
|
1309
|
-
})) && input3.child_types.map((elem,
|
|
1310
|
-
path: _path2 + ".child_types[" +
|
|
1410
|
+
})) && input3.child_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1411
|
+
path: _path2 + ".child_types[" + _index25 + "]",
|
|
1311
1412
|
expected: "string",
|
|
1312
1413
|
value: elem
|
|
1313
1414
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1322,8 +1423,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1322
1423
|
path: _path2 + ".included_types",
|
|
1323
1424
|
expected: "(Array<string> | undefined)",
|
|
1324
1425
|
value: input3.included_types
|
|
1325
|
-
})) && input3.included_types.map((elem,
|
|
1326
|
-
path: _path2 + ".included_types[" +
|
|
1426
|
+
})) && input3.included_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1427
|
+
path: _path2 + ".included_types[" + _index26 + "]",
|
|
1327
1428
|
expected: "string",
|
|
1328
1429
|
value: elem
|
|
1329
1430
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1363,7 +1464,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1363
1464
|
expected: "number",
|
|
1364
1465
|
value: input3.stop
|
|
1365
1466
|
})].every((flag) => flag);
|
|
1366
|
-
const $
|
|
1467
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1367
1468
|
path: _path2 + ".id",
|
|
1368
1469
|
expected: "string",
|
|
1369
1470
|
value: input3.id
|
|
@@ -1379,8 +1480,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1379
1480
|
path: _path2 + ".child_types",
|
|
1380
1481
|
expected: "(Array<string> | undefined)",
|
|
1381
1482
|
value: input3.child_types
|
|
1382
|
-
})) && input3.child_types.map((elem,
|
|
1383
|
-
path: _path2 + ".child_types[" +
|
|
1483
|
+
})) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1484
|
+
path: _path2 + ".child_types[" + _index27 + "]",
|
|
1384
1485
|
expected: "string",
|
|
1385
1486
|
value: elem
|
|
1386
1487
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1395,8 +1496,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1395
1496
|
path: _path2 + ".included_types",
|
|
1396
1497
|
expected: "(Array<string> | undefined)",
|
|
1397
1498
|
value: input3.included_types
|
|
1398
|
-
})) && input3.included_types.map((elem,
|
|
1399
|
-
path: _path2 + ".included_types[" +
|
|
1499
|
+
})) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1500
|
+
path: _path2 + ".included_types[" + _index28 + "]",
|
|
1400
1501
|
expected: "string",
|
|
1401
1502
|
value: elem
|
|
1402
1503
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1439,12 +1540,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1439
1540
|
path: _path2 + ".genes",
|
|
1440
1541
|
expected: "Array<GvGeneTerm>",
|
|
1441
1542
|
value: input3.genes
|
|
1442
|
-
})) && input3.genes.map((elem,
|
|
1443
|
-
path: _path2 + ".genes[" +
|
|
1543
|
+
})) && input3.genes.map((elem, _index29) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1544
|
+
path: _path2 + ".genes[" + _index29 + "]",
|
|
1444
1545
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1445
1546
|
value: elem
|
|
1446
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1447
|
-
path: _path2 + ".genes[" +
|
|
1547
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index29 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1548
|
+
path: _path2 + ".genes[" + _index29 + "]",
|
|
1448
1549
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1449
1550
|
value: elem
|
|
1450
1551
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1463,12 +1564,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1463
1564
|
path: _path2 + ".childTerms",
|
|
1464
1565
|
expected: "(Array<DtTerm> | undefined)",
|
|
1465
1566
|
value: input3.childTerms
|
|
1466
|
-
})) && input3.childTerms.map((elem,
|
|
1467
|
-
path: _path2 + ".childTerms[" +
|
|
1567
|
+
})) && input3.childTerms.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1568
|
+
path: _path2 + ".childTerms[" + _index30 + "]",
|
|
1468
1569
|
expected: "DtTerm",
|
|
1469
1570
|
value: elem
|
|
1470
|
-
})) && $
|
|
1471
|
-
path: _path2 + ".childTerms[" +
|
|
1571
|
+
})) && $vo28(elem, _path2 + ".childTerms[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1572
|
+
path: _path2 + ".childTerms[" + _index30 + "]",
|
|
1472
1573
|
expected: "DtTerm",
|
|
1473
1574
|
value: elem
|
|
1474
1575
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1476,7 +1577,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1476
1577
|
expected: "(Array<DtTerm> | undefined)",
|
|
1477
1578
|
value: input3.childTerms
|
|
1478
1579
|
})].every((flag) => flag);
|
|
1479
|
-
const $
|
|
1580
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1480
1581
|
path: _path2 + ".key",
|
|
1481
1582
|
expected: "string",
|
|
1482
1583
|
value: input3.key
|
|
@@ -1513,16 +1614,16 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1513
1614
|
})();
|
|
1514
1615
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1515
1616
|
if (true === input3.startunbounded)
|
|
1516
|
-
return $
|
|
1617
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1517
1618
|
if (true === input3.stopunbounded)
|
|
1518
|
-
return $
|
|
1519
|
-
return $
|
|
1619
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1620
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1520
1621
|
})();
|
|
1521
1622
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1522
1623
|
if ("gene" === input3.kind)
|
|
1523
|
-
return $vo29(input3, _path2, _exceptionable2);
|
|
1524
|
-
if ("coord" === input3.kind)
|
|
1525
1624
|
return $vo30(input3, _path2, _exceptionable2);
|
|
1625
|
+
if ("coord" === input3.kind)
|
|
1626
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
1526
1627
|
return $report(_exceptionable2, {
|
|
1527
1628
|
path: _path2,
|
|
1528
1629
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -1532,46 +1633,57 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1532
1633
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1533
1634
|
if (void 0 !== input3.ranges)
|
|
1534
1635
|
return $vo12(input3, _path2, _exceptionable2);
|
|
1535
|
-
return $vo3(input3, _path2, false) || $
|
|
1636
|
+
return $vo3(input3, _path2, false) || $vo24(input3, _path2, false) || $vo27(input3, _path2, false);
|
|
1536
1637
|
})();
|
|
1537
1638
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1639
|
+
if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
|
|
1640
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
1641
|
+
if ("geneExpression" === input3.type)
|
|
1642
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1643
|
+
return $report(_exceptionable2, {
|
|
1644
|
+
path: _path2,
|
|
1645
|
+
expected: "(NumericDictTerm | GeneExpressionTerm)",
|
|
1646
|
+
value: input3
|
|
1647
|
+
});
|
|
1648
|
+
})();
|
|
1649
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1538
1650
|
if ("regular-bin" === input3.type)
|
|
1539
|
-
return $
|
|
1651
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
1540
1652
|
if ("custom-bin" === input3.type)
|
|
1541
|
-
return $
|
|
1653
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
1542
1654
|
return $report(_exceptionable2, {
|
|
1543
1655
|
path: _path2,
|
|
1544
1656
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
1545
1657
|
value: input3
|
|
1546
1658
|
});
|
|
1547
1659
|
})();
|
|
1548
|
-
const $
|
|
1660
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1549
1661
|
if (true === input3.startunbounded)
|
|
1550
|
-
return $vo17(input3, _path2, _exceptionable2);
|
|
1551
|
-
if (void 0 !== input3.start)
|
|
1552
1662
|
return $vo18(input3, _path2, _exceptionable2);
|
|
1663
|
+
if (void 0 !== input3.start)
|
|
1664
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1553
1665
|
return $report(_exceptionable2, {
|
|
1554
1666
|
path: _path2,
|
|
1555
1667
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
1556
1668
|
value: input3
|
|
1557
1669
|
});
|
|
1558
1670
|
})();
|
|
1559
|
-
const $
|
|
1671
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1560
1672
|
if (void 0 !== input3.stop)
|
|
1561
|
-
return $vo18(input3, _path2, _exceptionable2);
|
|
1562
|
-
if (true === input3.stopunbounded)
|
|
1563
1673
|
return $vo19(input3, _path2, _exceptionable2);
|
|
1674
|
+
if (true === input3.stopunbounded)
|
|
1675
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1564
1676
|
return $report(_exceptionable2, {
|
|
1565
1677
|
path: _path2,
|
|
1566
1678
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1567
1679
|
value: input3
|
|
1568
1680
|
});
|
|
1569
1681
|
})();
|
|
1570
|
-
const $
|
|
1682
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1571
1683
|
if ("gene" === input3.kind)
|
|
1572
|
-
return $
|
|
1684
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
1573
1685
|
if ("coord" === input3.kind)
|
|
1574
|
-
return $
|
|
1686
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
1575
1687
|
return $report(_exceptionable2, {
|
|
1576
1688
|
path: _path2,
|
|
1577
1689
|
expected: '(BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|
|
@@ -1601,7 +1713,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1601
1713
|
const __is = (input2) => {
|
|
1602
1714
|
const $join = import_typia.createValidate.join;
|
|
1603
1715
|
const $io0 = (input3) => Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem));
|
|
1604
|
-
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) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu4(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $
|
|
1716
|
+
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) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu4(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io29(elem)));
|
|
1605
1717
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
1606
1718
|
const value = input3[key];
|
|
1607
1719
|
if (void 0 === value)
|
|
@@ -1622,11 +1734,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1622
1734
|
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);
|
|
1623
1735
|
const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
1624
1736
|
const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io4(input3.filter)) && "string" === typeof input3.color;
|
|
1625
|
-
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 && $
|
|
1626
|
-
const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "
|
|
1627
|
-
const $io15 = (input3) => "
|
|
1628
|
-
const $io16 = (input3) =>
|
|
1629
|
-
const $io17 = (input3) =>
|
|
1737
|
+
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 && $iu6(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 && $io24(elem)));
|
|
1738
|
+
const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
1739
|
+
const $io15 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
1740
|
+
const $io16 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu7(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu7(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);
|
|
1741
|
+
const $io17 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu8(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu9(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
1742
|
+
const $io18 = (input3) => Object.keys(input3).every((key) => {
|
|
1630
1743
|
const value = input3[key];
|
|
1631
1744
|
if (void 0 === value)
|
|
1632
1745
|
return true;
|
|
@@ -1634,59 +1747,62 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1634
1747
|
return "number" === typeof value;
|
|
1635
1748
|
return true;
|
|
1636
1749
|
});
|
|
1637
|
-
const $
|
|
1638
|
-
const $
|
|
1639
|
-
const $
|
|
1640
|
-
const $
|
|
1641
|
-
const $
|
|
1642
|
-
const $
|
|
1643
|
-
const $
|
|
1644
|
-
const $
|
|
1645
|
-
const $
|
|
1646
|
-
const $
|
|
1647
|
-
const $
|
|
1648
|
-
const $
|
|
1649
|
-
const $
|
|
1650
|
-
const $
|
|
1651
|
-
const $
|
|
1652
|
-
const $
|
|
1653
|
-
const $
|
|
1654
|
-
const $
|
|
1655
|
-
const $
|
|
1656
|
-
const $
|
|
1657
|
-
const $
|
|
1658
|
-
const $
|
|
1659
|
-
const $
|
|
1660
|
-
const $
|
|
1661
|
-
const $
|
|
1662
|
-
const $
|
|
1750
|
+
const $io19 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
1751
|
+
const $io20 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
1752
|
+
const $io21 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
1753
|
+
const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $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);
|
|
1754
|
+
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
1755
|
+
const $io24 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
1756
|
+
const $io25 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io26(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io27(elem)));
|
|
1757
|
+
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
1758
|
+
const $io27 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
|
|
1759
|
+
const $io28 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io29(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io34(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
1760
|
+
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu10(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values));
|
|
1761
|
+
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) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu4(elem))) && (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 && $io29(elem)));
|
|
1762
|
+
const $io31 = (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) && "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);
|
|
1763
|
+
const $io32 = (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) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
1764
|
+
const $io33 = (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 && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu4(elem))) && (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 && $io29(elem)));
|
|
1765
|
+
const $io34 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
1766
|
+
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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 && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu4(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io29(elem)));
|
|
1767
|
+
const $io36 = (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));
|
|
1768
|
+
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
1769
|
+
const $io38 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
1770
|
+
const $io39 = (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);
|
|
1771
|
+
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) && $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 && $io41(elem)));
|
|
1772
|
+
const $io41 = (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 && $io42(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io43(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);
|
|
1773
|
+
const $io42 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
1774
|
+
const $io43 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
1775
|
+
const $io44 = (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) && $io45(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
1776
|
+
const $io45 = (input3) => Object.keys(input3).every((key) => {
|
|
1663
1777
|
const value = input3[key];
|
|
1664
1778
|
if (void 0 === value)
|
|
1665
1779
|
return true;
|
|
1666
1780
|
if (RegExp(/(.*)/).test(key))
|
|
1667
|
-
return "object" === typeof value && null !== value && $
|
|
1781
|
+
return "object" === typeof value && null !== value && $io46(value);
|
|
1668
1782
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
1669
|
-
return "object" === typeof value && null !== value && $
|
|
1783
|
+
return "object" === typeof value && null !== value && $io46(value);
|
|
1670
1784
|
return true;
|
|
1671
1785
|
});
|
|
1672
|
-
const $
|
|
1673
|
-
const $
|
|
1786
|
+
const $io46 = (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 && $io47(elem))) && true;
|
|
1787
|
+
const $io47 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
1674
1788
|
const $iu0 = (input3) => (() => {
|
|
1675
1789
|
if ("gene" === input3.kind)
|
|
1676
1790
|
return $io1(input3);
|
|
1677
1791
|
if ("coord" === input3.kind)
|
|
1678
|
-
return $io34(input3);
|
|
1679
|
-
if ("categorical" === input3.type)
|
|
1680
1792
|
return $io35(input3);
|
|
1681
|
-
if ("
|
|
1793
|
+
if ("categorical" === input3.type)
|
|
1682
1794
|
return $io36(input3);
|
|
1683
|
-
if ("
|
|
1795
|
+
if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
|
|
1684
1796
|
return $io37(input3);
|
|
1797
|
+
if ("geneExpression" === input3.type)
|
|
1798
|
+
return $io38(input3);
|
|
1799
|
+
if ("condition" === input3.type)
|
|
1800
|
+
return $io39(input3);
|
|
1685
1801
|
return (() => {
|
|
1686
|
-
if ($
|
|
1687
|
-
return $
|
|
1688
|
-
if ($
|
|
1689
|
-
return $
|
|
1802
|
+
if ($io40(input3))
|
|
1803
|
+
return $io40(input3);
|
|
1804
|
+
if ($io44(input3))
|
|
1805
|
+
return $io44(input3);
|
|
1690
1806
|
return false;
|
|
1691
1807
|
})();
|
|
1692
1808
|
})();
|
|
@@ -1706,16 +1822,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1706
1822
|
})();
|
|
1707
1823
|
const $iu3 = (input3) => (() => {
|
|
1708
1824
|
if (true === input3.startunbounded)
|
|
1709
|
-
return $
|
|
1825
|
+
return $io19(input3);
|
|
1710
1826
|
if (true === input3.stopunbounded)
|
|
1711
|
-
return $
|
|
1712
|
-
return $
|
|
1827
|
+
return $io21(input3);
|
|
1828
|
+
return $io20(input3);
|
|
1713
1829
|
})();
|
|
1714
1830
|
const $iu4 = (input3) => (() => {
|
|
1715
1831
|
if ("gene" === input3.kind)
|
|
1716
|
-
return $io30(input3);
|
|
1717
|
-
if ("coord" === input3.kind)
|
|
1718
1832
|
return $io31(input3);
|
|
1833
|
+
if ("coord" === input3.kind)
|
|
1834
|
+
return $io32(input3);
|
|
1719
1835
|
return false;
|
|
1720
1836
|
})();
|
|
1721
1837
|
const $iu5 = (input3) => (() => {
|
|
@@ -1724,39 +1840,46 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1724
1840
|
return (() => {
|
|
1725
1841
|
if ($io6(input3))
|
|
1726
1842
|
return $io6(input3);
|
|
1727
|
-
if ($
|
|
1728
|
-
return $
|
|
1729
|
-
if ($
|
|
1730
|
-
return $
|
|
1843
|
+
if ($io25(input3))
|
|
1844
|
+
return $io25(input3);
|
|
1845
|
+
if ($io28(input3))
|
|
1846
|
+
return $io28(input3);
|
|
1731
1847
|
return false;
|
|
1732
1848
|
})();
|
|
1733
1849
|
})();
|
|
1734
1850
|
const $iu6 = (input3) => (() => {
|
|
1851
|
+
if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
|
|
1852
|
+
return $io14(input3);
|
|
1853
|
+
if ("geneExpression" === input3.type)
|
|
1854
|
+
return $io23(input3);
|
|
1855
|
+
return false;
|
|
1856
|
+
})();
|
|
1857
|
+
const $iu7 = (input3) => (() => {
|
|
1735
1858
|
if ("regular-bin" === input3.type)
|
|
1736
|
-
return $
|
|
1859
|
+
return $io17(input3);
|
|
1737
1860
|
if ("custom-bin" === input3.type)
|
|
1738
|
-
return $
|
|
1861
|
+
return $io22(input3);
|
|
1739
1862
|
return false;
|
|
1740
1863
|
})();
|
|
1741
|
-
const $
|
|
1864
|
+
const $iu8 = (input3) => (() => {
|
|
1742
1865
|
if (true === input3.startunbounded)
|
|
1743
|
-
return $io18(input3);
|
|
1744
|
-
if (void 0 !== input3.start)
|
|
1745
1866
|
return $io19(input3);
|
|
1867
|
+
if (void 0 !== input3.start)
|
|
1868
|
+
return $io20(input3);
|
|
1746
1869
|
return false;
|
|
1747
1870
|
})();
|
|
1748
|
-
const $
|
|
1871
|
+
const $iu9 = (input3) => (() => {
|
|
1749
1872
|
if (void 0 !== input3.stop)
|
|
1750
|
-
return $io19(input3);
|
|
1751
|
-
if (true === input3.stopunbounded)
|
|
1752
1873
|
return $io20(input3);
|
|
1874
|
+
if (true === input3.stopunbounded)
|
|
1875
|
+
return $io21(input3);
|
|
1753
1876
|
return false;
|
|
1754
1877
|
})();
|
|
1755
|
-
const $
|
|
1878
|
+
const $iu10 = (input3) => (() => {
|
|
1756
1879
|
if ("gene" === input3.kind)
|
|
1757
|
-
return $
|
|
1880
|
+
return $io30(input3);
|
|
1758
1881
|
if ("coord" === input3.kind)
|
|
1759
|
-
return $
|
|
1882
|
+
return $io33(input3);
|
|
1760
1883
|
return false;
|
|
1761
1884
|
})();
|
|
1762
1885
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -1771,11 +1894,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1771
1894
|
value: input3.terms
|
|
1772
1895
|
})) && input3.terms.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1773
1896
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
1774
|
-
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & {
|
|
1897
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { gene: string; name: string; type: "geneExpression"; bins?: PresetNumericBins | undefined; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; type: "integer" | "float" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
1775
1898
|
value: elem
|
|
1776
1899
|
})) && $vu0(elem, _path2 + ".terms[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1777
1900
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
1778
|
-
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & {
|
|
1901
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { gene: string; name: string; type: "geneExpression"; bins?: PresetNumericBins | undefined; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; type: "integer" | "float" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
1779
1902
|
value: elem
|
|
1780
1903
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1781
1904
|
path: _path2 + ".terms",
|
|
@@ -1890,7 +2013,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1890
2013
|
path: _path2 + ".childTerms[" + _index5 + "]",
|
|
1891
2014
|
expected: "DtTerm",
|
|
1892
2015
|
value: elem
|
|
1893
|
-
})) && $
|
|
2016
|
+
})) && $vo29(elem, _path2 + ".childTerms[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1894
2017
|
path: _path2 + ".childTerms[" + _index5 + "]",
|
|
1895
2018
|
expected: "DtTerm",
|
|
1896
2019
|
value: elem
|
|
@@ -2229,11 +2352,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2229
2352
|
value: input3.isnot
|
|
2230
2353
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2231
2354
|
path: _path2 + ".term",
|
|
2232
|
-
expected: "
|
|
2355
|
+
expected: "(GeneExpressionTerm | NumericDictTerm)",
|
|
2233
2356
|
value: input3.term
|
|
2234
|
-
})) && $
|
|
2357
|
+
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2235
2358
|
path: _path2 + ".term",
|
|
2236
|
-
expected: "
|
|
2359
|
+
expected: "(GeneExpressionTerm | NumericDictTerm)",
|
|
2237
2360
|
value: input3.term
|
|
2238
2361
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
2239
2362
|
path: _path2 + ".ranges",
|
|
@@ -2259,7 +2382,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2259
2382
|
path: _path2 + ".values[" + _index14 + "]",
|
|
2260
2383
|
expected: "__type.o3",
|
|
2261
2384
|
value: elem
|
|
2262
|
-
})) && $
|
|
2385
|
+
})) && $vo24(elem, _path2 + ".values[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2263
2386
|
path: _path2 + ".values[" + _index14 + "]",
|
|
2264
2387
|
expected: "__type.o3",
|
|
2265
2388
|
value: elem
|
|
@@ -2276,9 +2399,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2276
2399
|
path: _path2 + ".name",
|
|
2277
2400
|
expected: "string",
|
|
2278
2401
|
value: input3.name
|
|
2279
|
-
}), "integer" === input3.type || "float" === input3.type || "
|
|
2402
|
+
}), "integer" === input3.type || "float" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
2280
2403
|
path: _path2 + ".type",
|
|
2281
|
-
expected: '("date" | "float" | "
|
|
2404
|
+
expected: '("date" | "float" | "integer")',
|
|
2282
2405
|
value: input3.type
|
|
2283
2406
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2284
2407
|
path: _path2 + ".child_types",
|
|
@@ -2324,32 +2447,41 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2324
2447
|
path: _path2 + ".skipValuesBuild",
|
|
2325
2448
|
expected: "(boolean | undefined)",
|
|
2326
2449
|
value: input3.skipValuesBuild
|
|
2327
|
-
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2328
|
-
path: _path2 + ".bins",
|
|
2329
|
-
expected: "PresetNumericBins",
|
|
2330
|
-
value: input3.bins
|
|
2331
|
-
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2332
|
-
path: _path2 + ".bins",
|
|
2333
|
-
expected: "PresetNumericBins",
|
|
2334
|
-
value: input3.bins
|
|
2335
|
-
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
2336
|
-
path: _path2 + ".unit",
|
|
2337
|
-
expected: "(string | undefined)",
|
|
2338
|
-
value: input3.unit
|
|
2339
2450
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2340
2451
|
path: _path2 + ".continuousColorScale",
|
|
2341
2452
|
expected: "(__type.o2 | undefined)",
|
|
2342
2453
|
value: input3.continuousColorScale
|
|
2343
|
-
})) && $
|
|
2454
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2344
2455
|
path: _path2 + ".continuousColorScale",
|
|
2345
2456
|
expected: "(__type.o2 | undefined)",
|
|
2346
2457
|
value: input3.continuousColorScale
|
|
2458
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
2459
|
+
path: _path2 + ".unit",
|
|
2460
|
+
expected: "(string | undefined)",
|
|
2461
|
+
value: input3.unit
|
|
2462
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2463
|
+
path: _path2 + ".bins",
|
|
2464
|
+
expected: "PresetNumericBins",
|
|
2465
|
+
value: input3.bins
|
|
2466
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2467
|
+
path: _path2 + ".bins",
|
|
2468
|
+
expected: "PresetNumericBins",
|
|
2469
|
+
value: input3.bins
|
|
2347
2470
|
})].every((flag) => flag);
|
|
2348
|
-
const $vo15 = (input3, _path2, _exceptionable2 = true) => [
|
|
2471
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
2472
|
+
path: _path2 + ".minColor",
|
|
2473
|
+
expected: "string",
|
|
2474
|
+
value: input3.minColor
|
|
2475
|
+
}), "string" === typeof input3.maxColor || $report(_exceptionable2, {
|
|
2476
|
+
path: _path2 + ".maxColor",
|
|
2477
|
+
expected: "string",
|
|
2478
|
+
value: input3.maxColor
|
|
2479
|
+
})].every((flag) => flag);
|
|
2480
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
2349
2481
|
path: _path2 + '["default"]',
|
|
2350
2482
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2351
2483
|
value: input3["default"]
|
|
2352
|
-
})) && $
|
|
2484
|
+
})) && $vu7(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
2353
2485
|
path: _path2 + '["default"]',
|
|
2354
2486
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2355
2487
|
value: input3["default"]
|
|
@@ -2357,7 +2489,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2357
2489
|
path: _path2 + ".less",
|
|
2358
2490
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2359
2491
|
value: input3.less
|
|
2360
|
-
})) && $
|
|
2492
|
+
})) && $vu7(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
2361
2493
|
path: _path2 + ".less",
|
|
2362
2494
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2363
2495
|
value: input3.less
|
|
@@ -2382,11 +2514,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2382
2514
|
expected: "(number | undefined)",
|
|
2383
2515
|
value: input3.max
|
|
2384
2516
|
})].every((flag) => flag);
|
|
2385
|
-
const $
|
|
2517
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2386
2518
|
path: _path2 + ".hiddenValues",
|
|
2387
2519
|
expected: "(HiddenValues | undefined)",
|
|
2388
2520
|
value: input3.hiddenValues
|
|
2389
|
-
})) && $
|
|
2521
|
+
})) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2390
2522
|
path: _path2 + ".hiddenValues",
|
|
2391
2523
|
expected: "(HiddenValues | undefined)",
|
|
2392
2524
|
value: input3.hiddenValues
|
|
@@ -2418,7 +2550,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2418
2550
|
path: _path2 + ".first_bin",
|
|
2419
2551
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
2420
2552
|
value: input3.first_bin
|
|
2421
|
-
})) && $
|
|
2553
|
+
})) && $vu8(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
2422
2554
|
path: _path2 + ".first_bin",
|
|
2423
2555
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
2424
2556
|
value: input3.first_bin
|
|
@@ -2426,7 +2558,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2426
2558
|
path: _path2 + ".last_bin",
|
|
2427
2559
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
2428
2560
|
value: input3.last_bin
|
|
2429
|
-
})) && $
|
|
2561
|
+
})) && $vu9(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
2430
2562
|
path: _path2 + ".last_bin",
|
|
2431
2563
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
2432
2564
|
value: input3.last_bin
|
|
@@ -2435,7 +2567,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2435
2567
|
expected: "(number | undefined)",
|
|
2436
2568
|
value: input3.label_offset
|
|
2437
2569
|
})].every((flag) => flag);
|
|
2438
|
-
const $
|
|
2570
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2439
2571
|
const value = input3[key];
|
|
2440
2572
|
if (void 0 === value)
|
|
2441
2573
|
return true;
|
|
@@ -2447,7 +2579,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2447
2579
|
});
|
|
2448
2580
|
return true;
|
|
2449
2581
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2450
|
-
const $
|
|
2582
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
2451
2583
|
path: _path2 + ".startunbounded",
|
|
2452
2584
|
expected: "true",
|
|
2453
2585
|
value: input3.startunbounded
|
|
@@ -2472,7 +2604,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2472
2604
|
expected: "(string | undefined)",
|
|
2473
2605
|
value: input3.label
|
|
2474
2606
|
})].every((flag) => flag);
|
|
2475
|
-
const $
|
|
2607
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
2476
2608
|
path: _path2 + ".startunbounded",
|
|
2477
2609
|
expected: "(false | undefined)",
|
|
2478
2610
|
value: input3.startunbounded
|
|
@@ -2501,7 +2633,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2501
2633
|
expected: "(string | undefined)",
|
|
2502
2634
|
value: input3.label
|
|
2503
2635
|
})].every((flag) => flag);
|
|
2504
|
-
const $
|
|
2636
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
2505
2637
|
path: _path2 + ".start",
|
|
2506
2638
|
expected: "number",
|
|
2507
2639
|
value: input3.start
|
|
@@ -2526,11 +2658,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2526
2658
|
expected: "(string | undefined)",
|
|
2527
2659
|
value: input3.label
|
|
2528
2660
|
})].every((flag) => flag);
|
|
2529
|
-
const $
|
|
2661
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2530
2662
|
path: _path2 + ".hiddenValues",
|
|
2531
2663
|
expected: "(HiddenValues | undefined)",
|
|
2532
2664
|
value: input3.hiddenValues
|
|
2533
|
-
})) && $
|
|
2665
|
+
})) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2534
2666
|
path: _path2 + ".hiddenValues",
|
|
2535
2667
|
expected: "(HiddenValues | undefined)",
|
|
2536
2668
|
value: input3.hiddenValues
|
|
@@ -2593,16 +2725,100 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2593
2725
|
expected: '("median" | undefined)',
|
|
2594
2726
|
value: input3.preferredBins
|
|
2595
2727
|
})].every((flag) => flag);
|
|
2596
|
-
const $
|
|
2597
|
-
path: _path2 + ".
|
|
2728
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2729
|
+
path: _path2 + ".id",
|
|
2598
2730
|
expected: "string",
|
|
2599
|
-
value: input3.
|
|
2600
|
-
}), "string" === typeof input3.
|
|
2601
|
-
path: _path2 + ".
|
|
2731
|
+
value: input3.id
|
|
2732
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2733
|
+
path: _path2 + ".name",
|
|
2602
2734
|
expected: "string",
|
|
2603
|
-
value: input3.
|
|
2735
|
+
value: input3.name
|
|
2736
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
2737
|
+
path: _path2 + ".type",
|
|
2738
|
+
expected: '"geneExpression"',
|
|
2739
|
+
value: input3.type
|
|
2740
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2741
|
+
path: _path2 + ".child_types",
|
|
2742
|
+
expected: "(Array<string> | undefined)",
|
|
2743
|
+
value: input3.child_types
|
|
2744
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2745
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
2746
|
+
expected: "string",
|
|
2747
|
+
value: elem
|
|
2748
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2749
|
+
path: _path2 + ".child_types",
|
|
2750
|
+
expected: "(Array<string> | undefined)",
|
|
2751
|
+
value: input3.child_types
|
|
2752
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2753
|
+
path: _path2 + ".hashtmldetail",
|
|
2754
|
+
expected: "(boolean | undefined)",
|
|
2755
|
+
value: input3.hashtmldetail
|
|
2756
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2757
|
+
path: _path2 + ".included_types",
|
|
2758
|
+
expected: "(Array<string> | undefined)",
|
|
2759
|
+
value: input3.included_types
|
|
2760
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2761
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
2762
|
+
expected: "string",
|
|
2763
|
+
value: elem
|
|
2764
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2765
|
+
path: _path2 + ".included_types",
|
|
2766
|
+
expected: "(Array<string> | undefined)",
|
|
2767
|
+
value: input3.included_types
|
|
2768
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2769
|
+
path: _path2 + ".isleaf",
|
|
2770
|
+
expected: "(boolean | undefined)",
|
|
2771
|
+
value: input3.isleaf
|
|
2772
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2773
|
+
path: _path2 + ".values",
|
|
2774
|
+
expected: "(TermValues | undefined)",
|
|
2775
|
+
value: input3.values
|
|
2776
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2777
|
+
path: _path2 + ".values",
|
|
2778
|
+
expected: "(TermValues | undefined)",
|
|
2779
|
+
value: input3.values
|
|
2780
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
2781
|
+
path: _path2 + ".skipValuesBuild",
|
|
2782
|
+
expected: "(boolean | undefined)",
|
|
2783
|
+
value: input3.skipValuesBuild
|
|
2784
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2785
|
+
path: _path2 + ".continuousColorScale",
|
|
2786
|
+
expected: "(__type.o2 | undefined)",
|
|
2787
|
+
value: input3.continuousColorScale
|
|
2788
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2789
|
+
path: _path2 + ".continuousColorScale",
|
|
2790
|
+
expected: "(__type.o2 | undefined)",
|
|
2791
|
+
value: input3.continuousColorScale
|
|
2792
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
2793
|
+
path: _path2 + ".unit",
|
|
2794
|
+
expected: "(string | undefined)",
|
|
2795
|
+
value: input3.unit
|
|
2796
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
2797
|
+
path: _path2 + ".gene",
|
|
2798
|
+
expected: "string",
|
|
2799
|
+
value: input3.gene
|
|
2800
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2801
|
+
path: _path2 + ".bins",
|
|
2802
|
+
expected: "(PresetNumericBins | undefined)",
|
|
2803
|
+
value: input3.bins
|
|
2804
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2805
|
+
path: _path2 + ".bins",
|
|
2806
|
+
expected: "(PresetNumericBins | undefined)",
|
|
2807
|
+
value: input3.bins
|
|
2808
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2809
|
+
path: _path2 + ".chr",
|
|
2810
|
+
expected: "(string | undefined)",
|
|
2811
|
+
value: input3.chr
|
|
2812
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2813
|
+
path: _path2 + ".start",
|
|
2814
|
+
expected: "(number | undefined)",
|
|
2815
|
+
value: input3.start
|
|
2816
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2817
|
+
path: _path2 + ".stop",
|
|
2818
|
+
expected: "(number | undefined)",
|
|
2819
|
+
value: input3.stop
|
|
2604
2820
|
})].every((flag) => flag);
|
|
2605
|
-
const $
|
|
2821
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2606
2822
|
path: _path2 + ".key",
|
|
2607
2823
|
expected: "string",
|
|
2608
2824
|
value: input3.key
|
|
@@ -2619,7 +2835,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2619
2835
|
expected: "(string | undefined)",
|
|
2620
2836
|
value: input3.label
|
|
2621
2837
|
})].every((flag) => flag);
|
|
2622
|
-
const $
|
|
2838
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2623
2839
|
path: _path2 + ".join",
|
|
2624
2840
|
expected: "(string | undefined)",
|
|
2625
2841
|
value: input3.join
|
|
@@ -2631,7 +2847,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2631
2847
|
path: _path2 + ".term",
|
|
2632
2848
|
expected: "ConditionTerm",
|
|
2633
2849
|
value: input3.term
|
|
2634
|
-
})) && $
|
|
2850
|
+
})) && $vo26(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2635
2851
|
path: _path2 + ".term",
|
|
2636
2852
|
expected: "ConditionTerm",
|
|
2637
2853
|
value: input3.term
|
|
@@ -2651,12 +2867,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2651
2867
|
path: _path2 + ".grade_and_child",
|
|
2652
2868
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2653
2869
|
value: input3.grade_and_child
|
|
2654
|
-
})) && input3.grade_and_child.map((elem,
|
|
2655
|
-
path: _path2 + ".grade_and_child[" +
|
|
2870
|
+
})) && input3.grade_and_child.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2871
|
+
path: _path2 + ".grade_and_child[" + _index20 + "]",
|
|
2656
2872
|
expected: "GradeAndChildEntry",
|
|
2657
2873
|
value: elem
|
|
2658
|
-
})) && $
|
|
2659
|
-
path: _path2 + ".grade_and_child[" +
|
|
2874
|
+
})) && $vo27(elem, _path2 + ".grade_and_child[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2875
|
+
path: _path2 + ".grade_and_child[" + _index20 + "]",
|
|
2660
2876
|
expected: "GradeAndChildEntry",
|
|
2661
2877
|
value: elem
|
|
2662
2878
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2664,7 +2880,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2664
2880
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2665
2881
|
value: input3.grade_and_child
|
|
2666
2882
|
})].every((flag) => flag);
|
|
2667
|
-
const $
|
|
2883
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2668
2884
|
path: _path2 + ".id",
|
|
2669
2885
|
expected: "string",
|
|
2670
2886
|
value: input3.id
|
|
@@ -2680,8 +2896,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2680
2896
|
path: _path2 + ".child_types",
|
|
2681
2897
|
expected: "(Array<string> | undefined)",
|
|
2682
2898
|
value: input3.child_types
|
|
2683
|
-
})) && input3.child_types.map((elem,
|
|
2684
|
-
path: _path2 + ".child_types[" +
|
|
2899
|
+
})) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2900
|
+
path: _path2 + ".child_types[" + _index21 + "]",
|
|
2685
2901
|
expected: "string",
|
|
2686
2902
|
value: elem
|
|
2687
2903
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2696,8 +2912,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2696
2912
|
path: _path2 + ".included_types",
|
|
2697
2913
|
expected: "(Array<string> | undefined)",
|
|
2698
2914
|
value: input3.included_types
|
|
2699
|
-
})) && input3.included_types.map((elem,
|
|
2700
|
-
path: _path2 + ".included_types[" +
|
|
2915
|
+
})) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2916
|
+
path: _path2 + ".included_types[" + _index22 + "]",
|
|
2701
2917
|
expected: "string",
|
|
2702
2918
|
value: elem
|
|
2703
2919
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2721,7 +2937,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2721
2937
|
expected: "(boolean | undefined)",
|
|
2722
2938
|
value: input3.skipValuesBuild
|
|
2723
2939
|
})].every((flag) => flag);
|
|
2724
|
-
const $
|
|
2940
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
2725
2941
|
path: _path2 + ".grade",
|
|
2726
2942
|
expected: "number",
|
|
2727
2943
|
value: input3.grade
|
|
@@ -2738,7 +2954,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2738
2954
|
expected: "string",
|
|
2739
2955
|
value: input3.child_label
|
|
2740
2956
|
})].every((flag) => flag);
|
|
2741
|
-
const $
|
|
2957
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2742
2958
|
path: _path2 + ".join",
|
|
2743
2959
|
expected: "(string | undefined)",
|
|
2744
2960
|
value: input3.join
|
|
@@ -2750,7 +2966,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2750
2966
|
path: _path2 + ".term",
|
|
2751
2967
|
expected: "DtTerm",
|
|
2752
2968
|
value: input3.term
|
|
2753
|
-
})) && $
|
|
2969
|
+
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2754
2970
|
path: _path2 + ".term",
|
|
2755
2971
|
expected: "DtTerm",
|
|
2756
2972
|
value: input3.term
|
|
@@ -2758,12 +2974,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2758
2974
|
path: _path2 + ".values",
|
|
2759
2975
|
expected: "Array<__type>.o2",
|
|
2760
2976
|
value: input3.values
|
|
2761
|
-
})) && input3.values.map((elem,
|
|
2762
|
-
path: _path2 + ".values[" +
|
|
2977
|
+
})) && input3.values.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2978
|
+
path: _path2 + ".values[" + _index23 + "]",
|
|
2763
2979
|
expected: "__type.o4",
|
|
2764
2980
|
value: elem
|
|
2765
|
-
})) && $
|
|
2766
|
-
path: _path2 + ".values[" +
|
|
2981
|
+
})) && $vo34(elem, _path2 + ".values[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2982
|
+
path: _path2 + ".values[" + _index23 + "]",
|
|
2767
2983
|
expected: "__type.o4",
|
|
2768
2984
|
value: elem
|
|
2769
2985
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2779,7 +2995,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2779
2995
|
expected: "(boolean | undefined)",
|
|
2780
2996
|
value: input3.excludeGeneName
|
|
2781
2997
|
})].every((flag) => flag);
|
|
2782
|
-
const $
|
|
2998
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2783
2999
|
path: _path2 + ".id",
|
|
2784
3000
|
expected: "string",
|
|
2785
3001
|
value: input3.id
|
|
@@ -2799,7 +3015,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2799
3015
|
path: _path2 + ".parentTerm",
|
|
2800
3016
|
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
2801
3017
|
value: input3.parentTerm
|
|
2802
|
-
})) && $
|
|
3018
|
+
})) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
2803
3019
|
path: _path2 + ".parentTerm",
|
|
2804
3020
|
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
2805
3021
|
value: input3.parentTerm
|
|
@@ -2828,7 +3044,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2828
3044
|
expected: "TermValues",
|
|
2829
3045
|
value: input3.values
|
|
2830
3046
|
})].every((flag) => flag);
|
|
2831
|
-
const $
|
|
3047
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2832
3048
|
path: _path2 + ".id",
|
|
2833
3049
|
expected: "string",
|
|
2834
3050
|
value: input3.id
|
|
@@ -2844,8 +3060,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2844
3060
|
path: _path2 + ".child_types",
|
|
2845
3061
|
expected: "(Array<string> | undefined)",
|
|
2846
3062
|
value: input3.child_types
|
|
2847
|
-
})) && input3.child_types.map((elem,
|
|
2848
|
-
path: _path2 + ".child_types[" +
|
|
3063
|
+
})) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3064
|
+
path: _path2 + ".child_types[" + _index24 + "]",
|
|
2849
3065
|
expected: "string",
|
|
2850
3066
|
value: elem
|
|
2851
3067
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2860,8 +3076,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2860
3076
|
path: _path2 + ".included_types",
|
|
2861
3077
|
expected: "(Array<string> | undefined)",
|
|
2862
3078
|
value: input3.included_types
|
|
2863
|
-
})) && input3.included_types.map((elem,
|
|
2864
|
-
path: _path2 + ".included_types[" +
|
|
3079
|
+
})) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3080
|
+
path: _path2 + ".included_types[" + _index25 + "]",
|
|
2865
3081
|
expected: "string",
|
|
2866
3082
|
value: elem
|
|
2867
3083
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2908,12 +3124,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2908
3124
|
path: _path2 + ".genes",
|
|
2909
3125
|
expected: "Array<GvGeneTerm>",
|
|
2910
3126
|
value: input3.genes
|
|
2911
|
-
})) && input3.genes.map((elem,
|
|
2912
|
-
path: _path2 + ".genes[" +
|
|
3127
|
+
})) && input3.genes.map((elem, _index26) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3128
|
+
path: _path2 + ".genes[" + _index26 + "]",
|
|
2913
3129
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2914
3130
|
value: elem
|
|
2915
|
-
})) && $vu4(elem, _path2 + ".genes[" +
|
|
2916
|
-
path: _path2 + ".genes[" +
|
|
3131
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index26 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3132
|
+
path: _path2 + ".genes[" + _index26 + "]",
|
|
2917
3133
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2918
3134
|
value: elem
|
|
2919
3135
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2932,12 +3148,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2932
3148
|
path: _path2 + ".childTerms",
|
|
2933
3149
|
expected: "(Array<DtTerm> | undefined)",
|
|
2934
3150
|
value: input3.childTerms
|
|
2935
|
-
})) && input3.childTerms.map((elem,
|
|
2936
|
-
path: _path2 + ".childTerms[" +
|
|
3151
|
+
})) && input3.childTerms.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3152
|
+
path: _path2 + ".childTerms[" + _index27 + "]",
|
|
2937
3153
|
expected: "DtTerm",
|
|
2938
3154
|
value: elem
|
|
2939
|
-
})) && $
|
|
2940
|
-
path: _path2 + ".childTerms[" +
|
|
3155
|
+
})) && $vo29(elem, _path2 + ".childTerms[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3156
|
+
path: _path2 + ".childTerms[" + _index27 + "]",
|
|
2941
3157
|
expected: "DtTerm",
|
|
2942
3158
|
value: elem
|
|
2943
3159
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2945,7 +3161,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2945
3161
|
expected: "(Array<DtTerm> | undefined)",
|
|
2946
3162
|
value: input3.childTerms
|
|
2947
3163
|
})].every((flag) => flag);
|
|
2948
|
-
const $
|
|
3164
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2949
3165
|
path: _path2 + ".id",
|
|
2950
3166
|
expected: "string",
|
|
2951
3167
|
value: input3.id
|
|
@@ -2961,8 +3177,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2961
3177
|
path: _path2 + ".child_types",
|
|
2962
3178
|
expected: "(Array<string> | undefined)",
|
|
2963
3179
|
value: input3.child_types
|
|
2964
|
-
})) && input3.child_types.map((elem,
|
|
2965
|
-
path: _path2 + ".child_types[" +
|
|
3180
|
+
})) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3181
|
+
path: _path2 + ".child_types[" + _index28 + "]",
|
|
2966
3182
|
expected: "string",
|
|
2967
3183
|
value: elem
|
|
2968
3184
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2977,8 +3193,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2977
3193
|
path: _path2 + ".included_types",
|
|
2978
3194
|
expected: "(Array<string> | undefined)",
|
|
2979
3195
|
value: input3.included_types
|
|
2980
|
-
})) && input3.included_types.map((elem,
|
|
2981
|
-
path: _path2 + ".included_types[" +
|
|
3196
|
+
})) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3197
|
+
path: _path2 + ".included_types[" + _index29 + "]",
|
|
2982
3198
|
expected: "string",
|
|
2983
3199
|
value: elem
|
|
2984
3200
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3022,7 +3238,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3022
3238
|
expected: "(number | undefined)",
|
|
3023
3239
|
value: input3.stop
|
|
3024
3240
|
})].every((flag) => flag);
|
|
3025
|
-
const $
|
|
3241
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3026
3242
|
path: _path2 + ".id",
|
|
3027
3243
|
expected: "string",
|
|
3028
3244
|
value: input3.id
|
|
@@ -3038,8 +3254,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3038
3254
|
path: _path2 + ".child_types",
|
|
3039
3255
|
expected: "(Array<string> | undefined)",
|
|
3040
3256
|
value: input3.child_types
|
|
3041
|
-
})) && input3.child_types.map((elem,
|
|
3042
|
-
path: _path2 + ".child_types[" +
|
|
3257
|
+
})) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3258
|
+
path: _path2 + ".child_types[" + _index30 + "]",
|
|
3043
3259
|
expected: "string",
|
|
3044
3260
|
value: elem
|
|
3045
3261
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3054,8 +3270,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3054
3270
|
path: _path2 + ".included_types",
|
|
3055
3271
|
expected: "(Array<string> | undefined)",
|
|
3056
3272
|
value: input3.included_types
|
|
3057
|
-
})) && input3.included_types.map((elem,
|
|
3058
|
-
path: _path2 + ".included_types[" +
|
|
3273
|
+
})) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3274
|
+
path: _path2 + ".included_types[" + _index31 + "]",
|
|
3059
3275
|
expected: "string",
|
|
3060
3276
|
value: elem
|
|
3061
3277
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3095,7 +3311,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3095
3311
|
expected: "number",
|
|
3096
3312
|
value: input3.stop
|
|
3097
3313
|
})].every((flag) => flag);
|
|
3098
|
-
const $
|
|
3314
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3099
3315
|
path: _path2 + ".id",
|
|
3100
3316
|
expected: "string",
|
|
3101
3317
|
value: input3.id
|
|
@@ -3111,8 +3327,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3111
3327
|
path: _path2 + ".child_types",
|
|
3112
3328
|
expected: "(Array<string> | undefined)",
|
|
3113
3329
|
value: input3.child_types
|
|
3114
|
-
})) && input3.child_types.map((elem,
|
|
3115
|
-
path: _path2 + ".child_types[" +
|
|
3330
|
+
})) && input3.child_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3331
|
+
path: _path2 + ".child_types[" + _index32 + "]",
|
|
3116
3332
|
expected: "string",
|
|
3117
3333
|
value: elem
|
|
3118
3334
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3127,8 +3343,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3127
3343
|
path: _path2 + ".included_types",
|
|
3128
3344
|
expected: "(Array<string> | undefined)",
|
|
3129
3345
|
value: input3.included_types
|
|
3130
|
-
})) && input3.included_types.map((elem,
|
|
3131
|
-
path: _path2 + ".included_types[" +
|
|
3346
|
+
})) && input3.included_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3347
|
+
path: _path2 + ".included_types[" + _index33 + "]",
|
|
3132
3348
|
expected: "string",
|
|
3133
3349
|
value: elem
|
|
3134
3350
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3171,12 +3387,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3171
3387
|
path: _path2 + ".genes",
|
|
3172
3388
|
expected: "Array<GvGeneTerm>",
|
|
3173
3389
|
value: input3.genes
|
|
3174
|
-
})) && input3.genes.map((elem,
|
|
3175
|
-
path: _path2 + ".genes[" +
|
|
3390
|
+
})) && input3.genes.map((elem, _index34) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3391
|
+
path: _path2 + ".genes[" + _index34 + "]",
|
|
3176
3392
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3177
3393
|
value: elem
|
|
3178
|
-
})) && $vu4(elem, _path2 + ".genes[" +
|
|
3179
|
-
path: _path2 + ".genes[" +
|
|
3394
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index34 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3395
|
+
path: _path2 + ".genes[" + _index34 + "]",
|
|
3180
3396
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3181
3397
|
value: elem
|
|
3182
3398
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3195,12 +3411,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3195
3411
|
path: _path2 + ".childTerms",
|
|
3196
3412
|
expected: "(Array<DtTerm> | undefined)",
|
|
3197
3413
|
value: input3.childTerms
|
|
3198
|
-
})) && input3.childTerms.map((elem,
|
|
3199
|
-
path: _path2 + ".childTerms[" +
|
|
3414
|
+
})) && input3.childTerms.map((elem, _index35) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3415
|
+
path: _path2 + ".childTerms[" + _index35 + "]",
|
|
3200
3416
|
expected: "DtTerm",
|
|
3201
3417
|
value: elem
|
|
3202
|
-
})) && $
|
|
3203
|
-
path: _path2 + ".childTerms[" +
|
|
3418
|
+
})) && $vo29(elem, _path2 + ".childTerms[" + _index35 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3419
|
+
path: _path2 + ".childTerms[" + _index35 + "]",
|
|
3204
3420
|
expected: "DtTerm",
|
|
3205
3421
|
value: elem
|
|
3206
3422
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3208,7 +3424,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3208
3424
|
expected: "(Array<DtTerm> | undefined)",
|
|
3209
3425
|
value: input3.childTerms
|
|
3210
3426
|
})].every((flag) => flag);
|
|
3211
|
-
const $
|
|
3427
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
3212
3428
|
path: _path2 + ".key",
|
|
3213
3429
|
expected: "string",
|
|
3214
3430
|
value: input3.key
|
|
@@ -3221,7 +3437,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3221
3437
|
expected: "string",
|
|
3222
3438
|
value: input3.value
|
|
3223
3439
|
})].every((flag) => flag);
|
|
3224
|
-
const $
|
|
3440
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3225
3441
|
path: _path2 + ".id",
|
|
3226
3442
|
expected: "string",
|
|
3227
3443
|
value: input3.id
|
|
@@ -3237,8 +3453,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3237
3453
|
path: _path2 + ".child_types",
|
|
3238
3454
|
expected: "(Array<string> | undefined)",
|
|
3239
3455
|
value: input3.child_types
|
|
3240
|
-
})) && input3.child_types.map((elem,
|
|
3241
|
-
path: _path2 + ".child_types[" +
|
|
3456
|
+
})) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3457
|
+
path: _path2 + ".child_types[" + _index36 + "]",
|
|
3242
3458
|
expected: "string",
|
|
3243
3459
|
value: elem
|
|
3244
3460
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3253,8 +3469,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3253
3469
|
path: _path2 + ".included_types",
|
|
3254
3470
|
expected: "(Array<string> | undefined)",
|
|
3255
3471
|
value: input3.included_types
|
|
3256
|
-
})) && input3.included_types.map((elem,
|
|
3257
|
-
path: _path2 + ".included_types[" +
|
|
3472
|
+
})) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3473
|
+
path: _path2 + ".included_types[" + _index37 + "]",
|
|
3258
3474
|
expected: "string",
|
|
3259
3475
|
value: elem
|
|
3260
3476
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3297,12 +3513,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3297
3513
|
path: _path2 + ".genes",
|
|
3298
3514
|
expected: "Array<GvGeneTerm>",
|
|
3299
3515
|
value: input3.genes
|
|
3300
|
-
})) && input3.genes.map((elem,
|
|
3301
|
-
path: _path2 + ".genes[" +
|
|
3516
|
+
})) && input3.genes.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3517
|
+
path: _path2 + ".genes[" + _index38 + "]",
|
|
3302
3518
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3303
3519
|
value: elem
|
|
3304
|
-
})) && $vu4(elem, _path2 + ".genes[" +
|
|
3305
|
-
path: _path2 + ".genes[" +
|
|
3520
|
+
})) && $vu4(elem, _path2 + ".genes[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3521
|
+
path: _path2 + ".genes[" + _index38 + "]",
|
|
3306
3522
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
3307
3523
|
value: elem
|
|
3308
3524
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3321,12 +3537,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3321
3537
|
path: _path2 + ".childTerms",
|
|
3322
3538
|
expected: "Array<DtTerm>",
|
|
3323
3539
|
value: input3.childTerms
|
|
3324
|
-
})) && input3.childTerms.map((elem,
|
|
3325
|
-
path: _path2 + ".childTerms[" +
|
|
3540
|
+
})) && input3.childTerms.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3541
|
+
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
3326
3542
|
expected: "DtTerm",
|
|
3327
3543
|
value: elem
|
|
3328
|
-
})) && $
|
|
3329
|
-
path: _path2 + ".childTerms[" +
|
|
3544
|
+
})) && $vo29(elem, _path2 + ".childTerms[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3545
|
+
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
3330
3546
|
expected: "DtTerm",
|
|
3331
3547
|
value: elem
|
|
3332
3548
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3334,7 +3550,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3334
3550
|
expected: "Array<DtTerm>",
|
|
3335
3551
|
value: input3.childTerms
|
|
3336
3552
|
})].every((flag) => flag);
|
|
3337
|
-
const $
|
|
3553
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3338
3554
|
path: _path2 + ".id",
|
|
3339
3555
|
expected: "string",
|
|
3340
3556
|
value: input3.id
|
|
@@ -3350,8 +3566,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3350
3566
|
path: _path2 + ".child_types",
|
|
3351
3567
|
expected: "(Array<string> | undefined)",
|
|
3352
3568
|
value: input3.child_types
|
|
3353
|
-
})) && input3.child_types.map((elem,
|
|
3354
|
-
path: _path2 + ".child_types[" +
|
|
3569
|
+
})) && input3.child_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3570
|
+
path: _path2 + ".child_types[" + _index40 + "]",
|
|
3355
3571
|
expected: "string",
|
|
3356
3572
|
value: elem
|
|
3357
3573
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3366,8 +3582,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3366
3582
|
path: _path2 + ".included_types",
|
|
3367
3583
|
expected: "(Array<string> | undefined)",
|
|
3368
3584
|
value: input3.included_types
|
|
3369
|
-
})) && input3.included_types.map((elem,
|
|
3370
|
-
path: _path2 + ".included_types[" +
|
|
3585
|
+
})) && input3.included_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3586
|
+
path: _path2 + ".included_types[" + _index41 + "]",
|
|
3371
3587
|
expected: "string",
|
|
3372
3588
|
value: elem
|
|
3373
3589
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3399,7 +3615,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3399
3615
|
expected: "TermGroupSetting",
|
|
3400
3616
|
value: input3.groupsetting
|
|
3401
3617
|
})].every((flag) => flag);
|
|
3402
|
-
const $
|
|
3618
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3403
3619
|
path: _path2 + ".id",
|
|
3404
3620
|
expected: "string",
|
|
3405
3621
|
value: input3.id
|
|
@@ -3407,16 +3623,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3407
3623
|
path: _path2 + ".name",
|
|
3408
3624
|
expected: "string",
|
|
3409
3625
|
value: input3.name
|
|
3410
|
-
}), "integer" === input3.type || "float" === input3.type || "
|
|
3626
|
+
}), "integer" === input3.type || "float" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
3411
3627
|
path: _path2 + ".type",
|
|
3412
|
-
expected: '("date" | "float" | "
|
|
3628
|
+
expected: '("date" | "float" | "integer")',
|
|
3413
3629
|
value: input3.type
|
|
3414
3630
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3415
3631
|
path: _path2 + ".child_types",
|
|
3416
3632
|
expected: "(Array<string> | undefined)",
|
|
3417
3633
|
value: input3.child_types
|
|
3418
|
-
})) && input3.child_types.map((elem,
|
|
3419
|
-
path: _path2 + ".child_types[" +
|
|
3634
|
+
})) && input3.child_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3635
|
+
path: _path2 + ".child_types[" + _index42 + "]",
|
|
3420
3636
|
expected: "string",
|
|
3421
3637
|
value: elem
|
|
3422
3638
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3431,8 +3647,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3431
3647
|
path: _path2 + ".included_types",
|
|
3432
3648
|
expected: "(Array<string> | undefined)",
|
|
3433
3649
|
value: input3.included_types
|
|
3434
|
-
})) && input3.included_types.map((elem,
|
|
3435
|
-
path: _path2 + ".included_types[" +
|
|
3650
|
+
})) && input3.included_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3651
|
+
path: _path2 + ".included_types[" + _index43 + "]",
|
|
3436
3652
|
expected: "string",
|
|
3437
3653
|
value: elem
|
|
3438
3654
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3455,28 +3671,121 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3455
3671
|
path: _path2 + ".skipValuesBuild",
|
|
3456
3672
|
expected: "(boolean | undefined)",
|
|
3457
3673
|
value: input3.skipValuesBuild
|
|
3674
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
3675
|
+
path: _path2 + ".continuousColorScale",
|
|
3676
|
+
expected: "(__type.o2 | undefined)",
|
|
3677
|
+
value: input3.continuousColorScale
|
|
3678
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
3679
|
+
path: _path2 + ".continuousColorScale",
|
|
3680
|
+
expected: "(__type.o2 | undefined)",
|
|
3681
|
+
value: input3.continuousColorScale
|
|
3682
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
3683
|
+
path: _path2 + ".unit",
|
|
3684
|
+
expected: "(string | undefined)",
|
|
3685
|
+
value: input3.unit
|
|
3458
3686
|
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
3459
3687
|
path: _path2 + ".bins",
|
|
3460
3688
|
expected: "PresetNumericBins",
|
|
3461
3689
|
value: input3.bins
|
|
3462
|
-
})) && $
|
|
3690
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
3463
3691
|
path: _path2 + ".bins",
|
|
3464
3692
|
expected: "PresetNumericBins",
|
|
3465
3693
|
value: input3.bins
|
|
3466
|
-
})
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3694
|
+
})].every((flag) => flag);
|
|
3695
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3696
|
+
path: _path2 + ".id",
|
|
3697
|
+
expected: "string",
|
|
3698
|
+
value: input3.id
|
|
3699
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3700
|
+
path: _path2 + ".name",
|
|
3701
|
+
expected: "string",
|
|
3702
|
+
value: input3.name
|
|
3703
|
+
}), "geneExpression" === input3.type || $report(_exceptionable2, {
|
|
3704
|
+
path: _path2 + ".type",
|
|
3705
|
+
expected: '"geneExpression"',
|
|
3706
|
+
value: input3.type
|
|
3707
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3708
|
+
path: _path2 + ".child_types",
|
|
3709
|
+
expected: "(Array<string> | undefined)",
|
|
3710
|
+
value: input3.child_types
|
|
3711
|
+
})) && input3.child_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3712
|
+
path: _path2 + ".child_types[" + _index44 + "]",
|
|
3713
|
+
expected: "string",
|
|
3714
|
+
value: elem
|
|
3715
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3716
|
+
path: _path2 + ".child_types",
|
|
3717
|
+
expected: "(Array<string> | undefined)",
|
|
3718
|
+
value: input3.child_types
|
|
3719
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3720
|
+
path: _path2 + ".hashtmldetail",
|
|
3721
|
+
expected: "(boolean | undefined)",
|
|
3722
|
+
value: input3.hashtmldetail
|
|
3723
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3724
|
+
path: _path2 + ".included_types",
|
|
3725
|
+
expected: "(Array<string> | undefined)",
|
|
3726
|
+
value: input3.included_types
|
|
3727
|
+
})) && input3.included_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3728
|
+
path: _path2 + ".included_types[" + _index45 + "]",
|
|
3729
|
+
expected: "string",
|
|
3730
|
+
value: elem
|
|
3731
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3732
|
+
path: _path2 + ".included_types",
|
|
3733
|
+
expected: "(Array<string> | undefined)",
|
|
3734
|
+
value: input3.included_types
|
|
3735
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3736
|
+
path: _path2 + ".isleaf",
|
|
3737
|
+
expected: "(boolean | undefined)",
|
|
3738
|
+
value: input3.isleaf
|
|
3739
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3740
|
+
path: _path2 + ".values",
|
|
3741
|
+
expected: "(TermValues | undefined)",
|
|
3742
|
+
value: input3.values
|
|
3743
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3744
|
+
path: _path2 + ".values",
|
|
3745
|
+
expected: "(TermValues | undefined)",
|
|
3746
|
+
value: input3.values
|
|
3747
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
3748
|
+
path: _path2 + ".skipValuesBuild",
|
|
3749
|
+
expected: "(boolean | undefined)",
|
|
3750
|
+
value: input3.skipValuesBuild
|
|
3470
3751
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
3471
3752
|
path: _path2 + ".continuousColorScale",
|
|
3472
3753
|
expected: "(__type.o2 | undefined)",
|
|
3473
3754
|
value: input3.continuousColorScale
|
|
3474
|
-
})) && $
|
|
3755
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
3475
3756
|
path: _path2 + ".continuousColorScale",
|
|
3476
3757
|
expected: "(__type.o2 | undefined)",
|
|
3477
3758
|
value: input3.continuousColorScale
|
|
3759
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
3760
|
+
path: _path2 + ".unit",
|
|
3761
|
+
expected: "(string | undefined)",
|
|
3762
|
+
value: input3.unit
|
|
3763
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
3764
|
+
path: _path2 + ".gene",
|
|
3765
|
+
expected: "string",
|
|
3766
|
+
value: input3.gene
|
|
3767
|
+
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
3768
|
+
path: _path2 + ".bins",
|
|
3769
|
+
expected: "(PresetNumericBins | undefined)",
|
|
3770
|
+
value: input3.bins
|
|
3771
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
3772
|
+
path: _path2 + ".bins",
|
|
3773
|
+
expected: "(PresetNumericBins | undefined)",
|
|
3774
|
+
value: input3.bins
|
|
3775
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3776
|
+
path: _path2 + ".chr",
|
|
3777
|
+
expected: "(string | undefined)",
|
|
3778
|
+
value: input3.chr
|
|
3779
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3780
|
+
path: _path2 + ".start",
|
|
3781
|
+
expected: "(number | undefined)",
|
|
3782
|
+
value: input3.start
|
|
3783
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3784
|
+
path: _path2 + ".stop",
|
|
3785
|
+
expected: "(number | undefined)",
|
|
3786
|
+
value: input3.stop
|
|
3478
3787
|
})].every((flag) => flag);
|
|
3479
|
-
const $
|
|
3788
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3480
3789
|
path: _path2 + ".id",
|
|
3481
3790
|
expected: "string",
|
|
3482
3791
|
value: input3.id
|
|
@@ -3492,8 +3801,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3492
3801
|
path: _path2 + ".child_types",
|
|
3493
3802
|
expected: "(Array<string> | undefined)",
|
|
3494
3803
|
value: input3.child_types
|
|
3495
|
-
})) && input3.child_types.map((elem,
|
|
3496
|
-
path: _path2 + ".child_types[" +
|
|
3804
|
+
})) && input3.child_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3805
|
+
path: _path2 + ".child_types[" + _index46 + "]",
|
|
3497
3806
|
expected: "string",
|
|
3498
3807
|
value: elem
|
|
3499
3808
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3508,8 +3817,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3508
3817
|
path: _path2 + ".included_types",
|
|
3509
3818
|
expected: "(Array<string> | undefined)",
|
|
3510
3819
|
value: input3.included_types
|
|
3511
|
-
})) && input3.included_types.map((elem,
|
|
3512
|
-
path: _path2 + ".included_types[" +
|
|
3820
|
+
})) && input3.included_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3821
|
+
path: _path2 + ".included_types[" + _index47 + "]",
|
|
3513
3822
|
expected: "string",
|
|
3514
3823
|
value: elem
|
|
3515
3824
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3533,7 +3842,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3533
3842
|
expected: "(boolean | undefined)",
|
|
3534
3843
|
value: input3.skipValuesBuild
|
|
3535
3844
|
})].every((flag) => flag);
|
|
3536
|
-
const $
|
|
3845
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3537
3846
|
path: _path2 + ".id",
|
|
3538
3847
|
expected: "string",
|
|
3539
3848
|
value: input3.id
|
|
@@ -3549,8 +3858,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3549
3858
|
path: _path2 + ".child_types",
|
|
3550
3859
|
expected: "(Array<string> | undefined)",
|
|
3551
3860
|
value: input3.child_types
|
|
3552
|
-
})) && input3.child_types.map((elem,
|
|
3553
|
-
path: _path2 + ".child_types[" +
|
|
3861
|
+
})) && input3.child_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3862
|
+
path: _path2 + ".child_types[" + _index48 + "]",
|
|
3554
3863
|
expected: "string",
|
|
3555
3864
|
value: elem
|
|
3556
3865
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3565,8 +3874,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3565
3874
|
path: _path2 + ".included_types",
|
|
3566
3875
|
expected: "(Array<string> | undefined)",
|
|
3567
3876
|
value: input3.included_types
|
|
3568
|
-
})) && input3.included_types.map((elem,
|
|
3569
|
-
path: _path2 + ".included_types[" +
|
|
3877
|
+
})) && input3.included_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3878
|
+
path: _path2 + ".included_types[" + _index49 + "]",
|
|
3570
3879
|
expected: "string",
|
|
3571
3880
|
value: elem
|
|
3572
3881
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3597,12 +3906,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3597
3906
|
path: _path2 + ".snps",
|
|
3598
3907
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3599
3908
|
value: input3.snps
|
|
3600
|
-
})) && input3.snps.map((elem,
|
|
3601
|
-
path: _path2 + ".snps[" +
|
|
3909
|
+
})) && input3.snps.map((elem, _index50) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3910
|
+
path: _path2 + ".snps[" + _index50 + "]",
|
|
3602
3911
|
expected: "SnpsEntry",
|
|
3603
3912
|
value: elem
|
|
3604
|
-
})) && $
|
|
3605
|
-
path: _path2 + ".snps[" +
|
|
3913
|
+
})) && $vo41(elem, _path2 + ".snps[" + _index50 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3914
|
+
path: _path2 + ".snps[" + _index50 + "]",
|
|
3606
3915
|
expected: "SnpsEntry",
|
|
3607
3916
|
value: elem
|
|
3608
3917
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3610,12 +3919,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3610
3919
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3611
3920
|
value: input3.snps
|
|
3612
3921
|
})].every((flag) => flag);
|
|
3613
|
-
const $
|
|
3922
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
3614
3923
|
path: _path2 + ".altAlleles",
|
|
3615
3924
|
expected: "(Array<string> | undefined)",
|
|
3616
3925
|
value: input3.altAlleles
|
|
3617
|
-
})) && input3.altAlleles.map((elem,
|
|
3618
|
-
path: _path2 + ".altAlleles[" +
|
|
3926
|
+
})) && input3.altAlleles.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3927
|
+
path: _path2 + ".altAlleles[" + _index51 + "]",
|
|
3619
3928
|
expected: "string",
|
|
3620
3929
|
value: elem
|
|
3621
3930
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3626,12 +3935,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3626
3935
|
path: _path2 + ".alleles",
|
|
3627
3936
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
3628
3937
|
value: input3.alleles
|
|
3629
|
-
})) && input3.alleles.map((elem,
|
|
3630
|
-
path: _path2 + ".alleles[" +
|
|
3938
|
+
})) && input3.alleles.map((elem, _index52) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3939
|
+
path: _path2 + ".alleles[" + _index52 + "]",
|
|
3631
3940
|
expected: "AllelesEntry",
|
|
3632
3941
|
value: elem
|
|
3633
|
-
})) && $
|
|
3634
|
-
path: _path2 + ".alleles[" +
|
|
3942
|
+
})) && $vo42(elem, _path2 + ".alleles[" + _index52 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3943
|
+
path: _path2 + ".alleles[" + _index52 + "]",
|
|
3635
3944
|
expected: "AllelesEntry",
|
|
3636
3945
|
value: elem
|
|
3637
3946
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3646,7 +3955,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3646
3955
|
path: _path2 + ".gt2count",
|
|
3647
3956
|
expected: "(__type.o5 | undefined)",
|
|
3648
3957
|
value: input3.gt2count
|
|
3649
|
-
})) && $
|
|
3958
|
+
})) && $vo43(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
3650
3959
|
path: _path2 + ".gt2count",
|
|
3651
3960
|
expected: "(__type.o5 | undefined)",
|
|
3652
3961
|
value: input3.gt2count
|
|
@@ -3675,7 +3984,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3675
3984
|
expected: "(number | undefined)",
|
|
3676
3985
|
value: input3.pos
|
|
3677
3986
|
})].every((flag) => flag);
|
|
3678
|
-
const $
|
|
3987
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
3679
3988
|
path: _path2 + ".allele",
|
|
3680
3989
|
expected: "string",
|
|
3681
3990
|
value: input3.allele
|
|
@@ -3688,7 +3997,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3688
3997
|
expected: "boolean",
|
|
3689
3998
|
value: input3.isRef
|
|
3690
3999
|
})].every((flag) => flag);
|
|
3691
|
-
const $
|
|
4000
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
3692
4001
|
path: _path2 + ".k",
|
|
3693
4002
|
expected: "string",
|
|
3694
4003
|
value: input3.k
|
|
@@ -3697,7 +4006,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3697
4006
|
expected: "(number | string)",
|
|
3698
4007
|
value: input3.v
|
|
3699
4008
|
})].every((flag) => flag);
|
|
3700
|
-
const $
|
|
4009
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3701
4010
|
path: _path2 + ".id",
|
|
3702
4011
|
expected: "string",
|
|
3703
4012
|
value: input3.id
|
|
@@ -3713,8 +4022,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3713
4022
|
path: _path2 + ".child_types",
|
|
3714
4023
|
expected: "(Array<string> | undefined)",
|
|
3715
4024
|
value: input3.child_types
|
|
3716
|
-
})) && input3.child_types.map((elem,
|
|
3717
|
-
path: _path2 + ".child_types[" +
|
|
4025
|
+
})) && input3.child_types.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4026
|
+
path: _path2 + ".child_types[" + _index53 + "]",
|
|
3718
4027
|
expected: "string",
|
|
3719
4028
|
value: elem
|
|
3720
4029
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3729,8 +4038,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3729
4038
|
path: _path2 + ".included_types",
|
|
3730
4039
|
expected: "(Array<string> | undefined)",
|
|
3731
4040
|
value: input3.included_types
|
|
3732
|
-
})) && input3.included_types.map((elem,
|
|
3733
|
-
path: _path2 + ".included_types[" +
|
|
4041
|
+
})) && input3.included_types.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
|
|
4042
|
+
path: _path2 + ".included_types[" + _index54 + "]",
|
|
3734
4043
|
expected: "string",
|
|
3735
4044
|
value: elem
|
|
3736
4045
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3745,7 +4054,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3745
4054
|
path: _path2 + ".values",
|
|
3746
4055
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3747
4056
|
value: input3.values
|
|
3748
|
-
})) && $
|
|
4057
|
+
})) && $vo45(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3749
4058
|
path: _path2 + ".values",
|
|
3750
4059
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3751
4060
|
value: input3.values
|
|
@@ -3754,7 +4063,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3754
4063
|
expected: "(boolean | undefined)",
|
|
3755
4064
|
value: input3.skipValuesBuild
|
|
3756
4065
|
})].every((flag) => flag);
|
|
3757
|
-
const $
|
|
4066
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3758
4067
|
const value = input3[key];
|
|
3759
4068
|
if (void 0 === value)
|
|
3760
4069
|
return true;
|
|
@@ -3763,7 +4072,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3763
4072
|
path: _path2 + $join(key),
|
|
3764
4073
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3765
4074
|
value
|
|
3766
|
-
})) && $
|
|
4075
|
+
})) && $vo46(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3767
4076
|
path: _path2 + $join(key),
|
|
3768
4077
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3769
4078
|
value
|
|
@@ -3773,14 +4082,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3773
4082
|
path: _path2 + $join(key),
|
|
3774
4083
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3775
4084
|
value
|
|
3776
|
-
})) && $
|
|
4085
|
+
})) && $vo46(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3777
4086
|
path: _path2 + $join(key),
|
|
3778
4087
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3779
4088
|
value
|
|
3780
4089
|
});
|
|
3781
4090
|
return true;
|
|
3782
4091
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3783
|
-
const $
|
|
4092
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
3784
4093
|
path: _path2 + ".key",
|
|
3785
4094
|
expected: "(string | undefined)",
|
|
3786
4095
|
value: input3.key
|
|
@@ -3824,12 +4133,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3824
4133
|
path: _path2 + ".list",
|
|
3825
4134
|
expected: "Array<__type>.o3",
|
|
3826
4135
|
value: input3.list
|
|
3827
|
-
})) && input3.list.map((elem,
|
|
3828
|
-
path: _path2 + ".list[" +
|
|
4136
|
+
})) && input3.list.map((elem, _index55) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
4137
|
+
path: _path2 + ".list[" + _index55 + "]",
|
|
3829
4138
|
expected: "__type.o6",
|
|
3830
4139
|
value: elem
|
|
3831
|
-
})) && $
|
|
3832
|
-
path: _path2 + ".list[" +
|
|
4140
|
+
})) && $vo47(elem, _path2 + ".list[" + _index55 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
4141
|
+
path: _path2 + ".list[" + _index55 + "]",
|
|
3833
4142
|
expected: "__type.o6",
|
|
3834
4143
|
value: elem
|
|
3835
4144
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3837,7 +4146,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3837
4146
|
expected: "Array<__type>.o3",
|
|
3838
4147
|
value: input3.list
|
|
3839
4148
|
}), true].every((flag) => flag);
|
|
3840
|
-
const $
|
|
4149
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
3841
4150
|
path: _path2 + ".sampleId",
|
|
3842
4151
|
expected: "string",
|
|
3843
4152
|
value: input3.sampleId
|
|
@@ -3850,14 +4159,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3850
4159
|
if ("gene" === input3.kind)
|
|
3851
4160
|
return $vo1(input3, _path2, _exceptionable2);
|
|
3852
4161
|
if ("coord" === input3.kind)
|
|
3853
|
-
return $vo34(input3, _path2, _exceptionable2);
|
|
3854
|
-
if ("categorical" === input3.type)
|
|
3855
4162
|
return $vo35(input3, _path2, _exceptionable2);
|
|
3856
|
-
if ("
|
|
4163
|
+
if ("categorical" === input3.type)
|
|
3857
4164
|
return $vo36(input3, _path2, _exceptionable2);
|
|
3858
|
-
if ("
|
|
4165
|
+
if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
|
|
3859
4166
|
return $vo37(input3, _path2, _exceptionable2);
|
|
3860
|
-
|
|
4167
|
+
if ("geneExpression" === input3.type)
|
|
4168
|
+
return $vo38(input3, _path2, _exceptionable2);
|
|
4169
|
+
if ("condition" === input3.type)
|
|
4170
|
+
return $vo39(input3, _path2, _exceptionable2);
|
|
4171
|
+
return $vo40(input3, _path2, false) || $vo44(input3, _path2, false);
|
|
3861
4172
|
})();
|
|
3862
4173
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3863
4174
|
if ("tvslst" === input3.type)
|
|
@@ -3883,16 +4194,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3883
4194
|
})();
|
|
3884
4195
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3885
4196
|
if (true === input3.startunbounded)
|
|
3886
|
-
return $
|
|
4197
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
3887
4198
|
if (true === input3.stopunbounded)
|
|
3888
|
-
return $
|
|
3889
|
-
return $
|
|
4199
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
4200
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
3890
4201
|
})();
|
|
3891
4202
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3892
4203
|
if ("gene" === input3.kind)
|
|
3893
|
-
return $vo30(input3, _path2, _exceptionable2);
|
|
3894
|
-
if ("coord" === input3.kind)
|
|
3895
4204
|
return $vo31(input3, _path2, _exceptionable2);
|
|
4205
|
+
if ("coord" === input3.kind)
|
|
4206
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
3896
4207
|
return $report(_exceptionable2, {
|
|
3897
4208
|
path: _path2,
|
|
3898
4209
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -3902,46 +4213,57 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3902
4213
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3903
4214
|
if (void 0 !== input3.ranges)
|
|
3904
4215
|
return $vo13(input3, _path2, _exceptionable2);
|
|
3905
|
-
return $vo6(input3, _path2, false) || $
|
|
4216
|
+
return $vo6(input3, _path2, false) || $vo25(input3, _path2, false) || $vo28(input3, _path2, false);
|
|
3906
4217
|
})();
|
|
3907
4218
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4219
|
+
if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
|
|
4220
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
4221
|
+
if ("geneExpression" === input3.type)
|
|
4222
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
4223
|
+
return $report(_exceptionable2, {
|
|
4224
|
+
path: _path2,
|
|
4225
|
+
expected: "(NumericDictTerm | GeneExpressionTerm)",
|
|
4226
|
+
value: input3
|
|
4227
|
+
});
|
|
4228
|
+
})();
|
|
4229
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3908
4230
|
if ("regular-bin" === input3.type)
|
|
3909
|
-
return $
|
|
4231
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
3910
4232
|
if ("custom-bin" === input3.type)
|
|
3911
|
-
return $
|
|
4233
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
3912
4234
|
return $report(_exceptionable2, {
|
|
3913
4235
|
path: _path2,
|
|
3914
4236
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
3915
4237
|
value: input3
|
|
3916
4238
|
});
|
|
3917
4239
|
})();
|
|
3918
|
-
const $
|
|
4240
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3919
4241
|
if (true === input3.startunbounded)
|
|
3920
|
-
return $vo18(input3, _path2, _exceptionable2);
|
|
3921
|
-
if (void 0 !== input3.start)
|
|
3922
4242
|
return $vo19(input3, _path2, _exceptionable2);
|
|
4243
|
+
if (void 0 !== input3.start)
|
|
4244
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
3923
4245
|
return $report(_exceptionable2, {
|
|
3924
4246
|
path: _path2,
|
|
3925
4247
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
3926
4248
|
value: input3
|
|
3927
4249
|
});
|
|
3928
4250
|
})();
|
|
3929
|
-
const $
|
|
4251
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3930
4252
|
if (void 0 !== input3.stop)
|
|
3931
|
-
return $vo19(input3, _path2, _exceptionable2);
|
|
3932
|
-
if (true === input3.stopunbounded)
|
|
3933
4253
|
return $vo20(input3, _path2, _exceptionable2);
|
|
4254
|
+
if (true === input3.stopunbounded)
|
|
4255
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
3934
4256
|
return $report(_exceptionable2, {
|
|
3935
4257
|
path: _path2,
|
|
3936
4258
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
3937
4259
|
value: input3
|
|
3938
4260
|
});
|
|
3939
4261
|
})();
|
|
3940
|
-
const $
|
|
4262
|
+
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3941
4263
|
if ("gene" === input3.kind)
|
|
3942
|
-
return $
|
|
4264
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
3943
4265
|
if ("coord" === input3.kind)
|
|
3944
|
-
return $
|
|
4266
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
3945
4267
|
return $report(_exceptionable2, {
|
|
3946
4268
|
path: _path2,
|
|
3947
4269
|
expected: '(BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|