@sjcrh/proteinpaint-types 2.128.0 → 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-B2DJ3H7H.js → chunk-DJ5QE625.js} +16 -30
- 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 +1 -1
- package/dist/genesetEnrichment.js +1 -1
- package/dist/index.js +14 -14
- 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 +12 -5
- 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
|
@@ -83,7 +83,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
83
83
|
return "object" === typeof value && null !== value && $iu5(value);
|
|
84
84
|
return true;
|
|
85
85
|
});
|
|
86
|
-
const $io2 = (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) && $io3(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 && $
|
|
86
|
+
const $io2 = (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) && $io3(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 && $io16(input3.term));
|
|
87
87
|
const $io3 = (input3) => Object.keys(input3).every((key) => {
|
|
88
88
|
const value = input3[key];
|
|
89
89
|
if (void 0 === value)
|
|
@@ -108,10 +108,10 @@ var validTermsByIdsResponse = (input) => {
|
|
|
108
108
|
const $io10 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io11(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
109
109
|
const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
110
110
|
const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io13(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
111
|
-
const $io13 = (input3) => "
|
|
112
|
-
const $io14 = (input3) =>
|
|
113
|
-
const $io15 = (input3) =>
|
|
114
|
-
const $io16 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
111
|
+
const $io13 = (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)));
|
|
112
|
+
const $io14 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu7(input3.tvs));
|
|
113
|
+
const $io15 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io16(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) && $io18(elem)));
|
|
114
|
+
const $io16 = (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) && $io17(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting));
|
|
115
115
|
const $io17 = (input3) => Object.keys(input3).every((key) => {
|
|
116
116
|
const value = input3[key];
|
|
117
117
|
if (void 0 === value)
|
|
@@ -122,77 +122,74 @@ var validTermsByIdsResponse = (input) => {
|
|
|
122
122
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io18(value);
|
|
123
123
|
return true;
|
|
124
124
|
});
|
|
125
|
-
const $io18 = (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 && $
|
|
126
|
-
const $io19 = (input3) =>
|
|
127
|
-
const $io20 = (input3) => "
|
|
128
|
-
const $io21 = (input3) =>
|
|
129
|
-
const $io22 = (input3) =>
|
|
130
|
-
const $io23 = (input3) => "
|
|
131
|
-
const $io24 = (input3) => (void 0 === input3.
|
|
132
|
-
const $io25 = (input3) => "
|
|
133
|
-
const $io26 = (input3) => "
|
|
134
|
-
const $io27 = (input3) => (void 0 === input3.
|
|
135
|
-
const $io28 = (input3) => "
|
|
136
|
-
const $io29 = (input3) => "object" === typeof input3
|
|
137
|
-
const $io30 = (input3) =>
|
|
138
|
-
const $io31 = (input3) =>
|
|
139
|
-
const $io32 = (input3) => (void 0 === input3.
|
|
140
|
-
const $io33 = (input3) => "
|
|
141
|
-
const $io34 = (input3) =>
|
|
142
|
-
const $io35 = (input3) => "string" === typeof input3.
|
|
143
|
-
const $io36 = (input3) => "string" === typeof input3.
|
|
144
|
-
const $io37 = (input3) => (void 0 === input3.
|
|
145
|
-
const $io38 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
146
|
-
const $io39 = (input3) => "
|
|
147
|
-
const $io40 = (input3) => (void 0 === input3.
|
|
148
|
-
const $io41 = (input3) => "
|
|
149
|
-
const $io42 = (input3) =>
|
|
150
|
-
const $io43 = (input3) => (void 0 === input3.
|
|
151
|
-
const $io44 = (input3) =>
|
|
152
|
-
const $io45 = (input3) => (void 0 === input3.
|
|
153
|
-
const $io46 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(input3.hiddenValues)) && (void 0 === input3.isAtomic ||
|
|
154
|
-
const $io47 = (input3) => "
|
|
155
|
-
const $io48 = (input3) => (void 0 === input3.
|
|
156
|
-
const $io49 = (input3) => (void 0 === input3.
|
|
157
|
-
const $io50 = (input3) => "string" === typeof input3.
|
|
158
|
-
const $io51 = (input3) => "string" === typeof input3.
|
|
159
|
-
const $io52 = (input3) => (void 0 === input3.
|
|
160
|
-
const $io53 = (input3) => "string" === typeof input3.
|
|
161
|
-
const $io54 = (input3) => "string" === typeof input3.
|
|
162
|
-
const $io55 = (input3) =>
|
|
163
|
-
const $io56 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
164
|
-
const $io57 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
165
|
-
const $io58 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
166
|
-
const $io59 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name &&
|
|
167
|
-
const $io60 = (input3) =>
|
|
168
|
-
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) && $io17(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io23(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 && $io52(elem)));
|
|
169
|
-
const $io62 = (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) && $io63(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io23(input3.filter));
|
|
170
|
-
const $io63 = (input3) => Object.keys(input3).every((key) => {
|
|
125
|
+
const $io18 = (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 && $io13(input3.filter));
|
|
126
|
+
const $io19 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io20(elem)));
|
|
127
|
+
const $io20 = (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)));
|
|
128
|
+
const $io21 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
129
|
+
const $io22 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io23(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 && $io31(elem)));
|
|
130
|
+
const $io23 = (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) && $io17(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io24(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io30(input3.continuousColorScale));
|
|
131
|
+
const $io24 = (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);
|
|
132
|
+
const $io25 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(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);
|
|
133
|
+
const $io26 = (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);
|
|
134
|
+
const $io27 = (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);
|
|
135
|
+
const $io28 = (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);
|
|
136
|
+
const $io29 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(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);
|
|
137
|
+
const $io30 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
138
|
+
const $io31 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
139
|
+
const $io32 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io33(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 && $io34(elem)));
|
|
140
|
+
const $io33 = (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) && $io17(input3.values));
|
|
141
|
+
const $io34 = (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;
|
|
142
|
+
const $io35 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io36(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
143
|
+
const $io36 = (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) && $io17(input3.values));
|
|
144
|
+
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) && $io17(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 && $io36(elem)));
|
|
145
|
+
const $io38 = (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) && $io17(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 && $io36(elem)));
|
|
146
|
+
const $io39 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
147
|
+
const $io40 = (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) && $io3(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $io23(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $iu11(input3.q));
|
|
148
|
+
const $io41 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(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]))));
|
|
149
|
+
const $io42 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(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);
|
|
150
|
+
const $io43 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(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 && $io44(elem))) && (null !== input3.type && void 0 === input3.type);
|
|
151
|
+
const $io44 = (input3) => "number" === typeof input3.value;
|
|
152
|
+
const $io45 = (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) && $io3(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.q && null !== input3.q && $io46(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io48(input3.term));
|
|
153
|
+
const $io46 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(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 && $io47(input3.restrictAncestry)) && true && true && ("object" === typeof input3.variant_filter && null !== input3.variant_filter && $io13(input3.variant_filter)) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
154
|
+
const $io47 = (input3) => "string" === typeof input3.name && ("object" === typeof input3.tvs && null !== input3.tvs && $iu7(input3.tvs));
|
|
155
|
+
const $io48 = (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) && $io17(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 && $io49(elem)));
|
|
156
|
+
const $io49 = (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 && $io50(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io51(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);
|
|
157
|
+
const $io50 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
158
|
+
const $io51 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
159
|
+
const $io52 = (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) && $io3(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));
|
|
160
|
+
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) && $io17(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 && $io36(elem)));
|
|
161
|
+
const $io54 = (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) && $io17(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 && $io36(elem)));
|
|
162
|
+
const $io55 = (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) && $io17(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting));
|
|
163
|
+
const $io56 = (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) && $io17(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io24(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io30(input3.continuousColorScale));
|
|
164
|
+
const $io57 = (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) && $io17(input3.values));
|
|
165
|
+
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) && $io17(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 && $io49(elem)));
|
|
166
|
+
const $io59 = (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) && $io60(input3.values));
|
|
167
|
+
const $io60 = (input3) => Object.keys(input3).every((key) => {
|
|
171
168
|
const value = input3[key];
|
|
172
169
|
if (void 0 === value)
|
|
173
170
|
return true;
|
|
174
171
|
if (RegExp(/(.*)/).test(key))
|
|
175
|
-
return "object" === typeof value && null !== value && $
|
|
172
|
+
return "object" === typeof value && null !== value && $io61(value);
|
|
176
173
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
177
|
-
return "object" === typeof value && null !== value && $
|
|
174
|
+
return "object" === typeof value && null !== value && $io61(value);
|
|
178
175
|
return true;
|
|
179
176
|
});
|
|
180
|
-
const $
|
|
181
|
-
const $
|
|
182
|
-
const $
|
|
183
|
-
const $
|
|
184
|
-
const $
|
|
185
|
-
const $
|
|
177
|
+
const $io61 = (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 && $io13(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io62(elem))) && true;
|
|
178
|
+
const $io62 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
179
|
+
const $io63 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(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);
|
|
180
|
+
const $io64 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(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;
|
|
181
|
+
const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io5(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) && $io66(input3.groups));
|
|
182
|
+
const $io66 = (input3) => Object.keys(input3).every((key) => {
|
|
186
183
|
const value = input3[key];
|
|
187
184
|
if (void 0 === value)
|
|
188
185
|
return true;
|
|
189
186
|
if (RegExp(/(.*)/).test(key))
|
|
190
|
-
return "object" === typeof value && null !== value && $
|
|
187
|
+
return "object" === typeof value && null !== value && $io67(value);
|
|
191
188
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
192
|
-
return "object" === typeof value && null !== value && $
|
|
189
|
+
return "object" === typeof value && null !== value && $io67(value);
|
|
193
190
|
return true;
|
|
194
191
|
});
|
|
195
|
-
const $
|
|
192
|
+
const $io67 = (input3) => "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io62(elem))) && true;
|
|
196
193
|
const $iu0 = (input3) => (() => {
|
|
197
194
|
if ("string" === typeof input3.type)
|
|
198
195
|
return $io10(input3);
|
|
@@ -202,42 +199,42 @@ var validTermsByIdsResponse = (input) => {
|
|
|
202
199
|
})();
|
|
203
200
|
const $iu1 = (input3) => (() => {
|
|
204
201
|
if ("tvslst" === input3.type)
|
|
205
|
-
return $
|
|
202
|
+
return $io13(input3);
|
|
206
203
|
if ("tvs" === input3.type)
|
|
207
|
-
return $
|
|
204
|
+
return $io14(input3);
|
|
208
205
|
return false;
|
|
209
206
|
})();
|
|
210
207
|
const $iu2 = (input3) => (() => {
|
|
211
208
|
if (true === input3.startunbounded)
|
|
212
|
-
return $
|
|
209
|
+
return $io26(input3);
|
|
213
210
|
if (true === input3.stopunbounded)
|
|
214
|
-
return $
|
|
215
|
-
return $
|
|
211
|
+
return $io28(input3);
|
|
212
|
+
return $io27(input3);
|
|
216
213
|
})();
|
|
217
214
|
const $iu3 = (input3) => (() => {
|
|
218
215
|
if (true === input3.startunbounded)
|
|
219
|
-
return $
|
|
216
|
+
return $io26(input3);
|
|
220
217
|
if (void 0 !== input3.start)
|
|
221
|
-
return $
|
|
218
|
+
return $io27(input3);
|
|
222
219
|
return false;
|
|
223
220
|
})();
|
|
224
221
|
const $iu4 = (input3) => (() => {
|
|
225
222
|
if (void 0 !== input3.stop)
|
|
226
|
-
return $
|
|
223
|
+
return $io27(input3);
|
|
227
224
|
if (true === input3.stopunbounded)
|
|
228
|
-
return $
|
|
225
|
+
return $io28(input3);
|
|
229
226
|
return false;
|
|
230
227
|
})();
|
|
231
228
|
const $iu5 = (input3) => (() => {
|
|
232
229
|
if (void 0 !== input3.type)
|
|
233
230
|
return $io2(input3);
|
|
234
231
|
return (() => {
|
|
235
|
-
if ($
|
|
236
|
-
return $
|
|
237
|
-
if ($
|
|
238
|
-
return $
|
|
239
|
-
if ($
|
|
240
|
-
return $
|
|
232
|
+
if ($io52(input3))
|
|
233
|
+
return $io52(input3);
|
|
234
|
+
if ($io45(input3))
|
|
235
|
+
return $io45(input3);
|
|
236
|
+
if ($io40(input3))
|
|
237
|
+
return $io40(input3);
|
|
241
238
|
return false;
|
|
242
239
|
})();
|
|
243
240
|
})();
|
|
@@ -251,68 +248,68 @@ var validTermsByIdsResponse = (input) => {
|
|
|
251
248
|
return $io6(input3);
|
|
252
249
|
})();
|
|
253
250
|
const $iu7 = (input3) => (() => {
|
|
254
|
-
if ("gene" === input3.kind)
|
|
255
|
-
return $io16(input3);
|
|
256
|
-
if ("coord" === input3.kind)
|
|
257
|
-
return $io42(input3);
|
|
258
|
-
return false;
|
|
259
|
-
})();
|
|
260
|
-
const $iu8 = (input3) => (() => {
|
|
261
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io25(elem)))
|
|
262
|
-
return $io24(input3);
|
|
263
|
-
return $io26(input3);
|
|
264
|
-
})();
|
|
265
|
-
const $iu9 = (input3) => (() => {
|
|
266
251
|
if (void 0 !== input3.ranges)
|
|
267
|
-
return $
|
|
252
|
+
return $io22(input3);
|
|
268
253
|
return (() => {
|
|
269
|
-
if ($
|
|
270
|
-
return $
|
|
271
|
-
if ($
|
|
272
|
-
return $
|
|
273
|
-
if ($
|
|
274
|
-
return $
|
|
254
|
+
if ($io15(input3))
|
|
255
|
+
return $io15(input3);
|
|
256
|
+
if ($io32(input3))
|
|
257
|
+
return $io32(input3);
|
|
258
|
+
if ($io35(input3))
|
|
259
|
+
return $io35(input3);
|
|
275
260
|
return false;
|
|
276
261
|
})();
|
|
277
262
|
})();
|
|
278
|
-
const $
|
|
263
|
+
const $iu8 = (input3) => (() => {
|
|
264
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io20(elem)))
|
|
265
|
+
return $io19(input3);
|
|
266
|
+
return $io21(input3);
|
|
267
|
+
})();
|
|
268
|
+
const $iu9 = (input3) => (() => {
|
|
279
269
|
if ("regular-bin" === input3.type)
|
|
280
|
-
return $
|
|
270
|
+
return $io25(input3);
|
|
281
271
|
if ("custom-bin" === input3.type)
|
|
282
|
-
return $
|
|
272
|
+
return $io29(input3);
|
|
273
|
+
return false;
|
|
274
|
+
})();
|
|
275
|
+
const $iu10 = (input3) => (() => {
|
|
276
|
+
if ("gene" === input3.kind)
|
|
277
|
+
return $io37(input3);
|
|
278
|
+
if ("coord" === input3.kind)
|
|
279
|
+
return $io38(input3);
|
|
283
280
|
return false;
|
|
284
281
|
})();
|
|
285
282
|
const $iu11 = (input3) => (() => {
|
|
286
283
|
if ("regular-bin" === input3.type)
|
|
287
|
-
return $
|
|
284
|
+
return $io25(input3);
|
|
288
285
|
if ("continuous" === input3.mode)
|
|
289
|
-
return $
|
|
286
|
+
return $io42(input3);
|
|
290
287
|
if ("spline" === input3.mode)
|
|
291
|
-
return $
|
|
288
|
+
return $io43(input3);
|
|
292
289
|
return (() => {
|
|
293
|
-
if ($
|
|
294
|
-
return $
|
|
295
|
-
if ($
|
|
296
|
-
return $
|
|
290
|
+
if ($io29(input3))
|
|
291
|
+
return $io29(input3);
|
|
292
|
+
if ($io41(input3))
|
|
293
|
+
return $io41(input3);
|
|
297
294
|
return false;
|
|
298
295
|
})();
|
|
299
296
|
})();
|
|
300
297
|
const $iu12 = (input3) => (() => {
|
|
301
298
|
if ("gene" === input3.kind)
|
|
302
|
-
return $
|
|
299
|
+
return $io53(input3);
|
|
303
300
|
if ("coord" === input3.kind)
|
|
304
|
-
return $
|
|
301
|
+
return $io54(input3);
|
|
305
302
|
if ("categorical" === input3.type)
|
|
306
|
-
return $
|
|
303
|
+
return $io55(input3);
|
|
307
304
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
308
|
-
return $
|
|
305
|
+
return $io56(input3);
|
|
309
306
|
if ("condition" === input3.type)
|
|
310
|
-
return $
|
|
307
|
+
return $io57(input3);
|
|
311
308
|
return (() => {
|
|
312
|
-
if ($
|
|
313
|
-
return $
|
|
314
|
-
if ($
|
|
315
|
-
return $
|
|
309
|
+
if ($io58(input3))
|
|
310
|
+
return $io58(input3);
|
|
311
|
+
if ($io59(input3))
|
|
312
|
+
return $io59(input3);
|
|
316
313
|
return false;
|
|
317
314
|
})();
|
|
318
315
|
})();
|
|
@@ -322,29 +319,29 @@ var validTermsByIdsResponse = (input) => {
|
|
|
322
319
|
if (void 0 !== input3.customset)
|
|
323
320
|
return $io8(input3);
|
|
324
321
|
if (void 0 !== input3.bin_size)
|
|
325
|
-
return $
|
|
322
|
+
return $io25(input3);
|
|
326
323
|
if (void 0 !== input3.knots)
|
|
327
|
-
return $
|
|
324
|
+
return $io43(input3);
|
|
328
325
|
if (void 0 !== input3.AFcutoff)
|
|
329
|
-
return $
|
|
326
|
+
return $io46(input3);
|
|
330
327
|
if (void 0 !== input3.timeScale)
|
|
331
|
-
return $
|
|
328
|
+
return $io64(input3);
|
|
332
329
|
return (() => {
|
|
333
330
|
if (void 0 !== input3.groups)
|
|
334
|
-
return $
|
|
331
|
+
return $io65(input3);
|
|
335
332
|
return (() => {
|
|
336
333
|
if ($io6(input3))
|
|
337
334
|
return $io6(input3);
|
|
338
|
-
if ($
|
|
339
|
-
return $
|
|
335
|
+
if ($io63(input3))
|
|
336
|
+
return $io63(input3);
|
|
340
337
|
if ($io4(input3))
|
|
341
338
|
return $io4(input3);
|
|
342
|
-
if ($
|
|
343
|
-
return $
|
|
344
|
-
if ($
|
|
345
|
-
return $
|
|
346
|
-
if ($
|
|
347
|
-
return $
|
|
339
|
+
if ($io29(input3))
|
|
340
|
+
return $io29(input3);
|
|
341
|
+
if ($io41(input3))
|
|
342
|
+
return $io41(input3);
|
|
343
|
+
if ($io42(input3))
|
|
344
|
+
return $io42(input3);
|
|
348
345
|
return false;
|
|
349
346
|
})();
|
|
350
347
|
})();
|
|
@@ -420,7 +417,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
420
417
|
path: _path2 + ".term",
|
|
421
418
|
expected: "CategoricalTerm",
|
|
422
419
|
value: input3.term
|
|
423
|
-
})) && $
|
|
420
|
+
})) && $vo16(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
424
421
|
path: _path2 + ".term",
|
|
425
422
|
expected: "CategoricalTerm",
|
|
426
423
|
value: input3.term
|
|
@@ -638,114 +635,98 @@ var validTermsByIdsResponse = (input) => {
|
|
|
638
635
|
value: input3.type
|
|
639
636
|
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
640
637
|
path: _path2 + ".filter",
|
|
641
|
-
expected: "
|
|
638
|
+
expected: "Filter",
|
|
642
639
|
value: input3.filter
|
|
643
640
|
})) && $vo13(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
644
641
|
path: _path2 + ".filter",
|
|
645
|
-
expected: "
|
|
642
|
+
expected: "Filter",
|
|
646
643
|
value: input3.filter
|
|
647
644
|
}), "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
648
645
|
path: _path2 + ".uncomputable",
|
|
649
646
|
expected: "boolean",
|
|
650
647
|
value: input3.uncomputable
|
|
651
648
|
})].every((flag) => flag);
|
|
652
|
-
const $vo13 = (input3, _path2, _exceptionable2 = true) => [
|
|
653
|
-
path: _path2 + ".
|
|
654
|
-
expected: "
|
|
655
|
-
value: input3.
|
|
656
|
-
})
|
|
657
|
-
path: _path2 + "
|
|
658
|
-
expected: "
|
|
659
|
-
value: input3
|
|
660
|
-
}),
|
|
661
|
-
path: _path2 + ".
|
|
662
|
-
expected: "Array<DtTerm>",
|
|
663
|
-
value: input3.terms
|
|
664
|
-
})) && input3.terms.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
665
|
-
path: _path2 + ".terms[" + _index3 + "]",
|
|
666
|
-
expected: "DtTerm",
|
|
667
|
-
value: elem
|
|
668
|
-
})) && $vo15(elem, _path2 + ".terms[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
669
|
-
path: _path2 + ".terms[" + _index3 + "]",
|
|
670
|
-
expected: "DtTerm",
|
|
671
|
-
value: elem
|
|
672
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
673
|
-
path: _path2 + ".terms",
|
|
674
|
-
expected: "Array<DtTerm>",
|
|
675
|
-
value: input3.terms
|
|
676
|
-
}), ("object" === typeof input3.active && null !== input3.active || $report(_exceptionable2, {
|
|
677
|
-
path: _path2 + ".active",
|
|
678
|
-
expected: "Filter",
|
|
679
|
-
value: input3.active
|
|
680
|
-
})) && $vo19(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
|
|
681
|
-
path: _path2 + ".active",
|
|
682
|
-
expected: "Filter",
|
|
683
|
-
value: input3.active
|
|
684
|
-
}), "number" === typeof input3.group || $report(_exceptionable2, {
|
|
685
|
-
path: _path2 + ".group",
|
|
686
|
-
expected: "number",
|
|
687
|
-
value: input3.group
|
|
688
|
-
})].every((flag) => flag);
|
|
689
|
-
const $vo14 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.joinWith) || $report(_exceptionable2, {
|
|
690
|
-
path: _path2 + ".joinWith",
|
|
691
|
-
expected: "Array<string>",
|
|
692
|
-
value: input3.joinWith
|
|
693
|
-
})) && input3.joinWith.map((elem, _index4) => "string" === typeof elem || $report(_exceptionable2, {
|
|
694
|
-
path: _path2 + ".joinWith[" + _index4 + "]",
|
|
649
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
650
|
+
path: _path2 + ".type",
|
|
651
|
+
expected: '"tvslst"',
|
|
652
|
+
value: input3.type
|
|
653
|
+
}), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
654
|
+
path: _path2 + '["in"]',
|
|
655
|
+
expected: "boolean",
|
|
656
|
+
value: input3["in"]
|
|
657
|
+
}), "string" === typeof input3.join || $report(_exceptionable2, {
|
|
658
|
+
path: _path2 + ".join",
|
|
695
659
|
expected: "string",
|
|
660
|
+
value: input3.join
|
|
661
|
+
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
662
|
+
path: _path2 + ".tag",
|
|
663
|
+
expected: "(string | undefined)",
|
|
664
|
+
value: input3.tag
|
|
665
|
+
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
666
|
+
path: _path2 + ".lst",
|
|
667
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
668
|
+
value: input3.lst
|
|
669
|
+
})) && input3.lst.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
670
|
+
path: _path2 + ".lst[" + _index3 + "]",
|
|
671
|
+
expected: "(Filter | __type.o3)",
|
|
672
|
+
value: elem
|
|
673
|
+
})) && $vu1(elem, _path2 + ".lst[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
674
|
+
path: _path2 + ".lst[" + _index3 + "]",
|
|
675
|
+
expected: "(Filter | __type.o3)",
|
|
696
676
|
value: elem
|
|
697
677
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
698
|
-
path: _path2 + ".
|
|
699
|
-
expected:
|
|
700
|
-
value: input3.
|
|
678
|
+
path: _path2 + ".lst",
|
|
679
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
680
|
+
value: input3.lst
|
|
701
681
|
})].every((flag) => flag);
|
|
702
|
-
const $
|
|
703
|
-
path: _path2 + ".id",
|
|
704
|
-
expected: "string",
|
|
705
|
-
value: input3.id
|
|
706
|
-
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
707
|
-
path: _path2 + ".query",
|
|
708
|
-
expected: "string",
|
|
709
|
-
value: input3.query
|
|
710
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
711
|
-
path: _path2 + ".name",
|
|
712
|
-
expected: "string",
|
|
713
|
-
value: input3.name
|
|
714
|
-
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
715
|
-
path: _path2 + ".name_noOrigin",
|
|
716
|
-
expected: "string",
|
|
717
|
-
value: input3.name_noOrigin
|
|
718
|
-
}), void 0 === input3.geneVariantTerm || ("object" === typeof input3.geneVariantTerm && null !== input3.geneVariantTerm || $report(_exceptionable2, {
|
|
719
|
-
path: _path2 + ".geneVariantTerm",
|
|
720
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
721
|
-
value: input3.geneVariantTerm
|
|
722
|
-
})) && $vu7(input3.geneVariantTerm, _path2 + ".geneVariantTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
723
|
-
path: _path2 + ".geneVariantTerm",
|
|
724
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
725
|
-
value: input3.geneVariantTerm
|
|
726
|
-
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
727
|
-
path: _path2 + ".isleaf",
|
|
728
|
-
expected: "boolean",
|
|
729
|
-
value: input3.isleaf
|
|
730
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
682
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
731
683
|
path: _path2 + ".type",
|
|
732
|
-
expected: "
|
|
684
|
+
expected: '"tvs"',
|
|
733
685
|
value: input3.type
|
|
734
|
-
}), "
|
|
735
|
-
path: _path2 + ".
|
|
736
|
-
expected: "
|
|
737
|
-
value: input3.
|
|
738
|
-
})
|
|
739
|
-
path: _path2 + ".
|
|
686
|
+
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
687
|
+
path: _path2 + ".tvs",
|
|
688
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
689
|
+
value: input3.tvs
|
|
690
|
+
})) && $vu7(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
691
|
+
path: _path2 + ".tvs",
|
|
692
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
693
|
+
value: input3.tvs
|
|
694
|
+
})].every((flag) => flag);
|
|
695
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
696
|
+
path: _path2 + ".join",
|
|
740
697
|
expected: "(string | undefined)",
|
|
741
|
-
value: input3.
|
|
742
|
-
}),
|
|
698
|
+
value: input3.join
|
|
699
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
700
|
+
path: _path2 + ".isnot",
|
|
701
|
+
expected: "(boolean | undefined)",
|
|
702
|
+
value: input3.isnot
|
|
703
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
704
|
+
path: _path2 + ".term",
|
|
705
|
+
expected: "CategoricalTerm",
|
|
706
|
+
value: input3.term
|
|
707
|
+
})) && $vo16(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
708
|
+
path: _path2 + ".term",
|
|
709
|
+
expected: "CategoricalTerm",
|
|
710
|
+
value: input3.term
|
|
711
|
+
}), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
|
|
712
|
+
path: _path2 + ".groupset_label",
|
|
713
|
+
expected: "(string | undefined)",
|
|
714
|
+
value: input3.groupset_label
|
|
715
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
743
716
|
path: _path2 + ".values",
|
|
744
|
-
expected: "
|
|
717
|
+
expected: "Array<BaseValue>",
|
|
745
718
|
value: input3.values
|
|
746
|
-
})) &&
|
|
719
|
+
})) && input3.values.map((elem, _index4) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
720
|
+
path: _path2 + ".values[" + _index4 + "]",
|
|
721
|
+
expected: "BaseValue",
|
|
722
|
+
value: elem
|
|
723
|
+
})) && $vo18(elem, _path2 + ".values[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
724
|
+
path: _path2 + ".values[" + _index4 + "]",
|
|
725
|
+
expected: "BaseValue",
|
|
726
|
+
value: elem
|
|
727
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
747
728
|
path: _path2 + ".values",
|
|
748
|
-
expected: "
|
|
729
|
+
expected: "Array<BaseValue>",
|
|
749
730
|
value: input3.values
|
|
750
731
|
})].every((flag) => flag);
|
|
751
732
|
const $vo16 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -756,9 +737,9 @@ var validTermsByIdsResponse = (input) => {
|
|
|
756
737
|
path: _path2 + ".name",
|
|
757
738
|
expected: "string",
|
|
758
739
|
value: input3.name
|
|
759
|
-
}), "
|
|
740
|
+
}), "categorical" === input3.type || $report(_exceptionable2, {
|
|
760
741
|
path: _path2 + ".type",
|
|
761
|
-
expected: '"
|
|
742
|
+
expected: '"categorical"',
|
|
762
743
|
value: input3.type
|
|
763
744
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
764
745
|
path: _path2 + ".child_types",
|
|
@@ -800,41 +781,13 @@ var validTermsByIdsResponse = (input) => {
|
|
|
800
781
|
path: _path2 + ".values",
|
|
801
782
|
expected: "(TermValues | undefined)",
|
|
802
783
|
value: input3.values
|
|
803
|
-
}),
|
|
804
|
-
path: _path2 + ".filter",
|
|
805
|
-
expected: "(TermFilter | undefined)",
|
|
806
|
-
value: input3.filter
|
|
807
|
-
})) && $vo23(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
808
|
-
path: _path2 + ".filter",
|
|
809
|
-
expected: "(TermFilter | undefined)",
|
|
810
|
-
value: input3.filter
|
|
811
|
-
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
812
|
-
path: _path2 + ".kind",
|
|
813
|
-
expected: '"gene"',
|
|
814
|
-
value: input3.kind
|
|
815
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
816
|
-
path: _path2 + ".gene",
|
|
817
|
-
expected: "string",
|
|
818
|
-
value: input3.gene
|
|
819
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
820
|
-
path: _path2 + ".chr",
|
|
821
|
-
expected: "(string | undefined)",
|
|
822
|
-
value: input3.chr
|
|
823
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
824
|
-
path: _path2 + ".start",
|
|
825
|
-
expected: "(number | undefined)",
|
|
826
|
-
value: input3.start
|
|
827
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
828
|
-
path: _path2 + ".stop",
|
|
829
|
-
expected: "(number | undefined)",
|
|
830
|
-
value: input3.stop
|
|
831
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
784
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
832
785
|
path: _path2 + ".groupsetting",
|
|
833
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
786
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
834
787
|
value: input3.groupsetting
|
|
835
788
|
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
836
789
|
path: _path2 + ".groupsetting",
|
|
837
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
790
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
838
791
|
value: input3.groupsetting
|
|
839
792
|
})].every((flag) => flag);
|
|
840
793
|
const $vo17 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
@@ -891,189 +844,12 @@ var validTermsByIdsResponse = (input) => {
|
|
|
891
844
|
path: _path2 + ".filter",
|
|
892
845
|
expected: "(Filter | undefined)",
|
|
893
846
|
value: input3.filter
|
|
894
|
-
})) && $
|
|
847
|
+
})) && $vo13(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
895
848
|
path: _path2 + ".filter",
|
|
896
849
|
expected: "(Filter | undefined)",
|
|
897
850
|
value: input3.filter
|
|
898
851
|
})].every((flag) => flag);
|
|
899
|
-
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["
|
|
900
|
-
path: _path2 + ".type",
|
|
901
|
-
expected: '"tvslst"',
|
|
902
|
-
value: input3.type
|
|
903
|
-
}), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
904
|
-
path: _path2 + '["in"]',
|
|
905
|
-
expected: "boolean",
|
|
906
|
-
value: input3["in"]
|
|
907
|
-
}), "string" === typeof input3.join || $report(_exceptionable2, {
|
|
908
|
-
path: _path2 + ".join",
|
|
909
|
-
expected: "string",
|
|
910
|
-
value: input3.join
|
|
911
|
-
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
912
|
-
path: _path2 + ".tag",
|
|
913
|
-
expected: "(string | undefined)",
|
|
914
|
-
value: input3.tag
|
|
915
|
-
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
916
|
-
path: _path2 + ".lst",
|
|
917
|
-
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
918
|
-
value: input3.lst
|
|
919
|
-
})) && input3.lst.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
920
|
-
path: _path2 + ".lst[" + _index7 + "]",
|
|
921
|
-
expected: "(Filter | __type.o4)",
|
|
922
|
-
value: elem
|
|
923
|
-
})) && $vu1(elem, _path2 + ".lst[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
924
|
-
path: _path2 + ".lst[" + _index7 + "]",
|
|
925
|
-
expected: "(Filter | __type.o4)",
|
|
926
|
-
value: elem
|
|
927
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
928
|
-
path: _path2 + ".lst",
|
|
929
|
-
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
930
|
-
value: input3.lst
|
|
931
|
-
})].every((flag) => flag);
|
|
932
|
-
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
933
|
-
path: _path2 + ".type",
|
|
934
|
-
expected: '"tvs"',
|
|
935
|
-
value: input3.type
|
|
936
|
-
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
937
|
-
path: _path2 + ".tvs",
|
|
938
|
-
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
939
|
-
value: input3.tvs
|
|
940
|
-
})) && $vu9(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
941
|
-
path: _path2 + ".tvs",
|
|
942
|
-
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
943
|
-
value: input3.tvs
|
|
944
|
-
})].every((flag) => flag);
|
|
945
|
-
const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
946
|
-
path: _path2 + ".join",
|
|
947
|
-
expected: "(string | undefined)",
|
|
948
|
-
value: input3.join
|
|
949
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
950
|
-
path: _path2 + ".isnot",
|
|
951
|
-
expected: "(boolean | undefined)",
|
|
952
|
-
value: input3.isnot
|
|
953
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
954
|
-
path: _path2 + ".term",
|
|
955
|
-
expected: "CategoricalTerm",
|
|
956
|
-
value: input3.term
|
|
957
|
-
})) && $vo22(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
958
|
-
path: _path2 + ".term",
|
|
959
|
-
expected: "CategoricalTerm",
|
|
960
|
-
value: input3.term
|
|
961
|
-
}), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
|
|
962
|
-
path: _path2 + ".groupset_label",
|
|
963
|
-
expected: "(string | undefined)",
|
|
964
|
-
value: input3.groupset_label
|
|
965
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
966
|
-
path: _path2 + ".values",
|
|
967
|
-
expected: "Array<BaseValue>",
|
|
968
|
-
value: input3.values
|
|
969
|
-
})) && input3.values.map((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
970
|
-
path: _path2 + ".values[" + _index8 + "]",
|
|
971
|
-
expected: "BaseValue",
|
|
972
|
-
value: elem
|
|
973
|
-
})) && $vo18(elem, _path2 + ".values[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
974
|
-
path: _path2 + ".values[" + _index8 + "]",
|
|
975
|
-
expected: "BaseValue",
|
|
976
|
-
value: elem
|
|
977
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
978
|
-
path: _path2 + ".values",
|
|
979
|
-
expected: "Array<BaseValue>",
|
|
980
|
-
value: input3.values
|
|
981
|
-
})].every((flag) => flag);
|
|
982
|
-
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
983
|
-
path: _path2 + ".id",
|
|
984
|
-
expected: "string",
|
|
985
|
-
value: input3.id
|
|
986
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
987
|
-
path: _path2 + ".name",
|
|
988
|
-
expected: "string",
|
|
989
|
-
value: input3.name
|
|
990
|
-
}), "categorical" === input3.type || $report(_exceptionable2, {
|
|
991
|
-
path: _path2 + ".type",
|
|
992
|
-
expected: '"categorical"',
|
|
993
|
-
value: input3.type
|
|
994
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
995
|
-
path: _path2 + ".child_types",
|
|
996
|
-
expected: "(Array<string> | undefined)",
|
|
997
|
-
value: input3.child_types
|
|
998
|
-
})) && input3.child_types.map((elem, _index9) => "string" === typeof elem || $report(_exceptionable2, {
|
|
999
|
-
path: _path2 + ".child_types[" + _index9 + "]",
|
|
1000
|
-
expected: "string",
|
|
1001
|
-
value: elem
|
|
1002
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1003
|
-
path: _path2 + ".child_types",
|
|
1004
|
-
expected: "(Array<string> | undefined)",
|
|
1005
|
-
value: input3.child_types
|
|
1006
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1007
|
-
path: _path2 + ".hashtmldetail",
|
|
1008
|
-
expected: "(boolean | undefined)",
|
|
1009
|
-
value: input3.hashtmldetail
|
|
1010
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1011
|
-
path: _path2 + ".included_types",
|
|
1012
|
-
expected: "(Array<string> | undefined)",
|
|
1013
|
-
value: input3.included_types
|
|
1014
|
-
})) && input3.included_types.map((elem, _index10) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1015
|
-
path: _path2 + ".included_types[" + _index10 + "]",
|
|
1016
|
-
expected: "string",
|
|
1017
|
-
value: elem
|
|
1018
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1019
|
-
path: _path2 + ".included_types",
|
|
1020
|
-
expected: "(Array<string> | undefined)",
|
|
1021
|
-
value: input3.included_types
|
|
1022
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1023
|
-
path: _path2 + ".isleaf",
|
|
1024
|
-
expected: "(boolean | undefined)",
|
|
1025
|
-
value: input3.isleaf
|
|
1026
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1027
|
-
path: _path2 + ".values",
|
|
1028
|
-
expected: "(TermValues | undefined)",
|
|
1029
|
-
value: input3.values
|
|
1030
|
-
})) && $vo17(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1031
|
-
path: _path2 + ".values",
|
|
1032
|
-
expected: "(TermValues | undefined)",
|
|
1033
|
-
value: input3.values
|
|
1034
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1035
|
-
path: _path2 + ".filter",
|
|
1036
|
-
expected: "(TermFilter | undefined)",
|
|
1037
|
-
value: input3.filter
|
|
1038
|
-
})) && $vo23(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1039
|
-
path: _path2 + ".filter",
|
|
1040
|
-
expected: "(TermFilter | undefined)",
|
|
1041
|
-
value: input3.filter
|
|
1042
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1043
|
-
path: _path2 + ".groupsetting",
|
|
1044
|
-
expected: "(EnabledTermGroupSetting | __type.o5)",
|
|
1045
|
-
value: input3.groupsetting
|
|
1046
|
-
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1047
|
-
path: _path2 + ".groupsetting",
|
|
1048
|
-
expected: "(EnabledTermGroupSetting | __type.o5)",
|
|
1049
|
-
value: input3.groupsetting
|
|
1050
|
-
})].every((flag) => flag);
|
|
1051
|
-
const $vo23 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
1052
|
-
path: _path2 + ".opts",
|
|
1053
|
-
expected: "__type.o3",
|
|
1054
|
-
value: input3.opts
|
|
1055
|
-
})) && $vo14(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
1056
|
-
path: _path2 + ".opts",
|
|
1057
|
-
expected: "__type.o3",
|
|
1058
|
-
value: input3.opts
|
|
1059
|
-
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
1060
|
-
path: _path2 + ".terms",
|
|
1061
|
-
expected: "Array<DtTerm>",
|
|
1062
|
-
value: input3.terms
|
|
1063
|
-
})) && input3.terms.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1064
|
-
path: _path2 + ".terms[" + _index11 + "]",
|
|
1065
|
-
expected: "DtTerm",
|
|
1066
|
-
value: elem
|
|
1067
|
-
})) && $vo15(elem, _path2 + ".terms[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1068
|
-
path: _path2 + ".terms[" + _index11 + "]",
|
|
1069
|
-
expected: "DtTerm",
|
|
1070
|
-
value: elem
|
|
1071
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1072
|
-
path: _path2 + ".terms",
|
|
1073
|
-
expected: "Array<DtTerm>",
|
|
1074
|
-
value: input3.terms
|
|
1075
|
-
})].every((flag) => flag);
|
|
1076
|
-
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
852
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1077
853
|
path: _path2 + ".disabled",
|
|
1078
854
|
expected: "(boolean | undefined)",
|
|
1079
855
|
value: input3.disabled
|
|
@@ -1081,12 +857,12 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1081
857
|
path: _path2 + ".lst",
|
|
1082
858
|
expected: "Array<Groupset>",
|
|
1083
859
|
value: input3.lst
|
|
1084
|
-
})) && input3.lst.map((elem,
|
|
1085
|
-
path: _path2 + ".lst[" +
|
|
860
|
+
})) && input3.lst.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
861
|
+
path: _path2 + ".lst[" + _index7 + "]",
|
|
1086
862
|
expected: "Groupset",
|
|
1087
863
|
value: elem
|
|
1088
|
-
})) && $
|
|
1089
|
-
path: _path2 + ".lst[" +
|
|
864
|
+
})) && $vo20(elem, _path2 + ".lst[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
865
|
+
path: _path2 + ".lst[" + _index7 + "]",
|
|
1090
866
|
expected: "Groupset",
|
|
1091
867
|
value: elem
|
|
1092
868
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1094,7 +870,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1094
870
|
expected: "Array<Groupset>",
|
|
1095
871
|
value: input3.lst
|
|
1096
872
|
})].every((flag) => flag);
|
|
1097
|
-
const $
|
|
873
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
1098
874
|
path: _path2 + ".name",
|
|
1099
875
|
expected: "string",
|
|
1100
876
|
value: input3.name
|
|
@@ -1114,12 +890,12 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1114
890
|
path: _path2 + ".groups",
|
|
1115
891
|
expected: "Array<GroupEntry>",
|
|
1116
892
|
value: input3.groups
|
|
1117
|
-
})) && input3.groups.map((elem,
|
|
1118
|
-
path: _path2 + ".groups[" +
|
|
893
|
+
})) && input3.groups.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
894
|
+
path: _path2 + ".groups[" + _index8 + "]",
|
|
1119
895
|
expected: "(FilterGroup | ValuesGroup)",
|
|
1120
896
|
value: elem
|
|
1121
|
-
})) && $vu0(elem, _path2 + ".groups[" +
|
|
1122
|
-
path: _path2 + ".groups[" +
|
|
897
|
+
})) && $vu0(elem, _path2 + ".groups[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
898
|
+
path: _path2 + ".groups[" + _index8 + "]",
|
|
1123
899
|
expected: "(FilterGroup | ValuesGroup)",
|
|
1124
900
|
value: elem
|
|
1125
901
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1127,7 +903,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1127
903
|
expected: "Array<GroupEntry>",
|
|
1128
904
|
value: input3.groups
|
|
1129
905
|
})].every((flag) => flag);
|
|
1130
|
-
const $
|
|
906
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1131
907
|
path: _path2 + ".disabled",
|
|
1132
908
|
expected: "boolean",
|
|
1133
909
|
value: input3.disabled
|
|
@@ -1144,7 +920,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1144
920
|
expected: "([] | undefined)",
|
|
1145
921
|
value: input3.lst
|
|
1146
922
|
})].every((flag) => flag);
|
|
1147
|
-
const $
|
|
923
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1148
924
|
path: _path2 + ".join",
|
|
1149
925
|
expected: "(string | undefined)",
|
|
1150
926
|
value: input3.join
|
|
@@ -1156,7 +932,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1156
932
|
path: _path2 + ".term",
|
|
1157
933
|
expected: "NumericTerm",
|
|
1158
934
|
value: input3.term
|
|
1159
|
-
})) && $
|
|
935
|
+
})) && $vo23(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1160
936
|
path: _path2 + ".term",
|
|
1161
937
|
expected: "NumericTerm",
|
|
1162
938
|
value: input3.term
|
|
@@ -1164,12 +940,12 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1164
940
|
path: _path2 + ".ranges",
|
|
1165
941
|
expected: "Array<NumericBin>",
|
|
1166
942
|
value: input3.ranges
|
|
1167
|
-
})) && input3.ranges.map((elem,
|
|
1168
|
-
path: _path2 + ".ranges[" +
|
|
943
|
+
})) && input3.ranges.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
944
|
+
path: _path2 + ".ranges[" + _index9 + "]",
|
|
1169
945
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1170
946
|
value: elem
|
|
1171
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
1172
|
-
path: _path2 + ".ranges[" +
|
|
947
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
948
|
+
path: _path2 + ".ranges[" + _index9 + "]",
|
|
1173
949
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1174
950
|
value: elem
|
|
1175
951
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1180,20 +956,20 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1180
956
|
path: _path2 + ".values",
|
|
1181
957
|
expected: "Array<__type>.o1",
|
|
1182
958
|
value: input3.values
|
|
1183
|
-
})) && input3.values.map((elem,
|
|
1184
|
-
path: _path2 + ".values[" +
|
|
1185
|
-
expected: "__type.
|
|
959
|
+
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
960
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
961
|
+
expected: "__type.o6",
|
|
1186
962
|
value: elem
|
|
1187
|
-
})) && $
|
|
1188
|
-
path: _path2 + ".values[" +
|
|
1189
|
-
expected: "__type.
|
|
963
|
+
})) && $vo31(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
964
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
965
|
+
expected: "__type.o6",
|
|
1190
966
|
value: elem
|
|
1191
967
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1192
968
|
path: _path2 + ".values",
|
|
1193
969
|
expected: "Array<__type>.o1",
|
|
1194
970
|
value: input3.values
|
|
1195
971
|
})].every((flag) => flag);
|
|
1196
|
-
const $
|
|
972
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1197
973
|
path: _path2 + ".id",
|
|
1198
974
|
expected: "string",
|
|
1199
975
|
value: input3.id
|
|
@@ -1209,8 +985,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1209
985
|
path: _path2 + ".child_types",
|
|
1210
986
|
expected: "(Array<string> | undefined)",
|
|
1211
987
|
value: input3.child_types
|
|
1212
|
-
})) && input3.child_types.map((elem,
|
|
1213
|
-
path: _path2 + ".child_types[" +
|
|
988
|
+
})) && input3.child_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
|
|
989
|
+
path: _path2 + ".child_types[" + _index11 + "]",
|
|
1214
990
|
expected: "string",
|
|
1215
991
|
value: elem
|
|
1216
992
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1225,8 +1001,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1225
1001
|
path: _path2 + ".included_types",
|
|
1226
1002
|
expected: "(Array<string> | undefined)",
|
|
1227
1003
|
value: input3.included_types
|
|
1228
|
-
})) && input3.included_types.map((elem,
|
|
1229
|
-
path: _path2 + ".included_types[" +
|
|
1004
|
+
})) && input3.included_types.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1005
|
+
path: _path2 + ".included_types[" + _index12 + "]",
|
|
1230
1006
|
expected: "string",
|
|
1231
1007
|
value: elem
|
|
1232
1008
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1244,20 +1020,12 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1244
1020
|
})) && $vo17(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1245
1021
|
path: _path2 + ".values",
|
|
1246
1022
|
expected: "(TermValues | undefined)",
|
|
1247
|
-
value: input3.values
|
|
1248
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1249
|
-
path: _path2 + ".filter",
|
|
1250
|
-
expected: "(TermFilter | undefined)",
|
|
1251
|
-
value: input3.filter
|
|
1252
|
-
})) && $vo23(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1253
|
-
path: _path2 + ".filter",
|
|
1254
|
-
expected: "(TermFilter | undefined)",
|
|
1255
|
-
value: input3.filter
|
|
1023
|
+
value: input3.values
|
|
1256
1024
|
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1257
1025
|
path: _path2 + ".bins",
|
|
1258
1026
|
expected: "PresetNumericBins",
|
|
1259
1027
|
value: input3.bins
|
|
1260
|
-
})) && $
|
|
1028
|
+
})) && $vo24(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1261
1029
|
path: _path2 + ".bins",
|
|
1262
1030
|
expected: "PresetNumericBins",
|
|
1263
1031
|
value: input3.bins
|
|
@@ -1267,18 +1035,18 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1267
1035
|
value: input3.unit
|
|
1268
1036
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1269
1037
|
path: _path2 + ".continuousColorScale",
|
|
1270
|
-
expected: "(__type.
|
|
1038
|
+
expected: "(__type.o5 | undefined)",
|
|
1271
1039
|
value: input3.continuousColorScale
|
|
1272
|
-
})) && $
|
|
1040
|
+
})) && $vo30(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1273
1041
|
path: _path2 + ".continuousColorScale",
|
|
1274
|
-
expected: "(__type.
|
|
1042
|
+
expected: "(__type.o5 | undefined)",
|
|
1275
1043
|
value: input3.continuousColorScale
|
|
1276
1044
|
})].every((flag) => flag);
|
|
1277
|
-
const $
|
|
1045
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
1278
1046
|
path: _path2 + '["default"]',
|
|
1279
1047
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1280
1048
|
value: input3["default"]
|
|
1281
|
-
})) && $
|
|
1049
|
+
})) && $vu9(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
1282
1050
|
path: _path2 + '["default"]',
|
|
1283
1051
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1284
1052
|
value: input3["default"]
|
|
@@ -1286,7 +1054,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1286
1054
|
path: _path2 + ".less",
|
|
1287
1055
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1288
1056
|
value: input3.less
|
|
1289
|
-
})) && $
|
|
1057
|
+
})) && $vu9(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
1290
1058
|
path: _path2 + ".less",
|
|
1291
1059
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1292
1060
|
value: input3.less
|
|
@@ -1311,7 +1079,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1311
1079
|
expected: "(number | undefined)",
|
|
1312
1080
|
value: input3.max
|
|
1313
1081
|
})].every((flag) => flag);
|
|
1314
|
-
const $
|
|
1082
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1315
1083
|
path: _path2 + ".hiddenValues",
|
|
1316
1084
|
expected: "(HiddenValues | undefined)",
|
|
1317
1085
|
value: input3.hiddenValues
|
|
@@ -1364,7 +1132,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1364
1132
|
expected: "(number | undefined)",
|
|
1365
1133
|
value: input3.label_offset
|
|
1366
1134
|
})].every((flag) => flag);
|
|
1367
|
-
const $
|
|
1135
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
1368
1136
|
path: _path2 + ".startunbounded",
|
|
1369
1137
|
expected: "true",
|
|
1370
1138
|
value: input3.startunbounded
|
|
@@ -1389,7 +1157,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1389
1157
|
expected: "(string | undefined)",
|
|
1390
1158
|
value: input3.label
|
|
1391
1159
|
})].every((flag) => flag);
|
|
1392
|
-
const $
|
|
1160
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
1393
1161
|
path: _path2 + ".startunbounded",
|
|
1394
1162
|
expected: "(false | undefined)",
|
|
1395
1163
|
value: input3.startunbounded
|
|
@@ -1418,7 +1186,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1418
1186
|
expected: "(string | undefined)",
|
|
1419
1187
|
value: input3.label
|
|
1420
1188
|
})].every((flag) => flag);
|
|
1421
|
-
const $
|
|
1189
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
1422
1190
|
path: _path2 + ".start",
|
|
1423
1191
|
expected: "number",
|
|
1424
1192
|
value: input3.start
|
|
@@ -1443,7 +1211,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1443
1211
|
expected: "(string | undefined)",
|
|
1444
1212
|
value: input3.label
|
|
1445
1213
|
})].every((flag) => flag);
|
|
1446
|
-
const $
|
|
1214
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1447
1215
|
path: _path2 + ".hiddenValues",
|
|
1448
1216
|
expected: "(HiddenValues | undefined)",
|
|
1449
1217
|
value: input3.hiddenValues
|
|
@@ -1489,12 +1257,12 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1489
1257
|
path: _path2 + ".lst",
|
|
1490
1258
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1491
1259
|
value: input3.lst.slice(1)
|
|
1492
|
-
})) && input3.lst.slice(1).map((elem,
|
|
1493
|
-
path: _path2 + ".lst[" + (1 +
|
|
1260
|
+
})) && input3.lst.slice(1).map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1261
|
+
path: _path2 + ".lst[" + (1 + _index13) + "]",
|
|
1494
1262
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1495
1263
|
value: elem
|
|
1496
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
1497
|
-
path: _path2 + ".lst[" + (1 +
|
|
1264
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index13) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1265
|
+
path: _path2 + ".lst[" + (1 + _index13) + "]",
|
|
1498
1266
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1499
1267
|
value: elem
|
|
1500
1268
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1510,7 +1278,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1510
1278
|
expected: '("median" | undefined)',
|
|
1511
1279
|
value: input3.preferredBins
|
|
1512
1280
|
})].every((flag) => flag);
|
|
1513
|
-
const $
|
|
1281
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
1514
1282
|
path: _path2 + ".minColor",
|
|
1515
1283
|
expected: "string",
|
|
1516
1284
|
value: input3.minColor
|
|
@@ -1519,7 +1287,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1519
1287
|
expected: "string",
|
|
1520
1288
|
value: input3.maxColor
|
|
1521
1289
|
})].every((flag) => flag);
|
|
1522
|
-
const $
|
|
1290
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1523
1291
|
path: _path2 + ".key",
|
|
1524
1292
|
expected: "string",
|
|
1525
1293
|
value: input3.key
|
|
@@ -1536,7 +1304,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1536
1304
|
expected: "(string | undefined)",
|
|
1537
1305
|
value: input3.label
|
|
1538
1306
|
})].every((flag) => flag);
|
|
1539
|
-
const $
|
|
1307
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1540
1308
|
path: _path2 + ".join",
|
|
1541
1309
|
expected: "(string | undefined)",
|
|
1542
1310
|
value: input3.join
|
|
@@ -1548,7 +1316,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1548
1316
|
path: _path2 + ".term",
|
|
1549
1317
|
expected: "ConditionTerm",
|
|
1550
1318
|
value: input3.term
|
|
1551
|
-
})) && $
|
|
1319
|
+
})) && $vo33(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1552
1320
|
path: _path2 + ".term",
|
|
1553
1321
|
expected: "ConditionTerm",
|
|
1554
1322
|
value: input3.term
|
|
@@ -1568,12 +1336,12 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1568
1336
|
path: _path2 + ".grade_and_child",
|
|
1569
1337
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1570
1338
|
value: input3.grade_and_child
|
|
1571
|
-
})) && input3.grade_and_child.map((elem,
|
|
1572
|
-
path: _path2 + ".grade_and_child[" +
|
|
1339
|
+
})) && input3.grade_and_child.map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1340
|
+
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
1573
1341
|
expected: "GradeAndChildEntry",
|
|
1574
1342
|
value: elem
|
|
1575
|
-
})) && $
|
|
1576
|
-
path: _path2 + ".grade_and_child[" +
|
|
1343
|
+
})) && $vo34(elem, _path2 + ".grade_and_child[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1344
|
+
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
1577
1345
|
expected: "GradeAndChildEntry",
|
|
1578
1346
|
value: elem
|
|
1579
1347
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1581,7 +1349,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1581
1349
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1582
1350
|
value: input3.grade_and_child
|
|
1583
1351
|
})].every((flag) => flag);
|
|
1584
|
-
const $
|
|
1352
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1585
1353
|
path: _path2 + ".id",
|
|
1586
1354
|
expected: "string",
|
|
1587
1355
|
value: input3.id
|
|
@@ -1597,8 +1365,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1597
1365
|
path: _path2 + ".child_types",
|
|
1598
1366
|
expected: "(Array<string> | undefined)",
|
|
1599
1367
|
value: input3.child_types
|
|
1600
|
-
})) && input3.child_types.map((elem,
|
|
1601
|
-
path: _path2 + ".child_types[" +
|
|
1368
|
+
})) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1369
|
+
path: _path2 + ".child_types[" + _index15 + "]",
|
|
1602
1370
|
expected: "string",
|
|
1603
1371
|
value: elem
|
|
1604
1372
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1613,8 +1381,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1613
1381
|
path: _path2 + ".included_types",
|
|
1614
1382
|
expected: "(Array<string> | undefined)",
|
|
1615
1383
|
value: input3.included_types
|
|
1616
|
-
})) && input3.included_types.map((elem,
|
|
1617
|
-
path: _path2 + ".included_types[" +
|
|
1384
|
+
})) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1385
|
+
path: _path2 + ".included_types[" + _index16 + "]",
|
|
1618
1386
|
expected: "string",
|
|
1619
1387
|
value: elem
|
|
1620
1388
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1633,16 +1401,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1633
1401
|
path: _path2 + ".values",
|
|
1634
1402
|
expected: "(TermValues | undefined)",
|
|
1635
1403
|
value: input3.values
|
|
1636
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1637
|
-
path: _path2 + ".filter",
|
|
1638
|
-
expected: "(TermFilter | undefined)",
|
|
1639
|
-
value: input3.filter
|
|
1640
|
-
})) && $vo23(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1641
|
-
path: _path2 + ".filter",
|
|
1642
|
-
expected: "(TermFilter | undefined)",
|
|
1643
|
-
value: input3.filter
|
|
1644
1404
|
})].every((flag) => flag);
|
|
1645
|
-
const $
|
|
1405
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1646
1406
|
path: _path2 + ".grade",
|
|
1647
1407
|
expected: "number",
|
|
1648
1408
|
value: input3.grade
|
|
@@ -1659,7 +1419,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1659
1419
|
expected: "string",
|
|
1660
1420
|
value: input3.child_label
|
|
1661
1421
|
})].every((flag) => flag);
|
|
1662
|
-
const $
|
|
1422
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1663
1423
|
path: _path2 + ".join",
|
|
1664
1424
|
expected: "(string | undefined)",
|
|
1665
1425
|
value: input3.join
|
|
@@ -1671,7 +1431,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1671
1431
|
path: _path2 + ".term",
|
|
1672
1432
|
expected: "DtTerm",
|
|
1673
1433
|
value: input3.term
|
|
1674
|
-
})) && $
|
|
1434
|
+
})) && $vo36(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1675
1435
|
path: _path2 + ".term",
|
|
1676
1436
|
expected: "DtTerm",
|
|
1677
1437
|
value: input3.term
|
|
@@ -1679,33 +1439,69 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1679
1439
|
path: _path2 + ".values",
|
|
1680
1440
|
expected: "Array<__type>.o2",
|
|
1681
1441
|
value: input3.values
|
|
1682
|
-
})) && input3.values.map((elem,
|
|
1683
|
-
path: _path2 + ".values[" +
|
|
1684
|
-
expected: "__type.
|
|
1442
|
+
})) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1443
|
+
path: _path2 + ".values[" + _index17 + "]",
|
|
1444
|
+
expected: "__type.o7",
|
|
1685
1445
|
value: elem
|
|
1686
|
-
})) && $
|
|
1687
|
-
path: _path2 + ".values[" +
|
|
1688
|
-
expected: "__type.
|
|
1446
|
+
})) && $vo39(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1447
|
+
path: _path2 + ".values[" + _index17 + "]",
|
|
1448
|
+
expected: "__type.o7",
|
|
1689
1449
|
value: elem
|
|
1690
1450
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1691
1451
|
path: _path2 + ".values",
|
|
1692
1452
|
expected: "Array<__type>.o2",
|
|
1693
1453
|
value: input3.values
|
|
1694
1454
|
})].every((flag) => flag);
|
|
1695
|
-
const $
|
|
1696
|
-
path: _path2 + ".
|
|
1455
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1456
|
+
path: _path2 + ".id",
|
|
1697
1457
|
expected: "string",
|
|
1698
|
-
value: input3.
|
|
1699
|
-
}), "string" === typeof input3.
|
|
1700
|
-
path: _path2 + ".
|
|
1458
|
+
value: input3.id
|
|
1459
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
1460
|
+
path: _path2 + ".query",
|
|
1701
1461
|
expected: "string",
|
|
1702
|
-
value: input3.
|
|
1703
|
-
}), "string" === typeof input3.
|
|
1704
|
-
path: _path2 + ".
|
|
1462
|
+
value: input3.query
|
|
1463
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1464
|
+
path: _path2 + ".name",
|
|
1705
1465
|
expected: "string",
|
|
1706
|
-
value: input3.
|
|
1466
|
+
value: input3.name
|
|
1467
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
1468
|
+
path: _path2 + ".name_noOrigin",
|
|
1469
|
+
expected: "string",
|
|
1470
|
+
value: input3.name_noOrigin
|
|
1471
|
+
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1472
|
+
path: _path2 + ".parentTerm",
|
|
1473
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1474
|
+
value: input3.parentTerm
|
|
1475
|
+
})) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1476
|
+
path: _path2 + ".parentTerm",
|
|
1477
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1478
|
+
value: input3.parentTerm
|
|
1479
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1480
|
+
path: _path2 + ".isleaf",
|
|
1481
|
+
expected: "boolean",
|
|
1482
|
+
value: input3.isleaf
|
|
1483
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1484
|
+
path: _path2 + ".type",
|
|
1485
|
+
expected: "string",
|
|
1486
|
+
value: input3.type
|
|
1487
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
1488
|
+
path: _path2 + ".dt",
|
|
1489
|
+
expected: "number",
|
|
1490
|
+
value: input3.dt
|
|
1491
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
1492
|
+
path: _path2 + ".origin",
|
|
1493
|
+
expected: "(string | undefined)",
|
|
1494
|
+
value: input3.origin
|
|
1495
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1496
|
+
path: _path2 + ".values",
|
|
1497
|
+
expected: "TermValues",
|
|
1498
|
+
value: input3.values
|
|
1499
|
+
})) && $vo17(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1500
|
+
path: _path2 + ".values",
|
|
1501
|
+
expected: "TermValues",
|
|
1502
|
+
value: input3.values
|
|
1707
1503
|
})].every((flag) => flag);
|
|
1708
|
-
const $
|
|
1504
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1709
1505
|
path: _path2 + ".id",
|
|
1710
1506
|
expected: "string",
|
|
1711
1507
|
value: input3.id
|
|
@@ -1721,8 +1517,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1721
1517
|
path: _path2 + ".child_types",
|
|
1722
1518
|
expected: "(Array<string> | undefined)",
|
|
1723
1519
|
value: input3.child_types
|
|
1724
|
-
})) && input3.child_types.map((elem,
|
|
1725
|
-
path: _path2 + ".child_types[" +
|
|
1520
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1521
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
1726
1522
|
expected: "string",
|
|
1727
1523
|
value: elem
|
|
1728
1524
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1737,8 +1533,105 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1737
1533
|
path: _path2 + ".included_types",
|
|
1738
1534
|
expected: "(Array<string> | undefined)",
|
|
1739
1535
|
value: input3.included_types
|
|
1740
|
-
})) && input3.included_types.map((elem,
|
|
1741
|
-
path: _path2 + ".included_types[" +
|
|
1536
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1537
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1538
|
+
expected: "string",
|
|
1539
|
+
value: elem
|
|
1540
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1541
|
+
path: _path2 + ".included_types",
|
|
1542
|
+
expected: "(Array<string> | undefined)",
|
|
1543
|
+
value: input3.included_types
|
|
1544
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1545
|
+
path: _path2 + ".isleaf",
|
|
1546
|
+
expected: "(boolean | undefined)",
|
|
1547
|
+
value: input3.isleaf
|
|
1548
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1549
|
+
path: _path2 + ".values",
|
|
1550
|
+
expected: "(TermValues | undefined)",
|
|
1551
|
+
value: input3.values
|
|
1552
|
+
})) && $vo17(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1553
|
+
path: _path2 + ".values",
|
|
1554
|
+
expected: "(TermValues | undefined)",
|
|
1555
|
+
value: input3.values
|
|
1556
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1557
|
+
path: _path2 + ".kind",
|
|
1558
|
+
expected: '"gene"',
|
|
1559
|
+
value: input3.kind
|
|
1560
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1561
|
+
path: _path2 + ".gene",
|
|
1562
|
+
expected: "string",
|
|
1563
|
+
value: input3.gene
|
|
1564
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1565
|
+
path: _path2 + ".chr",
|
|
1566
|
+
expected: "(string | undefined)",
|
|
1567
|
+
value: input3.chr
|
|
1568
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1569
|
+
path: _path2 + ".start",
|
|
1570
|
+
expected: "(number | undefined)",
|
|
1571
|
+
value: input3.start
|
|
1572
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1573
|
+
path: _path2 + ".stop",
|
|
1574
|
+
expected: "(number | undefined)",
|
|
1575
|
+
value: input3.stop
|
|
1576
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1577
|
+
path: _path2 + ".groupsetting",
|
|
1578
|
+
expected: "(EnabledTermGroupSetting | __type.o4 | undefined)",
|
|
1579
|
+
value: input3.groupsetting
|
|
1580
|
+
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1581
|
+
path: _path2 + ".groupsetting",
|
|
1582
|
+
expected: "(EnabledTermGroupSetting | __type.o4 | undefined)",
|
|
1583
|
+
value: input3.groupsetting
|
|
1584
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1585
|
+
path: _path2 + ".childTerms",
|
|
1586
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1587
|
+
value: input3.childTerms
|
|
1588
|
+
})) && input3.childTerms.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1589
|
+
path: _path2 + ".childTerms[" + _index20 + "]",
|
|
1590
|
+
expected: "DtTerm",
|
|
1591
|
+
value: elem
|
|
1592
|
+
})) && $vo36(elem, _path2 + ".childTerms[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1593
|
+
path: _path2 + ".childTerms[" + _index20 + "]",
|
|
1594
|
+
expected: "DtTerm",
|
|
1595
|
+
value: elem
|
|
1596
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1597
|
+
path: _path2 + ".childTerms",
|
|
1598
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1599
|
+
value: input3.childTerms
|
|
1600
|
+
})].every((flag) => flag);
|
|
1601
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1602
|
+
path: _path2 + ".id",
|
|
1603
|
+
expected: "string",
|
|
1604
|
+
value: input3.id
|
|
1605
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1606
|
+
path: _path2 + ".name",
|
|
1607
|
+
expected: "string",
|
|
1608
|
+
value: input3.name
|
|
1609
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1610
|
+
path: _path2 + ".type",
|
|
1611
|
+
expected: '"geneVariant"',
|
|
1612
|
+
value: input3.type
|
|
1613
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1614
|
+
path: _path2 + ".child_types",
|
|
1615
|
+
expected: "(Array<string> | undefined)",
|
|
1616
|
+
value: input3.child_types
|
|
1617
|
+
})) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1618
|
+
path: _path2 + ".child_types[" + _index21 + "]",
|
|
1619
|
+
expected: "string",
|
|
1620
|
+
value: elem
|
|
1621
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1622
|
+
path: _path2 + ".child_types",
|
|
1623
|
+
expected: "(Array<string> | undefined)",
|
|
1624
|
+
value: input3.child_types
|
|
1625
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1626
|
+
path: _path2 + ".hashtmldetail",
|
|
1627
|
+
expected: "(boolean | undefined)",
|
|
1628
|
+
value: input3.hashtmldetail
|
|
1629
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1630
|
+
path: _path2 + ".included_types",
|
|
1631
|
+
expected: "(Array<string> | undefined)",
|
|
1632
|
+
value: input3.included_types
|
|
1633
|
+
})) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1634
|
+
path: _path2 + ".included_types[" + _index22 + "]",
|
|
1742
1635
|
expected: "string",
|
|
1743
1636
|
value: elem
|
|
1744
1637
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1757,14 +1650,6 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1757
1650
|
path: _path2 + ".values",
|
|
1758
1651
|
expected: "(TermValues | undefined)",
|
|
1759
1652
|
value: input3.values
|
|
1760
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1761
|
-
path: _path2 + ".filter",
|
|
1762
|
-
expected: "(TermFilter | undefined)",
|
|
1763
|
-
value: input3.filter
|
|
1764
|
-
})) && $vo23(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1765
|
-
path: _path2 + ".filter",
|
|
1766
|
-
expected: "(TermFilter | undefined)",
|
|
1767
|
-
value: input3.filter
|
|
1768
1653
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1769
1654
|
path: _path2 + ".kind",
|
|
1770
1655
|
expected: '"coord"',
|
|
@@ -1783,14 +1668,43 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1783
1668
|
value: input3.stop
|
|
1784
1669
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1785
1670
|
path: _path2 + ".groupsetting",
|
|
1786
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
1671
|
+
expected: "(EnabledTermGroupSetting | __type.o4 | undefined)",
|
|
1787
1672
|
value: input3.groupsetting
|
|
1788
1673
|
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1789
1674
|
path: _path2 + ".groupsetting",
|
|
1790
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
1675
|
+
expected: "(EnabledTermGroupSetting | __type.o4 | undefined)",
|
|
1791
1676
|
value: input3.groupsetting
|
|
1677
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1678
|
+
path: _path2 + ".childTerms",
|
|
1679
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1680
|
+
value: input3.childTerms
|
|
1681
|
+
})) && input3.childTerms.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1682
|
+
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
1683
|
+
expected: "DtTerm",
|
|
1684
|
+
value: elem
|
|
1685
|
+
})) && $vo36(elem, _path2 + ".childTerms[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1686
|
+
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
1687
|
+
expected: "DtTerm",
|
|
1688
|
+
value: elem
|
|
1689
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1690
|
+
path: _path2 + ".childTerms",
|
|
1691
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1692
|
+
value: input3.childTerms
|
|
1693
|
+
})].every((flag) => flag);
|
|
1694
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1695
|
+
path: _path2 + ".key",
|
|
1696
|
+
expected: "string",
|
|
1697
|
+
value: input3.key
|
|
1698
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1699
|
+
path: _path2 + ".label",
|
|
1700
|
+
expected: "string",
|
|
1701
|
+
value: input3.label
|
|
1702
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
1703
|
+
path: _path2 + ".value",
|
|
1704
|
+
expected: "string",
|
|
1705
|
+
value: input3.value
|
|
1792
1706
|
})].every((flag) => flag);
|
|
1793
|
-
const $
|
|
1707
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
1794
1708
|
path: _path2 + ".id",
|
|
1795
1709
|
expected: "(string | undefined)",
|
|
1796
1710
|
value: input3.id
|
|
@@ -1818,7 +1732,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1818
1732
|
path: _path2 + ".term",
|
|
1819
1733
|
expected: "NumericTerm",
|
|
1820
1734
|
value: input3.term
|
|
1821
|
-
})) && $
|
|
1735
|
+
})) && $vo23(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1822
1736
|
path: _path2 + ".term",
|
|
1823
1737
|
expected: "NumericTerm",
|
|
1824
1738
|
value: input3.term
|
|
@@ -1831,7 +1745,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1831
1745
|
expected: "(BinaryNumericQ | ContinuousNumericQ | CustomNumericBinConfig | RegularNumericBinConfig | SplineNumericQ)",
|
|
1832
1746
|
value: input3.q
|
|
1833
1747
|
})].every((flag) => flag);
|
|
1834
|
-
const $
|
|
1748
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1835
1749
|
path: _path2 + ".hiddenValues",
|
|
1836
1750
|
expected: "(HiddenValues | undefined)",
|
|
1837
1751
|
value: input3.hiddenValues
|
|
@@ -1891,7 +1805,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1891
1805
|
expected: "[StartUnboundedBin | FullyBoundedBin, FullyBoundedBin | StopUnboundedBin]",
|
|
1892
1806
|
value: input3.lst
|
|
1893
1807
|
})].every((flag) => flag);
|
|
1894
|
-
const $
|
|
1808
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1895
1809
|
path: _path2 + ".hiddenValues",
|
|
1896
1810
|
expected: "(HiddenValues | undefined)",
|
|
1897
1811
|
value: input3.hiddenValues
|
|
@@ -1928,7 +1842,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1928
1842
|
expected: "undefined",
|
|
1929
1843
|
value: input3.type
|
|
1930
1844
|
}))].every((flag) => flag);
|
|
1931
|
-
const $
|
|
1845
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1932
1846
|
path: _path2 + ".hiddenValues",
|
|
1933
1847
|
expected: "(HiddenValues | undefined)",
|
|
1934
1848
|
value: input3.hiddenValues
|
|
@@ -1956,13 +1870,13 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1956
1870
|
path: _path2 + ".knots",
|
|
1957
1871
|
expected: "Array<__type>.o3",
|
|
1958
1872
|
value: input3.knots
|
|
1959
|
-
})) && input3.knots.map((elem,
|
|
1960
|
-
path: _path2 + ".knots[" +
|
|
1961
|
-
expected: "__type.
|
|
1873
|
+
})) && input3.knots.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1874
|
+
path: _path2 + ".knots[" + _index24 + "]",
|
|
1875
|
+
expected: "__type.o8",
|
|
1962
1876
|
value: elem
|
|
1963
|
-
})) && $
|
|
1964
|
-
path: _path2 + ".knots[" +
|
|
1965
|
-
expected: "__type.
|
|
1877
|
+
})) && $vo44(elem, _path2 + ".knots[" + _index24 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1878
|
+
path: _path2 + ".knots[" + _index24 + "]",
|
|
1879
|
+
expected: "__type.o8",
|
|
1966
1880
|
value: elem
|
|
1967
1881
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1968
1882
|
path: _path2 + ".knots",
|
|
@@ -1977,12 +1891,12 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1977
1891
|
expected: "undefined",
|
|
1978
1892
|
value: input3.type
|
|
1979
1893
|
}))].every((flag) => flag);
|
|
1980
|
-
const $
|
|
1894
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
|
|
1981
1895
|
path: _path2 + ".value",
|
|
1982
1896
|
expected: "number",
|
|
1983
1897
|
value: input3.value
|
|
1984
1898
|
})].every((flag) => flag);
|
|
1985
|
-
const $
|
|
1899
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
1986
1900
|
path: _path2 + ".id",
|
|
1987
1901
|
expected: "(string | undefined)",
|
|
1988
1902
|
value: input3.id
|
|
@@ -2010,7 +1924,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2010
1924
|
path: _path2 + ".q",
|
|
2011
1925
|
expected: "SnpsQ",
|
|
2012
1926
|
value: input3.q
|
|
2013
|
-
})) && $
|
|
1927
|
+
})) && $vo46(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2014
1928
|
path: _path2 + ".q",
|
|
2015
1929
|
expected: "SnpsQ",
|
|
2016
1930
|
value: input3.q
|
|
@@ -2018,12 +1932,12 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2018
1932
|
path: _path2 + ".term",
|
|
2019
1933
|
expected: "SnpsTerm",
|
|
2020
1934
|
value: input3.term
|
|
2021
|
-
})) && $
|
|
1935
|
+
})) && $vo48(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2022
1936
|
path: _path2 + ".term",
|
|
2023
1937
|
expected: "SnpsTerm",
|
|
2024
1938
|
value: input3.term
|
|
2025
1939
|
})].every((flag) => flag);
|
|
2026
|
-
const $
|
|
1940
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2027
1941
|
path: _path2 + ".hiddenValues",
|
|
2028
1942
|
expected: "(HiddenValues | undefined)",
|
|
2029
1943
|
value: input3.hiddenValues
|
|
@@ -2079,7 +1993,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2079
1993
|
path: _path2 + ".restrictAncestry",
|
|
2080
1994
|
expected: "RestrictAncestry",
|
|
2081
1995
|
value: input3.restrictAncestry
|
|
2082
|
-
})) && $
|
|
1996
|
+
})) && $vo47(input3.restrictAncestry, _path2 + ".restrictAncestry", _exceptionable2) || $report(_exceptionable2, {
|
|
2083
1997
|
path: _path2 + ".restrictAncestry",
|
|
2084
1998
|
expected: "RestrictAncestry",
|
|
2085
1999
|
value: input3.restrictAncestry
|
|
@@ -2087,7 +2001,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2087
2001
|
path: _path2 + ".variant_filter",
|
|
2088
2002
|
expected: "Filter",
|
|
2089
2003
|
value: input3.variant_filter
|
|
2090
|
-
})) && $
|
|
2004
|
+
})) && $vo13(input3.variant_filter, _path2 + ".variant_filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2091
2005
|
path: _path2 + ".variant_filter",
|
|
2092
2006
|
expected: "Filter",
|
|
2093
2007
|
value: input3.variant_filter
|
|
@@ -2104,7 +2018,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2104
2018
|
expected: "number",
|
|
2105
2019
|
value: input3.stop
|
|
2106
2020
|
})].every((flag) => flag);
|
|
2107
|
-
const $
|
|
2021
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2108
2022
|
path: _path2 + ".name",
|
|
2109
2023
|
expected: "string",
|
|
2110
2024
|
value: input3.name
|
|
@@ -2112,12 +2026,12 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2112
2026
|
path: _path2 + ".tvs",
|
|
2113
2027
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
2114
2028
|
value: input3.tvs
|
|
2115
|
-
})) && $
|
|
2029
|
+
})) && $vu7(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
2116
2030
|
path: _path2 + ".tvs",
|
|
2117
2031
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
2118
2032
|
value: input3.tvs
|
|
2119
2033
|
})].every((flag) => flag);
|
|
2120
|
-
const $
|
|
2034
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2121
2035
|
path: _path2 + ".id",
|
|
2122
2036
|
expected: "string",
|
|
2123
2037
|
value: input3.id
|
|
@@ -2133,8 +2047,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2133
2047
|
path: _path2 + ".child_types",
|
|
2134
2048
|
expected: "(Array<string> | undefined)",
|
|
2135
2049
|
value: input3.child_types
|
|
2136
|
-
})) && input3.child_types.map((elem,
|
|
2137
|
-
path: _path2 + ".child_types[" +
|
|
2050
|
+
})) && input3.child_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2051
|
+
path: _path2 + ".child_types[" + _index25 + "]",
|
|
2138
2052
|
expected: "string",
|
|
2139
2053
|
value: elem
|
|
2140
2054
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2149,8 +2063,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2149
2063
|
path: _path2 + ".included_types",
|
|
2150
2064
|
expected: "(Array<string> | undefined)",
|
|
2151
2065
|
value: input3.included_types
|
|
2152
|
-
})) && input3.included_types.map((elem,
|
|
2153
|
-
path: _path2 + ".included_types[" +
|
|
2066
|
+
})) && input3.included_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2067
|
+
path: _path2 + ".included_types[" + _index26 + "]",
|
|
2154
2068
|
expected: "string",
|
|
2155
2069
|
value: elem
|
|
2156
2070
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2169,14 +2083,6 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2169
2083
|
path: _path2 + ".values",
|
|
2170
2084
|
expected: "(TermValues | undefined)",
|
|
2171
2085
|
value: input3.values
|
|
2172
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2173
|
-
path: _path2 + ".filter",
|
|
2174
|
-
expected: "(TermFilter | undefined)",
|
|
2175
|
-
value: input3.filter
|
|
2176
|
-
})) && $vo23(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2177
|
-
path: _path2 + ".filter",
|
|
2178
|
-
expected: "(TermFilter | undefined)",
|
|
2179
|
-
value: input3.filter
|
|
2180
2086
|
}), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
|
|
2181
2087
|
path: _path2 + ".reachedVariantLimit",
|
|
2182
2088
|
expected: "(boolean | undefined)",
|
|
@@ -2185,12 +2091,12 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2185
2091
|
path: _path2 + ".snps",
|
|
2186
2092
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2187
2093
|
value: input3.snps
|
|
2188
|
-
})) && input3.snps.map((elem,
|
|
2189
|
-
path: _path2 + ".snps[" +
|
|
2094
|
+
})) && input3.snps.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2095
|
+
path: _path2 + ".snps[" + _index27 + "]",
|
|
2190
2096
|
expected: "SnpsEntry",
|
|
2191
2097
|
value: elem
|
|
2192
|
-
})) && $
|
|
2193
|
-
path: _path2 + ".snps[" +
|
|
2098
|
+
})) && $vo49(elem, _path2 + ".snps[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2099
|
+
path: _path2 + ".snps[" + _index27 + "]",
|
|
2194
2100
|
expected: "SnpsEntry",
|
|
2195
2101
|
value: elem
|
|
2196
2102
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2198,12 +2104,12 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2198
2104
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2199
2105
|
value: input3.snps
|
|
2200
2106
|
})].every((flag) => flag);
|
|
2201
|
-
const $
|
|
2107
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
2202
2108
|
path: _path2 + ".altAlleles",
|
|
2203
2109
|
expected: "(Array<string> | undefined)",
|
|
2204
2110
|
value: input3.altAlleles
|
|
2205
|
-
})) && input3.altAlleles.map((elem,
|
|
2206
|
-
path: _path2 + ".altAlleles[" +
|
|
2111
|
+
})) && input3.altAlleles.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2112
|
+
path: _path2 + ".altAlleles[" + _index28 + "]",
|
|
2207
2113
|
expected: "string",
|
|
2208
2114
|
value: elem
|
|
2209
2115
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2214,12 +2120,12 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2214
2120
|
path: _path2 + ".alleles",
|
|
2215
2121
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
2216
2122
|
value: input3.alleles
|
|
2217
|
-
})) && input3.alleles.map((elem,
|
|
2218
|
-
path: _path2 + ".alleles[" +
|
|
2123
|
+
})) && input3.alleles.map((elem, _index29) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2124
|
+
path: _path2 + ".alleles[" + _index29 + "]",
|
|
2219
2125
|
expected: "AllelesEntry",
|
|
2220
2126
|
value: elem
|
|
2221
|
-
})) && $
|
|
2222
|
-
path: _path2 + ".alleles[" +
|
|
2127
|
+
})) && $vo50(elem, _path2 + ".alleles[" + _index29 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2128
|
+
path: _path2 + ".alleles[" + _index29 + "]",
|
|
2223
2129
|
expected: "AllelesEntry",
|
|
2224
2130
|
value: elem
|
|
2225
2131
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2232,11 +2138,11 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2232
2138
|
value: input3.effectAllele
|
|
2233
2139
|
}), void 0 === input3.gt2count || ("object" === typeof input3.gt2count && null !== input3.gt2count || $report(_exceptionable2, {
|
|
2234
2140
|
path: _path2 + ".gt2count",
|
|
2235
|
-
expected: "(__type.
|
|
2141
|
+
expected: "(__type.o9 | undefined)",
|
|
2236
2142
|
value: input3.gt2count
|
|
2237
|
-
})) && $
|
|
2143
|
+
})) && $vo51(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
2238
2144
|
path: _path2 + ".gt2count",
|
|
2239
|
-
expected: "(__type.
|
|
2145
|
+
expected: "(__type.o9 | undefined)",
|
|
2240
2146
|
value: input3.gt2count
|
|
2241
2147
|
}), void 0 === input3.invalid || "boolean" === typeof input3.invalid || $report(_exceptionable2, {
|
|
2242
2148
|
path: _path2 + ".invalid",
|
|
@@ -2263,7 +2169,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2263
2169
|
expected: "(number | undefined)",
|
|
2264
2170
|
value: input3.pos
|
|
2265
2171
|
})].every((flag) => flag);
|
|
2266
|
-
const $
|
|
2172
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
2267
2173
|
path: _path2 + ".allele",
|
|
2268
2174
|
expected: "string",
|
|
2269
2175
|
value: input3.allele
|
|
@@ -2276,7 +2182,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2276
2182
|
expected: "boolean",
|
|
2277
2183
|
value: input3.isRef
|
|
2278
2184
|
})].every((flag) => flag);
|
|
2279
|
-
const $
|
|
2185
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
2280
2186
|
path: _path2 + ".k",
|
|
2281
2187
|
expected: "string",
|
|
2282
2188
|
value: input3.k
|
|
@@ -2285,7 +2191,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2285
2191
|
expected: "(number | string)",
|
|
2286
2192
|
value: input3.v
|
|
2287
2193
|
})].every((flag) => flag);
|
|
2288
|
-
const $
|
|
2194
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2289
2195
|
path: _path2 + ".id",
|
|
2290
2196
|
expected: "(string | undefined)",
|
|
2291
2197
|
value: input3.id
|
|
@@ -2311,11 +2217,11 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2311
2217
|
value: input3.minNumSamples
|
|
2312
2218
|
}), true, ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2313
2219
|
path: _path2 + ".term",
|
|
2314
|
-
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;
|
|
2220
|
+
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; })',
|
|
2315
2221
|
value: input3.term
|
|
2316
2222
|
})) && $vu12(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2317
2223
|
path: _path2 + ".term",
|
|
2318
|
-
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;
|
|
2224
|
+
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; })',
|
|
2319
2225
|
value: input3.term
|
|
2320
2226
|
}), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
|
|
2321
2227
|
path: _path2 + ".q",
|
|
@@ -2326,7 +2232,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2326
2232
|
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | PredefinedGroupSettingQ | RegularNumericBinConfig | SampleLstQ | SnpsQ | SplineNumericQ | ValuesQ)",
|
|
2327
2233
|
value: input3.q
|
|
2328
2234
|
})].every((flag) => flag);
|
|
2329
|
-
const $
|
|
2235
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2330
2236
|
path: _path2 + ".id",
|
|
2331
2237
|
expected: "string",
|
|
2332
2238
|
value: input3.id
|
|
@@ -2342,8 +2248,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2342
2248
|
path: _path2 + ".child_types",
|
|
2343
2249
|
expected: "(Array<string> | undefined)",
|
|
2344
2250
|
value: input3.child_types
|
|
2345
|
-
})) && input3.child_types.map((elem,
|
|
2346
|
-
path: _path2 + ".child_types[" +
|
|
2251
|
+
})) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2252
|
+
path: _path2 + ".child_types[" + _index30 + "]",
|
|
2347
2253
|
expected: "string",
|
|
2348
2254
|
value: elem
|
|
2349
2255
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2358,8 +2264,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2358
2264
|
path: _path2 + ".included_types",
|
|
2359
2265
|
expected: "(Array<string> | undefined)",
|
|
2360
2266
|
value: input3.included_types
|
|
2361
|
-
})) && input3.included_types.map((elem,
|
|
2362
|
-
path: _path2 + ".included_types[" +
|
|
2267
|
+
})) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2268
|
+
path: _path2 + ".included_types[" + _index31 + "]",
|
|
2363
2269
|
expected: "string",
|
|
2364
2270
|
value: elem
|
|
2365
2271
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2378,14 +2284,6 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2378
2284
|
path: _path2 + ".values",
|
|
2379
2285
|
expected: "(TermValues | undefined)",
|
|
2380
2286
|
value: input3.values
|
|
2381
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2382
|
-
path: _path2 + ".filter",
|
|
2383
|
-
expected: "(TermFilter | undefined)",
|
|
2384
|
-
value: input3.filter
|
|
2385
|
-
})) && $vo23(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2386
|
-
path: _path2 + ".filter",
|
|
2387
|
-
expected: "(TermFilter | undefined)",
|
|
2388
|
-
value: input3.filter
|
|
2389
2287
|
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
2390
2288
|
path: _path2 + ".kind",
|
|
2391
2289
|
expected: '"gene"',
|
|
@@ -2408,14 +2306,30 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2408
2306
|
value: input3.stop
|
|
2409
2307
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2410
2308
|
path: _path2 + ".groupsetting",
|
|
2411
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2309
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
2412
2310
|
value: input3.groupsetting
|
|
2413
2311
|
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2414
2312
|
path: _path2 + ".groupsetting",
|
|
2415
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2313
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
2416
2314
|
value: input3.groupsetting
|
|
2315
|
+
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
2316
|
+
path: _path2 + ".childTerms",
|
|
2317
|
+
expected: "Array<DtTerm>",
|
|
2318
|
+
value: input3.childTerms
|
|
2319
|
+
})) && input3.childTerms.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2320
|
+
path: _path2 + ".childTerms[" + _index32 + "]",
|
|
2321
|
+
expected: "DtTerm",
|
|
2322
|
+
value: elem
|
|
2323
|
+
})) && $vo36(elem, _path2 + ".childTerms[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2324
|
+
path: _path2 + ".childTerms[" + _index32 + "]",
|
|
2325
|
+
expected: "DtTerm",
|
|
2326
|
+
value: elem
|
|
2327
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2328
|
+
path: _path2 + ".childTerms",
|
|
2329
|
+
expected: "Array<DtTerm>",
|
|
2330
|
+
value: input3.childTerms
|
|
2417
2331
|
})].every((flag) => flag);
|
|
2418
|
-
const $
|
|
2332
|
+
const $vo54 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2419
2333
|
path: _path2 + ".id",
|
|
2420
2334
|
expected: "string",
|
|
2421
2335
|
value: input3.id
|
|
@@ -2467,14 +2381,6 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2467
2381
|
path: _path2 + ".values",
|
|
2468
2382
|
expected: "(TermValues | undefined)",
|
|
2469
2383
|
value: input3.values
|
|
2470
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2471
|
-
path: _path2 + ".filter",
|
|
2472
|
-
expected: "(TermFilter | undefined)",
|
|
2473
|
-
value: input3.filter
|
|
2474
|
-
})) && $vo23(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2475
|
-
path: _path2 + ".filter",
|
|
2476
|
-
expected: "(TermFilter | undefined)",
|
|
2477
|
-
value: input3.filter
|
|
2478
2384
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
2479
2385
|
path: _path2 + ".kind",
|
|
2480
2386
|
expected: '"coord"',
|
|
@@ -2493,14 +2399,30 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2493
2399
|
value: input3.stop
|
|
2494
2400
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2495
2401
|
path: _path2 + ".groupsetting",
|
|
2496
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2402
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
2497
2403
|
value: input3.groupsetting
|
|
2498
2404
|
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2499
2405
|
path: _path2 + ".groupsetting",
|
|
2500
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2406
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
2501
2407
|
value: input3.groupsetting
|
|
2408
|
+
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
2409
|
+
path: _path2 + ".childTerms",
|
|
2410
|
+
expected: "Array<DtTerm>",
|
|
2411
|
+
value: input3.childTerms
|
|
2412
|
+
})) && input3.childTerms.map((elem, _index35) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2413
|
+
path: _path2 + ".childTerms[" + _index35 + "]",
|
|
2414
|
+
expected: "DtTerm",
|
|
2415
|
+
value: elem
|
|
2416
|
+
})) && $vo36(elem, _path2 + ".childTerms[" + _index35 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2417
|
+
path: _path2 + ".childTerms[" + _index35 + "]",
|
|
2418
|
+
expected: "DtTerm",
|
|
2419
|
+
value: elem
|
|
2420
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2421
|
+
path: _path2 + ".childTerms",
|
|
2422
|
+
expected: "Array<DtTerm>",
|
|
2423
|
+
value: input3.childTerms
|
|
2502
2424
|
})].every((flag) => flag);
|
|
2503
|
-
const $
|
|
2425
|
+
const $vo55 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2504
2426
|
path: _path2 + ".id",
|
|
2505
2427
|
expected: "string",
|
|
2506
2428
|
value: input3.id
|
|
@@ -2516,8 +2438,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2516
2438
|
path: _path2 + ".child_types",
|
|
2517
2439
|
expected: "(Array<string> | undefined)",
|
|
2518
2440
|
value: input3.child_types
|
|
2519
|
-
})) && input3.child_types.map((elem,
|
|
2520
|
-
path: _path2 + ".child_types[" +
|
|
2441
|
+
})) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2442
|
+
path: _path2 + ".child_types[" + _index36 + "]",
|
|
2521
2443
|
expected: "string",
|
|
2522
2444
|
value: elem
|
|
2523
2445
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2532,8 +2454,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2532
2454
|
path: _path2 + ".included_types",
|
|
2533
2455
|
expected: "(Array<string> | undefined)",
|
|
2534
2456
|
value: input3.included_types
|
|
2535
|
-
})) && input3.included_types.map((elem,
|
|
2536
|
-
path: _path2 + ".included_types[" +
|
|
2457
|
+
})) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2458
|
+
path: _path2 + ".included_types[" + _index37 + "]",
|
|
2537
2459
|
expected: "string",
|
|
2538
2460
|
value: elem
|
|
2539
2461
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2552,24 +2474,16 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2552
2474
|
path: _path2 + ".values",
|
|
2553
2475
|
expected: "(TermValues | undefined)",
|
|
2554
2476
|
value: input3.values
|
|
2555
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2556
|
-
path: _path2 + ".filter",
|
|
2557
|
-
expected: "(TermFilter | undefined)",
|
|
2558
|
-
value: input3.filter
|
|
2559
|
-
})) && $vo23(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2560
|
-
path: _path2 + ".filter",
|
|
2561
|
-
expected: "(TermFilter | undefined)",
|
|
2562
|
-
value: input3.filter
|
|
2563
2477
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2564
2478
|
path: _path2 + ".groupsetting",
|
|
2565
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2479
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
2566
2480
|
value: input3.groupsetting
|
|
2567
2481
|
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2568
2482
|
path: _path2 + ".groupsetting",
|
|
2569
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2483
|
+
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
2570
2484
|
value: input3.groupsetting
|
|
2571
2485
|
})].every((flag) => flag);
|
|
2572
|
-
const $
|
|
2486
|
+
const $vo56 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2573
2487
|
path: _path2 + ".id",
|
|
2574
2488
|
expected: "string",
|
|
2575
2489
|
value: input3.id
|
|
@@ -2585,8 +2499,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2585
2499
|
path: _path2 + ".child_types",
|
|
2586
2500
|
expected: "(Array<string> | undefined)",
|
|
2587
2501
|
value: input3.child_types
|
|
2588
|
-
})) && input3.child_types.map((elem,
|
|
2589
|
-
path: _path2 + ".child_types[" +
|
|
2502
|
+
})) && input3.child_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2503
|
+
path: _path2 + ".child_types[" + _index38 + "]",
|
|
2590
2504
|
expected: "string",
|
|
2591
2505
|
value: elem
|
|
2592
2506
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2601,8 +2515,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2601
2515
|
path: _path2 + ".included_types",
|
|
2602
2516
|
expected: "(Array<string> | undefined)",
|
|
2603
2517
|
value: input3.included_types
|
|
2604
|
-
})) && input3.included_types.map((elem,
|
|
2605
|
-
path: _path2 + ".included_types[" +
|
|
2518
|
+
})) && input3.included_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2519
|
+
path: _path2 + ".included_types[" + _index39 + "]",
|
|
2606
2520
|
expected: "string",
|
|
2607
2521
|
value: elem
|
|
2608
2522
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2621,19 +2535,11 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2621
2535
|
path: _path2 + ".values",
|
|
2622
2536
|
expected: "(TermValues | undefined)",
|
|
2623
2537
|
value: input3.values
|
|
2624
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2625
|
-
path: _path2 + ".filter",
|
|
2626
|
-
expected: "(TermFilter | undefined)",
|
|
2627
|
-
value: input3.filter
|
|
2628
|
-
})) && $vo23(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2629
|
-
path: _path2 + ".filter",
|
|
2630
|
-
expected: "(TermFilter | undefined)",
|
|
2631
|
-
value: input3.filter
|
|
2632
2538
|
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2633
2539
|
path: _path2 + ".bins",
|
|
2634
2540
|
expected: "PresetNumericBins",
|
|
2635
2541
|
value: input3.bins
|
|
2636
|
-
})) && $
|
|
2542
|
+
})) && $vo24(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2637
2543
|
path: _path2 + ".bins",
|
|
2638
2544
|
expected: "PresetNumericBins",
|
|
2639
2545
|
value: input3.bins
|
|
@@ -2643,14 +2549,14 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2643
2549
|
value: input3.unit
|
|
2644
2550
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2645
2551
|
path: _path2 + ".continuousColorScale",
|
|
2646
|
-
expected: "(__type.
|
|
2552
|
+
expected: "(__type.o5 | undefined)",
|
|
2647
2553
|
value: input3.continuousColorScale
|
|
2648
|
-
})) && $
|
|
2554
|
+
})) && $vo30(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2649
2555
|
path: _path2 + ".continuousColorScale",
|
|
2650
|
-
expected: "(__type.
|
|
2556
|
+
expected: "(__type.o5 | undefined)",
|
|
2651
2557
|
value: input3.continuousColorScale
|
|
2652
2558
|
})].every((flag) => flag);
|
|
2653
|
-
const $
|
|
2559
|
+
const $vo57 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2654
2560
|
path: _path2 + ".id",
|
|
2655
2561
|
expected: "string",
|
|
2656
2562
|
value: input3.id
|
|
@@ -2666,8 +2572,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2666
2572
|
path: _path2 + ".child_types",
|
|
2667
2573
|
expected: "(Array<string> | undefined)",
|
|
2668
2574
|
value: input3.child_types
|
|
2669
|
-
})) && input3.child_types.map((elem,
|
|
2670
|
-
path: _path2 + ".child_types[" +
|
|
2575
|
+
})) && input3.child_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2576
|
+
path: _path2 + ".child_types[" + _index40 + "]",
|
|
2671
2577
|
expected: "string",
|
|
2672
2578
|
value: elem
|
|
2673
2579
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2682,8 +2588,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2682
2588
|
path: _path2 + ".included_types",
|
|
2683
2589
|
expected: "(Array<string> | undefined)",
|
|
2684
2590
|
value: input3.included_types
|
|
2685
|
-
})) && input3.included_types.map((elem,
|
|
2686
|
-
path: _path2 + ".included_types[" +
|
|
2591
|
+
})) && input3.included_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2592
|
+
path: _path2 + ".included_types[" + _index41 + "]",
|
|
2687
2593
|
expected: "string",
|
|
2688
2594
|
value: elem
|
|
2689
2595
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2702,16 +2608,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2702
2608
|
path: _path2 + ".values",
|
|
2703
2609
|
expected: "(TermValues | undefined)",
|
|
2704
2610
|
value: input3.values
|
|
2705
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2706
|
-
path: _path2 + ".filter",
|
|
2707
|
-
expected: "(TermFilter | undefined)",
|
|
2708
|
-
value: input3.filter
|
|
2709
|
-
})) && $vo23(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2710
|
-
path: _path2 + ".filter",
|
|
2711
|
-
expected: "(TermFilter | undefined)",
|
|
2712
|
-
value: input3.filter
|
|
2713
2611
|
})].every((flag) => flag);
|
|
2714
|
-
const $
|
|
2612
|
+
const $vo58 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2715
2613
|
path: _path2 + ".id",
|
|
2716
2614
|
expected: "string",
|
|
2717
2615
|
value: input3.id
|
|
@@ -2727,8 +2625,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2727
2625
|
path: _path2 + ".child_types",
|
|
2728
2626
|
expected: "(Array<string> | undefined)",
|
|
2729
2627
|
value: input3.child_types
|
|
2730
|
-
})) && input3.child_types.map((elem,
|
|
2731
|
-
path: _path2 + ".child_types[" +
|
|
2628
|
+
})) && input3.child_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2629
|
+
path: _path2 + ".child_types[" + _index42 + "]",
|
|
2732
2630
|
expected: "string",
|
|
2733
2631
|
value: elem
|
|
2734
2632
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2743,8 +2641,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2743
2641
|
path: _path2 + ".included_types",
|
|
2744
2642
|
expected: "(Array<string> | undefined)",
|
|
2745
2643
|
value: input3.included_types
|
|
2746
|
-
})) && input3.included_types.map((elem,
|
|
2747
|
-
path: _path2 + ".included_types[" +
|
|
2644
|
+
})) && input3.included_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2645
|
+
path: _path2 + ".included_types[" + _index43 + "]",
|
|
2748
2646
|
expected: "string",
|
|
2749
2647
|
value: elem
|
|
2750
2648
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2763,14 +2661,6 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2763
2661
|
path: _path2 + ".values",
|
|
2764
2662
|
expected: "(TermValues | undefined)",
|
|
2765
2663
|
value: input3.values
|
|
2766
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2767
|
-
path: _path2 + ".filter",
|
|
2768
|
-
expected: "(TermFilter | undefined)",
|
|
2769
|
-
value: input3.filter
|
|
2770
|
-
})) && $vo23(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2771
|
-
path: _path2 + ".filter",
|
|
2772
|
-
expected: "(TermFilter | undefined)",
|
|
2773
|
-
value: input3.filter
|
|
2774
2664
|
}), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
|
|
2775
2665
|
path: _path2 + ".reachedVariantLimit",
|
|
2776
2666
|
expected: "(boolean | undefined)",
|
|
@@ -2779,12 +2669,12 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2779
2669
|
path: _path2 + ".snps",
|
|
2780
2670
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2781
2671
|
value: input3.snps
|
|
2782
|
-
})) && input3.snps.map((elem,
|
|
2783
|
-
path: _path2 + ".snps[" +
|
|
2672
|
+
})) && input3.snps.map((elem, _index44) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2673
|
+
path: _path2 + ".snps[" + _index44 + "]",
|
|
2784
2674
|
expected: "SnpsEntry",
|
|
2785
2675
|
value: elem
|
|
2786
|
-
})) && $
|
|
2787
|
-
path: _path2 + ".snps[" +
|
|
2676
|
+
})) && $vo49(elem, _path2 + ".snps[" + _index44 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2677
|
+
path: _path2 + ".snps[" + _index44 + "]",
|
|
2788
2678
|
expected: "SnpsEntry",
|
|
2789
2679
|
value: elem
|
|
2790
2680
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2792,7 +2682,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2792
2682
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2793
2683
|
value: input3.snps
|
|
2794
2684
|
})].every((flag) => flag);
|
|
2795
|
-
const $
|
|
2685
|
+
const $vo59 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2796
2686
|
path: _path2 + ".id",
|
|
2797
2687
|
expected: "string",
|
|
2798
2688
|
value: input3.id
|
|
@@ -2808,8 +2698,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2808
2698
|
path: _path2 + ".child_types",
|
|
2809
2699
|
expected: "(Array<string> | undefined)",
|
|
2810
2700
|
value: input3.child_types
|
|
2811
|
-
})) && input3.child_types.map((elem,
|
|
2812
|
-
path: _path2 + ".child_types[" +
|
|
2701
|
+
})) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2702
|
+
path: _path2 + ".child_types[" + _index45 + "]",
|
|
2813
2703
|
expected: "string",
|
|
2814
2704
|
value: elem
|
|
2815
2705
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2824,8 +2714,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2824
2714
|
path: _path2 + ".included_types",
|
|
2825
2715
|
expected: "(Array<string> | undefined)",
|
|
2826
2716
|
value: input3.included_types
|
|
2827
|
-
})) && input3.included_types.map((elem,
|
|
2828
|
-
path: _path2 + ".included_types[" +
|
|
2717
|
+
})) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2718
|
+
path: _path2 + ".included_types[" + _index46 + "]",
|
|
2829
2719
|
expected: "string",
|
|
2830
2720
|
value: elem
|
|
2831
2721
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2840,20 +2730,12 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2840
2730
|
path: _path2 + ".values",
|
|
2841
2731
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
2842
2732
|
value: input3.values
|
|
2843
|
-
})) && $
|
|
2733
|
+
})) && $vo60(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2844
2734
|
path: _path2 + ".values",
|
|
2845
2735
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
2846
2736
|
value: input3.values
|
|
2847
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2848
|
-
path: _path2 + ".filter",
|
|
2849
|
-
expected: "(TermFilter | undefined)",
|
|
2850
|
-
value: input3.filter
|
|
2851
|
-
})) && $vo23(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2852
|
-
path: _path2 + ".filter",
|
|
2853
|
-
expected: "(TermFilter | undefined)",
|
|
2854
|
-
value: input3.filter
|
|
2855
2737
|
})].every((flag) => flag);
|
|
2856
|
-
const $
|
|
2738
|
+
const $vo60 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2857
2739
|
const value = input3[key];
|
|
2858
2740
|
if (void 0 === value)
|
|
2859
2741
|
return true;
|
|
@@ -2862,7 +2744,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2862
2744
|
path: _path2 + $join(key),
|
|
2863
2745
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2864
2746
|
value
|
|
2865
|
-
})) && $
|
|
2747
|
+
})) && $vo61(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2866
2748
|
path: _path2 + $join(key),
|
|
2867
2749
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2868
2750
|
value
|
|
@@ -2872,14 +2754,14 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2872
2754
|
path: _path2 + $join(key),
|
|
2873
2755
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2874
2756
|
value
|
|
2875
|
-
})) && $
|
|
2757
|
+
})) && $vo61(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2876
2758
|
path: _path2 + $join(key),
|
|
2877
2759
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2878
2760
|
value
|
|
2879
2761
|
});
|
|
2880
2762
|
return true;
|
|
2881
2763
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2882
|
-
const $
|
|
2764
|
+
const $vo61 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
2883
2765
|
path: _path2 + ".key",
|
|
2884
2766
|
expected: "(string | undefined)",
|
|
2885
2767
|
value: input3.key
|
|
@@ -2907,7 +2789,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2907
2789
|
path: _path2 + ".filter",
|
|
2908
2790
|
expected: "(Filter | undefined)",
|
|
2909
2791
|
value: input3.filter
|
|
2910
|
-
})) && $
|
|
2792
|
+
})) && $vo13(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2911
2793
|
path: _path2 + ".filter",
|
|
2912
2794
|
expected: "(Filter | undefined)",
|
|
2913
2795
|
value: input3.filter
|
|
@@ -2923,20 +2805,20 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2923
2805
|
path: _path2 + ".list",
|
|
2924
2806
|
expected: "Array<__type>.o4",
|
|
2925
2807
|
value: input3.list
|
|
2926
|
-
})) && input3.list.map((elem,
|
|
2927
|
-
path: _path2 + ".list[" +
|
|
2928
|
-
expected: "__type.
|
|
2808
|
+
})) && input3.list.map((elem, _index47) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2809
|
+
path: _path2 + ".list[" + _index47 + "]",
|
|
2810
|
+
expected: "__type.o10",
|
|
2929
2811
|
value: elem
|
|
2930
|
-
})) && $
|
|
2931
|
-
path: _path2 + ".list[" +
|
|
2932
|
-
expected: "__type.
|
|
2812
|
+
})) && $vo62(elem, _path2 + ".list[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2813
|
+
path: _path2 + ".list[" + _index47 + "]",
|
|
2814
|
+
expected: "__type.o10",
|
|
2933
2815
|
value: elem
|
|
2934
2816
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2935
2817
|
path: _path2 + ".list",
|
|
2936
2818
|
expected: "Array<__type>.o4",
|
|
2937
2819
|
value: input3.list
|
|
2938
2820
|
}), true].every((flag) => flag);
|
|
2939
|
-
const $
|
|
2821
|
+
const $vo62 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
2940
2822
|
path: _path2 + ".sampleId",
|
|
2941
2823
|
expected: "string",
|
|
2942
2824
|
value: input3.sampleId
|
|
@@ -2945,7 +2827,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2945
2827
|
expected: "string",
|
|
2946
2828
|
value: input3.sample
|
|
2947
2829
|
})].every((flag) => flag);
|
|
2948
|
-
const $
|
|
2830
|
+
const $vo63 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2949
2831
|
path: _path2 + ".hiddenValues",
|
|
2950
2832
|
expected: "(HiddenValues | undefined)",
|
|
2951
2833
|
value: input3.hiddenValues
|
|
@@ -2974,7 +2856,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2974
2856
|
expected: '("custom-bin" | "custom-groupset" | "custom-samplelst" | "filter" | "predefined-groupset" | "regular-bin" | "values" | undefined)',
|
|
2975
2857
|
value: input3.type
|
|
2976
2858
|
})].every((flag) => flag);
|
|
2977
|
-
const $
|
|
2859
|
+
const $vo64 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2978
2860
|
path: _path2 + ".hiddenValues",
|
|
2979
2861
|
expected: "(HiddenValues | undefined)",
|
|
2980
2862
|
value: input3.hiddenValues
|
|
@@ -3014,8 +2896,8 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3014
2896
|
path: _path2 + ".breaks",
|
|
3015
2897
|
expected: "(Array<number> | undefined)",
|
|
3016
2898
|
value: input3.breaks
|
|
3017
|
-
})) && input3.breaks.map((elem,
|
|
3018
|
-
path: _path2 + ".breaks[" +
|
|
2899
|
+
})) && input3.breaks.map((elem, _index48) => "number" === typeof elem || $report(_exceptionable2, {
|
|
2900
|
+
path: _path2 + ".breaks[" + _index48 + "]",
|
|
3019
2901
|
expected: "number",
|
|
3020
2902
|
value: elem
|
|
3021
2903
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3039,7 +2921,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3039
2921
|
expected: "(boolean | undefined)",
|
|
3040
2922
|
value: input3.value_by_computable_grade
|
|
3041
2923
|
}), true].every((flag) => flag);
|
|
3042
|
-
const $
|
|
2924
|
+
const $vo65 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3043
2925
|
path: _path2 + ".hiddenValues",
|
|
3044
2926
|
expected: "(HiddenValues | undefined)",
|
|
3045
2927
|
value: input3.hiddenValues
|
|
@@ -3071,38 +2953,38 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3071
2953
|
path: _path2 + ".groups",
|
|
3072
2954
|
expected: "SampleLstTermValues",
|
|
3073
2955
|
value: input3.groups
|
|
3074
|
-
})) && $
|
|
2956
|
+
})) && $vo66(input3.groups, _path2 + ".groups", _exceptionable2) || $report(_exceptionable2, {
|
|
3075
2957
|
path: _path2 + ".groups",
|
|
3076
2958
|
expected: "SampleLstTermValues",
|
|
3077
2959
|
value: input3.groups
|
|
3078
2960
|
})].every((flag) => flag);
|
|
3079
|
-
const $
|
|
2961
|
+
const $vo66 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3080
2962
|
const value = input3[key];
|
|
3081
2963
|
if (void 0 === value)
|
|
3082
2964
|
return true;
|
|
3083
2965
|
if (RegExp(/(.*)/).test(key))
|
|
3084
2966
|
return ("object" === typeof value && null !== value || $report(_exceptionable2, {
|
|
3085
2967
|
path: _path2 + $join(key),
|
|
3086
|
-
expected: "__type.
|
|
2968
|
+
expected: "__type.o11",
|
|
3087
2969
|
value
|
|
3088
|
-
})) && $
|
|
2970
|
+
})) && $vo67(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3089
2971
|
path: _path2 + $join(key),
|
|
3090
|
-
expected: "__type.
|
|
2972
|
+
expected: "__type.o11",
|
|
3091
2973
|
value
|
|
3092
2974
|
});
|
|
3093
2975
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
3094
2976
|
return ("object" === typeof value && null !== value || $report(_exceptionable2, {
|
|
3095
2977
|
path: _path2 + $join(key),
|
|
3096
|
-
expected: "__type.
|
|
2978
|
+
expected: "__type.o11",
|
|
3097
2979
|
value
|
|
3098
|
-
})) && $
|
|
2980
|
+
})) && $vo67(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3099
2981
|
path: _path2 + $join(key),
|
|
3100
|
-
expected: "__type.
|
|
2982
|
+
expected: "__type.o11",
|
|
3101
2983
|
value
|
|
3102
2984
|
});
|
|
3103
2985
|
return true;
|
|
3104
2986
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3105
|
-
const $
|
|
2987
|
+
const $vo67 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
3106
2988
|
path: _path2 + ".name",
|
|
3107
2989
|
expected: "string",
|
|
3108
2990
|
value: input3.name
|
|
@@ -3114,13 +2996,13 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3114
2996
|
path: _path2 + ".list",
|
|
3115
2997
|
expected: "Array<__type>.o4",
|
|
3116
2998
|
value: input3.list
|
|
3117
|
-
})) && input3.list.map((elem,
|
|
3118
|
-
path: _path2 + ".list[" +
|
|
3119
|
-
expected: "__type.
|
|
2999
|
+
})) && input3.list.map((elem, _index49) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3000
|
+
path: _path2 + ".list[" + _index49 + "]",
|
|
3001
|
+
expected: "__type.o10",
|
|
3120
3002
|
value: elem
|
|
3121
|
-
})) && $
|
|
3122
|
-
path: _path2 + ".list[" +
|
|
3123
|
-
expected: "__type.
|
|
3003
|
+
})) && $vo62(elem, _path2 + ".list[" + _index49 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3004
|
+
path: _path2 + ".list[" + _index49 + "]",
|
|
3005
|
+
expected: "__type.o10",
|
|
3124
3006
|
value: elem
|
|
3125
3007
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3126
3008
|
path: _path2 + ".list",
|
|
@@ -3140,27 +3022,27 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3140
3022
|
})();
|
|
3141
3023
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3142
3024
|
if ("tvslst" === input3.type)
|
|
3143
|
-
return $
|
|
3025
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
3144
3026
|
if ("tvs" === input3.type)
|
|
3145
|
-
return $
|
|
3027
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
3146
3028
|
return $report(_exceptionable2, {
|
|
3147
3029
|
path: _path2,
|
|
3148
|
-
expected: "(Filter | __type.
|
|
3030
|
+
expected: "(Filter | __type.o3)",
|
|
3149
3031
|
value: input3
|
|
3150
3032
|
});
|
|
3151
3033
|
})();
|
|
3152
3034
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3153
3035
|
if (true === input3.startunbounded)
|
|
3154
|
-
return $
|
|
3036
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
3155
3037
|
if (true === input3.stopunbounded)
|
|
3156
|
-
return $
|
|
3157
|
-
return $
|
|
3038
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
3039
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
3158
3040
|
})();
|
|
3159
3041
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3160
3042
|
if (true === input3.startunbounded)
|
|
3161
|
-
return $
|
|
3043
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
3162
3044
|
if (void 0 !== input3.start)
|
|
3163
|
-
return $
|
|
3045
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
3164
3046
|
return $report(_exceptionable2, {
|
|
3165
3047
|
path: _path2,
|
|
3166
3048
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
@@ -3169,9 +3051,9 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3169
3051
|
})();
|
|
3170
3052
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3171
3053
|
if (void 0 !== input3.stop)
|
|
3172
|
-
return $
|
|
3054
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
3173
3055
|
if (true === input3.stopunbounded)
|
|
3174
|
-
return $
|
|
3056
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
3175
3057
|
return $report(_exceptionable2, {
|
|
3176
3058
|
path: _path2,
|
|
3177
3059
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
@@ -3181,7 +3063,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3181
3063
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3182
3064
|
if (void 0 !== input3.type)
|
|
3183
3065
|
return $vo2(input3, _path2, _exceptionable2);
|
|
3184
|
-
return $
|
|
3066
|
+
return $vo52(input3, _path2, false) || $vo45(input3, _path2, false) || $vo40(input3, _path2, false);
|
|
3185
3067
|
})();
|
|
3186
3068
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3187
3069
|
if ("values" === input3.type)
|
|
@@ -3193,58 +3075,58 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3193
3075
|
return $vo6(input3, _path2, _exceptionable2);
|
|
3194
3076
|
})();
|
|
3195
3077
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3196
|
-
if (
|
|
3197
|
-
return $
|
|
3198
|
-
|
|
3199
|
-
return $vo42(input3, _path2, _exceptionable2);
|
|
3200
|
-
return $report(_exceptionable2, {
|
|
3201
|
-
path: _path2,
|
|
3202
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; })',
|
|
3203
|
-
value: input3
|
|
3204
|
-
});
|
|
3078
|
+
if (void 0 !== input3.ranges)
|
|
3079
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
3080
|
+
return $vo15(input3, _path2, false) || $vo32(input3, _path2, false) || $vo35(input3, _path2, false);
|
|
3205
3081
|
})();
|
|
3206
3082
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3207
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
3208
|
-
return $
|
|
3209
|
-
return $
|
|
3083
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index50) => "object" === typeof elem && null !== elem && $vo20(elem, _path2 + ".lst[" + _index50 + "]", false)).every((flag) => flag))
|
|
3084
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
3085
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
3210
3086
|
})();
|
|
3211
3087
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3212
|
-
if (void 0 !== input3.ranges)
|
|
3213
|
-
return $vo27(input3, _path2, _exceptionable2);
|
|
3214
|
-
return $vo21(input3, _path2, false) || $vo37(input3, _path2, false) || $vo40(input3, _path2, false);
|
|
3215
|
-
})();
|
|
3216
|
-
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3217
3088
|
if ("regular-bin" === input3.type)
|
|
3218
|
-
return $
|
|
3089
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
3219
3090
|
if ("custom-bin" === input3.type)
|
|
3220
|
-
return $
|
|
3091
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
3221
3092
|
return $report(_exceptionable2, {
|
|
3222
3093
|
path: _path2,
|
|
3223
3094
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
3224
3095
|
value: input3
|
|
3225
3096
|
});
|
|
3226
3097
|
})();
|
|
3098
|
+
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3099
|
+
if ("gene" === input3.kind)
|
|
3100
|
+
return $vo37(input3, _path2, _exceptionable2);
|
|
3101
|
+
if ("coord" === input3.kind)
|
|
3102
|
+
return $vo38(input3, _path2, _exceptionable2);
|
|
3103
|
+
return $report(_exceptionable2, {
|
|
3104
|
+
path: _path2,
|
|
3105
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|
|
3106
|
+
value: input3
|
|
3107
|
+
});
|
|
3108
|
+
})();
|
|
3227
3109
|
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3228
3110
|
if ("regular-bin" === input3.type)
|
|
3229
|
-
return $
|
|
3111
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
3230
3112
|
if ("continuous" === input3.mode)
|
|
3231
|
-
return $
|
|
3113
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
3232
3114
|
if ("spline" === input3.mode)
|
|
3233
|
-
return $
|
|
3234
|
-
return $
|
|
3115
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
3116
|
+
return $vo29(input3, _path2, false) || $vo41(input3, _path2, false);
|
|
3235
3117
|
})();
|
|
3236
3118
|
const $vu12 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3237
3119
|
if ("gene" === input3.kind)
|
|
3238
|
-
return $
|
|
3120
|
+
return $vo53(input3, _path2, _exceptionable2);
|
|
3239
3121
|
if ("coord" === input3.kind)
|
|
3240
|
-
return $
|
|
3122
|
+
return $vo54(input3, _path2, _exceptionable2);
|
|
3241
3123
|
if ("categorical" === input3.type)
|
|
3242
|
-
return $
|
|
3124
|
+
return $vo55(input3, _path2, _exceptionable2);
|
|
3243
3125
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
3244
|
-
return $
|
|
3126
|
+
return $vo56(input3, _path2, _exceptionable2);
|
|
3245
3127
|
if ("condition" === input3.type)
|
|
3246
|
-
return $
|
|
3247
|
-
return $
|
|
3128
|
+
return $vo57(input3, _path2, _exceptionable2);
|
|
3129
|
+
return $vo58(input3, _path2, false) || $vo59(input3, _path2, false);
|
|
3248
3130
|
})();
|
|
3249
3131
|
const $vu13 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3250
3132
|
if (void 0 !== input3.predefined_groupset_idx)
|
|
@@ -3252,17 +3134,17 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3252
3134
|
if (void 0 !== input3.customset)
|
|
3253
3135
|
return $vo8(input3, _path2, _exceptionable2);
|
|
3254
3136
|
if (void 0 !== input3.bin_size)
|
|
3255
|
-
return $
|
|
3137
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
3256
3138
|
if (void 0 !== input3.knots)
|
|
3257
|
-
return $
|
|
3139
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
3258
3140
|
if (void 0 !== input3.AFcutoff)
|
|
3259
|
-
return $
|
|
3141
|
+
return $vo46(input3, _path2, _exceptionable2);
|
|
3260
3142
|
if (void 0 !== input3.timeScale)
|
|
3261
|
-
return $
|
|
3143
|
+
return $vo64(input3, _path2, _exceptionable2);
|
|
3262
3144
|
return (() => {
|
|
3263
3145
|
if (void 0 !== input3.groups)
|
|
3264
|
-
return $
|
|
3265
|
-
return $vo6(input3, _path2, false) || $
|
|
3146
|
+
return $vo65(input3, _path2, _exceptionable2);
|
|
3147
|
+
return $vo6(input3, _path2, false) || $vo63(input3, _path2, false) || $vo4(input3, _path2, false) || $vo29(input3, _path2, false) || $vo41(input3, _path2, false) || $vo42(input3, _path2, false);
|
|
3266
3148
|
})();
|
|
3267
3149
|
})();
|
|
3268
3150
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|