@sjcrh/proteinpaint-types 2.126.1 → 2.128.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/brainImaging.js +1 -1
- package/dist/{chunk-YOS2YTCE.js → chunk-24RS7HFO.js} +652 -770
- package/dist/{chunk-VSNV3MLV.js → chunk-6C4DMGK3.js} +408 -494
- package/dist/{chunk-DJCPG2RT.js → chunk-BMHL5ZZJ.js} +1216 -1436
- package/dist/{chunk-LVXO4MLR.js → chunk-CI6OEJNH.js} +744 -862
- package/dist/{chunk-NWEXA2YB.js → chunk-DJ5QE625.js} +22 -36
- package/dist/chunk-HUMZDPUU.js +322 -0
- package/dist/{chunk-5O422YU6.js → chunk-KHM52S5N.js} +408 -494
- package/dist/{chunk-GZCIY2WK.js → chunk-PX7P2A6A.js} +652 -770
- package/dist/{chunk-537XOM43.js → chunk-RP6RBKKL.js} +652 -770
- package/dist/{chunk-O4RAE6UJ.js → chunk-UXXLPWL2.js} +650 -768
- package/dist/{chunk-7IRM7OKB.js → chunk-WHO7HCNU.js} +408 -494
- package/dist/{chunk-BXPSDGWG.js → chunk-WK4CKVHY.js} +408 -494
- package/dist/{chunk-CJC7ZHSZ.js → chunk-WSL4JPUP.js} +417 -503
- package/dist/{chunk-2S4T3WUF.js → chunk-Y5BVEGR2.js} +1234 -1430
- package/dist/correlationVolcano.js +1 -1
- package/dist/gdc.grin2.js +3 -3
- package/dist/genesetEnrichment.js +1 -1
- package/dist/index.js +16 -16
- 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/routes/gdc.grin2.ts +14 -7
- package/src/routes/genesetEnrichment.ts +40 -5
- package/src/terms/geneVariant.ts +4 -4
- package/src/terms/term.ts +2 -11
- package/dist/chunk-XZAH6P4D.js +0 -130
|
@@ -58,8 +58,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
58
58
|
const errors = [];
|
|
59
59
|
const __is = (input2) => {
|
|
60
60
|
const $join = import_typia.createValidate.join;
|
|
61
|
-
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && ("object" === typeof input3.tw && null !== input3.tw && $iu5(input3.tw)) && (void 0 === input3.logScale || "boolean" === typeof input3.logScale) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $
|
|
62
|
-
const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu6(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $
|
|
61
|
+
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && ("object" === typeof input3.tw && null !== input3.tw && $iu5(input3.tw)) && (void 0 === input3.logScale || "boolean" === typeof input3.logScale) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io12(input3.filter)) && true;
|
|
62
|
+
const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu6(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io15(input3.term));
|
|
63
63
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
64
64
|
const value = input3[key];
|
|
65
65
|
if (void 0 === value)
|
|
@@ -84,10 +84,10 @@ var validDescrStatsRequest = (input) => {
|
|
|
84
84
|
const $io9 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io10(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
85
85
|
const $io10 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
86
86
|
const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io12(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
87
|
-
const $io12 = (input3) => "
|
|
88
|
-
const $io13 = (input3) =>
|
|
89
|
-
const $io14 = (input3) =>
|
|
90
|
-
const $io15 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
87
|
+
const $io12 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
88
|
+
const $io13 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu7(input3.tvs));
|
|
89
|
+
const $io14 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io15(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io17(elem)));
|
|
90
|
+
const $io15 = (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) && $io16(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting));
|
|
91
91
|
const $io16 = (input3) => Object.keys(input3).every((key) => {
|
|
92
92
|
const value = input3[key];
|
|
93
93
|
if (void 0 === value)
|
|
@@ -98,77 +98,74 @@ var validDescrStatsRequest = (input) => {
|
|
|
98
98
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io17(value);
|
|
99
99
|
return true;
|
|
100
100
|
});
|
|
101
|
-
const $io17 = (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 && $
|
|
102
|
-
const $io18 = (input3) =>
|
|
103
|
-
const $io19 = (input3) => "
|
|
104
|
-
const $io20 = (input3) =>
|
|
105
|
-
const $io21 = (input3) =>
|
|
106
|
-
const $io22 = (input3) => "
|
|
107
|
-
const $io23 = (input3) => (void 0 === input3.
|
|
108
|
-
const $io24 = (input3) => "
|
|
109
|
-
const $io25 = (input3) => "
|
|
110
|
-
const $io26 = (input3) => (void 0 === input3.
|
|
111
|
-
const $io27 = (input3) => "
|
|
112
|
-
const $io28 = (input3) => "object" === typeof input3
|
|
113
|
-
const $io29 = (input3) =>
|
|
114
|
-
const $io30 = (input3) =>
|
|
115
|
-
const $io31 = (input3) => (void 0 === input3.
|
|
116
|
-
const $io32 = (input3) => "
|
|
117
|
-
const $io33 = (input3) =>
|
|
118
|
-
const $io34 = (input3) => "string" === typeof input3.
|
|
119
|
-
const $io35 = (input3) => "string" === typeof input3.
|
|
120
|
-
const $io36 = (input3) => (void 0 === input3.
|
|
121
|
-
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
122
|
-
const $io38 = (input3) => "
|
|
123
|
-
const $io39 = (input3) => (void 0 === input3.
|
|
124
|
-
const $io40 = (input3) => "
|
|
125
|
-
const $io41 = (input3) =>
|
|
126
|
-
const $io42 = (input3) => (void 0 === input3.
|
|
127
|
-
const $io43 = (input3) =>
|
|
128
|
-
const $io44 = (input3) => (void 0 === input3.
|
|
129
|
-
const $io45 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic ||
|
|
130
|
-
const $io46 = (input3) => "
|
|
131
|
-
const $io47 = (input3) => (void 0 === input3.
|
|
132
|
-
const $io48 = (input3) => (void 0 === input3.
|
|
133
|
-
const $io49 = (input3) => "string" === typeof input3.
|
|
134
|
-
const $io50 = (input3) => "string" === typeof input3.
|
|
135
|
-
const $io51 = (input3) => (void 0 === input3.
|
|
136
|
-
const $io52 = (input3) => "string" === typeof input3.
|
|
137
|
-
const $io53 = (input3) => "string" === typeof input3.
|
|
138
|
-
const $io54 = (input3) =>
|
|
139
|
-
const $io55 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
140
|
-
const $io56 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
141
|
-
const $io57 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
142
|
-
const $io58 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name &&
|
|
143
|
-
const $io59 = (input3) =>
|
|
144
|
-
const $io60 = (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) && $io16(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io22(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 && $io51(elem)));
|
|
145
|
-
const $io61 = (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) && $io62(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io22(input3.filter));
|
|
146
|
-
const $io62 = (input3) => Object.keys(input3).every((key) => {
|
|
101
|
+
const $io17 = (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 && $io12(input3.filter));
|
|
102
|
+
const $io18 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io19(elem)));
|
|
103
|
+
const $io19 = (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 && $iu0(elem)));
|
|
104
|
+
const $io20 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
105
|
+
const $io21 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io22(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 && $io30(elem)));
|
|
106
|
+
const $io22 = (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) && $io16(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io29(input3.continuousColorScale));
|
|
107
|
+
const $io23 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu9(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu9(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);
|
|
108
|
+
const $io24 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(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 && $iu3(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu4(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
109
|
+
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);
|
|
110
|
+
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);
|
|
111
|
+
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);
|
|
112
|
+
const $io28 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(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);
|
|
113
|
+
const $io29 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
114
|
+
const $io30 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
115
|
+
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)));
|
|
116
|
+
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) && $io16(input3.values));
|
|
117
|
+
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;
|
|
118
|
+
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 && $io35(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
|
|
119
|
+
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu10(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values));
|
|
120
|
+
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) && $io16(input3.values)) && "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 && $iu8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
|
|
121
|
+
const $io37 = (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) && $io16(input3.values)) && "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 && $iu8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
|
|
122
|
+
const $io38 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
123
|
+
const $io39 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $io22(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $iu11(input3.q));
|
|
124
|
+
const $io40 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(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) && "binary" === input3.mode && "custom-bin" === input3.type && (Array.isArray(input3.lst) && (input3.lst.length === 2 && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu3(input3.lst[0])) && ("object" === typeof input3.lst[1] && null !== input3.lst[1] && $iu4(input3.lst[1]))));
|
|
125
|
+
const $io41 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(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) && "continuous" === input3.mode && (void 0 === input3.convert2ZScore || "boolean" === typeof input3.convert2ZScore) && (null !== input3.type && void 0 === input3.type);
|
|
126
|
+
const $io42 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(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) && "spline" === input3.mode && (Array.isArray(input3.knots) && input3.knots.every((elem) => "object" === typeof elem && null !== elem && $io43(elem))) && (null !== input3.type && void 0 === input3.type);
|
|
127
|
+
const $io43 = (input3) => "number" === typeof input3.value;
|
|
128
|
+
const $io44 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.q && null !== input3.q && $io45(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io47(input3.term));
|
|
129
|
+
const $io45 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type) && "number" === typeof input3.AFcutoff && "number" === typeof input3.alleleType && "string" === typeof input3.cacheid && true && "number" === typeof input3.geneticModel && true && (void 0 === input3.missingGenotype || "number" === typeof input3.missingGenotype) && "number" === typeof input3.numOfSampleWithAnyValidGT && ("object" === typeof input3.restrictAncestry && null !== input3.restrictAncestry && $io46(input3.restrictAncestry)) && true && true && ("object" === typeof input3.variant_filter && null !== input3.variant_filter && $io12(input3.variant_filter)) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
130
|
+
const $io46 = (input3) => "string" === typeof input3.name && ("object" === typeof input3.tvs && null !== input3.tvs && $iu7(input3.tvs));
|
|
131
|
+
const $io47 = (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) && $io16(input3.values)) && (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 && $io48(elem)));
|
|
132
|
+
const $io48 = (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 && $io49(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io50(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);
|
|
133
|
+
const $io49 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
134
|
+
const $io50 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
135
|
+
const $io51 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $iu12(input3.term)) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu13(input3.q));
|
|
136
|
+
const $io52 = (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) && $io16(input3.values)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
|
|
137
|
+
const $io53 = (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) && $io16(input3.values)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
|
|
138
|
+
const $io54 = (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) && $io16(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting));
|
|
139
|
+
const $io55 = (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) && $io16(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io29(input3.continuousColorScale));
|
|
140
|
+
const $io56 = (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) && $io16(input3.values));
|
|
141
|
+
const $io57 = (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) && $io16(input3.values)) && (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 && $io48(elem)));
|
|
142
|
+
const $io58 = (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) && $io59(input3.values));
|
|
143
|
+
const $io59 = (input3) => Object.keys(input3).every((key) => {
|
|
147
144
|
const value = input3[key];
|
|
148
145
|
if (void 0 === value)
|
|
149
146
|
return true;
|
|
150
147
|
if (RegExp(/(.*)/).test(key))
|
|
151
|
-
return "object" === typeof value && null !== value && $
|
|
148
|
+
return "object" === typeof value && null !== value && $io60(value);
|
|
152
149
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
153
|
-
return "object" === typeof value && null !== value && $
|
|
150
|
+
return "object" === typeof value && null !== value && $io60(value);
|
|
154
151
|
return true;
|
|
155
152
|
});
|
|
156
|
-
const $
|
|
157
|
-
const $
|
|
158
|
-
const $
|
|
159
|
-
const $
|
|
160
|
-
const $
|
|
161
|
-
const $
|
|
153
|
+
const $io60 = (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 && $io12(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io61(elem))) && true;
|
|
154
|
+
const $io61 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
155
|
+
const $io62 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type);
|
|
156
|
+
const $io63 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && ("age" === input3.timeScale || "time" === input3.timeScale) && (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) && true;
|
|
157
|
+
const $io64 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type) && ("object" === typeof input3.groups && null !== input3.groups && false === Array.isArray(input3.groups) && $io65(input3.groups));
|
|
158
|
+
const $io65 = (input3) => Object.keys(input3).every((key) => {
|
|
162
159
|
const value = input3[key];
|
|
163
160
|
if (void 0 === value)
|
|
164
161
|
return true;
|
|
165
162
|
if (RegExp(/(.*)/).test(key))
|
|
166
|
-
return "object" === typeof value && null !== value && $
|
|
163
|
+
return "object" === typeof value && null !== value && $io66(value);
|
|
167
164
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
168
|
-
return "object" === typeof value && null !== value && $
|
|
165
|
+
return "object" === typeof value && null !== value && $io66(value);
|
|
169
166
|
return true;
|
|
170
167
|
});
|
|
171
|
-
const $
|
|
168
|
+
const $io66 = (input3) => "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io61(elem))) && true;
|
|
172
169
|
const $iu0 = (input3) => (() => {
|
|
173
170
|
if ("string" === typeof input3.type)
|
|
174
171
|
return $io9(input3);
|
|
@@ -178,42 +175,42 @@ var validDescrStatsRequest = (input) => {
|
|
|
178
175
|
})();
|
|
179
176
|
const $iu1 = (input3) => (() => {
|
|
180
177
|
if ("tvslst" === input3.type)
|
|
181
|
-
return $
|
|
178
|
+
return $io12(input3);
|
|
182
179
|
if ("tvs" === input3.type)
|
|
183
|
-
return $
|
|
180
|
+
return $io13(input3);
|
|
184
181
|
return false;
|
|
185
182
|
})();
|
|
186
183
|
const $iu2 = (input3) => (() => {
|
|
187
184
|
if (true === input3.startunbounded)
|
|
188
|
-
return $
|
|
185
|
+
return $io25(input3);
|
|
189
186
|
if (true === input3.stopunbounded)
|
|
190
|
-
return $
|
|
191
|
-
return $
|
|
187
|
+
return $io27(input3);
|
|
188
|
+
return $io26(input3);
|
|
192
189
|
})();
|
|
193
190
|
const $iu3 = (input3) => (() => {
|
|
194
191
|
if (true === input3.startunbounded)
|
|
195
|
-
return $
|
|
192
|
+
return $io25(input3);
|
|
196
193
|
if (void 0 !== input3.start)
|
|
197
|
-
return $
|
|
194
|
+
return $io26(input3);
|
|
198
195
|
return false;
|
|
199
196
|
})();
|
|
200
197
|
const $iu4 = (input3) => (() => {
|
|
201
198
|
if (void 0 !== input3.stop)
|
|
202
|
-
return $
|
|
199
|
+
return $io26(input3);
|
|
203
200
|
if (true === input3.stopunbounded)
|
|
204
|
-
return $
|
|
201
|
+
return $io27(input3);
|
|
205
202
|
return false;
|
|
206
203
|
})();
|
|
207
204
|
const $iu5 = (input3) => (() => {
|
|
208
205
|
if (void 0 !== input3.type)
|
|
209
206
|
return $io1(input3);
|
|
210
207
|
return (() => {
|
|
211
|
-
if ($
|
|
212
|
-
return $
|
|
213
|
-
if ($
|
|
214
|
-
return $
|
|
215
|
-
if ($
|
|
216
|
-
return $
|
|
208
|
+
if ($io51(input3))
|
|
209
|
+
return $io51(input3);
|
|
210
|
+
if ($io44(input3))
|
|
211
|
+
return $io44(input3);
|
|
212
|
+
if ($io39(input3))
|
|
213
|
+
return $io39(input3);
|
|
217
214
|
return false;
|
|
218
215
|
})();
|
|
219
216
|
})();
|
|
@@ -227,68 +224,68 @@ var validDescrStatsRequest = (input) => {
|
|
|
227
224
|
return $io5(input3);
|
|
228
225
|
})();
|
|
229
226
|
const $iu7 = (input3) => (() => {
|
|
230
|
-
if ("gene" === input3.kind)
|
|
231
|
-
return $io15(input3);
|
|
232
|
-
if ("coord" === input3.kind)
|
|
233
|
-
return $io41(input3);
|
|
234
|
-
return false;
|
|
235
|
-
})();
|
|
236
|
-
const $iu8 = (input3) => (() => {
|
|
237
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io24(elem)))
|
|
238
|
-
return $io23(input3);
|
|
239
|
-
return $io25(input3);
|
|
240
|
-
})();
|
|
241
|
-
const $iu9 = (input3) => (() => {
|
|
242
227
|
if (void 0 !== input3.ranges)
|
|
243
|
-
return $
|
|
228
|
+
return $io21(input3);
|
|
244
229
|
return (() => {
|
|
245
|
-
if ($
|
|
246
|
-
return $
|
|
247
|
-
if ($
|
|
248
|
-
return $
|
|
249
|
-
if ($
|
|
250
|
-
return $
|
|
230
|
+
if ($io14(input3))
|
|
231
|
+
return $io14(input3);
|
|
232
|
+
if ($io31(input3))
|
|
233
|
+
return $io31(input3);
|
|
234
|
+
if ($io34(input3))
|
|
235
|
+
return $io34(input3);
|
|
251
236
|
return false;
|
|
252
237
|
})();
|
|
253
238
|
})();
|
|
254
|
-
const $
|
|
239
|
+
const $iu8 = (input3) => (() => {
|
|
240
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io19(elem)))
|
|
241
|
+
return $io18(input3);
|
|
242
|
+
return $io20(input3);
|
|
243
|
+
})();
|
|
244
|
+
const $iu9 = (input3) => (() => {
|
|
255
245
|
if ("regular-bin" === input3.type)
|
|
256
|
-
return $
|
|
246
|
+
return $io24(input3);
|
|
257
247
|
if ("custom-bin" === input3.type)
|
|
258
|
-
return $
|
|
248
|
+
return $io28(input3);
|
|
249
|
+
return false;
|
|
250
|
+
})();
|
|
251
|
+
const $iu10 = (input3) => (() => {
|
|
252
|
+
if ("gene" === input3.kind)
|
|
253
|
+
return $io36(input3);
|
|
254
|
+
if ("coord" === input3.kind)
|
|
255
|
+
return $io37(input3);
|
|
259
256
|
return false;
|
|
260
257
|
})();
|
|
261
258
|
const $iu11 = (input3) => (() => {
|
|
262
259
|
if ("regular-bin" === input3.type)
|
|
263
|
-
return $
|
|
260
|
+
return $io24(input3);
|
|
264
261
|
if ("continuous" === input3.mode)
|
|
265
|
-
return $
|
|
262
|
+
return $io41(input3);
|
|
266
263
|
if ("spline" === input3.mode)
|
|
267
|
-
return $
|
|
264
|
+
return $io42(input3);
|
|
268
265
|
return (() => {
|
|
269
|
-
if ($
|
|
270
|
-
return $
|
|
271
|
-
if ($
|
|
272
|
-
return $
|
|
266
|
+
if ($io28(input3))
|
|
267
|
+
return $io28(input3);
|
|
268
|
+
if ($io40(input3))
|
|
269
|
+
return $io40(input3);
|
|
273
270
|
return false;
|
|
274
271
|
})();
|
|
275
272
|
})();
|
|
276
273
|
const $iu12 = (input3) => (() => {
|
|
277
274
|
if ("gene" === input3.kind)
|
|
278
|
-
return $
|
|
275
|
+
return $io52(input3);
|
|
279
276
|
if ("coord" === input3.kind)
|
|
280
|
-
return $
|
|
277
|
+
return $io53(input3);
|
|
281
278
|
if ("categorical" === input3.type)
|
|
282
|
-
return $
|
|
279
|
+
return $io54(input3);
|
|
283
280
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
284
|
-
return $
|
|
281
|
+
return $io55(input3);
|
|
285
282
|
if ("condition" === input3.type)
|
|
286
|
-
return $
|
|
283
|
+
return $io56(input3);
|
|
287
284
|
return (() => {
|
|
288
|
-
if ($
|
|
289
|
-
return $
|
|
290
|
-
if ($
|
|
291
|
-
return $
|
|
285
|
+
if ($io57(input3))
|
|
286
|
+
return $io57(input3);
|
|
287
|
+
if ($io58(input3))
|
|
288
|
+
return $io58(input3);
|
|
292
289
|
return false;
|
|
293
290
|
})();
|
|
294
291
|
})();
|
|
@@ -298,29 +295,29 @@ var validDescrStatsRequest = (input) => {
|
|
|
298
295
|
if (void 0 !== input3.customset)
|
|
299
296
|
return $io7(input3);
|
|
300
297
|
if (void 0 !== input3.bin_size)
|
|
301
|
-
return $
|
|
298
|
+
return $io24(input3);
|
|
302
299
|
if (void 0 !== input3.knots)
|
|
303
|
-
return $
|
|
300
|
+
return $io42(input3);
|
|
304
301
|
if (void 0 !== input3.AFcutoff)
|
|
305
|
-
return $
|
|
302
|
+
return $io45(input3);
|
|
306
303
|
if (void 0 !== input3.timeScale)
|
|
307
|
-
return $
|
|
304
|
+
return $io63(input3);
|
|
308
305
|
return (() => {
|
|
309
306
|
if (void 0 !== input3.groups)
|
|
310
|
-
return $
|
|
307
|
+
return $io64(input3);
|
|
311
308
|
return (() => {
|
|
312
309
|
if ($io5(input3))
|
|
313
310
|
return $io5(input3);
|
|
314
|
-
if ($
|
|
315
|
-
return $
|
|
311
|
+
if ($io62(input3))
|
|
312
|
+
return $io62(input3);
|
|
316
313
|
if ($io3(input3))
|
|
317
314
|
return $io3(input3);
|
|
318
|
-
if ($
|
|
319
|
-
return $
|
|
320
|
-
if ($
|
|
321
|
-
return $
|
|
322
|
-
if ($
|
|
323
|
-
return $
|
|
315
|
+
if ($io28(input3))
|
|
316
|
+
return $io28(input3);
|
|
317
|
+
if ($io40(input3))
|
|
318
|
+
return $io40(input3);
|
|
319
|
+
if ($io41(input3))
|
|
320
|
+
return $io41(input3);
|
|
324
321
|
return false;
|
|
325
322
|
})();
|
|
326
323
|
})();
|
|
@@ -359,7 +356,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
359
356
|
path: _path2 + ".filter",
|
|
360
357
|
expected: "(Filter | undefined)",
|
|
361
358
|
value: input3.filter
|
|
362
|
-
})) && $
|
|
359
|
+
})) && $vo12(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
363
360
|
path: _path2 + ".filter",
|
|
364
361
|
expected: "(Filter | undefined)",
|
|
365
362
|
value: input3.filter
|
|
@@ -404,7 +401,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
404
401
|
path: _path2 + ".term",
|
|
405
402
|
expected: "CategoricalTerm",
|
|
406
403
|
value: input3.term
|
|
407
|
-
})) && $
|
|
404
|
+
})) && $vo15(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
408
405
|
path: _path2 + ".term",
|
|
409
406
|
expected: "CategoricalTerm",
|
|
410
407
|
value: input3.term
|
|
@@ -622,114 +619,98 @@ var validDescrStatsRequest = (input) => {
|
|
|
622
619
|
value: input3.type
|
|
623
620
|
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
624
621
|
path: _path2 + ".filter",
|
|
625
|
-
expected: "
|
|
622
|
+
expected: "Filter",
|
|
626
623
|
value: input3.filter
|
|
627
624
|
})) && $vo12(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
628
625
|
path: _path2 + ".filter",
|
|
629
|
-
expected: "
|
|
626
|
+
expected: "Filter",
|
|
630
627
|
value: input3.filter
|
|
631
628
|
}), "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
632
629
|
path: _path2 + ".uncomputable",
|
|
633
630
|
expected: "boolean",
|
|
634
631
|
value: input3.uncomputable
|
|
635
632
|
})].every((flag) => flag);
|
|
636
|
-
const $vo12 = (input3, _path2, _exceptionable2 = true) => [
|
|
637
|
-
path: _path2 + ".
|
|
638
|
-
expected: "
|
|
639
|
-
value: input3.
|
|
640
|
-
})
|
|
641
|
-
path: _path2 + "
|
|
642
|
-
expected: "
|
|
643
|
-
value: input3
|
|
644
|
-
}),
|
|
645
|
-
path: _path2 + ".
|
|
646
|
-
expected: "Array<DtTerm>",
|
|
647
|
-
value: input3.terms
|
|
648
|
-
})) && input3.terms.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
649
|
-
path: _path2 + ".terms[" + _index3 + "]",
|
|
650
|
-
expected: "DtTerm",
|
|
651
|
-
value: elem
|
|
652
|
-
})) && $vo14(elem, _path2 + ".terms[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
653
|
-
path: _path2 + ".terms[" + _index3 + "]",
|
|
654
|
-
expected: "DtTerm",
|
|
655
|
-
value: elem
|
|
656
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
657
|
-
path: _path2 + ".terms",
|
|
658
|
-
expected: "Array<DtTerm>",
|
|
659
|
-
value: input3.terms
|
|
660
|
-
}), ("object" === typeof input3.active && null !== input3.active || $report(_exceptionable2, {
|
|
661
|
-
path: _path2 + ".active",
|
|
662
|
-
expected: "Filter",
|
|
663
|
-
value: input3.active
|
|
664
|
-
})) && $vo18(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
|
|
665
|
-
path: _path2 + ".active",
|
|
666
|
-
expected: "Filter",
|
|
667
|
-
value: input3.active
|
|
668
|
-
}), "number" === typeof input3.group || $report(_exceptionable2, {
|
|
669
|
-
path: _path2 + ".group",
|
|
670
|
-
expected: "number",
|
|
671
|
-
value: input3.group
|
|
672
|
-
})].every((flag) => flag);
|
|
673
|
-
const $vo13 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.joinWith) || $report(_exceptionable2, {
|
|
674
|
-
path: _path2 + ".joinWith",
|
|
675
|
-
expected: "Array<string>",
|
|
676
|
-
value: input3.joinWith
|
|
677
|
-
})) && input3.joinWith.map((elem, _index4) => "string" === typeof elem || $report(_exceptionable2, {
|
|
678
|
-
path: _path2 + ".joinWith[" + _index4 + "]",
|
|
633
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
634
|
+
path: _path2 + ".type",
|
|
635
|
+
expected: '"tvslst"',
|
|
636
|
+
value: input3.type
|
|
637
|
+
}), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
638
|
+
path: _path2 + '["in"]',
|
|
639
|
+
expected: "boolean",
|
|
640
|
+
value: input3["in"]
|
|
641
|
+
}), "string" === typeof input3.join || $report(_exceptionable2, {
|
|
642
|
+
path: _path2 + ".join",
|
|
679
643
|
expected: "string",
|
|
644
|
+
value: input3.join
|
|
645
|
+
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
646
|
+
path: _path2 + ".tag",
|
|
647
|
+
expected: "(string | undefined)",
|
|
648
|
+
value: input3.tag
|
|
649
|
+
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
650
|
+
path: _path2 + ".lst",
|
|
651
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
652
|
+
value: input3.lst
|
|
653
|
+
})) && input3.lst.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
654
|
+
path: _path2 + ".lst[" + _index3 + "]",
|
|
655
|
+
expected: "(Filter | __type.o2)",
|
|
656
|
+
value: elem
|
|
657
|
+
})) && $vu1(elem, _path2 + ".lst[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
658
|
+
path: _path2 + ".lst[" + _index3 + "]",
|
|
659
|
+
expected: "(Filter | __type.o2)",
|
|
680
660
|
value: elem
|
|
681
661
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
682
|
-
path: _path2 + ".
|
|
683
|
-
expected:
|
|
684
|
-
value: input3.
|
|
662
|
+
path: _path2 + ".lst",
|
|
663
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
664
|
+
value: input3.lst
|
|
685
665
|
})].every((flag) => flag);
|
|
686
|
-
const $
|
|
687
|
-
path: _path2 + ".id",
|
|
688
|
-
expected: "string",
|
|
689
|
-
value: input3.id
|
|
690
|
-
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
691
|
-
path: _path2 + ".query",
|
|
692
|
-
expected: "string",
|
|
693
|
-
value: input3.query
|
|
694
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
695
|
-
path: _path2 + ".name",
|
|
696
|
-
expected: "string",
|
|
697
|
-
value: input3.name
|
|
698
|
-
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
699
|
-
path: _path2 + ".name_noOrigin",
|
|
700
|
-
expected: "string",
|
|
701
|
-
value: input3.name_noOrigin
|
|
702
|
-
}), void 0 === input3.geneVariantTerm || ("object" === typeof input3.geneVariantTerm && null !== input3.geneVariantTerm || $report(_exceptionable2, {
|
|
703
|
-
path: _path2 + ".geneVariantTerm",
|
|
704
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
705
|
-
value: input3.geneVariantTerm
|
|
706
|
-
})) && $vu7(input3.geneVariantTerm, _path2 + ".geneVariantTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
707
|
-
path: _path2 + ".geneVariantTerm",
|
|
708
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
709
|
-
value: input3.geneVariantTerm
|
|
710
|
-
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
711
|
-
path: _path2 + ".isleaf",
|
|
712
|
-
expected: "boolean",
|
|
713
|
-
value: input3.isleaf
|
|
714
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
666
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
715
667
|
path: _path2 + ".type",
|
|
716
|
-
expected: "
|
|
668
|
+
expected: '"tvs"',
|
|
717
669
|
value: input3.type
|
|
718
|
-
}), "
|
|
719
|
-
path: _path2 + ".
|
|
720
|
-
expected: "
|
|
721
|
-
value: input3.
|
|
722
|
-
})
|
|
723
|
-
path: _path2 + ".
|
|
670
|
+
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
671
|
+
path: _path2 + ".tvs",
|
|
672
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
673
|
+
value: input3.tvs
|
|
674
|
+
})) && $vu7(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
675
|
+
path: _path2 + ".tvs",
|
|
676
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
677
|
+
value: input3.tvs
|
|
678
|
+
})].every((flag) => flag);
|
|
679
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
680
|
+
path: _path2 + ".join",
|
|
724
681
|
expected: "(string | undefined)",
|
|
725
|
-
value: input3.
|
|
726
|
-
}),
|
|
682
|
+
value: input3.join
|
|
683
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
684
|
+
path: _path2 + ".isnot",
|
|
685
|
+
expected: "(boolean | undefined)",
|
|
686
|
+
value: input3.isnot
|
|
687
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
688
|
+
path: _path2 + ".term",
|
|
689
|
+
expected: "CategoricalTerm",
|
|
690
|
+
value: input3.term
|
|
691
|
+
})) && $vo15(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
692
|
+
path: _path2 + ".term",
|
|
693
|
+
expected: "CategoricalTerm",
|
|
694
|
+
value: input3.term
|
|
695
|
+
}), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
|
|
696
|
+
path: _path2 + ".groupset_label",
|
|
697
|
+
expected: "(string | undefined)",
|
|
698
|
+
value: input3.groupset_label
|
|
699
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
727
700
|
path: _path2 + ".values",
|
|
728
|
-
expected: "
|
|
701
|
+
expected: "Array<BaseValue>",
|
|
729
702
|
value: input3.values
|
|
730
|
-
})) &&
|
|
703
|
+
})) && input3.values.map((elem, _index4) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
704
|
+
path: _path2 + ".values[" + _index4 + "]",
|
|
705
|
+
expected: "BaseValue",
|
|
706
|
+
value: elem
|
|
707
|
+
})) && $vo17(elem, _path2 + ".values[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
708
|
+
path: _path2 + ".values[" + _index4 + "]",
|
|
709
|
+
expected: "BaseValue",
|
|
710
|
+
value: elem
|
|
711
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
731
712
|
path: _path2 + ".values",
|
|
732
|
-
expected: "
|
|
713
|
+
expected: "Array<BaseValue>",
|
|
733
714
|
value: input3.values
|
|
734
715
|
})].every((flag) => flag);
|
|
735
716
|
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -740,9 +721,9 @@ var validDescrStatsRequest = (input) => {
|
|
|
740
721
|
path: _path2 + ".name",
|
|
741
722
|
expected: "string",
|
|
742
723
|
value: input3.name
|
|
743
|
-
}), "
|
|
724
|
+
}), "categorical" === input3.type || $report(_exceptionable2, {
|
|
744
725
|
path: _path2 + ".type",
|
|
745
|
-
expected: '"
|
|
726
|
+
expected: '"categorical"',
|
|
746
727
|
value: input3.type
|
|
747
728
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
748
729
|
path: _path2 + ".child_types",
|
|
@@ -784,41 +765,13 @@ var validDescrStatsRequest = (input) => {
|
|
|
784
765
|
path: _path2 + ".values",
|
|
785
766
|
expected: "(TermValues | undefined)",
|
|
786
767
|
value: input3.values
|
|
787
|
-
}),
|
|
788
|
-
path: _path2 + ".filter",
|
|
789
|
-
expected: "(TermFilter | undefined)",
|
|
790
|
-
value: input3.filter
|
|
791
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
792
|
-
path: _path2 + ".filter",
|
|
793
|
-
expected: "(TermFilter | undefined)",
|
|
794
|
-
value: input3.filter
|
|
795
|
-
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
796
|
-
path: _path2 + ".kind",
|
|
797
|
-
expected: '"gene"',
|
|
798
|
-
value: input3.kind
|
|
799
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
800
|
-
path: _path2 + ".gene",
|
|
801
|
-
expected: "string",
|
|
802
|
-
value: input3.gene
|
|
803
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
804
|
-
path: _path2 + ".chr",
|
|
805
|
-
expected: "(string | undefined)",
|
|
806
|
-
value: input3.chr
|
|
807
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
808
|
-
path: _path2 + ".start",
|
|
809
|
-
expected: "(number | undefined)",
|
|
810
|
-
value: input3.start
|
|
811
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
812
|
-
path: _path2 + ".stop",
|
|
813
|
-
expected: "(number | undefined)",
|
|
814
|
-
value: input3.stop
|
|
815
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
768
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
816
769
|
path: _path2 + ".groupsetting",
|
|
817
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
770
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
818
771
|
value: input3.groupsetting
|
|
819
772
|
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
820
773
|
path: _path2 + ".groupsetting",
|
|
821
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
774
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
822
775
|
value: input3.groupsetting
|
|
823
776
|
})].every((flag) => flag);
|
|
824
777
|
const $vo16 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
@@ -875,189 +828,12 @@ var validDescrStatsRequest = (input) => {
|
|
|
875
828
|
path: _path2 + ".filter",
|
|
876
829
|
expected: "(Filter | undefined)",
|
|
877
830
|
value: input3.filter
|
|
878
|
-
})) && $
|
|
831
|
+
})) && $vo12(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
879
832
|
path: _path2 + ".filter",
|
|
880
833
|
expected: "(Filter | undefined)",
|
|
881
834
|
value: input3.filter
|
|
882
835
|
})].every((flag) => flag);
|
|
883
|
-
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["
|
|
884
|
-
path: _path2 + ".type",
|
|
885
|
-
expected: '"tvslst"',
|
|
886
|
-
value: input3.type
|
|
887
|
-
}), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
888
|
-
path: _path2 + '["in"]',
|
|
889
|
-
expected: "boolean",
|
|
890
|
-
value: input3["in"]
|
|
891
|
-
}), "string" === typeof input3.join || $report(_exceptionable2, {
|
|
892
|
-
path: _path2 + ".join",
|
|
893
|
-
expected: "string",
|
|
894
|
-
value: input3.join
|
|
895
|
-
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
896
|
-
path: _path2 + ".tag",
|
|
897
|
-
expected: "(string | undefined)",
|
|
898
|
-
value: input3.tag
|
|
899
|
-
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
900
|
-
path: _path2 + ".lst",
|
|
901
|
-
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
902
|
-
value: input3.lst
|
|
903
|
-
})) && input3.lst.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
904
|
-
path: _path2 + ".lst[" + _index7 + "]",
|
|
905
|
-
expected: "(Filter | __type.o3)",
|
|
906
|
-
value: elem
|
|
907
|
-
})) && $vu1(elem, _path2 + ".lst[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
908
|
-
path: _path2 + ".lst[" + _index7 + "]",
|
|
909
|
-
expected: "(Filter | __type.o3)",
|
|
910
|
-
value: elem
|
|
911
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
912
|
-
path: _path2 + ".lst",
|
|
913
|
-
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
914
|
-
value: input3.lst
|
|
915
|
-
})].every((flag) => flag);
|
|
916
|
-
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
917
|
-
path: _path2 + ".type",
|
|
918
|
-
expected: '"tvs"',
|
|
919
|
-
value: input3.type
|
|
920
|
-
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
921
|
-
path: _path2 + ".tvs",
|
|
922
|
-
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
923
|
-
value: input3.tvs
|
|
924
|
-
})) && $vu9(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
925
|
-
path: _path2 + ".tvs",
|
|
926
|
-
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
927
|
-
value: input3.tvs
|
|
928
|
-
})].every((flag) => flag);
|
|
929
|
-
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
930
|
-
path: _path2 + ".join",
|
|
931
|
-
expected: "(string | undefined)",
|
|
932
|
-
value: input3.join
|
|
933
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
934
|
-
path: _path2 + ".isnot",
|
|
935
|
-
expected: "(boolean | undefined)",
|
|
936
|
-
value: input3.isnot
|
|
937
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
938
|
-
path: _path2 + ".term",
|
|
939
|
-
expected: "CategoricalTerm",
|
|
940
|
-
value: input3.term
|
|
941
|
-
})) && $vo21(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
942
|
-
path: _path2 + ".term",
|
|
943
|
-
expected: "CategoricalTerm",
|
|
944
|
-
value: input3.term
|
|
945
|
-
}), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
|
|
946
|
-
path: _path2 + ".groupset_label",
|
|
947
|
-
expected: "(string | undefined)",
|
|
948
|
-
value: input3.groupset_label
|
|
949
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
950
|
-
path: _path2 + ".values",
|
|
951
|
-
expected: "Array<BaseValue>",
|
|
952
|
-
value: input3.values
|
|
953
|
-
})) && input3.values.map((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
954
|
-
path: _path2 + ".values[" + _index8 + "]",
|
|
955
|
-
expected: "BaseValue",
|
|
956
|
-
value: elem
|
|
957
|
-
})) && $vo17(elem, _path2 + ".values[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
958
|
-
path: _path2 + ".values[" + _index8 + "]",
|
|
959
|
-
expected: "BaseValue",
|
|
960
|
-
value: elem
|
|
961
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
962
|
-
path: _path2 + ".values",
|
|
963
|
-
expected: "Array<BaseValue>",
|
|
964
|
-
value: input3.values
|
|
965
|
-
})].every((flag) => flag);
|
|
966
|
-
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
967
|
-
path: _path2 + ".id",
|
|
968
|
-
expected: "string",
|
|
969
|
-
value: input3.id
|
|
970
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
971
|
-
path: _path2 + ".name",
|
|
972
|
-
expected: "string",
|
|
973
|
-
value: input3.name
|
|
974
|
-
}), "categorical" === input3.type || $report(_exceptionable2, {
|
|
975
|
-
path: _path2 + ".type",
|
|
976
|
-
expected: '"categorical"',
|
|
977
|
-
value: input3.type
|
|
978
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
979
|
-
path: _path2 + ".child_types",
|
|
980
|
-
expected: "(Array<string> | undefined)",
|
|
981
|
-
value: input3.child_types
|
|
982
|
-
})) && input3.child_types.map((elem, _index9) => "string" === typeof elem || $report(_exceptionable2, {
|
|
983
|
-
path: _path2 + ".child_types[" + _index9 + "]",
|
|
984
|
-
expected: "string",
|
|
985
|
-
value: elem
|
|
986
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
987
|
-
path: _path2 + ".child_types",
|
|
988
|
-
expected: "(Array<string> | undefined)",
|
|
989
|
-
value: input3.child_types
|
|
990
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
991
|
-
path: _path2 + ".hashtmldetail",
|
|
992
|
-
expected: "(boolean | undefined)",
|
|
993
|
-
value: input3.hashtmldetail
|
|
994
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
995
|
-
path: _path2 + ".included_types",
|
|
996
|
-
expected: "(Array<string> | undefined)",
|
|
997
|
-
value: input3.included_types
|
|
998
|
-
})) && input3.included_types.map((elem, _index10) => "string" === typeof elem || $report(_exceptionable2, {
|
|
999
|
-
path: _path2 + ".included_types[" + _index10 + "]",
|
|
1000
|
-
expected: "string",
|
|
1001
|
-
value: elem
|
|
1002
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1003
|
-
path: _path2 + ".included_types",
|
|
1004
|
-
expected: "(Array<string> | undefined)",
|
|
1005
|
-
value: input3.included_types
|
|
1006
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1007
|
-
path: _path2 + ".isleaf",
|
|
1008
|
-
expected: "(boolean | undefined)",
|
|
1009
|
-
value: input3.isleaf
|
|
1010
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1011
|
-
path: _path2 + ".values",
|
|
1012
|
-
expected: "(TermValues | undefined)",
|
|
1013
|
-
value: input3.values
|
|
1014
|
-
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1015
|
-
path: _path2 + ".values",
|
|
1016
|
-
expected: "(TermValues | undefined)",
|
|
1017
|
-
value: input3.values
|
|
1018
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1019
|
-
path: _path2 + ".filter",
|
|
1020
|
-
expected: "(TermFilter | undefined)",
|
|
1021
|
-
value: input3.filter
|
|
1022
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1023
|
-
path: _path2 + ".filter",
|
|
1024
|
-
expected: "(TermFilter | undefined)",
|
|
1025
|
-
value: input3.filter
|
|
1026
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1027
|
-
path: _path2 + ".groupsetting",
|
|
1028
|
-
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
1029
|
-
value: input3.groupsetting
|
|
1030
|
-
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1031
|
-
path: _path2 + ".groupsetting",
|
|
1032
|
-
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
1033
|
-
value: input3.groupsetting
|
|
1034
|
-
})].every((flag) => flag);
|
|
1035
|
-
const $vo22 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
1036
|
-
path: _path2 + ".opts",
|
|
1037
|
-
expected: "__type.o2",
|
|
1038
|
-
value: input3.opts
|
|
1039
|
-
})) && $vo13(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
1040
|
-
path: _path2 + ".opts",
|
|
1041
|
-
expected: "__type.o2",
|
|
1042
|
-
value: input3.opts
|
|
1043
|
-
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
1044
|
-
path: _path2 + ".terms",
|
|
1045
|
-
expected: "Array<DtTerm>",
|
|
1046
|
-
value: input3.terms
|
|
1047
|
-
})) && input3.terms.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1048
|
-
path: _path2 + ".terms[" + _index11 + "]",
|
|
1049
|
-
expected: "DtTerm",
|
|
1050
|
-
value: elem
|
|
1051
|
-
})) && $vo14(elem, _path2 + ".terms[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1052
|
-
path: _path2 + ".terms[" + _index11 + "]",
|
|
1053
|
-
expected: "DtTerm",
|
|
1054
|
-
value: elem
|
|
1055
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1056
|
-
path: _path2 + ".terms",
|
|
1057
|
-
expected: "Array<DtTerm>",
|
|
1058
|
-
value: input3.terms
|
|
1059
|
-
})].every((flag) => flag);
|
|
1060
|
-
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
836
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1061
837
|
path: _path2 + ".disabled",
|
|
1062
838
|
expected: "(boolean | undefined)",
|
|
1063
839
|
value: input3.disabled
|
|
@@ -1065,12 +841,12 @@ var validDescrStatsRequest = (input) => {
|
|
|
1065
841
|
path: _path2 + ".lst",
|
|
1066
842
|
expected: "Array<Groupset>",
|
|
1067
843
|
value: input3.lst
|
|
1068
|
-
})) && input3.lst.map((elem,
|
|
1069
|
-
path: _path2 + ".lst[" +
|
|
844
|
+
})) && input3.lst.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
845
|
+
path: _path2 + ".lst[" + _index7 + "]",
|
|
1070
846
|
expected: "Groupset",
|
|
1071
847
|
value: elem
|
|
1072
|
-
})) && $
|
|
1073
|
-
path: _path2 + ".lst[" +
|
|
848
|
+
})) && $vo19(elem, _path2 + ".lst[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
849
|
+
path: _path2 + ".lst[" + _index7 + "]",
|
|
1074
850
|
expected: "Groupset",
|
|
1075
851
|
value: elem
|
|
1076
852
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1078,7 +854,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1078
854
|
expected: "Array<Groupset>",
|
|
1079
855
|
value: input3.lst
|
|
1080
856
|
})].every((flag) => flag);
|
|
1081
|
-
const $
|
|
857
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
1082
858
|
path: _path2 + ".name",
|
|
1083
859
|
expected: "string",
|
|
1084
860
|
value: input3.name
|
|
@@ -1098,12 +874,12 @@ var validDescrStatsRequest = (input) => {
|
|
|
1098
874
|
path: _path2 + ".groups",
|
|
1099
875
|
expected: "Array<GroupEntry>",
|
|
1100
876
|
value: input3.groups
|
|
1101
|
-
})) && input3.groups.map((elem,
|
|
1102
|
-
path: _path2 + ".groups[" +
|
|
877
|
+
})) && input3.groups.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
878
|
+
path: _path2 + ".groups[" + _index8 + "]",
|
|
1103
879
|
expected: "(FilterGroup | ValuesGroup)",
|
|
1104
880
|
value: elem
|
|
1105
|
-
})) && $vu0(elem, _path2 + ".groups[" +
|
|
1106
|
-
path: _path2 + ".groups[" +
|
|
881
|
+
})) && $vu0(elem, _path2 + ".groups[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
882
|
+
path: _path2 + ".groups[" + _index8 + "]",
|
|
1107
883
|
expected: "(FilterGroup | ValuesGroup)",
|
|
1108
884
|
value: elem
|
|
1109
885
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1111,7 +887,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1111
887
|
expected: "Array<GroupEntry>",
|
|
1112
888
|
value: input3.groups
|
|
1113
889
|
})].every((flag) => flag);
|
|
1114
|
-
const $
|
|
890
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1115
891
|
path: _path2 + ".disabled",
|
|
1116
892
|
expected: "boolean",
|
|
1117
893
|
value: input3.disabled
|
|
@@ -1128,7 +904,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1128
904
|
expected: "([] | undefined)",
|
|
1129
905
|
value: input3.lst
|
|
1130
906
|
})].every((flag) => flag);
|
|
1131
|
-
const $
|
|
907
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1132
908
|
path: _path2 + ".join",
|
|
1133
909
|
expected: "(string | undefined)",
|
|
1134
910
|
value: input3.join
|
|
@@ -1140,7 +916,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1140
916
|
path: _path2 + ".term",
|
|
1141
917
|
expected: "NumericTerm",
|
|
1142
918
|
value: input3.term
|
|
1143
|
-
})) && $
|
|
919
|
+
})) && $vo22(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1144
920
|
path: _path2 + ".term",
|
|
1145
921
|
expected: "NumericTerm",
|
|
1146
922
|
value: input3.term
|
|
@@ -1148,12 +924,12 @@ var validDescrStatsRequest = (input) => {
|
|
|
1148
924
|
path: _path2 + ".ranges",
|
|
1149
925
|
expected: "Array<NumericBin>",
|
|
1150
926
|
value: input3.ranges
|
|
1151
|
-
})) && input3.ranges.map((elem,
|
|
1152
|
-
path: _path2 + ".ranges[" +
|
|
927
|
+
})) && input3.ranges.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
928
|
+
path: _path2 + ".ranges[" + _index9 + "]",
|
|
1153
929
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1154
930
|
value: elem
|
|
1155
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
1156
|
-
path: _path2 + ".ranges[" +
|
|
931
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
932
|
+
path: _path2 + ".ranges[" + _index9 + "]",
|
|
1157
933
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1158
934
|
value: elem
|
|
1159
935
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1164,20 +940,20 @@ var validDescrStatsRequest = (input) => {
|
|
|
1164
940
|
path: _path2 + ".values",
|
|
1165
941
|
expected: "Array<__type>.o1",
|
|
1166
942
|
value: input3.values
|
|
1167
|
-
})) && input3.values.map((elem,
|
|
1168
|
-
path: _path2 + ".values[" +
|
|
1169
|
-
expected: "__type.
|
|
943
|
+
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
944
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
945
|
+
expected: "__type.o5",
|
|
1170
946
|
value: elem
|
|
1171
|
-
})) && $
|
|
1172
|
-
path: _path2 + ".values[" +
|
|
1173
|
-
expected: "__type.
|
|
947
|
+
})) && $vo30(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
948
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
949
|
+
expected: "__type.o5",
|
|
1174
950
|
value: elem
|
|
1175
951
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1176
952
|
path: _path2 + ".values",
|
|
1177
953
|
expected: "Array<__type>.o1",
|
|
1178
954
|
value: input3.values
|
|
1179
955
|
})].every((flag) => flag);
|
|
1180
|
-
const $
|
|
956
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1181
957
|
path: _path2 + ".id",
|
|
1182
958
|
expected: "string",
|
|
1183
959
|
value: input3.id
|
|
@@ -1193,8 +969,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
1193
969
|
path: _path2 + ".child_types",
|
|
1194
970
|
expected: "(Array<string> | undefined)",
|
|
1195
971
|
value: input3.child_types
|
|
1196
|
-
})) && input3.child_types.map((elem,
|
|
1197
|
-
path: _path2 + ".child_types[" +
|
|
972
|
+
})) && input3.child_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
|
|
973
|
+
path: _path2 + ".child_types[" + _index11 + "]",
|
|
1198
974
|
expected: "string",
|
|
1199
975
|
value: elem
|
|
1200
976
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1209,8 +985,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
1209
985
|
path: _path2 + ".included_types",
|
|
1210
986
|
expected: "(Array<string> | undefined)",
|
|
1211
987
|
value: input3.included_types
|
|
1212
|
-
})) && input3.included_types.map((elem,
|
|
1213
|
-
path: _path2 + ".included_types[" +
|
|
988
|
+
})) && input3.included_types.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable2, {
|
|
989
|
+
path: _path2 + ".included_types[" + _index12 + "]",
|
|
1214
990
|
expected: "string",
|
|
1215
991
|
value: elem
|
|
1216
992
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1228,20 +1004,12 @@ var validDescrStatsRequest = (input) => {
|
|
|
1228
1004
|
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1229
1005
|
path: _path2 + ".values",
|
|
1230
1006
|
expected: "(TermValues | undefined)",
|
|
1231
|
-
value: input3.values
|
|
1232
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1233
|
-
path: _path2 + ".filter",
|
|
1234
|
-
expected: "(TermFilter | undefined)",
|
|
1235
|
-
value: input3.filter
|
|
1236
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1237
|
-
path: _path2 + ".filter",
|
|
1238
|
-
expected: "(TermFilter | undefined)",
|
|
1239
|
-
value: input3.filter
|
|
1007
|
+
value: input3.values
|
|
1240
1008
|
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1241
1009
|
path: _path2 + ".bins",
|
|
1242
1010
|
expected: "PresetNumericBins",
|
|
1243
1011
|
value: input3.bins
|
|
1244
|
-
})) && $
|
|
1012
|
+
})) && $vo23(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1245
1013
|
path: _path2 + ".bins",
|
|
1246
1014
|
expected: "PresetNumericBins",
|
|
1247
1015
|
value: input3.bins
|
|
@@ -1251,18 +1019,18 @@ var validDescrStatsRequest = (input) => {
|
|
|
1251
1019
|
value: input3.unit
|
|
1252
1020
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1253
1021
|
path: _path2 + ".continuousColorScale",
|
|
1254
|
-
expected: "(__type.
|
|
1022
|
+
expected: "(__type.o4 | undefined)",
|
|
1255
1023
|
value: input3.continuousColorScale
|
|
1256
|
-
})) && $
|
|
1024
|
+
})) && $vo29(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1257
1025
|
path: _path2 + ".continuousColorScale",
|
|
1258
|
-
expected: "(__type.
|
|
1026
|
+
expected: "(__type.o4 | undefined)",
|
|
1259
1027
|
value: input3.continuousColorScale
|
|
1260
1028
|
})].every((flag) => flag);
|
|
1261
|
-
const $
|
|
1029
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
1262
1030
|
path: _path2 + '["default"]',
|
|
1263
1031
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1264
1032
|
value: input3["default"]
|
|
1265
|
-
})) && $
|
|
1033
|
+
})) && $vu9(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
1266
1034
|
path: _path2 + '["default"]',
|
|
1267
1035
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1268
1036
|
value: input3["default"]
|
|
@@ -1270,7 +1038,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1270
1038
|
path: _path2 + ".less",
|
|
1271
1039
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1272
1040
|
value: input3.less
|
|
1273
|
-
})) && $
|
|
1041
|
+
})) && $vu9(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
1274
1042
|
path: _path2 + ".less",
|
|
1275
1043
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1276
1044
|
value: input3.less
|
|
@@ -1295,7 +1063,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1295
1063
|
expected: "(number | undefined)",
|
|
1296
1064
|
value: input3.max
|
|
1297
1065
|
})].every((flag) => flag);
|
|
1298
|
-
const $
|
|
1066
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1299
1067
|
path: _path2 + ".hiddenValues",
|
|
1300
1068
|
expected: "(HiddenValues | undefined)",
|
|
1301
1069
|
value: input3.hiddenValues
|
|
@@ -1348,7 +1116,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1348
1116
|
expected: "(number | undefined)",
|
|
1349
1117
|
value: input3.label_offset
|
|
1350
1118
|
})].every((flag) => flag);
|
|
1351
|
-
const $
|
|
1119
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
1352
1120
|
path: _path2 + ".startunbounded",
|
|
1353
1121
|
expected: "true",
|
|
1354
1122
|
value: input3.startunbounded
|
|
@@ -1373,7 +1141,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1373
1141
|
expected: "(string | undefined)",
|
|
1374
1142
|
value: input3.label
|
|
1375
1143
|
})].every((flag) => flag);
|
|
1376
|
-
const $
|
|
1144
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
1377
1145
|
path: _path2 + ".startunbounded",
|
|
1378
1146
|
expected: "(false | undefined)",
|
|
1379
1147
|
value: input3.startunbounded
|
|
@@ -1402,7 +1170,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1402
1170
|
expected: "(string | undefined)",
|
|
1403
1171
|
value: input3.label
|
|
1404
1172
|
})].every((flag) => flag);
|
|
1405
|
-
const $
|
|
1173
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
1406
1174
|
path: _path2 + ".start",
|
|
1407
1175
|
expected: "number",
|
|
1408
1176
|
value: input3.start
|
|
@@ -1427,7 +1195,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1427
1195
|
expected: "(string | undefined)",
|
|
1428
1196
|
value: input3.label
|
|
1429
1197
|
})].every((flag) => flag);
|
|
1430
|
-
const $
|
|
1198
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1431
1199
|
path: _path2 + ".hiddenValues",
|
|
1432
1200
|
expected: "(HiddenValues | undefined)",
|
|
1433
1201
|
value: input3.hiddenValues
|
|
@@ -1473,12 +1241,12 @@ var validDescrStatsRequest = (input) => {
|
|
|
1473
1241
|
path: _path2 + ".lst",
|
|
1474
1242
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1475
1243
|
value: input3.lst.slice(1)
|
|
1476
|
-
})) && input3.lst.slice(1).map((elem,
|
|
1477
|
-
path: _path2 + ".lst[" + (1 +
|
|
1244
|
+
})) && input3.lst.slice(1).map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1245
|
+
path: _path2 + ".lst[" + (1 + _index13) + "]",
|
|
1478
1246
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1479
1247
|
value: elem
|
|
1480
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
1481
|
-
path: _path2 + ".lst[" + (1 +
|
|
1248
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index13) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1249
|
+
path: _path2 + ".lst[" + (1 + _index13) + "]",
|
|
1482
1250
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1483
1251
|
value: elem
|
|
1484
1252
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1494,7 +1262,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1494
1262
|
expected: '("median" | undefined)',
|
|
1495
1263
|
value: input3.preferredBins
|
|
1496
1264
|
})].every((flag) => flag);
|
|
1497
|
-
const $
|
|
1265
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
1498
1266
|
path: _path2 + ".minColor",
|
|
1499
1267
|
expected: "string",
|
|
1500
1268
|
value: input3.minColor
|
|
@@ -1503,7 +1271,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1503
1271
|
expected: "string",
|
|
1504
1272
|
value: input3.maxColor
|
|
1505
1273
|
})].every((flag) => flag);
|
|
1506
|
-
const $
|
|
1274
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1507
1275
|
path: _path2 + ".key",
|
|
1508
1276
|
expected: "string",
|
|
1509
1277
|
value: input3.key
|
|
@@ -1520,7 +1288,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1520
1288
|
expected: "(string | undefined)",
|
|
1521
1289
|
value: input3.label
|
|
1522
1290
|
})].every((flag) => flag);
|
|
1523
|
-
const $
|
|
1291
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1524
1292
|
path: _path2 + ".join",
|
|
1525
1293
|
expected: "(string | undefined)",
|
|
1526
1294
|
value: input3.join
|
|
@@ -1532,7 +1300,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1532
1300
|
path: _path2 + ".term",
|
|
1533
1301
|
expected: "ConditionTerm",
|
|
1534
1302
|
value: input3.term
|
|
1535
|
-
})) && $
|
|
1303
|
+
})) && $vo32(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1536
1304
|
path: _path2 + ".term",
|
|
1537
1305
|
expected: "ConditionTerm",
|
|
1538
1306
|
value: input3.term
|
|
@@ -1552,12 +1320,12 @@ var validDescrStatsRequest = (input) => {
|
|
|
1552
1320
|
path: _path2 + ".grade_and_child",
|
|
1553
1321
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1554
1322
|
value: input3.grade_and_child
|
|
1555
|
-
})) && input3.grade_and_child.map((elem,
|
|
1556
|
-
path: _path2 + ".grade_and_child[" +
|
|
1323
|
+
})) && input3.grade_and_child.map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1324
|
+
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
1557
1325
|
expected: "GradeAndChildEntry",
|
|
1558
1326
|
value: elem
|
|
1559
|
-
})) && $
|
|
1560
|
-
path: _path2 + ".grade_and_child[" +
|
|
1327
|
+
})) && $vo33(elem, _path2 + ".grade_and_child[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1328
|
+
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
1561
1329
|
expected: "GradeAndChildEntry",
|
|
1562
1330
|
value: elem
|
|
1563
1331
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1565,7 +1333,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1565
1333
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1566
1334
|
value: input3.grade_and_child
|
|
1567
1335
|
})].every((flag) => flag);
|
|
1568
|
-
const $
|
|
1336
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1569
1337
|
path: _path2 + ".id",
|
|
1570
1338
|
expected: "string",
|
|
1571
1339
|
value: input3.id
|
|
@@ -1581,8 +1349,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
1581
1349
|
path: _path2 + ".child_types",
|
|
1582
1350
|
expected: "(Array<string> | undefined)",
|
|
1583
1351
|
value: input3.child_types
|
|
1584
|
-
})) && input3.child_types.map((elem,
|
|
1585
|
-
path: _path2 + ".child_types[" +
|
|
1352
|
+
})) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1353
|
+
path: _path2 + ".child_types[" + _index15 + "]",
|
|
1586
1354
|
expected: "string",
|
|
1587
1355
|
value: elem
|
|
1588
1356
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1597,8 +1365,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
1597
1365
|
path: _path2 + ".included_types",
|
|
1598
1366
|
expected: "(Array<string> | undefined)",
|
|
1599
1367
|
value: input3.included_types
|
|
1600
|
-
})) && input3.included_types.map((elem,
|
|
1601
|
-
path: _path2 + ".included_types[" +
|
|
1368
|
+
})) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1369
|
+
path: _path2 + ".included_types[" + _index16 + "]",
|
|
1602
1370
|
expected: "string",
|
|
1603
1371
|
value: elem
|
|
1604
1372
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1617,16 +1385,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
1617
1385
|
path: _path2 + ".values",
|
|
1618
1386
|
expected: "(TermValues | undefined)",
|
|
1619
1387
|
value: input3.values
|
|
1620
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1621
|
-
path: _path2 + ".filter",
|
|
1622
|
-
expected: "(TermFilter | undefined)",
|
|
1623
|
-
value: input3.filter
|
|
1624
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1625
|
-
path: _path2 + ".filter",
|
|
1626
|
-
expected: "(TermFilter | undefined)",
|
|
1627
|
-
value: input3.filter
|
|
1628
1388
|
})].every((flag) => flag);
|
|
1629
|
-
const $
|
|
1389
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1630
1390
|
path: _path2 + ".grade",
|
|
1631
1391
|
expected: "number",
|
|
1632
1392
|
value: input3.grade
|
|
@@ -1643,7 +1403,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1643
1403
|
expected: "string",
|
|
1644
1404
|
value: input3.child_label
|
|
1645
1405
|
})].every((flag) => flag);
|
|
1646
|
-
const $
|
|
1406
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1647
1407
|
path: _path2 + ".join",
|
|
1648
1408
|
expected: "(string | undefined)",
|
|
1649
1409
|
value: input3.join
|
|
@@ -1655,7 +1415,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1655
1415
|
path: _path2 + ".term",
|
|
1656
1416
|
expected: "DtTerm",
|
|
1657
1417
|
value: input3.term
|
|
1658
|
-
})) && $
|
|
1418
|
+
})) && $vo35(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1659
1419
|
path: _path2 + ".term",
|
|
1660
1420
|
expected: "DtTerm",
|
|
1661
1421
|
value: input3.term
|
|
@@ -1663,33 +1423,69 @@ var validDescrStatsRequest = (input) => {
|
|
|
1663
1423
|
path: _path2 + ".values",
|
|
1664
1424
|
expected: "Array<__type>.o2",
|
|
1665
1425
|
value: input3.values
|
|
1666
|
-
})) && input3.values.map((elem,
|
|
1667
|
-
path: _path2 + ".values[" +
|
|
1668
|
-
expected: "__type.
|
|
1426
|
+
})) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1427
|
+
path: _path2 + ".values[" + _index17 + "]",
|
|
1428
|
+
expected: "__type.o6",
|
|
1669
1429
|
value: elem
|
|
1670
|
-
})) && $
|
|
1671
|
-
path: _path2 + ".values[" +
|
|
1672
|
-
expected: "__type.
|
|
1430
|
+
})) && $vo38(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1431
|
+
path: _path2 + ".values[" + _index17 + "]",
|
|
1432
|
+
expected: "__type.o6",
|
|
1673
1433
|
value: elem
|
|
1674
1434
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1675
1435
|
path: _path2 + ".values",
|
|
1676
1436
|
expected: "Array<__type>.o2",
|
|
1677
1437
|
value: input3.values
|
|
1678
1438
|
})].every((flag) => flag);
|
|
1679
|
-
const $
|
|
1680
|
-
path: _path2 + ".
|
|
1439
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1440
|
+
path: _path2 + ".id",
|
|
1681
1441
|
expected: "string",
|
|
1682
|
-
value: input3.
|
|
1683
|
-
}), "string" === typeof input3.
|
|
1684
|
-
path: _path2 + ".
|
|
1442
|
+
value: input3.id
|
|
1443
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
1444
|
+
path: _path2 + ".query",
|
|
1685
1445
|
expected: "string",
|
|
1686
|
-
value: input3.
|
|
1687
|
-
}), "string" === typeof input3.
|
|
1688
|
-
path: _path2 + ".
|
|
1446
|
+
value: input3.query
|
|
1447
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1448
|
+
path: _path2 + ".name",
|
|
1689
1449
|
expected: "string",
|
|
1690
|
-
value: input3.
|
|
1450
|
+
value: input3.name
|
|
1451
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
1452
|
+
path: _path2 + ".name_noOrigin",
|
|
1453
|
+
expected: "string",
|
|
1454
|
+
value: input3.name_noOrigin
|
|
1455
|
+
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1456
|
+
path: _path2 + ".parentTerm",
|
|
1457
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1458
|
+
value: input3.parentTerm
|
|
1459
|
+
})) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1460
|
+
path: _path2 + ".parentTerm",
|
|
1461
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1462
|
+
value: input3.parentTerm
|
|
1463
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1464
|
+
path: _path2 + ".isleaf",
|
|
1465
|
+
expected: "boolean",
|
|
1466
|
+
value: input3.isleaf
|
|
1467
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1468
|
+
path: _path2 + ".type",
|
|
1469
|
+
expected: "string",
|
|
1470
|
+
value: input3.type
|
|
1471
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
1472
|
+
path: _path2 + ".dt",
|
|
1473
|
+
expected: "number",
|
|
1474
|
+
value: input3.dt
|
|
1475
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
1476
|
+
path: _path2 + ".origin",
|
|
1477
|
+
expected: "(string | undefined)",
|
|
1478
|
+
value: input3.origin
|
|
1479
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1480
|
+
path: _path2 + ".values",
|
|
1481
|
+
expected: "TermValues",
|
|
1482
|
+
value: input3.values
|
|
1483
|
+
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1484
|
+
path: _path2 + ".values",
|
|
1485
|
+
expected: "TermValues",
|
|
1486
|
+
value: input3.values
|
|
1691
1487
|
})].every((flag) => flag);
|
|
1692
|
-
const $
|
|
1488
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1693
1489
|
path: _path2 + ".id",
|
|
1694
1490
|
expected: "string",
|
|
1695
1491
|
value: input3.id
|
|
@@ -1705,8 +1501,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
1705
1501
|
path: _path2 + ".child_types",
|
|
1706
1502
|
expected: "(Array<string> | undefined)",
|
|
1707
1503
|
value: input3.child_types
|
|
1708
|
-
})) && input3.child_types.map((elem,
|
|
1709
|
-
path: _path2 + ".child_types[" +
|
|
1504
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1505
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
1710
1506
|
expected: "string",
|
|
1711
1507
|
value: elem
|
|
1712
1508
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1721,8 +1517,105 @@ var validDescrStatsRequest = (input) => {
|
|
|
1721
1517
|
path: _path2 + ".included_types",
|
|
1722
1518
|
expected: "(Array<string> | undefined)",
|
|
1723
1519
|
value: input3.included_types
|
|
1724
|
-
})) && input3.included_types.map((elem,
|
|
1725
|
-
path: _path2 + ".included_types[" +
|
|
1520
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1521
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1522
|
+
expected: "string",
|
|
1523
|
+
value: elem
|
|
1524
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1525
|
+
path: _path2 + ".included_types",
|
|
1526
|
+
expected: "(Array<string> | undefined)",
|
|
1527
|
+
value: input3.included_types
|
|
1528
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1529
|
+
path: _path2 + ".isleaf",
|
|
1530
|
+
expected: "(boolean | undefined)",
|
|
1531
|
+
value: input3.isleaf
|
|
1532
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1533
|
+
path: _path2 + ".values",
|
|
1534
|
+
expected: "(TermValues | undefined)",
|
|
1535
|
+
value: input3.values
|
|
1536
|
+
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1537
|
+
path: _path2 + ".values",
|
|
1538
|
+
expected: "(TermValues | undefined)",
|
|
1539
|
+
value: input3.values
|
|
1540
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1541
|
+
path: _path2 + ".kind",
|
|
1542
|
+
expected: '"gene"',
|
|
1543
|
+
value: input3.kind
|
|
1544
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1545
|
+
path: _path2 + ".gene",
|
|
1546
|
+
expected: "string",
|
|
1547
|
+
value: input3.gene
|
|
1548
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1549
|
+
path: _path2 + ".chr",
|
|
1550
|
+
expected: "(string | undefined)",
|
|
1551
|
+
value: input3.chr
|
|
1552
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1553
|
+
path: _path2 + ".start",
|
|
1554
|
+
expected: "(number | undefined)",
|
|
1555
|
+
value: input3.start
|
|
1556
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1557
|
+
path: _path2 + ".stop",
|
|
1558
|
+
expected: "(number | undefined)",
|
|
1559
|
+
value: input3.stop
|
|
1560
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1561
|
+
path: _path2 + ".groupsetting",
|
|
1562
|
+
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
1563
|
+
value: input3.groupsetting
|
|
1564
|
+
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1565
|
+
path: _path2 + ".groupsetting",
|
|
1566
|
+
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
1567
|
+
value: input3.groupsetting
|
|
1568
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1569
|
+
path: _path2 + ".childTerms",
|
|
1570
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1571
|
+
value: input3.childTerms
|
|
1572
|
+
})) && input3.childTerms.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1573
|
+
path: _path2 + ".childTerms[" + _index20 + "]",
|
|
1574
|
+
expected: "DtTerm",
|
|
1575
|
+
value: elem
|
|
1576
|
+
})) && $vo35(elem, _path2 + ".childTerms[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1577
|
+
path: _path2 + ".childTerms[" + _index20 + "]",
|
|
1578
|
+
expected: "DtTerm",
|
|
1579
|
+
value: elem
|
|
1580
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1581
|
+
path: _path2 + ".childTerms",
|
|
1582
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1583
|
+
value: input3.childTerms
|
|
1584
|
+
})].every((flag) => flag);
|
|
1585
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1586
|
+
path: _path2 + ".id",
|
|
1587
|
+
expected: "string",
|
|
1588
|
+
value: input3.id
|
|
1589
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1590
|
+
path: _path2 + ".name",
|
|
1591
|
+
expected: "string",
|
|
1592
|
+
value: input3.name
|
|
1593
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1594
|
+
path: _path2 + ".type",
|
|
1595
|
+
expected: '"geneVariant"',
|
|
1596
|
+
value: input3.type
|
|
1597
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1598
|
+
path: _path2 + ".child_types",
|
|
1599
|
+
expected: "(Array<string> | undefined)",
|
|
1600
|
+
value: input3.child_types
|
|
1601
|
+
})) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1602
|
+
path: _path2 + ".child_types[" + _index21 + "]",
|
|
1603
|
+
expected: "string",
|
|
1604
|
+
value: elem
|
|
1605
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1606
|
+
path: _path2 + ".child_types",
|
|
1607
|
+
expected: "(Array<string> | undefined)",
|
|
1608
|
+
value: input3.child_types
|
|
1609
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1610
|
+
path: _path2 + ".hashtmldetail",
|
|
1611
|
+
expected: "(boolean | undefined)",
|
|
1612
|
+
value: input3.hashtmldetail
|
|
1613
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1614
|
+
path: _path2 + ".included_types",
|
|
1615
|
+
expected: "(Array<string> | undefined)",
|
|
1616
|
+
value: input3.included_types
|
|
1617
|
+
})) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1618
|
+
path: _path2 + ".included_types[" + _index22 + "]",
|
|
1726
1619
|
expected: "string",
|
|
1727
1620
|
value: elem
|
|
1728
1621
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1741,14 +1634,6 @@ var validDescrStatsRequest = (input) => {
|
|
|
1741
1634
|
path: _path2 + ".values",
|
|
1742
1635
|
expected: "(TermValues | undefined)",
|
|
1743
1636
|
value: input3.values
|
|
1744
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1745
|
-
path: _path2 + ".filter",
|
|
1746
|
-
expected: "(TermFilter | undefined)",
|
|
1747
|
-
value: input3.filter
|
|
1748
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1749
|
-
path: _path2 + ".filter",
|
|
1750
|
-
expected: "(TermFilter | undefined)",
|
|
1751
|
-
value: input3.filter
|
|
1752
1637
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1753
1638
|
path: _path2 + ".kind",
|
|
1754
1639
|
expected: '"coord"',
|
|
@@ -1767,14 +1652,43 @@ var validDescrStatsRequest = (input) => {
|
|
|
1767
1652
|
value: input3.stop
|
|
1768
1653
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1769
1654
|
path: _path2 + ".groupsetting",
|
|
1770
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
1655
|
+
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
1771
1656
|
value: input3.groupsetting
|
|
1772
1657
|
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1773
1658
|
path: _path2 + ".groupsetting",
|
|
1774
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
1659
|
+
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
1775
1660
|
value: input3.groupsetting
|
|
1661
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1662
|
+
path: _path2 + ".childTerms",
|
|
1663
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1664
|
+
value: input3.childTerms
|
|
1665
|
+
})) && input3.childTerms.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1666
|
+
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
1667
|
+
expected: "DtTerm",
|
|
1668
|
+
value: elem
|
|
1669
|
+
})) && $vo35(elem, _path2 + ".childTerms[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1670
|
+
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
1671
|
+
expected: "DtTerm",
|
|
1672
|
+
value: elem
|
|
1673
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1674
|
+
path: _path2 + ".childTerms",
|
|
1675
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1676
|
+
value: input3.childTerms
|
|
1677
|
+
})].every((flag) => flag);
|
|
1678
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1679
|
+
path: _path2 + ".key",
|
|
1680
|
+
expected: "string",
|
|
1681
|
+
value: input3.key
|
|
1682
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1683
|
+
path: _path2 + ".label",
|
|
1684
|
+
expected: "string",
|
|
1685
|
+
value: input3.label
|
|
1686
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
1687
|
+
path: _path2 + ".value",
|
|
1688
|
+
expected: "string",
|
|
1689
|
+
value: input3.value
|
|
1776
1690
|
})].every((flag) => flag);
|
|
1777
|
-
const $
|
|
1691
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
1778
1692
|
path: _path2 + ".id",
|
|
1779
1693
|
expected: "(string | undefined)",
|
|
1780
1694
|
value: input3.id
|
|
@@ -1802,7 +1716,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1802
1716
|
path: _path2 + ".term",
|
|
1803
1717
|
expected: "NumericTerm",
|
|
1804
1718
|
value: input3.term
|
|
1805
|
-
})) && $
|
|
1719
|
+
})) && $vo22(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1806
1720
|
path: _path2 + ".term",
|
|
1807
1721
|
expected: "NumericTerm",
|
|
1808
1722
|
value: input3.term
|
|
@@ -1815,7 +1729,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1815
1729
|
expected: "(BinaryNumericQ | ContinuousNumericQ | CustomNumericBinConfig | RegularNumericBinConfig | SplineNumericQ)",
|
|
1816
1730
|
value: input3.q
|
|
1817
1731
|
})].every((flag) => flag);
|
|
1818
|
-
const $
|
|
1732
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1819
1733
|
path: _path2 + ".hiddenValues",
|
|
1820
1734
|
expected: "(HiddenValues | undefined)",
|
|
1821
1735
|
value: input3.hiddenValues
|
|
@@ -1875,7 +1789,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1875
1789
|
expected: "[StartUnboundedBin | FullyBoundedBin, FullyBoundedBin | StopUnboundedBin]",
|
|
1876
1790
|
value: input3.lst
|
|
1877
1791
|
})].every((flag) => flag);
|
|
1878
|
-
const $
|
|
1792
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1879
1793
|
path: _path2 + ".hiddenValues",
|
|
1880
1794
|
expected: "(HiddenValues | undefined)",
|
|
1881
1795
|
value: input3.hiddenValues
|
|
@@ -1912,7 +1826,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1912
1826
|
expected: "undefined",
|
|
1913
1827
|
value: input3.type
|
|
1914
1828
|
}))].every((flag) => flag);
|
|
1915
|
-
const $
|
|
1829
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1916
1830
|
path: _path2 + ".hiddenValues",
|
|
1917
1831
|
expected: "(HiddenValues | undefined)",
|
|
1918
1832
|
value: input3.hiddenValues
|
|
@@ -1940,13 +1854,13 @@ var validDescrStatsRequest = (input) => {
|
|
|
1940
1854
|
path: _path2 + ".knots",
|
|
1941
1855
|
expected: "Array<__type>.o3",
|
|
1942
1856
|
value: input3.knots
|
|
1943
|
-
})) && input3.knots.map((elem,
|
|
1944
|
-
path: _path2 + ".knots[" +
|
|
1945
|
-
expected: "__type.
|
|
1857
|
+
})) && input3.knots.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1858
|
+
path: _path2 + ".knots[" + _index24 + "]",
|
|
1859
|
+
expected: "__type.o7",
|
|
1946
1860
|
value: elem
|
|
1947
|
-
})) && $
|
|
1948
|
-
path: _path2 + ".knots[" +
|
|
1949
|
-
expected: "__type.
|
|
1861
|
+
})) && $vo43(elem, _path2 + ".knots[" + _index24 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1862
|
+
path: _path2 + ".knots[" + _index24 + "]",
|
|
1863
|
+
expected: "__type.o7",
|
|
1950
1864
|
value: elem
|
|
1951
1865
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1952
1866
|
path: _path2 + ".knots",
|
|
@@ -1961,12 +1875,12 @@ var validDescrStatsRequest = (input) => {
|
|
|
1961
1875
|
expected: "undefined",
|
|
1962
1876
|
value: input3.type
|
|
1963
1877
|
}))].every((flag) => flag);
|
|
1964
|
-
const $
|
|
1878
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
|
|
1965
1879
|
path: _path2 + ".value",
|
|
1966
1880
|
expected: "number",
|
|
1967
1881
|
value: input3.value
|
|
1968
1882
|
})].every((flag) => flag);
|
|
1969
|
-
const $
|
|
1883
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
1970
1884
|
path: _path2 + ".id",
|
|
1971
1885
|
expected: "(string | undefined)",
|
|
1972
1886
|
value: input3.id
|
|
@@ -1994,7 +1908,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
1994
1908
|
path: _path2 + ".q",
|
|
1995
1909
|
expected: "SnpsQ",
|
|
1996
1910
|
value: input3.q
|
|
1997
|
-
})) && $
|
|
1911
|
+
})) && $vo45(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
1998
1912
|
path: _path2 + ".q",
|
|
1999
1913
|
expected: "SnpsQ",
|
|
2000
1914
|
value: input3.q
|
|
@@ -2002,12 +1916,12 @@ var validDescrStatsRequest = (input) => {
|
|
|
2002
1916
|
path: _path2 + ".term",
|
|
2003
1917
|
expected: "SnpsTerm",
|
|
2004
1918
|
value: input3.term
|
|
2005
|
-
})) && $
|
|
1919
|
+
})) && $vo47(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2006
1920
|
path: _path2 + ".term",
|
|
2007
1921
|
expected: "SnpsTerm",
|
|
2008
1922
|
value: input3.term
|
|
2009
1923
|
})].every((flag) => flag);
|
|
2010
|
-
const $
|
|
1924
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2011
1925
|
path: _path2 + ".hiddenValues",
|
|
2012
1926
|
expected: "(HiddenValues | undefined)",
|
|
2013
1927
|
value: input3.hiddenValues
|
|
@@ -2063,7 +1977,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
2063
1977
|
path: _path2 + ".restrictAncestry",
|
|
2064
1978
|
expected: "RestrictAncestry",
|
|
2065
1979
|
value: input3.restrictAncestry
|
|
2066
|
-
})) && $
|
|
1980
|
+
})) && $vo46(input3.restrictAncestry, _path2 + ".restrictAncestry", _exceptionable2) || $report(_exceptionable2, {
|
|
2067
1981
|
path: _path2 + ".restrictAncestry",
|
|
2068
1982
|
expected: "RestrictAncestry",
|
|
2069
1983
|
value: input3.restrictAncestry
|
|
@@ -2071,7 +1985,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
2071
1985
|
path: _path2 + ".variant_filter",
|
|
2072
1986
|
expected: "Filter",
|
|
2073
1987
|
value: input3.variant_filter
|
|
2074
|
-
})) && $
|
|
1988
|
+
})) && $vo12(input3.variant_filter, _path2 + ".variant_filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2075
1989
|
path: _path2 + ".variant_filter",
|
|
2076
1990
|
expected: "Filter",
|
|
2077
1991
|
value: input3.variant_filter
|
|
@@ -2088,7 +2002,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
2088
2002
|
expected: "number",
|
|
2089
2003
|
value: input3.stop
|
|
2090
2004
|
})].every((flag) => flag);
|
|
2091
|
-
const $
|
|
2005
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2092
2006
|
path: _path2 + ".name",
|
|
2093
2007
|
expected: "string",
|
|
2094
2008
|
value: input3.name
|
|
@@ -2096,12 +2010,12 @@ var validDescrStatsRequest = (input) => {
|
|
|
2096
2010
|
path: _path2 + ".tvs",
|
|
2097
2011
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
2098
2012
|
value: input3.tvs
|
|
2099
|
-
})) && $
|
|
2013
|
+
})) && $vu7(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
2100
2014
|
path: _path2 + ".tvs",
|
|
2101
2015
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
2102
2016
|
value: input3.tvs
|
|
2103
2017
|
})].every((flag) => flag);
|
|
2104
|
-
const $
|
|
2018
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2105
2019
|
path: _path2 + ".id",
|
|
2106
2020
|
expected: "string",
|
|
2107
2021
|
value: input3.id
|
|
@@ -2117,8 +2031,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
2117
2031
|
path: _path2 + ".child_types",
|
|
2118
2032
|
expected: "(Array<string> | undefined)",
|
|
2119
2033
|
value: input3.child_types
|
|
2120
|
-
})) && input3.child_types.map((elem,
|
|
2121
|
-
path: _path2 + ".child_types[" +
|
|
2034
|
+
})) && input3.child_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2035
|
+
path: _path2 + ".child_types[" + _index25 + "]",
|
|
2122
2036
|
expected: "string",
|
|
2123
2037
|
value: elem
|
|
2124
2038
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2133,8 +2047,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
2133
2047
|
path: _path2 + ".included_types",
|
|
2134
2048
|
expected: "(Array<string> | undefined)",
|
|
2135
2049
|
value: input3.included_types
|
|
2136
|
-
})) && input3.included_types.map((elem,
|
|
2137
|
-
path: _path2 + ".included_types[" +
|
|
2050
|
+
})) && input3.included_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2051
|
+
path: _path2 + ".included_types[" + _index26 + "]",
|
|
2138
2052
|
expected: "string",
|
|
2139
2053
|
value: elem
|
|
2140
2054
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2153,14 +2067,6 @@ var validDescrStatsRequest = (input) => {
|
|
|
2153
2067
|
path: _path2 + ".values",
|
|
2154
2068
|
expected: "(TermValues | undefined)",
|
|
2155
2069
|
value: input3.values
|
|
2156
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2157
|
-
path: _path2 + ".filter",
|
|
2158
|
-
expected: "(TermFilter | undefined)",
|
|
2159
|
-
value: input3.filter
|
|
2160
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2161
|
-
path: _path2 + ".filter",
|
|
2162
|
-
expected: "(TermFilter | undefined)",
|
|
2163
|
-
value: input3.filter
|
|
2164
2070
|
}), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
|
|
2165
2071
|
path: _path2 + ".reachedVariantLimit",
|
|
2166
2072
|
expected: "(boolean | undefined)",
|
|
@@ -2169,12 +2075,12 @@ var validDescrStatsRequest = (input) => {
|
|
|
2169
2075
|
path: _path2 + ".snps",
|
|
2170
2076
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2171
2077
|
value: input3.snps
|
|
2172
|
-
})) && input3.snps.map((elem,
|
|
2173
|
-
path: _path2 + ".snps[" +
|
|
2078
|
+
})) && input3.snps.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2079
|
+
path: _path2 + ".snps[" + _index27 + "]",
|
|
2174
2080
|
expected: "SnpsEntry",
|
|
2175
2081
|
value: elem
|
|
2176
|
-
})) && $
|
|
2177
|
-
path: _path2 + ".snps[" +
|
|
2082
|
+
})) && $vo48(elem, _path2 + ".snps[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2083
|
+
path: _path2 + ".snps[" + _index27 + "]",
|
|
2178
2084
|
expected: "SnpsEntry",
|
|
2179
2085
|
value: elem
|
|
2180
2086
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2182,12 +2088,12 @@ var validDescrStatsRequest = (input) => {
|
|
|
2182
2088
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2183
2089
|
value: input3.snps
|
|
2184
2090
|
})].every((flag) => flag);
|
|
2185
|
-
const $
|
|
2091
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
2186
2092
|
path: _path2 + ".altAlleles",
|
|
2187
2093
|
expected: "(Array<string> | undefined)",
|
|
2188
2094
|
value: input3.altAlleles
|
|
2189
|
-
})) && input3.altAlleles.map((elem,
|
|
2190
|
-
path: _path2 + ".altAlleles[" +
|
|
2095
|
+
})) && input3.altAlleles.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2096
|
+
path: _path2 + ".altAlleles[" + _index28 + "]",
|
|
2191
2097
|
expected: "string",
|
|
2192
2098
|
value: elem
|
|
2193
2099
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2198,12 +2104,12 @@ var validDescrStatsRequest = (input) => {
|
|
|
2198
2104
|
path: _path2 + ".alleles",
|
|
2199
2105
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
2200
2106
|
value: input3.alleles
|
|
2201
|
-
})) && input3.alleles.map((elem,
|
|
2202
|
-
path: _path2 + ".alleles[" +
|
|
2107
|
+
})) && input3.alleles.map((elem, _index29) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2108
|
+
path: _path2 + ".alleles[" + _index29 + "]",
|
|
2203
2109
|
expected: "AllelesEntry",
|
|
2204
2110
|
value: elem
|
|
2205
|
-
})) && $
|
|
2206
|
-
path: _path2 + ".alleles[" +
|
|
2111
|
+
})) && $vo49(elem, _path2 + ".alleles[" + _index29 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2112
|
+
path: _path2 + ".alleles[" + _index29 + "]",
|
|
2207
2113
|
expected: "AllelesEntry",
|
|
2208
2114
|
value: elem
|
|
2209
2115
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2216,11 +2122,11 @@ var validDescrStatsRequest = (input) => {
|
|
|
2216
2122
|
value: input3.effectAllele
|
|
2217
2123
|
}), void 0 === input3.gt2count || ("object" === typeof input3.gt2count && null !== input3.gt2count || $report(_exceptionable2, {
|
|
2218
2124
|
path: _path2 + ".gt2count",
|
|
2219
|
-
expected: "(__type.
|
|
2125
|
+
expected: "(__type.o8 | undefined)",
|
|
2220
2126
|
value: input3.gt2count
|
|
2221
|
-
})) && $
|
|
2127
|
+
})) && $vo50(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
2222
2128
|
path: _path2 + ".gt2count",
|
|
2223
|
-
expected: "(__type.
|
|
2129
|
+
expected: "(__type.o8 | undefined)",
|
|
2224
2130
|
value: input3.gt2count
|
|
2225
2131
|
}), void 0 === input3.invalid || "boolean" === typeof input3.invalid || $report(_exceptionable2, {
|
|
2226
2132
|
path: _path2 + ".invalid",
|
|
@@ -2247,7 +2153,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
2247
2153
|
expected: "(number | undefined)",
|
|
2248
2154
|
value: input3.pos
|
|
2249
2155
|
})].every((flag) => flag);
|
|
2250
|
-
const $
|
|
2156
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
2251
2157
|
path: _path2 + ".allele",
|
|
2252
2158
|
expected: "string",
|
|
2253
2159
|
value: input3.allele
|
|
@@ -2260,7 +2166,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
2260
2166
|
expected: "boolean",
|
|
2261
2167
|
value: input3.isRef
|
|
2262
2168
|
})].every((flag) => flag);
|
|
2263
|
-
const $
|
|
2169
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
2264
2170
|
path: _path2 + ".k",
|
|
2265
2171
|
expected: "string",
|
|
2266
2172
|
value: input3.k
|
|
@@ -2269,7 +2175,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
2269
2175
|
expected: "(number | string)",
|
|
2270
2176
|
value: input3.v
|
|
2271
2177
|
})].every((flag) => flag);
|
|
2272
|
-
const $
|
|
2178
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2273
2179
|
path: _path2 + ".id",
|
|
2274
2180
|
expected: "(string | undefined)",
|
|
2275
2181
|
value: input3.id
|
|
@@ -2295,11 +2201,11 @@ var validDescrStatsRequest = (input) => {
|
|
|
2295
2201
|
value: input3.minNumSamples
|
|
2296
2202
|
}), true, ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2297
2203
|
path: _path2 + ".term",
|
|
2298
|
-
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting: TermGroupSetting;
|
|
2204
|
+
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2299
2205
|
value: input3.term
|
|
2300
2206
|
})) && $vu12(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2301
2207
|
path: _path2 + ".term",
|
|
2302
|
-
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting: TermGroupSetting;
|
|
2208
|
+
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2303
2209
|
value: input3.term
|
|
2304
2210
|
}), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
|
|
2305
2211
|
path: _path2 + ".q",
|
|
@@ -2310,7 +2216,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
2310
2216
|
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | PredefinedGroupSettingQ | RegularNumericBinConfig | SampleLstQ | SnpsQ | SplineNumericQ | ValuesQ)",
|
|
2311
2217
|
value: input3.q
|
|
2312
2218
|
})].every((flag) => flag);
|
|
2313
|
-
const $
|
|
2219
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2314
2220
|
path: _path2 + ".id",
|
|
2315
2221
|
expected: "string",
|
|
2316
2222
|
value: input3.id
|
|
@@ -2326,8 +2232,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
2326
2232
|
path: _path2 + ".child_types",
|
|
2327
2233
|
expected: "(Array<string> | undefined)",
|
|
2328
2234
|
value: input3.child_types
|
|
2329
|
-
})) && input3.child_types.map((elem,
|
|
2330
|
-
path: _path2 + ".child_types[" +
|
|
2235
|
+
})) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2236
|
+
path: _path2 + ".child_types[" + _index30 + "]",
|
|
2331
2237
|
expected: "string",
|
|
2332
2238
|
value: elem
|
|
2333
2239
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2342,8 +2248,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
2342
2248
|
path: _path2 + ".included_types",
|
|
2343
2249
|
expected: "(Array<string> | undefined)",
|
|
2344
2250
|
value: input3.included_types
|
|
2345
|
-
})) && input3.included_types.map((elem,
|
|
2346
|
-
path: _path2 + ".included_types[" +
|
|
2251
|
+
})) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2252
|
+
path: _path2 + ".included_types[" + _index31 + "]",
|
|
2347
2253
|
expected: "string",
|
|
2348
2254
|
value: elem
|
|
2349
2255
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2362,14 +2268,6 @@ var validDescrStatsRequest = (input) => {
|
|
|
2362
2268
|
path: _path2 + ".values",
|
|
2363
2269
|
expected: "(TermValues | undefined)",
|
|
2364
2270
|
value: input3.values
|
|
2365
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2366
|
-
path: _path2 + ".filter",
|
|
2367
|
-
expected: "(TermFilter | undefined)",
|
|
2368
|
-
value: input3.filter
|
|
2369
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2370
|
-
path: _path2 + ".filter",
|
|
2371
|
-
expected: "(TermFilter | undefined)",
|
|
2372
|
-
value: input3.filter
|
|
2373
2271
|
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
2374
2272
|
path: _path2 + ".kind",
|
|
2375
2273
|
expected: '"gene"',
|
|
@@ -2392,14 +2290,30 @@ var validDescrStatsRequest = (input) => {
|
|
|
2392
2290
|
value: input3.stop
|
|
2393
2291
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2394
2292
|
path: _path2 + ".groupsetting",
|
|
2395
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2293
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
2396
2294
|
value: input3.groupsetting
|
|
2397
2295
|
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2398
2296
|
path: _path2 + ".groupsetting",
|
|
2399
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2297
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
2400
2298
|
value: input3.groupsetting
|
|
2299
|
+
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
2300
|
+
path: _path2 + ".childTerms",
|
|
2301
|
+
expected: "Array<DtTerm>",
|
|
2302
|
+
value: input3.childTerms
|
|
2303
|
+
})) && input3.childTerms.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2304
|
+
path: _path2 + ".childTerms[" + _index32 + "]",
|
|
2305
|
+
expected: "DtTerm",
|
|
2306
|
+
value: elem
|
|
2307
|
+
})) && $vo35(elem, _path2 + ".childTerms[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2308
|
+
path: _path2 + ".childTerms[" + _index32 + "]",
|
|
2309
|
+
expected: "DtTerm",
|
|
2310
|
+
value: elem
|
|
2311
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2312
|
+
path: _path2 + ".childTerms",
|
|
2313
|
+
expected: "Array<DtTerm>",
|
|
2314
|
+
value: input3.childTerms
|
|
2401
2315
|
})].every((flag) => flag);
|
|
2402
|
-
const $
|
|
2316
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2403
2317
|
path: _path2 + ".id",
|
|
2404
2318
|
expected: "string",
|
|
2405
2319
|
value: input3.id
|
|
@@ -2451,14 +2365,6 @@ var validDescrStatsRequest = (input) => {
|
|
|
2451
2365
|
path: _path2 + ".values",
|
|
2452
2366
|
expected: "(TermValues | undefined)",
|
|
2453
2367
|
value: input3.values
|
|
2454
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2455
|
-
path: _path2 + ".filter",
|
|
2456
|
-
expected: "(TermFilter | undefined)",
|
|
2457
|
-
value: input3.filter
|
|
2458
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2459
|
-
path: _path2 + ".filter",
|
|
2460
|
-
expected: "(TermFilter | undefined)",
|
|
2461
|
-
value: input3.filter
|
|
2462
2368
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
2463
2369
|
path: _path2 + ".kind",
|
|
2464
2370
|
expected: '"coord"',
|
|
@@ -2477,14 +2383,30 @@ var validDescrStatsRequest = (input) => {
|
|
|
2477
2383
|
value: input3.stop
|
|
2478
2384
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2479
2385
|
path: _path2 + ".groupsetting",
|
|
2480
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2386
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
2481
2387
|
value: input3.groupsetting
|
|
2482
2388
|
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2483
2389
|
path: _path2 + ".groupsetting",
|
|
2484
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2390
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
2485
2391
|
value: input3.groupsetting
|
|
2392
|
+
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
2393
|
+
path: _path2 + ".childTerms",
|
|
2394
|
+
expected: "Array<DtTerm>",
|
|
2395
|
+
value: input3.childTerms
|
|
2396
|
+
})) && input3.childTerms.map((elem, _index35) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2397
|
+
path: _path2 + ".childTerms[" + _index35 + "]",
|
|
2398
|
+
expected: "DtTerm",
|
|
2399
|
+
value: elem
|
|
2400
|
+
})) && $vo35(elem, _path2 + ".childTerms[" + _index35 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2401
|
+
path: _path2 + ".childTerms[" + _index35 + "]",
|
|
2402
|
+
expected: "DtTerm",
|
|
2403
|
+
value: elem
|
|
2404
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2405
|
+
path: _path2 + ".childTerms",
|
|
2406
|
+
expected: "Array<DtTerm>",
|
|
2407
|
+
value: input3.childTerms
|
|
2486
2408
|
})].every((flag) => flag);
|
|
2487
|
-
const $
|
|
2409
|
+
const $vo54 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2488
2410
|
path: _path2 + ".id",
|
|
2489
2411
|
expected: "string",
|
|
2490
2412
|
value: input3.id
|
|
@@ -2500,8 +2422,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
2500
2422
|
path: _path2 + ".child_types",
|
|
2501
2423
|
expected: "(Array<string> | undefined)",
|
|
2502
2424
|
value: input3.child_types
|
|
2503
|
-
})) && input3.child_types.map((elem,
|
|
2504
|
-
path: _path2 + ".child_types[" +
|
|
2425
|
+
})) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2426
|
+
path: _path2 + ".child_types[" + _index36 + "]",
|
|
2505
2427
|
expected: "string",
|
|
2506
2428
|
value: elem
|
|
2507
2429
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2516,8 +2438,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
2516
2438
|
path: _path2 + ".included_types",
|
|
2517
2439
|
expected: "(Array<string> | undefined)",
|
|
2518
2440
|
value: input3.included_types
|
|
2519
|
-
})) && input3.included_types.map((elem,
|
|
2520
|
-
path: _path2 + ".included_types[" +
|
|
2441
|
+
})) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2442
|
+
path: _path2 + ".included_types[" + _index37 + "]",
|
|
2521
2443
|
expected: "string",
|
|
2522
2444
|
value: elem
|
|
2523
2445
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2536,24 +2458,16 @@ var validDescrStatsRequest = (input) => {
|
|
|
2536
2458
|
path: _path2 + ".values",
|
|
2537
2459
|
expected: "(TermValues | undefined)",
|
|
2538
2460
|
value: input3.values
|
|
2539
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2540
|
-
path: _path2 + ".filter",
|
|
2541
|
-
expected: "(TermFilter | undefined)",
|
|
2542
|
-
value: input3.filter
|
|
2543
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2544
|
-
path: _path2 + ".filter",
|
|
2545
|
-
expected: "(TermFilter | undefined)",
|
|
2546
|
-
value: input3.filter
|
|
2547
2461
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2548
2462
|
path: _path2 + ".groupsetting",
|
|
2549
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2463
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
2550
2464
|
value: input3.groupsetting
|
|
2551
2465
|
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2552
2466
|
path: _path2 + ".groupsetting",
|
|
2553
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2467
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
2554
2468
|
value: input3.groupsetting
|
|
2555
2469
|
})].every((flag) => flag);
|
|
2556
|
-
const $
|
|
2470
|
+
const $vo55 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2557
2471
|
path: _path2 + ".id",
|
|
2558
2472
|
expected: "string",
|
|
2559
2473
|
value: input3.id
|
|
@@ -2569,8 +2483,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
2569
2483
|
path: _path2 + ".child_types",
|
|
2570
2484
|
expected: "(Array<string> | undefined)",
|
|
2571
2485
|
value: input3.child_types
|
|
2572
|
-
})) && input3.child_types.map((elem,
|
|
2573
|
-
path: _path2 + ".child_types[" +
|
|
2486
|
+
})) && input3.child_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2487
|
+
path: _path2 + ".child_types[" + _index38 + "]",
|
|
2574
2488
|
expected: "string",
|
|
2575
2489
|
value: elem
|
|
2576
2490
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2585,8 +2499,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
2585
2499
|
path: _path2 + ".included_types",
|
|
2586
2500
|
expected: "(Array<string> | undefined)",
|
|
2587
2501
|
value: input3.included_types
|
|
2588
|
-
})) && input3.included_types.map((elem,
|
|
2589
|
-
path: _path2 + ".included_types[" +
|
|
2502
|
+
})) && input3.included_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2503
|
+
path: _path2 + ".included_types[" + _index39 + "]",
|
|
2590
2504
|
expected: "string",
|
|
2591
2505
|
value: elem
|
|
2592
2506
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2605,19 +2519,11 @@ var validDescrStatsRequest = (input) => {
|
|
|
2605
2519
|
path: _path2 + ".values",
|
|
2606
2520
|
expected: "(TermValues | undefined)",
|
|
2607
2521
|
value: input3.values
|
|
2608
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2609
|
-
path: _path2 + ".filter",
|
|
2610
|
-
expected: "(TermFilter | undefined)",
|
|
2611
|
-
value: input3.filter
|
|
2612
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2613
|
-
path: _path2 + ".filter",
|
|
2614
|
-
expected: "(TermFilter | undefined)",
|
|
2615
|
-
value: input3.filter
|
|
2616
2522
|
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2617
2523
|
path: _path2 + ".bins",
|
|
2618
2524
|
expected: "PresetNumericBins",
|
|
2619
2525
|
value: input3.bins
|
|
2620
|
-
})) && $
|
|
2526
|
+
})) && $vo23(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2621
2527
|
path: _path2 + ".bins",
|
|
2622
2528
|
expected: "PresetNumericBins",
|
|
2623
2529
|
value: input3.bins
|
|
@@ -2627,14 +2533,14 @@ var validDescrStatsRequest = (input) => {
|
|
|
2627
2533
|
value: input3.unit
|
|
2628
2534
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2629
2535
|
path: _path2 + ".continuousColorScale",
|
|
2630
|
-
expected: "(__type.
|
|
2536
|
+
expected: "(__type.o4 | undefined)",
|
|
2631
2537
|
value: input3.continuousColorScale
|
|
2632
|
-
})) && $
|
|
2538
|
+
})) && $vo29(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2633
2539
|
path: _path2 + ".continuousColorScale",
|
|
2634
|
-
expected: "(__type.
|
|
2540
|
+
expected: "(__type.o4 | undefined)",
|
|
2635
2541
|
value: input3.continuousColorScale
|
|
2636
2542
|
})].every((flag) => flag);
|
|
2637
|
-
const $
|
|
2543
|
+
const $vo56 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2638
2544
|
path: _path2 + ".id",
|
|
2639
2545
|
expected: "string",
|
|
2640
2546
|
value: input3.id
|
|
@@ -2650,8 +2556,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
2650
2556
|
path: _path2 + ".child_types",
|
|
2651
2557
|
expected: "(Array<string> | undefined)",
|
|
2652
2558
|
value: input3.child_types
|
|
2653
|
-
})) && input3.child_types.map((elem,
|
|
2654
|
-
path: _path2 + ".child_types[" +
|
|
2559
|
+
})) && input3.child_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2560
|
+
path: _path2 + ".child_types[" + _index40 + "]",
|
|
2655
2561
|
expected: "string",
|
|
2656
2562
|
value: elem
|
|
2657
2563
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2666,8 +2572,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
2666
2572
|
path: _path2 + ".included_types",
|
|
2667
2573
|
expected: "(Array<string> | undefined)",
|
|
2668
2574
|
value: input3.included_types
|
|
2669
|
-
})) && input3.included_types.map((elem,
|
|
2670
|
-
path: _path2 + ".included_types[" +
|
|
2575
|
+
})) && input3.included_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2576
|
+
path: _path2 + ".included_types[" + _index41 + "]",
|
|
2671
2577
|
expected: "string",
|
|
2672
2578
|
value: elem
|
|
2673
2579
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2686,16 +2592,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
2686
2592
|
path: _path2 + ".values",
|
|
2687
2593
|
expected: "(TermValues | undefined)",
|
|
2688
2594
|
value: input3.values
|
|
2689
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2690
|
-
path: _path2 + ".filter",
|
|
2691
|
-
expected: "(TermFilter | undefined)",
|
|
2692
|
-
value: input3.filter
|
|
2693
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2694
|
-
path: _path2 + ".filter",
|
|
2695
|
-
expected: "(TermFilter | undefined)",
|
|
2696
|
-
value: input3.filter
|
|
2697
2595
|
})].every((flag) => flag);
|
|
2698
|
-
const $
|
|
2596
|
+
const $vo57 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2699
2597
|
path: _path2 + ".id",
|
|
2700
2598
|
expected: "string",
|
|
2701
2599
|
value: input3.id
|
|
@@ -2711,8 +2609,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
2711
2609
|
path: _path2 + ".child_types",
|
|
2712
2610
|
expected: "(Array<string> | undefined)",
|
|
2713
2611
|
value: input3.child_types
|
|
2714
|
-
})) && input3.child_types.map((elem,
|
|
2715
|
-
path: _path2 + ".child_types[" +
|
|
2612
|
+
})) && input3.child_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2613
|
+
path: _path2 + ".child_types[" + _index42 + "]",
|
|
2716
2614
|
expected: "string",
|
|
2717
2615
|
value: elem
|
|
2718
2616
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2727,8 +2625,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
2727
2625
|
path: _path2 + ".included_types",
|
|
2728
2626
|
expected: "(Array<string> | undefined)",
|
|
2729
2627
|
value: input3.included_types
|
|
2730
|
-
})) && input3.included_types.map((elem,
|
|
2731
|
-
path: _path2 + ".included_types[" +
|
|
2628
|
+
})) && input3.included_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2629
|
+
path: _path2 + ".included_types[" + _index43 + "]",
|
|
2732
2630
|
expected: "string",
|
|
2733
2631
|
value: elem
|
|
2734
2632
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2747,14 +2645,6 @@ var validDescrStatsRequest = (input) => {
|
|
|
2747
2645
|
path: _path2 + ".values",
|
|
2748
2646
|
expected: "(TermValues | undefined)",
|
|
2749
2647
|
value: input3.values
|
|
2750
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2751
|
-
path: _path2 + ".filter",
|
|
2752
|
-
expected: "(TermFilter | undefined)",
|
|
2753
|
-
value: input3.filter
|
|
2754
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2755
|
-
path: _path2 + ".filter",
|
|
2756
|
-
expected: "(TermFilter | undefined)",
|
|
2757
|
-
value: input3.filter
|
|
2758
2648
|
}), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
|
|
2759
2649
|
path: _path2 + ".reachedVariantLimit",
|
|
2760
2650
|
expected: "(boolean | undefined)",
|
|
@@ -2763,12 +2653,12 @@ var validDescrStatsRequest = (input) => {
|
|
|
2763
2653
|
path: _path2 + ".snps",
|
|
2764
2654
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2765
2655
|
value: input3.snps
|
|
2766
|
-
})) && input3.snps.map((elem,
|
|
2767
|
-
path: _path2 + ".snps[" +
|
|
2656
|
+
})) && input3.snps.map((elem, _index44) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2657
|
+
path: _path2 + ".snps[" + _index44 + "]",
|
|
2768
2658
|
expected: "SnpsEntry",
|
|
2769
2659
|
value: elem
|
|
2770
|
-
})) && $
|
|
2771
|
-
path: _path2 + ".snps[" +
|
|
2660
|
+
})) && $vo48(elem, _path2 + ".snps[" + _index44 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2661
|
+
path: _path2 + ".snps[" + _index44 + "]",
|
|
2772
2662
|
expected: "SnpsEntry",
|
|
2773
2663
|
value: elem
|
|
2774
2664
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2776,7 +2666,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
2776
2666
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2777
2667
|
value: input3.snps
|
|
2778
2668
|
})].every((flag) => flag);
|
|
2779
|
-
const $
|
|
2669
|
+
const $vo58 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2780
2670
|
path: _path2 + ".id",
|
|
2781
2671
|
expected: "string",
|
|
2782
2672
|
value: input3.id
|
|
@@ -2792,8 +2682,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
2792
2682
|
path: _path2 + ".child_types",
|
|
2793
2683
|
expected: "(Array<string> | undefined)",
|
|
2794
2684
|
value: input3.child_types
|
|
2795
|
-
})) && input3.child_types.map((elem,
|
|
2796
|
-
path: _path2 + ".child_types[" +
|
|
2685
|
+
})) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2686
|
+
path: _path2 + ".child_types[" + _index45 + "]",
|
|
2797
2687
|
expected: "string",
|
|
2798
2688
|
value: elem
|
|
2799
2689
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2808,8 +2698,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
2808
2698
|
path: _path2 + ".included_types",
|
|
2809
2699
|
expected: "(Array<string> | undefined)",
|
|
2810
2700
|
value: input3.included_types
|
|
2811
|
-
})) && input3.included_types.map((elem,
|
|
2812
|
-
path: _path2 + ".included_types[" +
|
|
2701
|
+
})) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2702
|
+
path: _path2 + ".included_types[" + _index46 + "]",
|
|
2813
2703
|
expected: "string",
|
|
2814
2704
|
value: elem
|
|
2815
2705
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2824,20 +2714,12 @@ var validDescrStatsRequest = (input) => {
|
|
|
2824
2714
|
path: _path2 + ".values",
|
|
2825
2715
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
2826
2716
|
value: input3.values
|
|
2827
|
-
})) && $
|
|
2717
|
+
})) && $vo59(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2828
2718
|
path: _path2 + ".values",
|
|
2829
2719
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
2830
2720
|
value: input3.values
|
|
2831
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2832
|
-
path: _path2 + ".filter",
|
|
2833
|
-
expected: "(TermFilter | undefined)",
|
|
2834
|
-
value: input3.filter
|
|
2835
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2836
|
-
path: _path2 + ".filter",
|
|
2837
|
-
expected: "(TermFilter | undefined)",
|
|
2838
|
-
value: input3.filter
|
|
2839
2721
|
})].every((flag) => flag);
|
|
2840
|
-
const $
|
|
2722
|
+
const $vo59 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2841
2723
|
const value = input3[key];
|
|
2842
2724
|
if (void 0 === value)
|
|
2843
2725
|
return true;
|
|
@@ -2846,7 +2728,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
2846
2728
|
path: _path2 + $join(key),
|
|
2847
2729
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2848
2730
|
value
|
|
2849
|
-
})) && $
|
|
2731
|
+
})) && $vo60(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2850
2732
|
path: _path2 + $join(key),
|
|
2851
2733
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2852
2734
|
value
|
|
@@ -2856,14 +2738,14 @@ var validDescrStatsRequest = (input) => {
|
|
|
2856
2738
|
path: _path2 + $join(key),
|
|
2857
2739
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2858
2740
|
value
|
|
2859
|
-
})) && $
|
|
2741
|
+
})) && $vo60(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2860
2742
|
path: _path2 + $join(key),
|
|
2861
2743
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2862
2744
|
value
|
|
2863
2745
|
});
|
|
2864
2746
|
return true;
|
|
2865
2747
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2866
|
-
const $
|
|
2748
|
+
const $vo60 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
2867
2749
|
path: _path2 + ".key",
|
|
2868
2750
|
expected: "(string | undefined)",
|
|
2869
2751
|
value: input3.key
|
|
@@ -2891,7 +2773,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
2891
2773
|
path: _path2 + ".filter",
|
|
2892
2774
|
expected: "(Filter | undefined)",
|
|
2893
2775
|
value: input3.filter
|
|
2894
|
-
})) && $
|
|
2776
|
+
})) && $vo12(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2895
2777
|
path: _path2 + ".filter",
|
|
2896
2778
|
expected: "(Filter | undefined)",
|
|
2897
2779
|
value: input3.filter
|
|
@@ -2907,20 +2789,20 @@ var validDescrStatsRequest = (input) => {
|
|
|
2907
2789
|
path: _path2 + ".list",
|
|
2908
2790
|
expected: "Array<__type>.o4",
|
|
2909
2791
|
value: input3.list
|
|
2910
|
-
})) && input3.list.map((elem,
|
|
2911
|
-
path: _path2 + ".list[" +
|
|
2912
|
-
expected: "__type.
|
|
2792
|
+
})) && input3.list.map((elem, _index47) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2793
|
+
path: _path2 + ".list[" + _index47 + "]",
|
|
2794
|
+
expected: "__type.o9",
|
|
2913
2795
|
value: elem
|
|
2914
|
-
})) && $
|
|
2915
|
-
path: _path2 + ".list[" +
|
|
2916
|
-
expected: "__type.
|
|
2796
|
+
})) && $vo61(elem, _path2 + ".list[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2797
|
+
path: _path2 + ".list[" + _index47 + "]",
|
|
2798
|
+
expected: "__type.o9",
|
|
2917
2799
|
value: elem
|
|
2918
2800
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2919
2801
|
path: _path2 + ".list",
|
|
2920
2802
|
expected: "Array<__type>.o4",
|
|
2921
2803
|
value: input3.list
|
|
2922
2804
|
}), true].every((flag) => flag);
|
|
2923
|
-
const $
|
|
2805
|
+
const $vo61 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
2924
2806
|
path: _path2 + ".sampleId",
|
|
2925
2807
|
expected: "string",
|
|
2926
2808
|
value: input3.sampleId
|
|
@@ -2929,7 +2811,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
2929
2811
|
expected: "string",
|
|
2930
2812
|
value: input3.sample
|
|
2931
2813
|
})].every((flag) => flag);
|
|
2932
|
-
const $
|
|
2814
|
+
const $vo62 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2933
2815
|
path: _path2 + ".hiddenValues",
|
|
2934
2816
|
expected: "(HiddenValues | undefined)",
|
|
2935
2817
|
value: input3.hiddenValues
|
|
@@ -2958,7 +2840,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
2958
2840
|
expected: '("custom-bin" | "custom-groupset" | "custom-samplelst" | "filter" | "predefined-groupset" | "regular-bin" | "values" | undefined)',
|
|
2959
2841
|
value: input3.type
|
|
2960
2842
|
})].every((flag) => flag);
|
|
2961
|
-
const $
|
|
2843
|
+
const $vo63 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2962
2844
|
path: _path2 + ".hiddenValues",
|
|
2963
2845
|
expected: "(HiddenValues | undefined)",
|
|
2964
2846
|
value: input3.hiddenValues
|
|
@@ -2998,8 +2880,8 @@ var validDescrStatsRequest = (input) => {
|
|
|
2998
2880
|
path: _path2 + ".breaks",
|
|
2999
2881
|
expected: "(Array<number> | undefined)",
|
|
3000
2882
|
value: input3.breaks
|
|
3001
|
-
})) && input3.breaks.map((elem,
|
|
3002
|
-
path: _path2 + ".breaks[" +
|
|
2883
|
+
})) && input3.breaks.map((elem, _index48) => "number" === typeof elem || $report(_exceptionable2, {
|
|
2884
|
+
path: _path2 + ".breaks[" + _index48 + "]",
|
|
3003
2885
|
expected: "number",
|
|
3004
2886
|
value: elem
|
|
3005
2887
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3023,7 +2905,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
3023
2905
|
expected: "(boolean | undefined)",
|
|
3024
2906
|
value: input3.value_by_computable_grade
|
|
3025
2907
|
}), true].every((flag) => flag);
|
|
3026
|
-
const $
|
|
2908
|
+
const $vo64 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3027
2909
|
path: _path2 + ".hiddenValues",
|
|
3028
2910
|
expected: "(HiddenValues | undefined)",
|
|
3029
2911
|
value: input3.hiddenValues
|
|
@@ -3055,38 +2937,38 @@ var validDescrStatsRequest = (input) => {
|
|
|
3055
2937
|
path: _path2 + ".groups",
|
|
3056
2938
|
expected: "SampleLstTermValues",
|
|
3057
2939
|
value: input3.groups
|
|
3058
|
-
})) && $
|
|
2940
|
+
})) && $vo65(input3.groups, _path2 + ".groups", _exceptionable2) || $report(_exceptionable2, {
|
|
3059
2941
|
path: _path2 + ".groups",
|
|
3060
2942
|
expected: "SampleLstTermValues",
|
|
3061
2943
|
value: input3.groups
|
|
3062
2944
|
})].every((flag) => flag);
|
|
3063
|
-
const $
|
|
2945
|
+
const $vo65 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3064
2946
|
const value = input3[key];
|
|
3065
2947
|
if (void 0 === value)
|
|
3066
2948
|
return true;
|
|
3067
2949
|
if (RegExp(/(.*)/).test(key))
|
|
3068
2950
|
return ("object" === typeof value && null !== value || $report(_exceptionable2, {
|
|
3069
2951
|
path: _path2 + $join(key),
|
|
3070
|
-
expected: "__type.
|
|
2952
|
+
expected: "__type.o10",
|
|
3071
2953
|
value
|
|
3072
|
-
})) && $
|
|
2954
|
+
})) && $vo66(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3073
2955
|
path: _path2 + $join(key),
|
|
3074
|
-
expected: "__type.
|
|
2956
|
+
expected: "__type.o10",
|
|
3075
2957
|
value
|
|
3076
2958
|
});
|
|
3077
2959
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
3078
2960
|
return ("object" === typeof value && null !== value || $report(_exceptionable2, {
|
|
3079
2961
|
path: _path2 + $join(key),
|
|
3080
|
-
expected: "__type.
|
|
2962
|
+
expected: "__type.o10",
|
|
3081
2963
|
value
|
|
3082
|
-
})) && $
|
|
2964
|
+
})) && $vo66(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3083
2965
|
path: _path2 + $join(key),
|
|
3084
|
-
expected: "__type.
|
|
2966
|
+
expected: "__type.o10",
|
|
3085
2967
|
value
|
|
3086
2968
|
});
|
|
3087
2969
|
return true;
|
|
3088
2970
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3089
|
-
const $
|
|
2971
|
+
const $vo66 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
3090
2972
|
path: _path2 + ".name",
|
|
3091
2973
|
expected: "string",
|
|
3092
2974
|
value: input3.name
|
|
@@ -3098,13 +2980,13 @@ var validDescrStatsRequest = (input) => {
|
|
|
3098
2980
|
path: _path2 + ".list",
|
|
3099
2981
|
expected: "Array<__type>.o4",
|
|
3100
2982
|
value: input3.list
|
|
3101
|
-
})) && input3.list.map((elem,
|
|
3102
|
-
path: _path2 + ".list[" +
|
|
3103
|
-
expected: "__type.
|
|
2983
|
+
})) && input3.list.map((elem, _index49) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2984
|
+
path: _path2 + ".list[" + _index49 + "]",
|
|
2985
|
+
expected: "__type.o9",
|
|
3104
2986
|
value: elem
|
|
3105
|
-
})) && $
|
|
3106
|
-
path: _path2 + ".list[" +
|
|
3107
|
-
expected: "__type.
|
|
2987
|
+
})) && $vo61(elem, _path2 + ".list[" + _index49 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2988
|
+
path: _path2 + ".list[" + _index49 + "]",
|
|
2989
|
+
expected: "__type.o9",
|
|
3108
2990
|
value: elem
|
|
3109
2991
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3110
2992
|
path: _path2 + ".list",
|
|
@@ -3124,27 +3006,27 @@ var validDescrStatsRequest = (input) => {
|
|
|
3124
3006
|
})();
|
|
3125
3007
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3126
3008
|
if ("tvslst" === input3.type)
|
|
3127
|
-
return $
|
|
3009
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
3128
3010
|
if ("tvs" === input3.type)
|
|
3129
|
-
return $
|
|
3011
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
3130
3012
|
return $report(_exceptionable2, {
|
|
3131
3013
|
path: _path2,
|
|
3132
|
-
expected: "(Filter | __type.
|
|
3014
|
+
expected: "(Filter | __type.o2)",
|
|
3133
3015
|
value: input3
|
|
3134
3016
|
});
|
|
3135
3017
|
})();
|
|
3136
3018
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3137
3019
|
if (true === input3.startunbounded)
|
|
3138
|
-
return $
|
|
3020
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
3139
3021
|
if (true === input3.stopunbounded)
|
|
3140
|
-
return $
|
|
3141
|
-
return $
|
|
3022
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
3023
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
3142
3024
|
})();
|
|
3143
3025
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3144
3026
|
if (true === input3.startunbounded)
|
|
3145
|
-
return $
|
|
3027
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
3146
3028
|
if (void 0 !== input3.start)
|
|
3147
|
-
return $
|
|
3029
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
3148
3030
|
return $report(_exceptionable2, {
|
|
3149
3031
|
path: _path2,
|
|
3150
3032
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
@@ -3153,9 +3035,9 @@ var validDescrStatsRequest = (input) => {
|
|
|
3153
3035
|
})();
|
|
3154
3036
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3155
3037
|
if (void 0 !== input3.stop)
|
|
3156
|
-
return $
|
|
3038
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
3157
3039
|
if (true === input3.stopunbounded)
|
|
3158
|
-
return $
|
|
3040
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
3159
3041
|
return $report(_exceptionable2, {
|
|
3160
3042
|
path: _path2,
|
|
3161
3043
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
@@ -3165,7 +3047,7 @@ var validDescrStatsRequest = (input) => {
|
|
|
3165
3047
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3166
3048
|
if (void 0 !== input3.type)
|
|
3167
3049
|
return $vo1(input3, _path2, _exceptionable2);
|
|
3168
|
-
return $
|
|
3050
|
+
return $vo51(input3, _path2, false) || $vo44(input3, _path2, false) || $vo39(input3, _path2, false);
|
|
3169
3051
|
})();
|
|
3170
3052
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3171
3053
|
if ("values" === input3.type)
|
|
@@ -3177,58 +3059,58 @@ var validDescrStatsRequest = (input) => {
|
|
|
3177
3059
|
return $vo5(input3, _path2, _exceptionable2);
|
|
3178
3060
|
})();
|
|
3179
3061
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3180
|
-
if (
|
|
3181
|
-
return $
|
|
3182
|
-
|
|
3183
|
-
return $vo41(input3, _path2, _exceptionable2);
|
|
3184
|
-
return $report(_exceptionable2, {
|
|
3185
|
-
path: _path2,
|
|
3186
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; })',
|
|
3187
|
-
value: input3
|
|
3188
|
-
});
|
|
3062
|
+
if (void 0 !== input3.ranges)
|
|
3063
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
3064
|
+
return $vo14(input3, _path2, false) || $vo31(input3, _path2, false) || $vo34(input3, _path2, false);
|
|
3189
3065
|
})();
|
|
3190
3066
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3191
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
3192
|
-
return $
|
|
3193
|
-
return $
|
|
3067
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index50) => "object" === typeof elem && null !== elem && $vo19(elem, _path2 + ".lst[" + _index50 + "]", false)).every((flag) => flag))
|
|
3068
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
3069
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
3194
3070
|
})();
|
|
3195
3071
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3196
|
-
if (void 0 !== input3.ranges)
|
|
3197
|
-
return $vo26(input3, _path2, _exceptionable2);
|
|
3198
|
-
return $vo20(input3, _path2, false) || $vo36(input3, _path2, false) || $vo39(input3, _path2, false);
|
|
3199
|
-
})();
|
|
3200
|
-
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3201
3072
|
if ("regular-bin" === input3.type)
|
|
3202
|
-
return $
|
|
3073
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
3203
3074
|
if ("custom-bin" === input3.type)
|
|
3204
|
-
return $
|
|
3075
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
3205
3076
|
return $report(_exceptionable2, {
|
|
3206
3077
|
path: _path2,
|
|
3207
3078
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
3208
3079
|
value: input3
|
|
3209
3080
|
});
|
|
3210
3081
|
})();
|
|
3082
|
+
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3083
|
+
if ("gene" === input3.kind)
|
|
3084
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
3085
|
+
if ("coord" === input3.kind)
|
|
3086
|
+
return $vo37(input3, _path2, _exceptionable2);
|
|
3087
|
+
return $report(_exceptionable2, {
|
|
3088
|
+
path: _path2,
|
|
3089
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|
|
3090
|
+
value: input3
|
|
3091
|
+
});
|
|
3092
|
+
})();
|
|
3211
3093
|
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3212
3094
|
if ("regular-bin" === input3.type)
|
|
3213
|
-
return $
|
|
3095
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
3214
3096
|
if ("continuous" === input3.mode)
|
|
3215
|
-
return $
|
|
3097
|
+
return $vo41(input3, _path2, _exceptionable2);
|
|
3216
3098
|
if ("spline" === input3.mode)
|
|
3217
|
-
return $
|
|
3218
|
-
return $
|
|
3099
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
3100
|
+
return $vo28(input3, _path2, false) || $vo40(input3, _path2, false);
|
|
3219
3101
|
})();
|
|
3220
3102
|
const $vu12 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3221
3103
|
if ("gene" === input3.kind)
|
|
3222
|
-
return $
|
|
3104
|
+
return $vo52(input3, _path2, _exceptionable2);
|
|
3223
3105
|
if ("coord" === input3.kind)
|
|
3224
|
-
return $
|
|
3106
|
+
return $vo53(input3, _path2, _exceptionable2);
|
|
3225
3107
|
if ("categorical" === input3.type)
|
|
3226
|
-
return $
|
|
3108
|
+
return $vo54(input3, _path2, _exceptionable2);
|
|
3227
3109
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
3228
|
-
return $
|
|
3110
|
+
return $vo55(input3, _path2, _exceptionable2);
|
|
3229
3111
|
if ("condition" === input3.type)
|
|
3230
|
-
return $
|
|
3231
|
-
return $
|
|
3112
|
+
return $vo56(input3, _path2, _exceptionable2);
|
|
3113
|
+
return $vo57(input3, _path2, false) || $vo58(input3, _path2, false);
|
|
3232
3114
|
})();
|
|
3233
3115
|
const $vu13 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3234
3116
|
if (void 0 !== input3.predefined_groupset_idx)
|
|
@@ -3236,17 +3118,17 @@ var validDescrStatsRequest = (input) => {
|
|
|
3236
3118
|
if (void 0 !== input3.customset)
|
|
3237
3119
|
return $vo7(input3, _path2, _exceptionable2);
|
|
3238
3120
|
if (void 0 !== input3.bin_size)
|
|
3239
|
-
return $
|
|
3121
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
3240
3122
|
if (void 0 !== input3.knots)
|
|
3241
|
-
return $
|
|
3123
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
3242
3124
|
if (void 0 !== input3.AFcutoff)
|
|
3243
|
-
return $
|
|
3125
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
3244
3126
|
if (void 0 !== input3.timeScale)
|
|
3245
|
-
return $
|
|
3127
|
+
return $vo63(input3, _path2, _exceptionable2);
|
|
3246
3128
|
return (() => {
|
|
3247
3129
|
if (void 0 !== input3.groups)
|
|
3248
|
-
return $
|
|
3249
|
-
return $vo5(input3, _path2, false) || $
|
|
3130
|
+
return $vo64(input3, _path2, _exceptionable2);
|
|
3131
|
+
return $vo5(input3, _path2, false) || $vo62(input3, _path2, false) || $vo3(input3, _path2, false) || $vo28(input3, _path2, false) || $vo40(input3, _path2, false) || $vo41(input3, _path2, false);
|
|
3250
3132
|
})();
|
|
3251
3133
|
})();
|
|
3252
3134
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|