@sjcrh/proteinpaint-types 2.123.0 → 2.125.0
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-NCFUZ5VV.js → chunk-2S4T3WUF.js} +790 -386
- package/dist/{chunk-XPOHYEAY.js → chunk-537XOM43.js} +584 -382
- package/dist/{chunk-LBGUOJR3.js → chunk-5O422YU6.js} +343 -141
- package/dist/{chunk-SQBZAOWB.js → chunk-7IRM7OKB.js} +343 -141
- package/dist/{chunk-3ZT4UCFM.js → chunk-BXPSDGWG.js} +343 -141
- package/dist/{chunk-QMWUUGEK.js → chunk-CJC7ZHSZ.js} +376 -174
- package/dist/{chunk-F64WJMRL.js → chunk-DJCPG2RT.js} +817 -413
- package/dist/{chunk-ZMOSABYP.js → chunk-GZCIY2WK.js} +584 -382
- package/dist/{chunk-K7P6C6KU.js → chunk-LVXO4MLR.js} +586 -384
- package/dist/{chunk-AGSW7G4T.js → chunk-O4RAE6UJ.js} +582 -380
- package/dist/{chunk-RX5EB2HL.js → chunk-VSNV3MLV.js} +343 -141
- package/dist/{chunk-5XRJ5ATE.js → chunk-YOS2YTCE.js} +584 -382
- 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 +11 -6
- package/src/genome.ts +6 -0
- package/src/terms/geneVariant.ts +1 -0
|
@@ -40,19 +40,21 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
40
40
|
const $io6 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter));
|
|
41
41
|
const $io7 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io8(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io9(elem)));
|
|
42
42
|
const $io8 = (input3) => Array.isArray(input3.joinWith) && input3.joinWith.every((elem) => "string" === typeof elem);
|
|
43
|
-
const $io9 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && 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));
|
|
44
|
-
const $io10 = (input3) => (void 0 === input3.
|
|
45
|
-
const $io11 = (input3) =>
|
|
46
|
-
const $io12 = (input3) => "string" === typeof input3.name && "string" === typeof input3.
|
|
47
|
-
const $io13 = (input3) =>
|
|
48
|
-
const $io14 = (input3) => "string" === typeof input3.
|
|
49
|
-
const $io15 = (input3) => "
|
|
50
|
-
const $io16 = (input3) => "
|
|
51
|
-
const $io17 = (input3) =>
|
|
52
|
-
const $io18 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name &&
|
|
53
|
-
const $io19 = (input3) => "
|
|
54
|
-
const $io20 = (input3) =>
|
|
55
|
-
const $io21 = (input3) =>
|
|
43
|
+
const $io9 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.geneVariantTerm || "object" === typeof input3.geneVariantTerm && null !== input3.geneVariantTerm && $iu5(input3.geneVariantTerm)) && 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));
|
|
44
|
+
const $io10 = (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.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
45
|
+
const $io11 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io12(elem)));
|
|
46
|
+
const $io12 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.id || "string" === typeof input3.id) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
47
|
+
const $io13 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io14(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
48
|
+
const $io14 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
49
|
+
const $io15 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io16(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
50
|
+
const $io16 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io8(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io9(elem))) && ("object" === typeof input3.active && null !== input3.active && $io1(input3.active)) && "number" === typeof input3.group;
|
|
51
|
+
const $io17 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
52
|
+
const $io18 = (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.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
53
|
+
const $io19 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io20(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 && $io29(elem)));
|
|
54
|
+
const $io20 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io21(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io28(input3.continuousColorScale));
|
|
55
|
+
const $io21 = (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);
|
|
56
|
+
const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io23(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);
|
|
57
|
+
const $io23 = (input3) => Object.keys(input3).every((key) => {
|
|
56
58
|
const value = input3[key];
|
|
57
59
|
if (void 0 === value)
|
|
58
60
|
return true;
|
|
@@ -60,17 +62,17 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
60
62
|
return "number" === typeof value;
|
|
61
63
|
return true;
|
|
62
64
|
});
|
|
63
|
-
const $
|
|
64
|
-
const $
|
|
65
|
-
const $
|
|
66
|
-
const $
|
|
67
|
-
const $
|
|
68
|
-
const $
|
|
69
|
-
const $
|
|
70
|
-
const $
|
|
71
|
-
const $
|
|
72
|
-
const $
|
|
73
|
-
const $
|
|
65
|
+
const $io24 = (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);
|
|
66
|
+
const $io25 = (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);
|
|
67
|
+
const $io26 = (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);
|
|
68
|
+
const $io27 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io23(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);
|
|
69
|
+
const $io28 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
70
|
+
const $io29 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
71
|
+
const $io30 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io31(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 && $io32(elem)));
|
|
72
|
+
const $io31 = (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.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter));
|
|
73
|
+
const $io32 = (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;
|
|
74
|
+
const $io33 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io9(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io34(elem)));
|
|
75
|
+
const $io34 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
74
76
|
const $iu0 = (input3) => (() => {
|
|
75
77
|
if ("tvslst" === input3.type)
|
|
76
78
|
return $io1(input3);
|
|
@@ -80,55 +82,62 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
80
82
|
})();
|
|
81
83
|
const $iu1 = (input3) => (() => {
|
|
82
84
|
if ("string" === typeof input3.type)
|
|
83
|
-
return $
|
|
85
|
+
return $io13(input3);
|
|
84
86
|
if ("filter" === input3.type)
|
|
85
|
-
return $
|
|
87
|
+
return $io15(input3);
|
|
86
88
|
return false;
|
|
87
89
|
})();
|
|
88
90
|
const $iu2 = (input3) => (() => {
|
|
89
91
|
if (true === input3.startunbounded)
|
|
90
|
-
return $io22(input3);
|
|
91
|
-
if (true === input3.stopunbounded)
|
|
92
92
|
return $io24(input3);
|
|
93
|
-
|
|
93
|
+
if (true === input3.stopunbounded)
|
|
94
|
+
return $io26(input3);
|
|
95
|
+
return $io25(input3);
|
|
94
96
|
})();
|
|
95
97
|
const $iu3 = (input3) => (() => {
|
|
96
98
|
if (void 0 !== input3.ranges)
|
|
97
|
-
return $
|
|
99
|
+
return $io19(input3);
|
|
98
100
|
return (() => {
|
|
99
101
|
if ($io3(input3))
|
|
100
102
|
return $io3(input3);
|
|
101
|
-
if ($
|
|
102
|
-
return $
|
|
103
|
-
if ($
|
|
104
|
-
return $
|
|
103
|
+
if ($io30(input3))
|
|
104
|
+
return $io30(input3);
|
|
105
|
+
if ($io33(input3))
|
|
106
|
+
return $io33(input3);
|
|
105
107
|
return false;
|
|
106
108
|
})();
|
|
107
109
|
})();
|
|
108
110
|
const $iu4 = (input3) => (() => {
|
|
109
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $
|
|
110
|
-
return $
|
|
111
|
-
return $
|
|
111
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io12(elem)))
|
|
112
|
+
return $io11(input3);
|
|
113
|
+
return $io17(input3);
|
|
112
114
|
})();
|
|
113
115
|
const $iu5 = (input3) => (() => {
|
|
116
|
+
if ("gene" === input3.kind)
|
|
117
|
+
return $io10(input3);
|
|
118
|
+
if ("coord" === input3.kind)
|
|
119
|
+
return $io18(input3);
|
|
120
|
+
return false;
|
|
121
|
+
})();
|
|
122
|
+
const $iu6 = (input3) => (() => {
|
|
114
123
|
if ("regular-bin" === input3.type)
|
|
115
|
-
return $
|
|
124
|
+
return $io22(input3);
|
|
116
125
|
if ("custom-bin" === input3.type)
|
|
117
|
-
return $
|
|
126
|
+
return $io27(input3);
|
|
118
127
|
return false;
|
|
119
128
|
})();
|
|
120
|
-
const $
|
|
129
|
+
const $iu7 = (input3) => (() => {
|
|
121
130
|
if (true === input3.startunbounded)
|
|
122
|
-
return $
|
|
131
|
+
return $io24(input3);
|
|
123
132
|
if (void 0 !== input3.start)
|
|
124
|
-
return $
|
|
133
|
+
return $io25(input3);
|
|
125
134
|
return false;
|
|
126
135
|
})();
|
|
127
|
-
const $
|
|
136
|
+
const $iu8 = (input3) => (() => {
|
|
128
137
|
if (void 0 !== input3.stop)
|
|
129
|
-
return $
|
|
138
|
+
return $io25(input3);
|
|
130
139
|
if (true === input3.stopunbounded)
|
|
131
|
-
return $
|
|
140
|
+
return $io26(input3);
|
|
132
141
|
return false;
|
|
133
142
|
})();
|
|
134
143
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -423,6 +432,14 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
423
432
|
path: _path2 + ".name_noOrigin",
|
|
424
433
|
expected: "string",
|
|
425
434
|
value: input3.name_noOrigin
|
|
435
|
+
}), void 0 === input3.geneVariantTerm || ("object" === typeof input3.geneVariantTerm && null !== input3.geneVariantTerm || $report(_exceptionable2, {
|
|
436
|
+
path: _path2 + ".geneVariantTerm",
|
|
437
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
438
|
+
value: input3.geneVariantTerm
|
|
439
|
+
})) && $vu5(input3.geneVariantTerm, _path2 + ".geneVariantTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
440
|
+
path: _path2 + ".geneVariantTerm",
|
|
441
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
442
|
+
value: input3.geneVariantTerm
|
|
426
443
|
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
427
444
|
path: _path2 + ".isleaf",
|
|
428
445
|
expected: "boolean",
|
|
@@ -448,7 +465,96 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
448
465
|
expected: "TermValues",
|
|
449
466
|
value: input3.values
|
|
450
467
|
})].every((flag) => flag);
|
|
451
|
-
const $vo10 = (input3, _path2, _exceptionable2 = true) => [
|
|
468
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
469
|
+
path: _path2 + ".id",
|
|
470
|
+
expected: "string",
|
|
471
|
+
value: input3.id
|
|
472
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
473
|
+
path: _path2 + ".name",
|
|
474
|
+
expected: "string",
|
|
475
|
+
value: input3.name
|
|
476
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
477
|
+
path: _path2 + ".type",
|
|
478
|
+
expected: '"geneVariant"',
|
|
479
|
+
value: input3.type
|
|
480
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
481
|
+
path: _path2 + ".child_types",
|
|
482
|
+
expected: "(Array<string> | undefined)",
|
|
483
|
+
value: input3.child_types
|
|
484
|
+
})) && input3.child_types.map((elem, _index7) => "string" === typeof elem || $report(_exceptionable2, {
|
|
485
|
+
path: _path2 + ".child_types[" + _index7 + "]",
|
|
486
|
+
expected: "string",
|
|
487
|
+
value: elem
|
|
488
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
489
|
+
path: _path2 + ".child_types",
|
|
490
|
+
expected: "(Array<string> | undefined)",
|
|
491
|
+
value: input3.child_types
|
|
492
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
493
|
+
path: _path2 + ".hashtmldetail",
|
|
494
|
+
expected: "(boolean | undefined)",
|
|
495
|
+
value: input3.hashtmldetail
|
|
496
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
497
|
+
path: _path2 + ".included_types",
|
|
498
|
+
expected: "(Array<string> | undefined)",
|
|
499
|
+
value: input3.included_types
|
|
500
|
+
})) && input3.included_types.map((elem, _index8) => "string" === typeof elem || $report(_exceptionable2, {
|
|
501
|
+
path: _path2 + ".included_types[" + _index8 + "]",
|
|
502
|
+
expected: "string",
|
|
503
|
+
value: elem
|
|
504
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
505
|
+
path: _path2 + ".included_types",
|
|
506
|
+
expected: "(Array<string> | undefined)",
|
|
507
|
+
value: input3.included_types
|
|
508
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
509
|
+
path: _path2 + ".isleaf",
|
|
510
|
+
expected: "(boolean | undefined)",
|
|
511
|
+
value: input3.isleaf
|
|
512
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
513
|
+
path: _path2 + ".values",
|
|
514
|
+
expected: "(TermValues | undefined)",
|
|
515
|
+
value: input3.values
|
|
516
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
517
|
+
path: _path2 + ".values",
|
|
518
|
+
expected: "(TermValues | undefined)",
|
|
519
|
+
value: input3.values
|
|
520
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
521
|
+
path: _path2 + ".filter",
|
|
522
|
+
expected: "(TermFilter | undefined)",
|
|
523
|
+
value: input3.filter
|
|
524
|
+
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
525
|
+
path: _path2 + ".filter",
|
|
526
|
+
expected: "(TermFilter | undefined)",
|
|
527
|
+
value: input3.filter
|
|
528
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
529
|
+
path: _path2 + ".kind",
|
|
530
|
+
expected: '"gene"',
|
|
531
|
+
value: input3.kind
|
|
532
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
533
|
+
path: _path2 + ".gene",
|
|
534
|
+
expected: "string",
|
|
535
|
+
value: input3.gene
|
|
536
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
537
|
+
path: _path2 + ".chr",
|
|
538
|
+
expected: "(string | undefined)",
|
|
539
|
+
value: input3.chr
|
|
540
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
541
|
+
path: _path2 + ".start",
|
|
542
|
+
expected: "(number | undefined)",
|
|
543
|
+
value: input3.start
|
|
544
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
545
|
+
path: _path2 + ".stop",
|
|
546
|
+
expected: "(number | undefined)",
|
|
547
|
+
value: input3.stop
|
|
548
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
549
|
+
path: _path2 + ".groupsetting",
|
|
550
|
+
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
551
|
+
value: input3.groupsetting
|
|
552
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
553
|
+
path: _path2 + ".groupsetting",
|
|
554
|
+
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
555
|
+
value: input3.groupsetting
|
|
556
|
+
})].every((flag) => flag);
|
|
557
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
452
558
|
path: _path2 + ".disabled",
|
|
453
559
|
expected: "(boolean | undefined)",
|
|
454
560
|
value: input3.disabled
|
|
@@ -456,12 +562,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
456
562
|
path: _path2 + ".lst",
|
|
457
563
|
expected: "Array<Groupset>",
|
|
458
564
|
value: input3.lst
|
|
459
|
-
})) && input3.lst.map((elem,
|
|
460
|
-
path: _path2 + ".lst[" +
|
|
565
|
+
})) && input3.lst.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
566
|
+
path: _path2 + ".lst[" + _index9 + "]",
|
|
461
567
|
expected: "Groupset",
|
|
462
568
|
value: elem
|
|
463
|
-
})) && $
|
|
464
|
-
path: _path2 + ".lst[" +
|
|
569
|
+
})) && $vo12(elem, _path2 + ".lst[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
570
|
+
path: _path2 + ".lst[" + _index9 + "]",
|
|
465
571
|
expected: "Groupset",
|
|
466
572
|
value: elem
|
|
467
573
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -469,7 +575,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
469
575
|
expected: "Array<Groupset>",
|
|
470
576
|
value: input3.lst
|
|
471
577
|
})].every((flag) => flag);
|
|
472
|
-
const $
|
|
578
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
473
579
|
path: _path2 + ".name",
|
|
474
580
|
expected: "string",
|
|
475
581
|
value: input3.name
|
|
@@ -489,12 +595,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
489
595
|
path: _path2 + ".groups",
|
|
490
596
|
expected: "Array<GroupEntry>",
|
|
491
597
|
value: input3.groups
|
|
492
|
-
})) && input3.groups.map((elem,
|
|
493
|
-
path: _path2 + ".groups[" +
|
|
598
|
+
})) && input3.groups.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
599
|
+
path: _path2 + ".groups[" + _index10 + "]",
|
|
494
600
|
expected: "(FilterGroup | ValuesGroup)",
|
|
495
601
|
value: elem
|
|
496
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
497
|
-
path: _path2 + ".groups[" +
|
|
602
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
603
|
+
path: _path2 + ".groups[" + _index10 + "]",
|
|
498
604
|
expected: "(FilterGroup | ValuesGroup)",
|
|
499
605
|
value: elem
|
|
500
606
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -502,7 +608,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
502
608
|
expected: "Array<GroupEntry>",
|
|
503
609
|
value: input3.groups
|
|
504
610
|
})].every((flag) => flag);
|
|
505
|
-
const $
|
|
611
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
506
612
|
path: _path2 + ".name",
|
|
507
613
|
expected: "string",
|
|
508
614
|
value: input3.name
|
|
@@ -514,12 +620,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
514
620
|
path: _path2 + ".values",
|
|
515
621
|
expected: "Array<__type>",
|
|
516
622
|
value: input3.values
|
|
517
|
-
})) && input3.values.map((elem,
|
|
518
|
-
path: _path2 + ".values[" +
|
|
623
|
+
})) && input3.values.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
624
|
+
path: _path2 + ".values[" + _index11 + "]",
|
|
519
625
|
expected: "__type.o2",
|
|
520
626
|
value: elem
|
|
521
|
-
})) && $
|
|
522
|
-
path: _path2 + ".values[" +
|
|
627
|
+
})) && $vo14(elem, _path2 + ".values[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
628
|
+
path: _path2 + ".values[" + _index11 + "]",
|
|
523
629
|
expected: "__type.o2",
|
|
524
630
|
value: elem
|
|
525
631
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -531,7 +637,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
531
637
|
expected: "(boolean | undefined)",
|
|
532
638
|
value: input3.uncomputable
|
|
533
639
|
})].every((flag) => flag);
|
|
534
|
-
const $
|
|
640
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
535
641
|
path: _path2 + ".key",
|
|
536
642
|
expected: "(number | string)",
|
|
537
643
|
value: input3.key
|
|
@@ -540,7 +646,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
540
646
|
expected: "string",
|
|
541
647
|
value: input3.label
|
|
542
648
|
})].every((flag) => flag);
|
|
543
|
-
const $
|
|
649
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
544
650
|
path: _path2 + ".name",
|
|
545
651
|
expected: "string",
|
|
546
652
|
value: input3.name
|
|
@@ -552,7 +658,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
552
658
|
path: _path2 + ".filter",
|
|
553
659
|
expected: "TermFilter & { active: Filter; group: number; }",
|
|
554
660
|
value: input3.filter
|
|
555
|
-
})) && $
|
|
661
|
+
})) && $vo16(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
556
662
|
path: _path2 + ".filter",
|
|
557
663
|
expected: "TermFilter & { active: Filter; group: number; }",
|
|
558
664
|
value: input3.filter
|
|
@@ -561,7 +667,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
561
667
|
expected: "boolean",
|
|
562
668
|
value: input3.uncomputable
|
|
563
669
|
})].every((flag) => flag);
|
|
564
|
-
const $
|
|
670
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
565
671
|
path: _path2 + ".opts",
|
|
566
672
|
expected: "__type.o1",
|
|
567
673
|
value: input3.opts
|
|
@@ -573,12 +679,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
573
679
|
path: _path2 + ".terms",
|
|
574
680
|
expected: "Array<DtTerm>",
|
|
575
681
|
value: input3.terms
|
|
576
|
-
})) && input3.terms.map((elem,
|
|
577
|
-
path: _path2 + ".terms[" +
|
|
682
|
+
})) && input3.terms.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
683
|
+
path: _path2 + ".terms[" + _index12 + "]",
|
|
578
684
|
expected: "DtTerm",
|
|
579
685
|
value: elem
|
|
580
|
-
})) && $vo9(elem, _path2 + ".terms[" +
|
|
581
|
-
path: _path2 + ".terms[" +
|
|
686
|
+
})) && $vo9(elem, _path2 + ".terms[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
687
|
+
path: _path2 + ".terms[" + _index12 + "]",
|
|
582
688
|
expected: "DtTerm",
|
|
583
689
|
value: elem
|
|
584
690
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -598,7 +704,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
598
704
|
expected: "number",
|
|
599
705
|
value: input3.group
|
|
600
706
|
})].every((flag) => flag);
|
|
601
|
-
const $
|
|
707
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
602
708
|
path: _path2 + ".disabled",
|
|
603
709
|
expected: "boolean",
|
|
604
710
|
value: input3.disabled
|
|
@@ -615,7 +721,92 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
615
721
|
expected: "([] | undefined)",
|
|
616
722
|
value: input3.lst
|
|
617
723
|
})].every((flag) => flag);
|
|
618
|
-
const $
|
|
724
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
725
|
+
path: _path2 + ".id",
|
|
726
|
+
expected: "string",
|
|
727
|
+
value: input3.id
|
|
728
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
729
|
+
path: _path2 + ".name",
|
|
730
|
+
expected: "string",
|
|
731
|
+
value: input3.name
|
|
732
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
733
|
+
path: _path2 + ".type",
|
|
734
|
+
expected: '"geneVariant"',
|
|
735
|
+
value: input3.type
|
|
736
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
737
|
+
path: _path2 + ".child_types",
|
|
738
|
+
expected: "(Array<string> | undefined)",
|
|
739
|
+
value: input3.child_types
|
|
740
|
+
})) && input3.child_types.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable2, {
|
|
741
|
+
path: _path2 + ".child_types[" + _index13 + "]",
|
|
742
|
+
expected: "string",
|
|
743
|
+
value: elem
|
|
744
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
745
|
+
path: _path2 + ".child_types",
|
|
746
|
+
expected: "(Array<string> | undefined)",
|
|
747
|
+
value: input3.child_types
|
|
748
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
749
|
+
path: _path2 + ".hashtmldetail",
|
|
750
|
+
expected: "(boolean | undefined)",
|
|
751
|
+
value: input3.hashtmldetail
|
|
752
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
753
|
+
path: _path2 + ".included_types",
|
|
754
|
+
expected: "(Array<string> | undefined)",
|
|
755
|
+
value: input3.included_types
|
|
756
|
+
})) && input3.included_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
757
|
+
path: _path2 + ".included_types[" + _index14 + "]",
|
|
758
|
+
expected: "string",
|
|
759
|
+
value: elem
|
|
760
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
761
|
+
path: _path2 + ".included_types",
|
|
762
|
+
expected: "(Array<string> | undefined)",
|
|
763
|
+
value: input3.included_types
|
|
764
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
765
|
+
path: _path2 + ".isleaf",
|
|
766
|
+
expected: "(boolean | undefined)",
|
|
767
|
+
value: input3.isleaf
|
|
768
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
769
|
+
path: _path2 + ".values",
|
|
770
|
+
expected: "(TermValues | undefined)",
|
|
771
|
+
value: input3.values
|
|
772
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
773
|
+
path: _path2 + ".values",
|
|
774
|
+
expected: "(TermValues | undefined)",
|
|
775
|
+
value: input3.values
|
|
776
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
777
|
+
path: _path2 + ".filter",
|
|
778
|
+
expected: "(TermFilter | undefined)",
|
|
779
|
+
value: input3.filter
|
|
780
|
+
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
781
|
+
path: _path2 + ".filter",
|
|
782
|
+
expected: "(TermFilter | undefined)",
|
|
783
|
+
value: input3.filter
|
|
784
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
785
|
+
path: _path2 + ".kind",
|
|
786
|
+
expected: '"coord"',
|
|
787
|
+
value: input3.kind
|
|
788
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
789
|
+
path: _path2 + ".chr",
|
|
790
|
+
expected: "string",
|
|
791
|
+
value: input3.chr
|
|
792
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
793
|
+
path: _path2 + ".start",
|
|
794
|
+
expected: "number",
|
|
795
|
+
value: input3.start
|
|
796
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
797
|
+
path: _path2 + ".stop",
|
|
798
|
+
expected: "number",
|
|
799
|
+
value: input3.stop
|
|
800
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
801
|
+
path: _path2 + ".groupsetting",
|
|
802
|
+
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
803
|
+
value: input3.groupsetting
|
|
804
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
805
|
+
path: _path2 + ".groupsetting",
|
|
806
|
+
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
807
|
+
value: input3.groupsetting
|
|
808
|
+
})].every((flag) => flag);
|
|
809
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
619
810
|
path: _path2 + ".join",
|
|
620
811
|
expected: "(string | undefined)",
|
|
621
812
|
value: input3.join
|
|
@@ -627,7 +818,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
627
818
|
path: _path2 + ".term",
|
|
628
819
|
expected: "NumericTerm",
|
|
629
820
|
value: input3.term
|
|
630
|
-
})) && $
|
|
821
|
+
})) && $vo20(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
631
822
|
path: _path2 + ".term",
|
|
632
823
|
expected: "NumericTerm",
|
|
633
824
|
value: input3.term
|
|
@@ -635,12 +826,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
635
826
|
path: _path2 + ".ranges",
|
|
636
827
|
expected: "Array<NumericBin>",
|
|
637
828
|
value: input3.ranges
|
|
638
|
-
})) && input3.ranges.map((elem,
|
|
639
|
-
path: _path2 + ".ranges[" +
|
|
829
|
+
})) && input3.ranges.map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
830
|
+
path: _path2 + ".ranges[" + _index15 + "]",
|
|
640
831
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
641
832
|
value: elem
|
|
642
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
643
|
-
path: _path2 + ".ranges[" +
|
|
833
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index15 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
834
|
+
path: _path2 + ".ranges[" + _index15 + "]",
|
|
644
835
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
645
836
|
value: elem
|
|
646
837
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -651,12 +842,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
651
842
|
path: _path2 + ".values",
|
|
652
843
|
expected: "Array<__type>.o1",
|
|
653
844
|
value: input3.values
|
|
654
|
-
})) && input3.values.map((elem,
|
|
655
|
-
path: _path2 + ".values[" +
|
|
845
|
+
})) && input3.values.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
846
|
+
path: _path2 + ".values[" + _index16 + "]",
|
|
656
847
|
expected: "__type.o5",
|
|
657
848
|
value: elem
|
|
658
|
-
})) && $
|
|
659
|
-
path: _path2 + ".values[" +
|
|
849
|
+
})) && $vo29(elem, _path2 + ".values[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
850
|
+
path: _path2 + ".values[" + _index16 + "]",
|
|
660
851
|
expected: "__type.o5",
|
|
661
852
|
value: elem
|
|
662
853
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -664,7 +855,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
664
855
|
expected: "Array<__type>.o1",
|
|
665
856
|
value: input3.values
|
|
666
857
|
})].every((flag) => flag);
|
|
667
|
-
const $
|
|
858
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
668
859
|
path: _path2 + ".id",
|
|
669
860
|
expected: "string",
|
|
670
861
|
value: input3.id
|
|
@@ -680,8 +871,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
680
871
|
path: _path2 + ".child_types",
|
|
681
872
|
expected: "(Array<string> | undefined)",
|
|
682
873
|
value: input3.child_types
|
|
683
|
-
})) && input3.child_types.map((elem,
|
|
684
|
-
path: _path2 + ".child_types[" +
|
|
874
|
+
})) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
875
|
+
path: _path2 + ".child_types[" + _index17 + "]",
|
|
685
876
|
expected: "string",
|
|
686
877
|
value: elem
|
|
687
878
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -696,8 +887,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
696
887
|
path: _path2 + ".included_types",
|
|
697
888
|
expected: "(Array<string> | undefined)",
|
|
698
889
|
value: input3.included_types
|
|
699
|
-
})) && input3.included_types.map((elem,
|
|
700
|
-
path: _path2 + ".included_types[" +
|
|
890
|
+
})) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
891
|
+
path: _path2 + ".included_types[" + _index18 + "]",
|
|
701
892
|
expected: "string",
|
|
702
893
|
value: elem
|
|
703
894
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -728,7 +919,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
728
919
|
path: _path2 + ".bins",
|
|
729
920
|
expected: "PresetNumericBins",
|
|
730
921
|
value: input3.bins
|
|
731
|
-
})) && $
|
|
922
|
+
})) && $vo21(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
732
923
|
path: _path2 + ".bins",
|
|
733
924
|
expected: "PresetNumericBins",
|
|
734
925
|
value: input3.bins
|
|
@@ -740,16 +931,16 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
740
931
|
path: _path2 + ".continuousColorScale",
|
|
741
932
|
expected: "(__type.o4 | undefined)",
|
|
742
933
|
value: input3.continuousColorScale
|
|
743
|
-
})) && $
|
|
934
|
+
})) && $vo28(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
744
935
|
path: _path2 + ".continuousColorScale",
|
|
745
936
|
expected: "(__type.o4 | undefined)",
|
|
746
937
|
value: input3.continuousColorScale
|
|
747
938
|
})].every((flag) => flag);
|
|
748
|
-
const $
|
|
939
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
749
940
|
path: _path2 + '["default"]',
|
|
750
941
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
751
942
|
value: input3["default"]
|
|
752
|
-
})) && $
|
|
943
|
+
})) && $vu6(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
753
944
|
path: _path2 + '["default"]',
|
|
754
945
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
755
946
|
value: input3["default"]
|
|
@@ -757,7 +948,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
757
948
|
path: _path2 + ".less",
|
|
758
949
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
759
950
|
value: input3.less
|
|
760
|
-
})) && $
|
|
951
|
+
})) && $vu6(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
761
952
|
path: _path2 + ".less",
|
|
762
953
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
763
954
|
value: input3.less
|
|
@@ -782,11 +973,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
782
973
|
expected: "(number | undefined)",
|
|
783
974
|
value: input3.max
|
|
784
975
|
})].every((flag) => flag);
|
|
785
|
-
const $
|
|
976
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
786
977
|
path: _path2 + ".hiddenValues",
|
|
787
978
|
expected: "(HiddenValues | undefined)",
|
|
788
979
|
value: input3.hiddenValues
|
|
789
|
-
})) && $
|
|
980
|
+
})) && $vo23(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
790
981
|
path: _path2 + ".hiddenValues",
|
|
791
982
|
expected: "(HiddenValues | undefined)",
|
|
792
983
|
value: input3.hiddenValues
|
|
@@ -818,7 +1009,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
818
1009
|
path: _path2 + ".first_bin",
|
|
819
1010
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
820
1011
|
value: input3.first_bin
|
|
821
|
-
})) && $
|
|
1012
|
+
})) && $vu7(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
822
1013
|
path: _path2 + ".first_bin",
|
|
823
1014
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
824
1015
|
value: input3.first_bin
|
|
@@ -826,7 +1017,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
826
1017
|
path: _path2 + ".last_bin",
|
|
827
1018
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
828
1019
|
value: input3.last_bin
|
|
829
|
-
})) && $
|
|
1020
|
+
})) && $vu8(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
830
1021
|
path: _path2 + ".last_bin",
|
|
831
1022
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
832
1023
|
value: input3.last_bin
|
|
@@ -835,7 +1026,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
835
1026
|
expected: "(number | undefined)",
|
|
836
1027
|
value: input3.label_offset
|
|
837
1028
|
})].every((flag) => flag);
|
|
838
|
-
const $
|
|
1029
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
839
1030
|
const value = input3[key];
|
|
840
1031
|
if (void 0 === value)
|
|
841
1032
|
return true;
|
|
@@ -847,7 +1038,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
847
1038
|
});
|
|
848
1039
|
return true;
|
|
849
1040
|
}).every((flag) => flag)].every((flag) => flag);
|
|
850
|
-
const $
|
|
1041
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
851
1042
|
path: _path2 + ".startunbounded",
|
|
852
1043
|
expected: "true",
|
|
853
1044
|
value: input3.startunbounded
|
|
@@ -872,7 +1063,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
872
1063
|
expected: "(string | undefined)",
|
|
873
1064
|
value: input3.label
|
|
874
1065
|
})].every((flag) => flag);
|
|
875
|
-
const $
|
|
1066
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
876
1067
|
path: _path2 + ".startunbounded",
|
|
877
1068
|
expected: "(false | undefined)",
|
|
878
1069
|
value: input3.startunbounded
|
|
@@ -901,7 +1092,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
901
1092
|
expected: "(string | undefined)",
|
|
902
1093
|
value: input3.label
|
|
903
1094
|
})].every((flag) => flag);
|
|
904
|
-
const $
|
|
1095
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
905
1096
|
path: _path2 + ".start",
|
|
906
1097
|
expected: "number",
|
|
907
1098
|
value: input3.start
|
|
@@ -926,11 +1117,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
926
1117
|
expected: "(string | undefined)",
|
|
927
1118
|
value: input3.label
|
|
928
1119
|
})].every((flag) => flag);
|
|
929
|
-
const $
|
|
1120
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
930
1121
|
path: _path2 + ".hiddenValues",
|
|
931
1122
|
expected: "(HiddenValues | undefined)",
|
|
932
1123
|
value: input3.hiddenValues
|
|
933
|
-
})) && $
|
|
1124
|
+
})) && $vo23(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
934
1125
|
path: _path2 + ".hiddenValues",
|
|
935
1126
|
expected: "(HiddenValues | undefined)",
|
|
936
1127
|
value: input3.hiddenValues
|
|
@@ -972,12 +1163,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
972
1163
|
path: _path2 + ".lst",
|
|
973
1164
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
974
1165
|
value: input3.lst.slice(1)
|
|
975
|
-
})) && input3.lst.slice(1).map((elem,
|
|
976
|
-
path: _path2 + ".lst[" + (1 +
|
|
1166
|
+
})) && input3.lst.slice(1).map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1167
|
+
path: _path2 + ".lst[" + (1 + _index19) + "]",
|
|
977
1168
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
978
1169
|
value: elem
|
|
979
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
980
|
-
path: _path2 + ".lst[" + (1 +
|
|
1170
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index19) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1171
|
+
path: _path2 + ".lst[" + (1 + _index19) + "]",
|
|
981
1172
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
982
1173
|
value: elem
|
|
983
1174
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -993,7 +1184,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
993
1184
|
expected: '("median" | undefined)',
|
|
994
1185
|
value: input3.preferredBins
|
|
995
1186
|
})].every((flag) => flag);
|
|
996
|
-
const $
|
|
1187
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
997
1188
|
path: _path2 + ".minColor",
|
|
998
1189
|
expected: "string",
|
|
999
1190
|
value: input3.minColor
|
|
@@ -1002,7 +1193,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1002
1193
|
expected: "string",
|
|
1003
1194
|
value: input3.maxColor
|
|
1004
1195
|
})].every((flag) => flag);
|
|
1005
|
-
const $
|
|
1196
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1006
1197
|
path: _path2 + ".key",
|
|
1007
1198
|
expected: "string",
|
|
1008
1199
|
value: input3.key
|
|
@@ -1019,7 +1210,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1019
1210
|
expected: "(string | undefined)",
|
|
1020
1211
|
value: input3.label
|
|
1021
1212
|
})].every((flag) => flag);
|
|
1022
|
-
const $
|
|
1213
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1023
1214
|
path: _path2 + ".join",
|
|
1024
1215
|
expected: "(string | undefined)",
|
|
1025
1216
|
value: input3.join
|
|
@@ -1031,7 +1222,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1031
1222
|
path: _path2 + ".term",
|
|
1032
1223
|
expected: "ConditionTerm",
|
|
1033
1224
|
value: input3.term
|
|
1034
|
-
})) && $
|
|
1225
|
+
})) && $vo31(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1035
1226
|
path: _path2 + ".term",
|
|
1036
1227
|
expected: "ConditionTerm",
|
|
1037
1228
|
value: input3.term
|
|
@@ -1051,12 +1242,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1051
1242
|
path: _path2 + ".grade_and_child",
|
|
1052
1243
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1053
1244
|
value: input3.grade_and_child
|
|
1054
|
-
})) && input3.grade_and_child.map((elem,
|
|
1055
|
-
path: _path2 + ".grade_and_child[" +
|
|
1245
|
+
})) && input3.grade_and_child.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1246
|
+
path: _path2 + ".grade_and_child[" + _index20 + "]",
|
|
1056
1247
|
expected: "GradeAndChildEntry",
|
|
1057
1248
|
value: elem
|
|
1058
|
-
})) && $
|
|
1059
|
-
path: _path2 + ".grade_and_child[" +
|
|
1249
|
+
})) && $vo32(elem, _path2 + ".grade_and_child[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1250
|
+
path: _path2 + ".grade_and_child[" + _index20 + "]",
|
|
1060
1251
|
expected: "GradeAndChildEntry",
|
|
1061
1252
|
value: elem
|
|
1062
1253
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1064,7 +1255,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1064
1255
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1065
1256
|
value: input3.grade_and_child
|
|
1066
1257
|
})].every((flag) => flag);
|
|
1067
|
-
const $
|
|
1258
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1068
1259
|
path: _path2 + ".id",
|
|
1069
1260
|
expected: "string",
|
|
1070
1261
|
value: input3.id
|
|
@@ -1080,8 +1271,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1080
1271
|
path: _path2 + ".child_types",
|
|
1081
1272
|
expected: "(Array<string> | undefined)",
|
|
1082
1273
|
value: input3.child_types
|
|
1083
|
-
})) && input3.child_types.map((elem,
|
|
1084
|
-
path: _path2 + ".child_types[" +
|
|
1274
|
+
})) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1275
|
+
path: _path2 + ".child_types[" + _index21 + "]",
|
|
1085
1276
|
expected: "string",
|
|
1086
1277
|
value: elem
|
|
1087
1278
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1096,8 +1287,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1096
1287
|
path: _path2 + ".included_types",
|
|
1097
1288
|
expected: "(Array<string> | undefined)",
|
|
1098
1289
|
value: input3.included_types
|
|
1099
|
-
})) && input3.included_types.map((elem,
|
|
1100
|
-
path: _path2 + ".included_types[" +
|
|
1290
|
+
})) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1291
|
+
path: _path2 + ".included_types[" + _index22 + "]",
|
|
1101
1292
|
expected: "string",
|
|
1102
1293
|
value: elem
|
|
1103
1294
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1125,7 +1316,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1125
1316
|
expected: "(TermFilter | undefined)",
|
|
1126
1317
|
value: input3.filter
|
|
1127
1318
|
})].every((flag) => flag);
|
|
1128
|
-
const $
|
|
1319
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1129
1320
|
path: _path2 + ".grade",
|
|
1130
1321
|
expected: "number",
|
|
1131
1322
|
value: input3.grade
|
|
@@ -1142,7 +1333,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1142
1333
|
expected: "string",
|
|
1143
1334
|
value: input3.child_label
|
|
1144
1335
|
})].every((flag) => flag);
|
|
1145
|
-
const $
|
|
1336
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1146
1337
|
path: _path2 + ".join",
|
|
1147
1338
|
expected: "(string | undefined)",
|
|
1148
1339
|
value: input3.join
|
|
@@ -1162,12 +1353,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1162
1353
|
path: _path2 + ".values",
|
|
1163
1354
|
expected: "Array<__type>.o2",
|
|
1164
1355
|
value: input3.values
|
|
1165
|
-
})) && input3.values.map((elem,
|
|
1166
|
-
path: _path2 + ".values[" +
|
|
1356
|
+
})) && input3.values.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1357
|
+
path: _path2 + ".values[" + _index23 + "]",
|
|
1167
1358
|
expected: "__type.o6",
|
|
1168
1359
|
value: elem
|
|
1169
|
-
})) && $
|
|
1170
|
-
path: _path2 + ".values[" +
|
|
1360
|
+
})) && $vo34(elem, _path2 + ".values[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1361
|
+
path: _path2 + ".values[" + _index23 + "]",
|
|
1171
1362
|
expected: "__type.o6",
|
|
1172
1363
|
value: elem
|
|
1173
1364
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1175,7 +1366,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1175
1366
|
expected: "Array<__type>.o2",
|
|
1176
1367
|
value: input3.values
|
|
1177
1368
|
})].every((flag) => flag);
|
|
1178
|
-
const $
|
|
1369
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1179
1370
|
path: _path2 + ".key",
|
|
1180
1371
|
expected: "string",
|
|
1181
1372
|
value: input3.key
|
|
@@ -1201,9 +1392,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1201
1392
|
})();
|
|
1202
1393
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1203
1394
|
if ("string" === typeof input3.type)
|
|
1204
|
-
return $
|
|
1395
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
1205
1396
|
if ("filter" === input3.type)
|
|
1206
|
-
return $
|
|
1397
|
+
return $vo15(input3, _path2, _exceptionable2);
|
|
1207
1398
|
return $report(_exceptionable2, {
|
|
1208
1399
|
path: _path2,
|
|
1209
1400
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -1212,48 +1403,59 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1212
1403
|
})();
|
|
1213
1404
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1214
1405
|
if (true === input3.startunbounded)
|
|
1215
|
-
return $vo22(input3, _path2, _exceptionable2);
|
|
1216
|
-
if (true === input3.stopunbounded)
|
|
1217
1406
|
return $vo24(input3, _path2, _exceptionable2);
|
|
1218
|
-
|
|
1407
|
+
if (true === input3.stopunbounded)
|
|
1408
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
1409
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
1219
1410
|
})();
|
|
1220
1411
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1221
1412
|
if (void 0 !== input3.ranges)
|
|
1222
|
-
return $
|
|
1223
|
-
return $vo3(input3, _path2, false) || $
|
|
1413
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1414
|
+
return $vo3(input3, _path2, false) || $vo30(input3, _path2, false) || $vo33(input3, _path2, false);
|
|
1224
1415
|
})();
|
|
1225
1416
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1226
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
1227
|
-
return $
|
|
1228
|
-
return $
|
|
1417
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index24) => "object" === typeof elem && null !== elem && $vo12(elem, _path2 + ".lst[" + _index24 + "]", false)).every((flag) => flag))
|
|
1418
|
+
return $vo11(input3, _path2, _exceptionable2);
|
|
1419
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
1229
1420
|
})();
|
|
1230
1421
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1422
|
+
if ("gene" === input3.kind)
|
|
1423
|
+
return $vo10(input3, _path2, _exceptionable2);
|
|
1424
|
+
if ("coord" === input3.kind)
|
|
1425
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1426
|
+
return $report(_exceptionable2, {
|
|
1427
|
+
path: _path2,
|
|
1428
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; })',
|
|
1429
|
+
value: input3
|
|
1430
|
+
});
|
|
1431
|
+
})();
|
|
1432
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1231
1433
|
if ("regular-bin" === input3.type)
|
|
1232
|
-
return $
|
|
1434
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1233
1435
|
if ("custom-bin" === input3.type)
|
|
1234
|
-
return $
|
|
1436
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
1235
1437
|
return $report(_exceptionable2, {
|
|
1236
1438
|
path: _path2,
|
|
1237
1439
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
1238
1440
|
value: input3
|
|
1239
1441
|
});
|
|
1240
1442
|
})();
|
|
1241
|
-
const $
|
|
1443
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1242
1444
|
if (true === input3.startunbounded)
|
|
1243
|
-
return $
|
|
1445
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
1244
1446
|
if (void 0 !== input3.start)
|
|
1245
|
-
return $
|
|
1447
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
1246
1448
|
return $report(_exceptionable2, {
|
|
1247
1449
|
path: _path2,
|
|
1248
1450
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
1249
1451
|
value: input3
|
|
1250
1452
|
});
|
|
1251
1453
|
})();
|
|
1252
|
-
const $
|
|
1454
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1253
1455
|
if (void 0 !== input3.stop)
|
|
1254
|
-
return $
|
|
1456
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
1255
1457
|
if (true === input3.stopunbounded)
|
|
1256
|
-
return $
|
|
1458
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
1257
1459
|
return $report(_exceptionable2, {
|
|
1258
1460
|
path: _path2,
|
|
1259
1461
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
@@ -1301,19 +1503,21 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1301
1503
|
const $io7 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
1302
1504
|
const $io8 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io9(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io10(elem)));
|
|
1303
1505
|
const $io9 = (input3) => Array.isArray(input3.joinWith) && input3.joinWith.every((elem) => "string" === typeof elem);
|
|
1304
|
-
const $io10 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && 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));
|
|
1305
|
-
const $io11 = (input3) => (void 0 === input3.
|
|
1306
|
-
const $io12 = (input3) =>
|
|
1307
|
-
const $io13 = (input3) => "string" === typeof input3.name && "string" === typeof input3.
|
|
1308
|
-
const $io14 = (input3) =>
|
|
1309
|
-
const $io15 = (input3) => "string" === typeof input3.
|
|
1310
|
-
const $io16 = (input3) => "
|
|
1311
|
-
const $io17 = (input3) => "
|
|
1312
|
-
const $io18 = (input3) =>
|
|
1313
|
-
const $io19 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name &&
|
|
1314
|
-
const $io20 = (input3) => "
|
|
1315
|
-
const $io21 = (input3) =>
|
|
1316
|
-
const $io22 = (input3) =>
|
|
1506
|
+
const $io10 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.geneVariantTerm || "object" === typeof input3.geneVariantTerm && null !== input3.geneVariantTerm && $iu6(input3.geneVariantTerm)) && 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));
|
|
1507
|
+
const $io11 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
1508
|
+
const $io12 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io13(elem)));
|
|
1509
|
+
const $io13 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.id || "string" === typeof input3.id) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem)));
|
|
1510
|
+
const $io14 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io15(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
1511
|
+
const $io15 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
1512
|
+
const $io16 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io17(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
1513
|
+
const $io17 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io9(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io10(elem))) && ("object" === typeof input3.active && null !== input3.active && $io4(input3.active)) && "number" === typeof input3.group;
|
|
1514
|
+
const $io18 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
1515
|
+
const $io19 = (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.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
1516
|
+
const $io20 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io21(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 && $io30(elem)));
|
|
1517
|
+
const $io21 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io22(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io29(input3.continuousColorScale));
|
|
1518
|
+
const $io22 = (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);
|
|
1519
|
+
const $io23 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io24(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);
|
|
1520
|
+
const $io24 = (input3) => Object.keys(input3).every((key) => {
|
|
1317
1521
|
const value = input3[key];
|
|
1318
1522
|
if (void 0 === value)
|
|
1319
1523
|
return true;
|
|
@@ -1321,54 +1525,54 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1321
1525
|
return "number" === typeof value;
|
|
1322
1526
|
return true;
|
|
1323
1527
|
});
|
|
1324
|
-
const $
|
|
1325
|
-
const $
|
|
1326
|
-
const $
|
|
1327
|
-
const $
|
|
1328
|
-
const $
|
|
1329
|
-
const $
|
|
1330
|
-
const $
|
|
1331
|
-
const $
|
|
1332
|
-
const $
|
|
1333
|
-
const $
|
|
1334
|
-
const $
|
|
1335
|
-
const $
|
|
1336
|
-
const $
|
|
1337
|
-
const $
|
|
1338
|
-
const $
|
|
1339
|
-
const $
|
|
1340
|
-
const $
|
|
1341
|
-
const $
|
|
1342
|
-
const $
|
|
1343
|
-
const $
|
|
1344
|
-
const $
|
|
1528
|
+
const $io25 = (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);
|
|
1529
|
+
const $io26 = (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);
|
|
1530
|
+
const $io27 = (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);
|
|
1531
|
+
const $io28 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io24(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);
|
|
1532
|
+
const $io29 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
1533
|
+
const $io30 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
1534
|
+
const $io31 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io32(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 && $io33(elem)));
|
|
1535
|
+
const $io32 = (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.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter));
|
|
1536
|
+
const $io33 = (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;
|
|
1537
|
+
const $io34 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io10(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
|
|
1538
|
+
const $io35 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
1539
|
+
const $io36 = (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.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
1540
|
+
const $io37 = (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.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
1541
|
+
const $io38 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io22(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io29(input3.continuousColorScale));
|
|
1542
|
+
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.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter));
|
|
1543
|
+
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.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter)) && (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)));
|
|
1544
|
+
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);
|
|
1545
|
+
const $io42 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
1546
|
+
const $io43 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
1547
|
+
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.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter));
|
|
1548
|
+
const $io45 = (input3) => Object.keys(input3).every((key) => {
|
|
1345
1549
|
const value = input3[key];
|
|
1346
1550
|
if (void 0 === value)
|
|
1347
1551
|
return true;
|
|
1348
1552
|
if (RegExp(/(.*)/).test(key))
|
|
1349
|
-
return "object" === typeof value && null !== value && $
|
|
1553
|
+
return "object" === typeof value && null !== value && $io46(value);
|
|
1350
1554
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
1351
|
-
return "object" === typeof value && null !== value && $
|
|
1555
|
+
return "object" === typeof value && null !== value && $io46(value);
|
|
1352
1556
|
return true;
|
|
1353
1557
|
});
|
|
1354
|
-
const $
|
|
1355
|
-
const $
|
|
1558
|
+
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;
|
|
1559
|
+
const $io47 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
1356
1560
|
const $iu0 = (input3) => (() => {
|
|
1357
1561
|
if ("gene" === input3.kind)
|
|
1358
1562
|
return $io1(input3);
|
|
1359
1563
|
if ("coord" === input3.kind)
|
|
1360
|
-
return $
|
|
1564
|
+
return $io36(input3);
|
|
1361
1565
|
if ("categorical" === input3.type)
|
|
1362
|
-
return $
|
|
1566
|
+
return $io37(input3);
|
|
1363
1567
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
1364
|
-
return $
|
|
1568
|
+
return $io38(input3);
|
|
1365
1569
|
if ("condition" === input3.type)
|
|
1366
|
-
return $
|
|
1570
|
+
return $io39(input3);
|
|
1367
1571
|
return (() => {
|
|
1368
|
-
if ($
|
|
1369
|
-
return $
|
|
1370
|
-
if ($
|
|
1371
|
-
return $
|
|
1572
|
+
if ($io40(input3))
|
|
1573
|
+
return $io40(input3);
|
|
1574
|
+
if ($io44(input3))
|
|
1575
|
+
return $io44(input3);
|
|
1372
1576
|
return false;
|
|
1373
1577
|
})();
|
|
1374
1578
|
})();
|
|
@@ -1381,55 +1585,62 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1381
1585
|
})();
|
|
1382
1586
|
const $iu2 = (input3) => (() => {
|
|
1383
1587
|
if ("string" === typeof input3.type)
|
|
1384
|
-
return $
|
|
1588
|
+
return $io14(input3);
|
|
1385
1589
|
if ("filter" === input3.type)
|
|
1386
|
-
return $
|
|
1590
|
+
return $io16(input3);
|
|
1387
1591
|
return false;
|
|
1388
1592
|
})();
|
|
1389
1593
|
const $iu3 = (input3) => (() => {
|
|
1390
1594
|
if (true === input3.startunbounded)
|
|
1391
|
-
return $io23(input3);
|
|
1392
|
-
if (true === input3.stopunbounded)
|
|
1393
1595
|
return $io25(input3);
|
|
1394
|
-
|
|
1596
|
+
if (true === input3.stopunbounded)
|
|
1597
|
+
return $io27(input3);
|
|
1598
|
+
return $io26(input3);
|
|
1395
1599
|
})();
|
|
1396
1600
|
const $iu4 = (input3) => (() => {
|
|
1397
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $
|
|
1398
|
-
return $
|
|
1399
|
-
return $
|
|
1601
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io13(elem)))
|
|
1602
|
+
return $io12(input3);
|
|
1603
|
+
return $io18(input3);
|
|
1400
1604
|
})();
|
|
1401
1605
|
const $iu5 = (input3) => (() => {
|
|
1402
1606
|
if (void 0 !== input3.ranges)
|
|
1403
|
-
return $
|
|
1607
|
+
return $io20(input3);
|
|
1404
1608
|
return (() => {
|
|
1405
1609
|
if ($io6(input3))
|
|
1406
1610
|
return $io6(input3);
|
|
1407
|
-
if ($
|
|
1408
|
-
return $
|
|
1409
|
-
if ($
|
|
1410
|
-
return $
|
|
1611
|
+
if ($io31(input3))
|
|
1612
|
+
return $io31(input3);
|
|
1613
|
+
if ($io34(input3))
|
|
1614
|
+
return $io34(input3);
|
|
1411
1615
|
return false;
|
|
1412
1616
|
})();
|
|
1413
1617
|
})();
|
|
1414
1618
|
const $iu6 = (input3) => (() => {
|
|
1619
|
+
if ("gene" === input3.kind)
|
|
1620
|
+
return $io11(input3);
|
|
1621
|
+
if ("coord" === input3.kind)
|
|
1622
|
+
return $io19(input3);
|
|
1623
|
+
return false;
|
|
1624
|
+
})();
|
|
1625
|
+
const $iu7 = (input3) => (() => {
|
|
1415
1626
|
if ("regular-bin" === input3.type)
|
|
1416
|
-
return $
|
|
1627
|
+
return $io23(input3);
|
|
1417
1628
|
if ("custom-bin" === input3.type)
|
|
1418
|
-
return $
|
|
1629
|
+
return $io28(input3);
|
|
1419
1630
|
return false;
|
|
1420
1631
|
})();
|
|
1421
|
-
const $
|
|
1632
|
+
const $iu8 = (input3) => (() => {
|
|
1422
1633
|
if (true === input3.startunbounded)
|
|
1423
|
-
return $
|
|
1634
|
+
return $io25(input3);
|
|
1424
1635
|
if (void 0 !== input3.start)
|
|
1425
|
-
return $
|
|
1636
|
+
return $io26(input3);
|
|
1426
1637
|
return false;
|
|
1427
1638
|
})();
|
|
1428
|
-
const $
|
|
1639
|
+
const $iu9 = (input3) => (() => {
|
|
1429
1640
|
if (void 0 !== input3.stop)
|
|
1430
|
-
return $
|
|
1641
|
+
return $io26(input3);
|
|
1431
1642
|
if (true === input3.stopunbounded)
|
|
1432
|
-
return $
|
|
1643
|
+
return $io27(input3);
|
|
1433
1644
|
return false;
|
|
1434
1645
|
})();
|
|
1435
1646
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -1804,37 +2015,134 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1804
2015
|
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1805
2016
|
path: _path2 + ".name",
|
|
1806
2017
|
expected: "string",
|
|
1807
|
-
value: input3.name
|
|
1808
|
-
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
1809
|
-
path: _path2 + ".name_noOrigin",
|
|
2018
|
+
value: input3.name
|
|
2019
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
2020
|
+
path: _path2 + ".name_noOrigin",
|
|
2021
|
+
expected: "string",
|
|
2022
|
+
value: input3.name_noOrigin
|
|
2023
|
+
}), void 0 === input3.geneVariantTerm || ("object" === typeof input3.geneVariantTerm && null !== input3.geneVariantTerm || $report(_exceptionable2, {
|
|
2024
|
+
path: _path2 + ".geneVariantTerm",
|
|
2025
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
2026
|
+
value: input3.geneVariantTerm
|
|
2027
|
+
})) && $vu6(input3.geneVariantTerm, _path2 + ".geneVariantTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
2028
|
+
path: _path2 + ".geneVariantTerm",
|
|
2029
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
2030
|
+
value: input3.geneVariantTerm
|
|
2031
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2032
|
+
path: _path2 + ".isleaf",
|
|
2033
|
+
expected: "boolean",
|
|
2034
|
+
value: input3.isleaf
|
|
2035
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
2036
|
+
path: _path2 + ".type",
|
|
2037
|
+
expected: "string",
|
|
2038
|
+
value: input3.type
|
|
2039
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
2040
|
+
path: _path2 + ".dt",
|
|
2041
|
+
expected: "number",
|
|
2042
|
+
value: input3.dt
|
|
2043
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
2044
|
+
path: _path2 + ".origin",
|
|
2045
|
+
expected: "(string | undefined)",
|
|
2046
|
+
value: input3.origin
|
|
2047
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2048
|
+
path: _path2 + ".values",
|
|
2049
|
+
expected: "TermValues",
|
|
2050
|
+
value: input3.values
|
|
2051
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2052
|
+
path: _path2 + ".values",
|
|
2053
|
+
expected: "TermValues",
|
|
2054
|
+
value: input3.values
|
|
2055
|
+
})].every((flag) => flag);
|
|
2056
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2057
|
+
path: _path2 + ".id",
|
|
2058
|
+
expected: "string",
|
|
2059
|
+
value: input3.id
|
|
2060
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2061
|
+
path: _path2 + ".name",
|
|
2062
|
+
expected: "string",
|
|
2063
|
+
value: input3.name
|
|
2064
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
2065
|
+
path: _path2 + ".type",
|
|
2066
|
+
expected: '"geneVariant"',
|
|
2067
|
+
value: input3.type
|
|
2068
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2069
|
+
path: _path2 + ".child_types",
|
|
2070
|
+
expected: "(Array<string> | undefined)",
|
|
2071
|
+
value: input3.child_types
|
|
2072
|
+
})) && input3.child_types.map((elem, _index10) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2073
|
+
path: _path2 + ".child_types[" + _index10 + "]",
|
|
2074
|
+
expected: "string",
|
|
2075
|
+
value: elem
|
|
2076
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2077
|
+
path: _path2 + ".child_types",
|
|
2078
|
+
expected: "(Array<string> | undefined)",
|
|
2079
|
+
value: input3.child_types
|
|
2080
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2081
|
+
path: _path2 + ".hashtmldetail",
|
|
2082
|
+
expected: "(boolean | undefined)",
|
|
2083
|
+
value: input3.hashtmldetail
|
|
2084
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2085
|
+
path: _path2 + ".included_types",
|
|
2086
|
+
expected: "(Array<string> | undefined)",
|
|
2087
|
+
value: input3.included_types
|
|
2088
|
+
})) && input3.included_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2089
|
+
path: _path2 + ".included_types[" + _index11 + "]",
|
|
1810
2090
|
expected: "string",
|
|
1811
|
-
value:
|
|
1812
|
-
})
|
|
2091
|
+
value: elem
|
|
2092
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2093
|
+
path: _path2 + ".included_types",
|
|
2094
|
+
expected: "(Array<string> | undefined)",
|
|
2095
|
+
value: input3.included_types
|
|
2096
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1813
2097
|
path: _path2 + ".isleaf",
|
|
1814
|
-
expected: "boolean",
|
|
2098
|
+
expected: "(boolean | undefined)",
|
|
1815
2099
|
value: input3.isleaf
|
|
1816
|
-
}), "
|
|
1817
|
-
path: _path2 + ".type",
|
|
1818
|
-
expected: "string",
|
|
1819
|
-
value: input3.type
|
|
1820
|
-
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
1821
|
-
path: _path2 + ".dt",
|
|
1822
|
-
expected: "number",
|
|
1823
|
-
value: input3.dt
|
|
1824
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
1825
|
-
path: _path2 + ".origin",
|
|
1826
|
-
expected: "(string | undefined)",
|
|
1827
|
-
value: input3.origin
|
|
1828
|
-
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2100
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1829
2101
|
path: _path2 + ".values",
|
|
1830
|
-
expected: "TermValues",
|
|
2102
|
+
expected: "(TermValues | undefined)",
|
|
1831
2103
|
value: input3.values
|
|
1832
2104
|
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1833
2105
|
path: _path2 + ".values",
|
|
1834
|
-
expected: "TermValues",
|
|
2106
|
+
expected: "(TermValues | undefined)",
|
|
1835
2107
|
value: input3.values
|
|
2108
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2109
|
+
path: _path2 + ".filter",
|
|
2110
|
+
expected: "(TermFilter | undefined)",
|
|
2111
|
+
value: input3.filter
|
|
2112
|
+
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2113
|
+
path: _path2 + ".filter",
|
|
2114
|
+
expected: "(TermFilter | undefined)",
|
|
2115
|
+
value: input3.filter
|
|
2116
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
2117
|
+
path: _path2 + ".kind",
|
|
2118
|
+
expected: '"gene"',
|
|
2119
|
+
value: input3.kind
|
|
2120
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
2121
|
+
path: _path2 + ".gene",
|
|
2122
|
+
expected: "string",
|
|
2123
|
+
value: input3.gene
|
|
2124
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2125
|
+
path: _path2 + ".chr",
|
|
2126
|
+
expected: "(string | undefined)",
|
|
2127
|
+
value: input3.chr
|
|
2128
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2129
|
+
path: _path2 + ".start",
|
|
2130
|
+
expected: "(number | undefined)",
|
|
2131
|
+
value: input3.start
|
|
2132
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2133
|
+
path: _path2 + ".stop",
|
|
2134
|
+
expected: "(number | undefined)",
|
|
2135
|
+
value: input3.stop
|
|
2136
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2137
|
+
path: _path2 + ".groupsetting",
|
|
2138
|
+
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
2139
|
+
value: input3.groupsetting
|
|
2140
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2141
|
+
path: _path2 + ".groupsetting",
|
|
2142
|
+
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
2143
|
+
value: input3.groupsetting
|
|
1836
2144
|
})].every((flag) => flag);
|
|
1837
|
-
const $
|
|
2145
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1838
2146
|
path: _path2 + ".disabled",
|
|
1839
2147
|
expected: "(boolean | undefined)",
|
|
1840
2148
|
value: input3.disabled
|
|
@@ -1842,12 +2150,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1842
2150
|
path: _path2 + ".lst",
|
|
1843
2151
|
expected: "Array<Groupset>",
|
|
1844
2152
|
value: input3.lst
|
|
1845
|
-
})) && input3.lst.map((elem,
|
|
1846
|
-
path: _path2 + ".lst[" +
|
|
2153
|
+
})) && input3.lst.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2154
|
+
path: _path2 + ".lst[" + _index12 + "]",
|
|
1847
2155
|
expected: "Groupset",
|
|
1848
2156
|
value: elem
|
|
1849
|
-
})) && $
|
|
1850
|
-
path: _path2 + ".lst[" +
|
|
2157
|
+
})) && $vo13(elem, _path2 + ".lst[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2158
|
+
path: _path2 + ".lst[" + _index12 + "]",
|
|
1851
2159
|
expected: "Groupset",
|
|
1852
2160
|
value: elem
|
|
1853
2161
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1855,7 +2163,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1855
2163
|
expected: "Array<Groupset>",
|
|
1856
2164
|
value: input3.lst
|
|
1857
2165
|
})].every((flag) => flag);
|
|
1858
|
-
const $
|
|
2166
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
1859
2167
|
path: _path2 + ".name",
|
|
1860
2168
|
expected: "string",
|
|
1861
2169
|
value: input3.name
|
|
@@ -1875,12 +2183,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1875
2183
|
path: _path2 + ".groups",
|
|
1876
2184
|
expected: "Array<GroupEntry>",
|
|
1877
2185
|
value: input3.groups
|
|
1878
|
-
})) && input3.groups.map((elem,
|
|
1879
|
-
path: _path2 + ".groups[" +
|
|
2186
|
+
})) && input3.groups.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2187
|
+
path: _path2 + ".groups[" + _index13 + "]",
|
|
1880
2188
|
expected: "(FilterGroup | ValuesGroup)",
|
|
1881
2189
|
value: elem
|
|
1882
|
-
})) && $vu2(elem, _path2 + ".groups[" +
|
|
1883
|
-
path: _path2 + ".groups[" +
|
|
2190
|
+
})) && $vu2(elem, _path2 + ".groups[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2191
|
+
path: _path2 + ".groups[" + _index13 + "]",
|
|
1884
2192
|
expected: "(FilterGroup | ValuesGroup)",
|
|
1885
2193
|
value: elem
|
|
1886
2194
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1888,7 +2196,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1888
2196
|
expected: "Array<GroupEntry>",
|
|
1889
2197
|
value: input3.groups
|
|
1890
2198
|
})].every((flag) => flag);
|
|
1891
|
-
const $
|
|
2199
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
1892
2200
|
path: _path2 + ".name",
|
|
1893
2201
|
expected: "string",
|
|
1894
2202
|
value: input3.name
|
|
@@ -1900,12 +2208,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1900
2208
|
path: _path2 + ".values",
|
|
1901
2209
|
expected: "Array<__type>",
|
|
1902
2210
|
value: input3.values
|
|
1903
|
-
})) && input3.values.map((elem,
|
|
1904
|
-
path: _path2 + ".values[" +
|
|
2211
|
+
})) && input3.values.map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2212
|
+
path: _path2 + ".values[" + _index14 + "]",
|
|
1905
2213
|
expected: "__type.o2",
|
|
1906
2214
|
value: elem
|
|
1907
|
-
})) && $
|
|
1908
|
-
path: _path2 + ".values[" +
|
|
2215
|
+
})) && $vo15(elem, _path2 + ".values[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2216
|
+
path: _path2 + ".values[" + _index14 + "]",
|
|
1909
2217
|
expected: "__type.o2",
|
|
1910
2218
|
value: elem
|
|
1911
2219
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1917,7 +2225,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1917
2225
|
expected: "(boolean | undefined)",
|
|
1918
2226
|
value: input3.uncomputable
|
|
1919
2227
|
})].every((flag) => flag);
|
|
1920
|
-
const $
|
|
2228
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
1921
2229
|
path: _path2 + ".key",
|
|
1922
2230
|
expected: "(number | string)",
|
|
1923
2231
|
value: input3.key
|
|
@@ -1926,7 +2234,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1926
2234
|
expected: "string",
|
|
1927
2235
|
value: input3.label
|
|
1928
2236
|
})].every((flag) => flag);
|
|
1929
|
-
const $
|
|
2237
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
1930
2238
|
path: _path2 + ".name",
|
|
1931
2239
|
expected: "string",
|
|
1932
2240
|
value: input3.name
|
|
@@ -1938,7 +2246,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1938
2246
|
path: _path2 + ".filter",
|
|
1939
2247
|
expected: "TermFilter & { active: Filter; group: number; }",
|
|
1940
2248
|
value: input3.filter
|
|
1941
|
-
})) && $
|
|
2249
|
+
})) && $vo17(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1942
2250
|
path: _path2 + ".filter",
|
|
1943
2251
|
expected: "TermFilter & { active: Filter; group: number; }",
|
|
1944
2252
|
value: input3.filter
|
|
@@ -1947,7 +2255,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1947
2255
|
expected: "boolean",
|
|
1948
2256
|
value: input3.uncomputable
|
|
1949
2257
|
})].every((flag) => flag);
|
|
1950
|
-
const $
|
|
2258
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
1951
2259
|
path: _path2 + ".opts",
|
|
1952
2260
|
expected: "__type.o1",
|
|
1953
2261
|
value: input3.opts
|
|
@@ -1959,12 +2267,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1959
2267
|
path: _path2 + ".terms",
|
|
1960
2268
|
expected: "Array<DtTerm>",
|
|
1961
2269
|
value: input3.terms
|
|
1962
|
-
})) && input3.terms.map((elem,
|
|
1963
|
-
path: _path2 + ".terms[" +
|
|
2270
|
+
})) && input3.terms.map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2271
|
+
path: _path2 + ".terms[" + _index15 + "]",
|
|
1964
2272
|
expected: "DtTerm",
|
|
1965
2273
|
value: elem
|
|
1966
|
-
})) && $vo10(elem, _path2 + ".terms[" +
|
|
1967
|
-
path: _path2 + ".terms[" +
|
|
2274
|
+
})) && $vo10(elem, _path2 + ".terms[" + _index15 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2275
|
+
path: _path2 + ".terms[" + _index15 + "]",
|
|
1968
2276
|
expected: "DtTerm",
|
|
1969
2277
|
value: elem
|
|
1970
2278
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1984,7 +2292,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1984
2292
|
expected: "number",
|
|
1985
2293
|
value: input3.group
|
|
1986
2294
|
})].every((flag) => flag);
|
|
1987
|
-
const $
|
|
2295
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1988
2296
|
path: _path2 + ".disabled",
|
|
1989
2297
|
expected: "boolean",
|
|
1990
2298
|
value: input3.disabled
|
|
@@ -2001,7 +2309,92 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2001
2309
|
expected: "([] | undefined)",
|
|
2002
2310
|
value: input3.lst
|
|
2003
2311
|
})].every((flag) => flag);
|
|
2004
|
-
const $
|
|
2312
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2313
|
+
path: _path2 + ".id",
|
|
2314
|
+
expected: "string",
|
|
2315
|
+
value: input3.id
|
|
2316
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2317
|
+
path: _path2 + ".name",
|
|
2318
|
+
expected: "string",
|
|
2319
|
+
value: input3.name
|
|
2320
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
2321
|
+
path: _path2 + ".type",
|
|
2322
|
+
expected: '"geneVariant"',
|
|
2323
|
+
value: input3.type
|
|
2324
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2325
|
+
path: _path2 + ".child_types",
|
|
2326
|
+
expected: "(Array<string> | undefined)",
|
|
2327
|
+
value: input3.child_types
|
|
2328
|
+
})) && input3.child_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2329
|
+
path: _path2 + ".child_types[" + _index16 + "]",
|
|
2330
|
+
expected: "string",
|
|
2331
|
+
value: elem
|
|
2332
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2333
|
+
path: _path2 + ".child_types",
|
|
2334
|
+
expected: "(Array<string> | undefined)",
|
|
2335
|
+
value: input3.child_types
|
|
2336
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2337
|
+
path: _path2 + ".hashtmldetail",
|
|
2338
|
+
expected: "(boolean | undefined)",
|
|
2339
|
+
value: input3.hashtmldetail
|
|
2340
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2341
|
+
path: _path2 + ".included_types",
|
|
2342
|
+
expected: "(Array<string> | undefined)",
|
|
2343
|
+
value: input3.included_types
|
|
2344
|
+
})) && input3.included_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2345
|
+
path: _path2 + ".included_types[" + _index17 + "]",
|
|
2346
|
+
expected: "string",
|
|
2347
|
+
value: elem
|
|
2348
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2349
|
+
path: _path2 + ".included_types",
|
|
2350
|
+
expected: "(Array<string> | undefined)",
|
|
2351
|
+
value: input3.included_types
|
|
2352
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2353
|
+
path: _path2 + ".isleaf",
|
|
2354
|
+
expected: "(boolean | undefined)",
|
|
2355
|
+
value: input3.isleaf
|
|
2356
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2357
|
+
path: _path2 + ".values",
|
|
2358
|
+
expected: "(TermValues | undefined)",
|
|
2359
|
+
value: input3.values
|
|
2360
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2361
|
+
path: _path2 + ".values",
|
|
2362
|
+
expected: "(TermValues | undefined)",
|
|
2363
|
+
value: input3.values
|
|
2364
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2365
|
+
path: _path2 + ".filter",
|
|
2366
|
+
expected: "(TermFilter | undefined)",
|
|
2367
|
+
value: input3.filter
|
|
2368
|
+
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2369
|
+
path: _path2 + ".filter",
|
|
2370
|
+
expected: "(TermFilter | undefined)",
|
|
2371
|
+
value: input3.filter
|
|
2372
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
2373
|
+
path: _path2 + ".kind",
|
|
2374
|
+
expected: '"coord"',
|
|
2375
|
+
value: input3.kind
|
|
2376
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2377
|
+
path: _path2 + ".chr",
|
|
2378
|
+
expected: "string",
|
|
2379
|
+
value: input3.chr
|
|
2380
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2381
|
+
path: _path2 + ".start",
|
|
2382
|
+
expected: "number",
|
|
2383
|
+
value: input3.start
|
|
2384
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2385
|
+
path: _path2 + ".stop",
|
|
2386
|
+
expected: "number",
|
|
2387
|
+
value: input3.stop
|
|
2388
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2389
|
+
path: _path2 + ".groupsetting",
|
|
2390
|
+
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
2391
|
+
value: input3.groupsetting
|
|
2392
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2393
|
+
path: _path2 + ".groupsetting",
|
|
2394
|
+
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
2395
|
+
value: input3.groupsetting
|
|
2396
|
+
})].every((flag) => flag);
|
|
2397
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2005
2398
|
path: _path2 + ".join",
|
|
2006
2399
|
expected: "(string | undefined)",
|
|
2007
2400
|
value: input3.join
|
|
@@ -2013,7 +2406,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2013
2406
|
path: _path2 + ".term",
|
|
2014
2407
|
expected: "NumericTerm",
|
|
2015
2408
|
value: input3.term
|
|
2016
|
-
})) && $
|
|
2409
|
+
})) && $vo21(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2017
2410
|
path: _path2 + ".term",
|
|
2018
2411
|
expected: "NumericTerm",
|
|
2019
2412
|
value: input3.term
|
|
@@ -2021,12 +2414,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2021
2414
|
path: _path2 + ".ranges",
|
|
2022
2415
|
expected: "Array<NumericBin>",
|
|
2023
2416
|
value: input3.ranges
|
|
2024
|
-
})) && input3.ranges.map((elem,
|
|
2025
|
-
path: _path2 + ".ranges[" +
|
|
2417
|
+
})) && input3.ranges.map((elem, _index18) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2418
|
+
path: _path2 + ".ranges[" + _index18 + "]",
|
|
2026
2419
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2027
2420
|
value: elem
|
|
2028
|
-
})) && $vu3(elem, _path2 + ".ranges[" +
|
|
2029
|
-
path: _path2 + ".ranges[" +
|
|
2421
|
+
})) && $vu3(elem, _path2 + ".ranges[" + _index18 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2422
|
+
path: _path2 + ".ranges[" + _index18 + "]",
|
|
2030
2423
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2031
2424
|
value: elem
|
|
2032
2425
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2037,12 +2430,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2037
2430
|
path: _path2 + ".values",
|
|
2038
2431
|
expected: "Array<__type>.o1",
|
|
2039
2432
|
value: input3.values
|
|
2040
|
-
})) && input3.values.map((elem,
|
|
2041
|
-
path: _path2 + ".values[" +
|
|
2433
|
+
})) && input3.values.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2434
|
+
path: _path2 + ".values[" + _index19 + "]",
|
|
2042
2435
|
expected: "__type.o5",
|
|
2043
2436
|
value: elem
|
|
2044
|
-
})) && $
|
|
2045
|
-
path: _path2 + ".values[" +
|
|
2437
|
+
})) && $vo30(elem, _path2 + ".values[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2438
|
+
path: _path2 + ".values[" + _index19 + "]",
|
|
2046
2439
|
expected: "__type.o5",
|
|
2047
2440
|
value: elem
|
|
2048
2441
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2050,7 +2443,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2050
2443
|
expected: "Array<__type>.o1",
|
|
2051
2444
|
value: input3.values
|
|
2052
2445
|
})].every((flag) => flag);
|
|
2053
|
-
const $
|
|
2446
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2054
2447
|
path: _path2 + ".id",
|
|
2055
2448
|
expected: "string",
|
|
2056
2449
|
value: input3.id
|
|
@@ -2066,8 +2459,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2066
2459
|
path: _path2 + ".child_types",
|
|
2067
2460
|
expected: "(Array<string> | undefined)",
|
|
2068
2461
|
value: input3.child_types
|
|
2069
|
-
})) && input3.child_types.map((elem,
|
|
2070
|
-
path: _path2 + ".child_types[" +
|
|
2462
|
+
})) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2463
|
+
path: _path2 + ".child_types[" + _index20 + "]",
|
|
2071
2464
|
expected: "string",
|
|
2072
2465
|
value: elem
|
|
2073
2466
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2082,8 +2475,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2082
2475
|
path: _path2 + ".included_types",
|
|
2083
2476
|
expected: "(Array<string> | undefined)",
|
|
2084
2477
|
value: input3.included_types
|
|
2085
|
-
})) && input3.included_types.map((elem,
|
|
2086
|
-
path: _path2 + ".included_types[" +
|
|
2478
|
+
})) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2479
|
+
path: _path2 + ".included_types[" + _index21 + "]",
|
|
2087
2480
|
expected: "string",
|
|
2088
2481
|
value: elem
|
|
2089
2482
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2114,7 +2507,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2114
2507
|
path: _path2 + ".bins",
|
|
2115
2508
|
expected: "PresetNumericBins",
|
|
2116
2509
|
value: input3.bins
|
|
2117
|
-
})) && $
|
|
2510
|
+
})) && $vo22(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2118
2511
|
path: _path2 + ".bins",
|
|
2119
2512
|
expected: "PresetNumericBins",
|
|
2120
2513
|
value: input3.bins
|
|
@@ -2126,16 +2519,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2126
2519
|
path: _path2 + ".continuousColorScale",
|
|
2127
2520
|
expected: "(__type.o4 | undefined)",
|
|
2128
2521
|
value: input3.continuousColorScale
|
|
2129
|
-
})) && $
|
|
2522
|
+
})) && $vo29(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2130
2523
|
path: _path2 + ".continuousColorScale",
|
|
2131
2524
|
expected: "(__type.o4 | undefined)",
|
|
2132
2525
|
value: input3.continuousColorScale
|
|
2133
2526
|
})].every((flag) => flag);
|
|
2134
|
-
const $
|
|
2527
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
2135
2528
|
path: _path2 + '["default"]',
|
|
2136
2529
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2137
2530
|
value: input3["default"]
|
|
2138
|
-
})) && $
|
|
2531
|
+
})) && $vu7(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
2139
2532
|
path: _path2 + '["default"]',
|
|
2140
2533
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2141
2534
|
value: input3["default"]
|
|
@@ -2143,7 +2536,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2143
2536
|
path: _path2 + ".less",
|
|
2144
2537
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2145
2538
|
value: input3.less
|
|
2146
|
-
})) && $
|
|
2539
|
+
})) && $vu7(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
2147
2540
|
path: _path2 + ".less",
|
|
2148
2541
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2149
2542
|
value: input3.less
|
|
@@ -2168,11 +2561,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2168
2561
|
expected: "(number | undefined)",
|
|
2169
2562
|
value: input3.max
|
|
2170
2563
|
})].every((flag) => flag);
|
|
2171
|
-
const $
|
|
2564
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2172
2565
|
path: _path2 + ".hiddenValues",
|
|
2173
2566
|
expected: "(HiddenValues | undefined)",
|
|
2174
2567
|
value: input3.hiddenValues
|
|
2175
|
-
})) && $
|
|
2568
|
+
})) && $vo24(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2176
2569
|
path: _path2 + ".hiddenValues",
|
|
2177
2570
|
expected: "(HiddenValues | undefined)",
|
|
2178
2571
|
value: input3.hiddenValues
|
|
@@ -2204,7 +2597,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2204
2597
|
path: _path2 + ".first_bin",
|
|
2205
2598
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
2206
2599
|
value: input3.first_bin
|
|
2207
|
-
})) && $
|
|
2600
|
+
})) && $vu8(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
2208
2601
|
path: _path2 + ".first_bin",
|
|
2209
2602
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
2210
2603
|
value: input3.first_bin
|
|
@@ -2212,7 +2605,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2212
2605
|
path: _path2 + ".last_bin",
|
|
2213
2606
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
2214
2607
|
value: input3.last_bin
|
|
2215
|
-
})) && $
|
|
2608
|
+
})) && $vu9(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
2216
2609
|
path: _path2 + ".last_bin",
|
|
2217
2610
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
2218
2611
|
value: input3.last_bin
|
|
@@ -2221,7 +2614,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2221
2614
|
expected: "(number | undefined)",
|
|
2222
2615
|
value: input3.label_offset
|
|
2223
2616
|
})].every((flag) => flag);
|
|
2224
|
-
const $
|
|
2617
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2225
2618
|
const value = input3[key];
|
|
2226
2619
|
if (void 0 === value)
|
|
2227
2620
|
return true;
|
|
@@ -2233,7 +2626,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2233
2626
|
});
|
|
2234
2627
|
return true;
|
|
2235
2628
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2236
|
-
const $
|
|
2629
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
2237
2630
|
path: _path2 + ".startunbounded",
|
|
2238
2631
|
expected: "true",
|
|
2239
2632
|
value: input3.startunbounded
|
|
@@ -2258,7 +2651,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2258
2651
|
expected: "(string | undefined)",
|
|
2259
2652
|
value: input3.label
|
|
2260
2653
|
})].every((flag) => flag);
|
|
2261
|
-
const $
|
|
2654
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
2262
2655
|
path: _path2 + ".startunbounded",
|
|
2263
2656
|
expected: "(false | undefined)",
|
|
2264
2657
|
value: input3.startunbounded
|
|
@@ -2287,7 +2680,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2287
2680
|
expected: "(string | undefined)",
|
|
2288
2681
|
value: input3.label
|
|
2289
2682
|
})].every((flag) => flag);
|
|
2290
|
-
const $
|
|
2683
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
2291
2684
|
path: _path2 + ".start",
|
|
2292
2685
|
expected: "number",
|
|
2293
2686
|
value: input3.start
|
|
@@ -2312,11 +2705,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2312
2705
|
expected: "(string | undefined)",
|
|
2313
2706
|
value: input3.label
|
|
2314
2707
|
})].every((flag) => flag);
|
|
2315
|
-
const $
|
|
2708
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2316
2709
|
path: _path2 + ".hiddenValues",
|
|
2317
2710
|
expected: "(HiddenValues | undefined)",
|
|
2318
2711
|
value: input3.hiddenValues
|
|
2319
|
-
})) && $
|
|
2712
|
+
})) && $vo24(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2320
2713
|
path: _path2 + ".hiddenValues",
|
|
2321
2714
|
expected: "(HiddenValues | undefined)",
|
|
2322
2715
|
value: input3.hiddenValues
|
|
@@ -2358,12 +2751,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2358
2751
|
path: _path2 + ".lst",
|
|
2359
2752
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2360
2753
|
value: input3.lst.slice(1)
|
|
2361
|
-
})) && input3.lst.slice(1).map((elem,
|
|
2362
|
-
path: _path2 + ".lst[" + (1 +
|
|
2754
|
+
})) && input3.lst.slice(1).map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2755
|
+
path: _path2 + ".lst[" + (1 + _index22) + "]",
|
|
2363
2756
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2364
2757
|
value: elem
|
|
2365
|
-
})) && $vu3(elem, _path2 + ".lst[" + (1 +
|
|
2366
|
-
path: _path2 + ".lst[" + (1 +
|
|
2758
|
+
})) && $vu3(elem, _path2 + ".lst[" + (1 + _index22) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2759
|
+
path: _path2 + ".lst[" + (1 + _index22) + "]",
|
|
2367
2760
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2368
2761
|
value: elem
|
|
2369
2762
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2379,7 +2772,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2379
2772
|
expected: '("median" | undefined)',
|
|
2380
2773
|
value: input3.preferredBins
|
|
2381
2774
|
})].every((flag) => flag);
|
|
2382
|
-
const $
|
|
2775
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
2383
2776
|
path: _path2 + ".minColor",
|
|
2384
2777
|
expected: "string",
|
|
2385
2778
|
value: input3.minColor
|
|
@@ -2388,7 +2781,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2388
2781
|
expected: "string",
|
|
2389
2782
|
value: input3.maxColor
|
|
2390
2783
|
})].every((flag) => flag);
|
|
2391
|
-
const $
|
|
2784
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2392
2785
|
path: _path2 + ".key",
|
|
2393
2786
|
expected: "string",
|
|
2394
2787
|
value: input3.key
|
|
@@ -2405,7 +2798,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2405
2798
|
expected: "(string | undefined)",
|
|
2406
2799
|
value: input3.label
|
|
2407
2800
|
})].every((flag) => flag);
|
|
2408
|
-
const $
|
|
2801
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2409
2802
|
path: _path2 + ".join",
|
|
2410
2803
|
expected: "(string | undefined)",
|
|
2411
2804
|
value: input3.join
|
|
@@ -2417,7 +2810,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2417
2810
|
path: _path2 + ".term",
|
|
2418
2811
|
expected: "ConditionTerm",
|
|
2419
2812
|
value: input3.term
|
|
2420
|
-
})) && $
|
|
2813
|
+
})) && $vo32(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2421
2814
|
path: _path2 + ".term",
|
|
2422
2815
|
expected: "ConditionTerm",
|
|
2423
2816
|
value: input3.term
|
|
@@ -2437,12 +2830,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2437
2830
|
path: _path2 + ".grade_and_child",
|
|
2438
2831
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2439
2832
|
value: input3.grade_and_child
|
|
2440
|
-
})) && input3.grade_and_child.map((elem,
|
|
2441
|
-
path: _path2 + ".grade_and_child[" +
|
|
2833
|
+
})) && input3.grade_and_child.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2834
|
+
path: _path2 + ".grade_and_child[" + _index23 + "]",
|
|
2442
2835
|
expected: "GradeAndChildEntry",
|
|
2443
2836
|
value: elem
|
|
2444
|
-
})) && $
|
|
2445
|
-
path: _path2 + ".grade_and_child[" +
|
|
2837
|
+
})) && $vo33(elem, _path2 + ".grade_and_child[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2838
|
+
path: _path2 + ".grade_and_child[" + _index23 + "]",
|
|
2446
2839
|
expected: "GradeAndChildEntry",
|
|
2447
2840
|
value: elem
|
|
2448
2841
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2450,7 +2843,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2450
2843
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2451
2844
|
value: input3.grade_and_child
|
|
2452
2845
|
})].every((flag) => flag);
|
|
2453
|
-
const $
|
|
2846
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2454
2847
|
path: _path2 + ".id",
|
|
2455
2848
|
expected: "string",
|
|
2456
2849
|
value: input3.id
|
|
@@ -2466,8 +2859,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2466
2859
|
path: _path2 + ".child_types",
|
|
2467
2860
|
expected: "(Array<string> | undefined)",
|
|
2468
2861
|
value: input3.child_types
|
|
2469
|
-
})) && input3.child_types.map((elem,
|
|
2470
|
-
path: _path2 + ".child_types[" +
|
|
2862
|
+
})) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2863
|
+
path: _path2 + ".child_types[" + _index24 + "]",
|
|
2471
2864
|
expected: "string",
|
|
2472
2865
|
value: elem
|
|
2473
2866
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2482,8 +2875,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2482
2875
|
path: _path2 + ".included_types",
|
|
2483
2876
|
expected: "(Array<string> | undefined)",
|
|
2484
2877
|
value: input3.included_types
|
|
2485
|
-
})) && input3.included_types.map((elem,
|
|
2486
|
-
path: _path2 + ".included_types[" +
|
|
2878
|
+
})) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2879
|
+
path: _path2 + ".included_types[" + _index25 + "]",
|
|
2487
2880
|
expected: "string",
|
|
2488
2881
|
value: elem
|
|
2489
2882
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2511,7 +2904,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2511
2904
|
expected: "(TermFilter | undefined)",
|
|
2512
2905
|
value: input3.filter
|
|
2513
2906
|
})].every((flag) => flag);
|
|
2514
|
-
const $
|
|
2907
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
2515
2908
|
path: _path2 + ".grade",
|
|
2516
2909
|
expected: "number",
|
|
2517
2910
|
value: input3.grade
|
|
@@ -2528,7 +2921,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2528
2921
|
expected: "string",
|
|
2529
2922
|
value: input3.child_label
|
|
2530
2923
|
})].every((flag) => flag);
|
|
2531
|
-
const $
|
|
2924
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2532
2925
|
path: _path2 + ".join",
|
|
2533
2926
|
expected: "(string | undefined)",
|
|
2534
2927
|
value: input3.join
|
|
@@ -2548,12 +2941,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2548
2941
|
path: _path2 + ".values",
|
|
2549
2942
|
expected: "Array<__type>.o2",
|
|
2550
2943
|
value: input3.values
|
|
2551
|
-
})) && input3.values.map((elem,
|
|
2552
|
-
path: _path2 + ".values[" +
|
|
2944
|
+
})) && input3.values.map((elem, _index26) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2945
|
+
path: _path2 + ".values[" + _index26 + "]",
|
|
2553
2946
|
expected: "__type.o6",
|
|
2554
2947
|
value: elem
|
|
2555
|
-
})) && $
|
|
2556
|
-
path: _path2 + ".values[" +
|
|
2948
|
+
})) && $vo35(elem, _path2 + ".values[" + _index26 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2949
|
+
path: _path2 + ".values[" + _index26 + "]",
|
|
2557
2950
|
expected: "__type.o6",
|
|
2558
2951
|
value: elem
|
|
2559
2952
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2561,7 +2954,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2561
2954
|
expected: "Array<__type>.o2",
|
|
2562
2955
|
value: input3.values
|
|
2563
2956
|
})].every((flag) => flag);
|
|
2564
|
-
const $
|
|
2957
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2565
2958
|
path: _path2 + ".key",
|
|
2566
2959
|
expected: "string",
|
|
2567
2960
|
value: input3.key
|
|
@@ -2574,7 +2967,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2574
2967
|
expected: "string",
|
|
2575
2968
|
value: input3.value
|
|
2576
2969
|
})].every((flag) => flag);
|
|
2577
|
-
const $
|
|
2970
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2578
2971
|
path: _path2 + ".id",
|
|
2579
2972
|
expected: "string",
|
|
2580
2973
|
value: input3.id
|
|
@@ -2590,8 +2983,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2590
2983
|
path: _path2 + ".child_types",
|
|
2591
2984
|
expected: "(Array<string> | undefined)",
|
|
2592
2985
|
value: input3.child_types
|
|
2593
|
-
})) && input3.child_types.map((elem,
|
|
2594
|
-
path: _path2 + ".child_types[" +
|
|
2986
|
+
})) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2987
|
+
path: _path2 + ".child_types[" + _index27 + "]",
|
|
2595
2988
|
expected: "string",
|
|
2596
2989
|
value: elem
|
|
2597
2990
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2606,8 +2999,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2606
2999
|
path: _path2 + ".included_types",
|
|
2607
3000
|
expected: "(Array<string> | undefined)",
|
|
2608
3001
|
value: input3.included_types
|
|
2609
|
-
})) && input3.included_types.map((elem,
|
|
2610
|
-
path: _path2 + ".included_types[" +
|
|
3002
|
+
})) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3003
|
+
path: _path2 + ".included_types[" + _index28 + "]",
|
|
2611
3004
|
expected: "string",
|
|
2612
3005
|
value: elem
|
|
2613
3006
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2659,7 +3052,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2659
3052
|
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
2660
3053
|
value: input3.groupsetting
|
|
2661
3054
|
})].every((flag) => flag);
|
|
2662
|
-
const $
|
|
3055
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2663
3056
|
path: _path2 + ".id",
|
|
2664
3057
|
expected: "string",
|
|
2665
3058
|
value: input3.id
|
|
@@ -2675,8 +3068,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2675
3068
|
path: _path2 + ".child_types",
|
|
2676
3069
|
expected: "(Array<string> | undefined)",
|
|
2677
3070
|
value: input3.child_types
|
|
2678
|
-
})) && input3.child_types.map((elem,
|
|
2679
|
-
path: _path2 + ".child_types[" +
|
|
3071
|
+
})) && input3.child_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3072
|
+
path: _path2 + ".child_types[" + _index29 + "]",
|
|
2680
3073
|
expected: "string",
|
|
2681
3074
|
value: elem
|
|
2682
3075
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2691,8 +3084,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2691
3084
|
path: _path2 + ".included_types",
|
|
2692
3085
|
expected: "(Array<string> | undefined)",
|
|
2693
3086
|
value: input3.included_types
|
|
2694
|
-
})) && input3.included_types.map((elem,
|
|
2695
|
-
path: _path2 + ".included_types[" +
|
|
3087
|
+
})) && input3.included_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3088
|
+
path: _path2 + ".included_types[" + _index30 + "]",
|
|
2696
3089
|
expected: "string",
|
|
2697
3090
|
value: elem
|
|
2698
3091
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2728,7 +3121,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2728
3121
|
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
2729
3122
|
value: input3.groupsetting
|
|
2730
3123
|
})].every((flag) => flag);
|
|
2731
|
-
const $
|
|
3124
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2732
3125
|
path: _path2 + ".id",
|
|
2733
3126
|
expected: "string",
|
|
2734
3127
|
value: input3.id
|
|
@@ -2744,8 +3137,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2744
3137
|
path: _path2 + ".child_types",
|
|
2745
3138
|
expected: "(Array<string> | undefined)",
|
|
2746
3139
|
value: input3.child_types
|
|
2747
|
-
})) && input3.child_types.map((elem,
|
|
2748
|
-
path: _path2 + ".child_types[" +
|
|
3140
|
+
})) && input3.child_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3141
|
+
path: _path2 + ".child_types[" + _index31 + "]",
|
|
2749
3142
|
expected: "string",
|
|
2750
3143
|
value: elem
|
|
2751
3144
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2760,8 +3153,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2760
3153
|
path: _path2 + ".included_types",
|
|
2761
3154
|
expected: "(Array<string> | undefined)",
|
|
2762
3155
|
value: input3.included_types
|
|
2763
|
-
})) && input3.included_types.map((elem,
|
|
2764
|
-
path: _path2 + ".included_types[" +
|
|
3156
|
+
})) && input3.included_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3157
|
+
path: _path2 + ".included_types[" + _index32 + "]",
|
|
2765
3158
|
expected: "string",
|
|
2766
3159
|
value: elem
|
|
2767
3160
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2792,7 +3185,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2792
3185
|
path: _path2 + ".bins",
|
|
2793
3186
|
expected: "PresetNumericBins",
|
|
2794
3187
|
value: input3.bins
|
|
2795
|
-
})) && $
|
|
3188
|
+
})) && $vo22(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2796
3189
|
path: _path2 + ".bins",
|
|
2797
3190
|
expected: "PresetNumericBins",
|
|
2798
3191
|
value: input3.bins
|
|
@@ -2804,12 +3197,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2804
3197
|
path: _path2 + ".continuousColorScale",
|
|
2805
3198
|
expected: "(__type.o4 | undefined)",
|
|
2806
3199
|
value: input3.continuousColorScale
|
|
2807
|
-
})) && $
|
|
3200
|
+
})) && $vo29(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2808
3201
|
path: _path2 + ".continuousColorScale",
|
|
2809
3202
|
expected: "(__type.o4 | undefined)",
|
|
2810
3203
|
value: input3.continuousColorScale
|
|
2811
3204
|
})].every((flag) => flag);
|
|
2812
|
-
const $
|
|
3205
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2813
3206
|
path: _path2 + ".id",
|
|
2814
3207
|
expected: "string",
|
|
2815
3208
|
value: input3.id
|
|
@@ -2825,8 +3218,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2825
3218
|
path: _path2 + ".child_types",
|
|
2826
3219
|
expected: "(Array<string> | undefined)",
|
|
2827
3220
|
value: input3.child_types
|
|
2828
|
-
})) && input3.child_types.map((elem,
|
|
2829
|
-
path: _path2 + ".child_types[" +
|
|
3221
|
+
})) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3222
|
+
path: _path2 + ".child_types[" + _index33 + "]",
|
|
2830
3223
|
expected: "string",
|
|
2831
3224
|
value: elem
|
|
2832
3225
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2841,8 +3234,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2841
3234
|
path: _path2 + ".included_types",
|
|
2842
3235
|
expected: "(Array<string> | undefined)",
|
|
2843
3236
|
value: input3.included_types
|
|
2844
|
-
})) && input3.included_types.map((elem,
|
|
2845
|
-
path: _path2 + ".included_types[" +
|
|
3237
|
+
})) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3238
|
+
path: _path2 + ".included_types[" + _index34 + "]",
|
|
2846
3239
|
expected: "string",
|
|
2847
3240
|
value: elem
|
|
2848
3241
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2870,7 +3263,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2870
3263
|
expected: "(TermFilter | undefined)",
|
|
2871
3264
|
value: input3.filter
|
|
2872
3265
|
})].every((flag) => flag);
|
|
2873
|
-
const $
|
|
3266
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2874
3267
|
path: _path2 + ".id",
|
|
2875
3268
|
expected: "string",
|
|
2876
3269
|
value: input3.id
|
|
@@ -2886,8 +3279,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2886
3279
|
path: _path2 + ".child_types",
|
|
2887
3280
|
expected: "(Array<string> | undefined)",
|
|
2888
3281
|
value: input3.child_types
|
|
2889
|
-
})) && input3.child_types.map((elem,
|
|
2890
|
-
path: _path2 + ".child_types[" +
|
|
3282
|
+
})) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3283
|
+
path: _path2 + ".child_types[" + _index35 + "]",
|
|
2891
3284
|
expected: "string",
|
|
2892
3285
|
value: elem
|
|
2893
3286
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2902,8 +3295,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2902
3295
|
path: _path2 + ".included_types",
|
|
2903
3296
|
expected: "(Array<string> | undefined)",
|
|
2904
3297
|
value: input3.included_types
|
|
2905
|
-
})) && input3.included_types.map((elem,
|
|
2906
|
-
path: _path2 + ".included_types[" +
|
|
3298
|
+
})) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3299
|
+
path: _path2 + ".included_types[" + _index36 + "]",
|
|
2907
3300
|
expected: "string",
|
|
2908
3301
|
value: elem
|
|
2909
3302
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2938,12 +3331,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2938
3331
|
path: _path2 + ".snps",
|
|
2939
3332
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2940
3333
|
value: input3.snps
|
|
2941
|
-
})) && input3.snps.map((elem,
|
|
2942
|
-
path: _path2 + ".snps[" +
|
|
3334
|
+
})) && input3.snps.map((elem, _index37) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3335
|
+
path: _path2 + ".snps[" + _index37 + "]",
|
|
2943
3336
|
expected: "SnpsEntry",
|
|
2944
3337
|
value: elem
|
|
2945
|
-
})) && $
|
|
2946
|
-
path: _path2 + ".snps[" +
|
|
3338
|
+
})) && $vo41(elem, _path2 + ".snps[" + _index37 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3339
|
+
path: _path2 + ".snps[" + _index37 + "]",
|
|
2947
3340
|
expected: "SnpsEntry",
|
|
2948
3341
|
value: elem
|
|
2949
3342
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2951,12 +3344,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2951
3344
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2952
3345
|
value: input3.snps
|
|
2953
3346
|
})].every((flag) => flag);
|
|
2954
|
-
const $
|
|
3347
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
2955
3348
|
path: _path2 + ".altAlleles",
|
|
2956
3349
|
expected: "(Array<string> | undefined)",
|
|
2957
3350
|
value: input3.altAlleles
|
|
2958
|
-
})) && input3.altAlleles.map((elem,
|
|
2959
|
-
path: _path2 + ".altAlleles[" +
|
|
3351
|
+
})) && input3.altAlleles.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3352
|
+
path: _path2 + ".altAlleles[" + _index38 + "]",
|
|
2960
3353
|
expected: "string",
|
|
2961
3354
|
value: elem
|
|
2962
3355
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2967,12 +3360,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2967
3360
|
path: _path2 + ".alleles",
|
|
2968
3361
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
2969
3362
|
value: input3.alleles
|
|
2970
|
-
})) && input3.alleles.map((elem,
|
|
2971
|
-
path: _path2 + ".alleles[" +
|
|
3363
|
+
})) && input3.alleles.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3364
|
+
path: _path2 + ".alleles[" + _index39 + "]",
|
|
2972
3365
|
expected: "AllelesEntry",
|
|
2973
3366
|
value: elem
|
|
2974
|
-
})) && $
|
|
2975
|
-
path: _path2 + ".alleles[" +
|
|
3367
|
+
})) && $vo42(elem, _path2 + ".alleles[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3368
|
+
path: _path2 + ".alleles[" + _index39 + "]",
|
|
2976
3369
|
expected: "AllelesEntry",
|
|
2977
3370
|
value: elem
|
|
2978
3371
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2987,7 +3380,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2987
3380
|
path: _path2 + ".gt2count",
|
|
2988
3381
|
expected: "(__type.o7 | undefined)",
|
|
2989
3382
|
value: input3.gt2count
|
|
2990
|
-
})) && $
|
|
3383
|
+
})) && $vo43(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
2991
3384
|
path: _path2 + ".gt2count",
|
|
2992
3385
|
expected: "(__type.o7 | undefined)",
|
|
2993
3386
|
value: input3.gt2count
|
|
@@ -3016,7 +3409,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3016
3409
|
expected: "(number | undefined)",
|
|
3017
3410
|
value: input3.pos
|
|
3018
3411
|
})].every((flag) => flag);
|
|
3019
|
-
const $
|
|
3412
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
3020
3413
|
path: _path2 + ".allele",
|
|
3021
3414
|
expected: "string",
|
|
3022
3415
|
value: input3.allele
|
|
@@ -3029,7 +3422,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3029
3422
|
expected: "boolean",
|
|
3030
3423
|
value: input3.isRef
|
|
3031
3424
|
})].every((flag) => flag);
|
|
3032
|
-
const $
|
|
3425
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
3033
3426
|
path: _path2 + ".k",
|
|
3034
3427
|
expected: "string",
|
|
3035
3428
|
value: input3.k
|
|
@@ -3038,7 +3431,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3038
3431
|
expected: "(number | string)",
|
|
3039
3432
|
value: input3.v
|
|
3040
3433
|
})].every((flag) => flag);
|
|
3041
|
-
const $
|
|
3434
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3042
3435
|
path: _path2 + ".id",
|
|
3043
3436
|
expected: "string",
|
|
3044
3437
|
value: input3.id
|
|
@@ -3054,8 +3447,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3054
3447
|
path: _path2 + ".child_types",
|
|
3055
3448
|
expected: "(Array<string> | undefined)",
|
|
3056
3449
|
value: input3.child_types
|
|
3057
|
-
})) && input3.child_types.map((elem,
|
|
3058
|
-
path: _path2 + ".child_types[" +
|
|
3450
|
+
})) && input3.child_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3451
|
+
path: _path2 + ".child_types[" + _index40 + "]",
|
|
3059
3452
|
expected: "string",
|
|
3060
3453
|
value: elem
|
|
3061
3454
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3070,8 +3463,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3070
3463
|
path: _path2 + ".included_types",
|
|
3071
3464
|
expected: "(Array<string> | undefined)",
|
|
3072
3465
|
value: input3.included_types
|
|
3073
|
-
})) && input3.included_types.map((elem,
|
|
3074
|
-
path: _path2 + ".included_types[" +
|
|
3466
|
+
})) && input3.included_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3467
|
+
path: _path2 + ".included_types[" + _index41 + "]",
|
|
3075
3468
|
expected: "string",
|
|
3076
3469
|
value: elem
|
|
3077
3470
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3086,7 +3479,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3086
3479
|
path: _path2 + ".values",
|
|
3087
3480
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3088
3481
|
value: input3.values
|
|
3089
|
-
})) && $
|
|
3482
|
+
})) && $vo45(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3090
3483
|
path: _path2 + ".values",
|
|
3091
3484
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3092
3485
|
value: input3.values
|
|
@@ -3099,7 +3492,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3099
3492
|
expected: "(TermFilter | undefined)",
|
|
3100
3493
|
value: input3.filter
|
|
3101
3494
|
})].every((flag) => flag);
|
|
3102
|
-
const $
|
|
3495
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3103
3496
|
const value = input3[key];
|
|
3104
3497
|
if (void 0 === value)
|
|
3105
3498
|
return true;
|
|
@@ -3108,7 +3501,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3108
3501
|
path: _path2 + $join(key),
|
|
3109
3502
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3110
3503
|
value
|
|
3111
|
-
})) && $
|
|
3504
|
+
})) && $vo46(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3112
3505
|
path: _path2 + $join(key),
|
|
3113
3506
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3114
3507
|
value
|
|
@@ -3118,14 +3511,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3118
3511
|
path: _path2 + $join(key),
|
|
3119
3512
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3120
3513
|
value
|
|
3121
|
-
})) && $
|
|
3514
|
+
})) && $vo46(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3122
3515
|
path: _path2 + $join(key),
|
|
3123
3516
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3124
3517
|
value
|
|
3125
3518
|
});
|
|
3126
3519
|
return true;
|
|
3127
3520
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3128
|
-
const $
|
|
3521
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
3129
3522
|
path: _path2 + ".key",
|
|
3130
3523
|
expected: "(string | undefined)",
|
|
3131
3524
|
value: input3.key
|
|
@@ -3169,12 +3562,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3169
3562
|
path: _path2 + ".list",
|
|
3170
3563
|
expected: "Array<__type>.o3",
|
|
3171
3564
|
value: input3.list
|
|
3172
|
-
})) && input3.list.map((elem,
|
|
3173
|
-
path: _path2 + ".list[" +
|
|
3565
|
+
})) && input3.list.map((elem, _index42) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3566
|
+
path: _path2 + ".list[" + _index42 + "]",
|
|
3174
3567
|
expected: "__type.o8",
|
|
3175
3568
|
value: elem
|
|
3176
|
-
})) && $
|
|
3177
|
-
path: _path2 + ".list[" +
|
|
3569
|
+
})) && $vo47(elem, _path2 + ".list[" + _index42 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3570
|
+
path: _path2 + ".list[" + _index42 + "]",
|
|
3178
3571
|
expected: "__type.o8",
|
|
3179
3572
|
value: elem
|
|
3180
3573
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3182,7 +3575,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3182
3575
|
expected: "Array<__type>.o3",
|
|
3183
3576
|
value: input3.list
|
|
3184
3577
|
}), true].every((flag) => flag);
|
|
3185
|
-
const $
|
|
3578
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
3186
3579
|
path: _path2 + ".sampleId",
|
|
3187
3580
|
expected: "string",
|
|
3188
3581
|
value: input3.sampleId
|
|
@@ -3195,14 +3588,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3195
3588
|
if ("gene" === input3.kind)
|
|
3196
3589
|
return $vo1(input3, _path2, _exceptionable2);
|
|
3197
3590
|
if ("coord" === input3.kind)
|
|
3198
|
-
return $
|
|
3591
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
3199
3592
|
if ("categorical" === input3.type)
|
|
3200
|
-
return $
|
|
3593
|
+
return $vo37(input3, _path2, _exceptionable2);
|
|
3201
3594
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
3202
|
-
return $
|
|
3595
|
+
return $vo38(input3, _path2, _exceptionable2);
|
|
3203
3596
|
if ("condition" === input3.type)
|
|
3204
|
-
return $
|
|
3205
|
-
return $
|
|
3597
|
+
return $vo39(input3, _path2, _exceptionable2);
|
|
3598
|
+
return $vo40(input3, _path2, false) || $vo44(input3, _path2, false);
|
|
3206
3599
|
})();
|
|
3207
3600
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3208
3601
|
if ("tvslst" === input3.type)
|
|
@@ -3217,9 +3610,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3217
3610
|
})();
|
|
3218
3611
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3219
3612
|
if ("string" === typeof input3.type)
|
|
3220
|
-
return $
|
|
3613
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
3221
3614
|
if ("filter" === input3.type)
|
|
3222
|
-
return $
|
|
3615
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
3223
3616
|
return $report(_exceptionable2, {
|
|
3224
3617
|
path: _path2,
|
|
3225
3618
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -3228,48 +3621,59 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3228
3621
|
})();
|
|
3229
3622
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3230
3623
|
if (true === input3.startunbounded)
|
|
3231
|
-
return $vo23(input3, _path2, _exceptionable2);
|
|
3232
|
-
if (true === input3.stopunbounded)
|
|
3233
3624
|
return $vo25(input3, _path2, _exceptionable2);
|
|
3234
|
-
|
|
3625
|
+
if (true === input3.stopunbounded)
|
|
3626
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
3627
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
3235
3628
|
})();
|
|
3236
3629
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3237
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
3238
|
-
return $
|
|
3239
|
-
return $
|
|
3630
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index43) => "object" === typeof elem && null !== elem && $vo13(elem, _path2 + ".lst[" + _index43 + "]", false)).every((flag) => flag))
|
|
3631
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
3632
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
3240
3633
|
})();
|
|
3241
3634
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3242
3635
|
if (void 0 !== input3.ranges)
|
|
3243
|
-
return $
|
|
3244
|
-
return $vo6(input3, _path2, false) || $
|
|
3636
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
3637
|
+
return $vo6(input3, _path2, false) || $vo31(input3, _path2, false) || $vo34(input3, _path2, false);
|
|
3245
3638
|
})();
|
|
3246
3639
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3640
|
+
if ("gene" === input3.kind)
|
|
3641
|
+
return $vo11(input3, _path2, _exceptionable2);
|
|
3642
|
+
if ("coord" === input3.kind)
|
|
3643
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
3644
|
+
return $report(_exceptionable2, {
|
|
3645
|
+
path: _path2,
|
|
3646
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; })',
|
|
3647
|
+
value: input3
|
|
3648
|
+
});
|
|
3649
|
+
})();
|
|
3650
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3247
3651
|
if ("regular-bin" === input3.type)
|
|
3248
|
-
return $
|
|
3652
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
3249
3653
|
if ("custom-bin" === input3.type)
|
|
3250
|
-
return $
|
|
3654
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
3251
3655
|
return $report(_exceptionable2, {
|
|
3252
3656
|
path: _path2,
|
|
3253
3657
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
3254
3658
|
value: input3
|
|
3255
3659
|
});
|
|
3256
3660
|
})();
|
|
3257
|
-
const $
|
|
3661
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3258
3662
|
if (true === input3.startunbounded)
|
|
3259
|
-
return $
|
|
3663
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
3260
3664
|
if (void 0 !== input3.start)
|
|
3261
|
-
return $
|
|
3665
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
3262
3666
|
return $report(_exceptionable2, {
|
|
3263
3667
|
path: _path2,
|
|
3264
3668
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
3265
3669
|
value: input3
|
|
3266
3670
|
});
|
|
3267
3671
|
})();
|
|
3268
|
-
const $
|
|
3672
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3269
3673
|
if (void 0 !== input3.stop)
|
|
3270
|
-
return $
|
|
3674
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
3271
3675
|
if (true === input3.stopunbounded)
|
|
3272
|
-
return $
|
|
3676
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
3273
3677
|
return $report(_exceptionable2, {
|
|
3274
3678
|
path: _path2,
|
|
3275
3679
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|