@sjcrh/proteinpaint-types 2.128.0 → 2.128.3-bd2a3a1c9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/brainImaging.js +1 -1
- package/dist/{chunk-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/dataset.ts +18 -5
- 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
|
@@ -58,8 +58,8 @@ var validCategoriesRequest = (input) => {
|
|
|
58
58
|
const errors = [];
|
|
59
59
|
const __is = (input2) => {
|
|
60
60
|
const $join = import_typia.createValidate.join;
|
|
61
|
-
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && ("object" === typeof input3.tw && null !== input3.tw && $iu5(input3.tw)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $
|
|
62
|
-
const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu6(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $
|
|
61
|
+
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && ("object" === typeof input3.tw && null !== input3.tw && $iu5(input3.tw)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io12(input3.filter)) && (void 0 === input3.currentGeneNames || Array.isArray(input3.currentGeneNames) && input3.currentGeneNames.every((elem) => "string" === typeof elem)) && true;
|
|
62
|
+
const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu6(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io15(input3.term));
|
|
63
63
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
64
64
|
const value = input3[key];
|
|
65
65
|
if (void 0 === value)
|
|
@@ -84,10 +84,10 @@ var validCategoriesRequest = (input) => {
|
|
|
84
84
|
const $io9 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io10(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
85
85
|
const $io10 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
86
86
|
const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io12(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
87
|
-
const $io12 = (input3) => "
|
|
88
|
-
const $io13 = (input3) =>
|
|
89
|
-
const $io14 = (input3) =>
|
|
90
|
-
const $io15 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
87
|
+
const $io12 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
88
|
+
const $io13 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu7(input3.tvs));
|
|
89
|
+
const $io14 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io15(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io17(elem)));
|
|
90
|
+
const $io15 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting));
|
|
91
91
|
const $io16 = (input3) => Object.keys(input3).every((key) => {
|
|
92
92
|
const value = input3[key];
|
|
93
93
|
if (void 0 === value)
|
|
@@ -98,77 +98,74 @@ var validCategoriesRequest = (input) => {
|
|
|
98
98
|
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io17(value);
|
|
99
99
|
return true;
|
|
100
100
|
});
|
|
101
|
-
const $io17 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $
|
|
102
|
-
const $io18 = (input3) =>
|
|
103
|
-
const $io19 = (input3) => "
|
|
104
|
-
const $io20 = (input3) =>
|
|
105
|
-
const $io21 = (input3) =>
|
|
106
|
-
const $io22 = (input3) => "
|
|
107
|
-
const $io23 = (input3) => (void 0 === input3.
|
|
108
|
-
const $io24 = (input3) => "
|
|
109
|
-
const $io25 = (input3) => "
|
|
110
|
-
const $io26 = (input3) => (void 0 === input3.
|
|
111
|
-
const $io27 = (input3) => "
|
|
112
|
-
const $io28 = (input3) => "object" === typeof input3
|
|
113
|
-
const $io29 = (input3) =>
|
|
114
|
-
const $io30 = (input3) =>
|
|
115
|
-
const $io31 = (input3) => (void 0 === input3.
|
|
116
|
-
const $io32 = (input3) => "
|
|
117
|
-
const $io33 = (input3) =>
|
|
118
|
-
const $io34 = (input3) => "string" === typeof input3.
|
|
119
|
-
const $io35 = (input3) => "string" === typeof input3.
|
|
120
|
-
const $io36 = (input3) => (void 0 === input3.
|
|
121
|
-
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
122
|
-
const $io38 = (input3) => "
|
|
123
|
-
const $io39 = (input3) => (void 0 === input3.
|
|
124
|
-
const $io40 = (input3) => "
|
|
125
|
-
const $io41 = (input3) =>
|
|
126
|
-
const $io42 = (input3) => (void 0 === input3.
|
|
127
|
-
const $io43 = (input3) =>
|
|
128
|
-
const $io44 = (input3) => (void 0 === input3.
|
|
129
|
-
const $io45 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic ||
|
|
130
|
-
const $io46 = (input3) => "
|
|
131
|
-
const $io47 = (input3) => (void 0 === input3.
|
|
132
|
-
const $io48 = (input3) => (void 0 === input3.
|
|
133
|
-
const $io49 = (input3) => "string" === typeof input3.
|
|
134
|
-
const $io50 = (input3) => "string" === typeof input3.
|
|
135
|
-
const $io51 = (input3) => (void 0 === input3.
|
|
136
|
-
const $io52 = (input3) => "string" === typeof input3.
|
|
137
|
-
const $io53 = (input3) => "string" === typeof input3.
|
|
138
|
-
const $io54 = (input3) =>
|
|
139
|
-
const $io55 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
140
|
-
const $io56 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
141
|
-
const $io57 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
142
|
-
const $io58 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name &&
|
|
143
|
-
const $io59 = (input3) =>
|
|
144
|
-
const $io60 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io22(input3.filter)) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io51(elem)));
|
|
145
|
-
const $io61 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io62(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io22(input3.filter));
|
|
146
|
-
const $io62 = (input3) => Object.keys(input3).every((key) => {
|
|
101
|
+
const $io17 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io12(input3.filter));
|
|
102
|
+
const $io18 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io19(elem)));
|
|
103
|
+
const $io19 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.id || "string" === typeof input3.id) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
104
|
+
const $io20 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
105
|
+
const $io21 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io22(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
|
|
106
|
+
const $io22 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io29(input3.continuousColorScale));
|
|
107
|
+
const $io23 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu9(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu9(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
108
|
+
const $io24 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu3(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu4(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
109
|
+
const $io25 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
110
|
+
const $io26 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
111
|
+
const $io27 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
112
|
+
const $io28 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
113
|
+
const $io29 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
114
|
+
const $io30 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
115
|
+
const $io31 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io32(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
|
|
116
|
+
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values));
|
|
117
|
+
const $io33 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
|
|
118
|
+
const $io34 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io35(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
|
|
119
|
+
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu10(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values));
|
|
120
|
+
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
|
|
121
|
+
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
|
|
122
|
+
const $io38 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
123
|
+
const $io39 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $io22(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $iu11(input3.q));
|
|
124
|
+
const $io40 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "binary" === input3.mode && "custom-bin" === input3.type && (Array.isArray(input3.lst) && (input3.lst.length === 2 && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu3(input3.lst[0])) && ("object" === typeof input3.lst[1] && null !== input3.lst[1] && $iu4(input3.lst[1]))));
|
|
125
|
+
const $io41 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "continuous" === input3.mode && (void 0 === input3.convert2ZScore || "boolean" === typeof input3.convert2ZScore) && (null !== input3.type && void 0 === input3.type);
|
|
126
|
+
const $io42 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "spline" === input3.mode && (Array.isArray(input3.knots) && input3.knots.every((elem) => "object" === typeof elem && null !== elem && $io43(elem))) && (null !== input3.type && void 0 === input3.type);
|
|
127
|
+
const $io43 = (input3) => "number" === typeof input3.value;
|
|
128
|
+
const $io44 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.q && null !== input3.q && $io45(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io47(input3.term));
|
|
129
|
+
const $io45 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type) && "number" === typeof input3.AFcutoff && "number" === typeof input3.alleleType && "string" === typeof input3.cacheid && true && "number" === typeof input3.geneticModel && true && (void 0 === input3.missingGenotype || "number" === typeof input3.missingGenotype) && "number" === typeof input3.numOfSampleWithAnyValidGT && ("object" === typeof input3.restrictAncestry && null !== input3.restrictAncestry && $io46(input3.restrictAncestry)) && true && true && ("object" === typeof input3.variant_filter && null !== input3.variant_filter && $io12(input3.variant_filter)) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
130
|
+
const $io46 = (input3) => "string" === typeof input3.name && ("object" === typeof input3.tvs && null !== input3.tvs && $iu7(input3.tvs));
|
|
131
|
+
const $io47 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io48(elem)));
|
|
132
|
+
const $io48 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io49(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io50(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
|
|
133
|
+
const $io49 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
134
|
+
const $io50 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
135
|
+
const $io51 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $iu12(input3.term)) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu13(input3.q));
|
|
136
|
+
const $io52 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
|
|
137
|
+
const $io53 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
|
|
138
|
+
const $io54 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting));
|
|
139
|
+
const $io55 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io29(input3.continuousColorScale));
|
|
140
|
+
const $io56 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values));
|
|
141
|
+
const $io57 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io48(elem)));
|
|
142
|
+
const $io58 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io59(input3.values));
|
|
143
|
+
const $io59 = (input3) => Object.keys(input3).every((key) => {
|
|
147
144
|
const value = input3[key];
|
|
148
145
|
if (void 0 === value)
|
|
149
146
|
return true;
|
|
150
147
|
if (RegExp(/(.*)/).test(key))
|
|
151
|
-
return "object" === typeof value && null !== value && $
|
|
148
|
+
return "object" === typeof value && null !== value && $io60(value);
|
|
152
149
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
153
|
-
return "object" === typeof value && null !== value && $
|
|
150
|
+
return "object" === typeof value && null !== value && $io60(value);
|
|
154
151
|
return true;
|
|
155
152
|
});
|
|
156
|
-
const $
|
|
157
|
-
const $
|
|
158
|
-
const $
|
|
159
|
-
const $
|
|
160
|
-
const $
|
|
161
|
-
const $
|
|
153
|
+
const $io60 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io12(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io61(elem))) && true;
|
|
154
|
+
const $io61 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
155
|
+
const $io62 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type);
|
|
156
|
+
const $io63 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && ("age" === input3.timeScale || "time" === input3.timeScale) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && true;
|
|
157
|
+
const $io64 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type) && ("object" === typeof input3.groups && null !== input3.groups && false === Array.isArray(input3.groups) && $io65(input3.groups));
|
|
158
|
+
const $io65 = (input3) => Object.keys(input3).every((key) => {
|
|
162
159
|
const value = input3[key];
|
|
163
160
|
if (void 0 === value)
|
|
164
161
|
return true;
|
|
165
162
|
if (RegExp(/(.*)/).test(key))
|
|
166
|
-
return "object" === typeof value && null !== value && $
|
|
163
|
+
return "object" === typeof value && null !== value && $io66(value);
|
|
167
164
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
168
|
-
return "object" === typeof value && null !== value && $
|
|
165
|
+
return "object" === typeof value && null !== value && $io66(value);
|
|
169
166
|
return true;
|
|
170
167
|
});
|
|
171
|
-
const $
|
|
168
|
+
const $io66 = (input3) => "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io61(elem))) && true;
|
|
172
169
|
const $iu0 = (input3) => (() => {
|
|
173
170
|
if ("string" === typeof input3.type)
|
|
174
171
|
return $io9(input3);
|
|
@@ -178,42 +175,42 @@ var validCategoriesRequest = (input) => {
|
|
|
178
175
|
})();
|
|
179
176
|
const $iu1 = (input3) => (() => {
|
|
180
177
|
if ("tvslst" === input3.type)
|
|
181
|
-
return $
|
|
178
|
+
return $io12(input3);
|
|
182
179
|
if ("tvs" === input3.type)
|
|
183
|
-
return $
|
|
180
|
+
return $io13(input3);
|
|
184
181
|
return false;
|
|
185
182
|
})();
|
|
186
183
|
const $iu2 = (input3) => (() => {
|
|
187
184
|
if (true === input3.startunbounded)
|
|
188
|
-
return $
|
|
185
|
+
return $io25(input3);
|
|
189
186
|
if (true === input3.stopunbounded)
|
|
190
|
-
return $
|
|
191
|
-
return $
|
|
187
|
+
return $io27(input3);
|
|
188
|
+
return $io26(input3);
|
|
192
189
|
})();
|
|
193
190
|
const $iu3 = (input3) => (() => {
|
|
194
191
|
if (true === input3.startunbounded)
|
|
195
|
-
return $
|
|
192
|
+
return $io25(input3);
|
|
196
193
|
if (void 0 !== input3.start)
|
|
197
|
-
return $
|
|
194
|
+
return $io26(input3);
|
|
198
195
|
return false;
|
|
199
196
|
})();
|
|
200
197
|
const $iu4 = (input3) => (() => {
|
|
201
198
|
if (void 0 !== input3.stop)
|
|
202
|
-
return $
|
|
199
|
+
return $io26(input3);
|
|
203
200
|
if (true === input3.stopunbounded)
|
|
204
|
-
return $
|
|
201
|
+
return $io27(input3);
|
|
205
202
|
return false;
|
|
206
203
|
})();
|
|
207
204
|
const $iu5 = (input3) => (() => {
|
|
208
205
|
if (void 0 !== input3.type)
|
|
209
206
|
return $io1(input3);
|
|
210
207
|
return (() => {
|
|
211
|
-
if ($
|
|
212
|
-
return $
|
|
213
|
-
if ($
|
|
214
|
-
return $
|
|
215
|
-
if ($
|
|
216
|
-
return $
|
|
208
|
+
if ($io51(input3))
|
|
209
|
+
return $io51(input3);
|
|
210
|
+
if ($io44(input3))
|
|
211
|
+
return $io44(input3);
|
|
212
|
+
if ($io39(input3))
|
|
213
|
+
return $io39(input3);
|
|
217
214
|
return false;
|
|
218
215
|
})();
|
|
219
216
|
})();
|
|
@@ -227,68 +224,68 @@ var validCategoriesRequest = (input) => {
|
|
|
227
224
|
return $io5(input3);
|
|
228
225
|
})();
|
|
229
226
|
const $iu7 = (input3) => (() => {
|
|
230
|
-
if ("gene" === input3.kind)
|
|
231
|
-
return $io15(input3);
|
|
232
|
-
if ("coord" === input3.kind)
|
|
233
|
-
return $io41(input3);
|
|
234
|
-
return false;
|
|
235
|
-
})();
|
|
236
|
-
const $iu8 = (input3) => (() => {
|
|
237
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io24(elem)))
|
|
238
|
-
return $io23(input3);
|
|
239
|
-
return $io25(input3);
|
|
240
|
-
})();
|
|
241
|
-
const $iu9 = (input3) => (() => {
|
|
242
227
|
if (void 0 !== input3.ranges)
|
|
243
|
-
return $
|
|
228
|
+
return $io21(input3);
|
|
244
229
|
return (() => {
|
|
245
|
-
if ($
|
|
246
|
-
return $
|
|
247
|
-
if ($
|
|
248
|
-
return $
|
|
249
|
-
if ($
|
|
250
|
-
return $
|
|
230
|
+
if ($io14(input3))
|
|
231
|
+
return $io14(input3);
|
|
232
|
+
if ($io31(input3))
|
|
233
|
+
return $io31(input3);
|
|
234
|
+
if ($io34(input3))
|
|
235
|
+
return $io34(input3);
|
|
251
236
|
return false;
|
|
252
237
|
})();
|
|
253
238
|
})();
|
|
254
|
-
const $
|
|
239
|
+
const $iu8 = (input3) => (() => {
|
|
240
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io19(elem)))
|
|
241
|
+
return $io18(input3);
|
|
242
|
+
return $io20(input3);
|
|
243
|
+
})();
|
|
244
|
+
const $iu9 = (input3) => (() => {
|
|
255
245
|
if ("regular-bin" === input3.type)
|
|
256
|
-
return $
|
|
246
|
+
return $io24(input3);
|
|
257
247
|
if ("custom-bin" === input3.type)
|
|
258
|
-
return $
|
|
248
|
+
return $io28(input3);
|
|
249
|
+
return false;
|
|
250
|
+
})();
|
|
251
|
+
const $iu10 = (input3) => (() => {
|
|
252
|
+
if ("gene" === input3.kind)
|
|
253
|
+
return $io36(input3);
|
|
254
|
+
if ("coord" === input3.kind)
|
|
255
|
+
return $io37(input3);
|
|
259
256
|
return false;
|
|
260
257
|
})();
|
|
261
258
|
const $iu11 = (input3) => (() => {
|
|
262
259
|
if ("regular-bin" === input3.type)
|
|
263
|
-
return $
|
|
260
|
+
return $io24(input3);
|
|
264
261
|
if ("continuous" === input3.mode)
|
|
265
|
-
return $
|
|
262
|
+
return $io41(input3);
|
|
266
263
|
if ("spline" === input3.mode)
|
|
267
|
-
return $
|
|
264
|
+
return $io42(input3);
|
|
268
265
|
return (() => {
|
|
269
|
-
if ($
|
|
270
|
-
return $
|
|
271
|
-
if ($
|
|
272
|
-
return $
|
|
266
|
+
if ($io28(input3))
|
|
267
|
+
return $io28(input3);
|
|
268
|
+
if ($io40(input3))
|
|
269
|
+
return $io40(input3);
|
|
273
270
|
return false;
|
|
274
271
|
})();
|
|
275
272
|
})();
|
|
276
273
|
const $iu12 = (input3) => (() => {
|
|
277
274
|
if ("gene" === input3.kind)
|
|
278
|
-
return $
|
|
275
|
+
return $io52(input3);
|
|
279
276
|
if ("coord" === input3.kind)
|
|
280
|
-
return $
|
|
277
|
+
return $io53(input3);
|
|
281
278
|
if ("categorical" === input3.type)
|
|
282
|
-
return $
|
|
279
|
+
return $io54(input3);
|
|
283
280
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
284
|
-
return $
|
|
281
|
+
return $io55(input3);
|
|
285
282
|
if ("condition" === input3.type)
|
|
286
|
-
return $
|
|
283
|
+
return $io56(input3);
|
|
287
284
|
return (() => {
|
|
288
|
-
if ($
|
|
289
|
-
return $
|
|
290
|
-
if ($
|
|
291
|
-
return $
|
|
285
|
+
if ($io57(input3))
|
|
286
|
+
return $io57(input3);
|
|
287
|
+
if ($io58(input3))
|
|
288
|
+
return $io58(input3);
|
|
292
289
|
return false;
|
|
293
290
|
})();
|
|
294
291
|
})();
|
|
@@ -298,29 +295,29 @@ var validCategoriesRequest = (input) => {
|
|
|
298
295
|
if (void 0 !== input3.customset)
|
|
299
296
|
return $io7(input3);
|
|
300
297
|
if (void 0 !== input3.bin_size)
|
|
301
|
-
return $
|
|
298
|
+
return $io24(input3);
|
|
302
299
|
if (void 0 !== input3.knots)
|
|
303
|
-
return $
|
|
300
|
+
return $io42(input3);
|
|
304
301
|
if (void 0 !== input3.AFcutoff)
|
|
305
|
-
return $
|
|
302
|
+
return $io45(input3);
|
|
306
303
|
if (void 0 !== input3.timeScale)
|
|
307
|
-
return $
|
|
304
|
+
return $io63(input3);
|
|
308
305
|
return (() => {
|
|
309
306
|
if (void 0 !== input3.groups)
|
|
310
|
-
return $
|
|
307
|
+
return $io64(input3);
|
|
311
308
|
return (() => {
|
|
312
309
|
if ($io5(input3))
|
|
313
310
|
return $io5(input3);
|
|
314
|
-
if ($
|
|
315
|
-
return $
|
|
311
|
+
if ($io62(input3))
|
|
312
|
+
return $io62(input3);
|
|
316
313
|
if ($io3(input3))
|
|
317
314
|
return $io3(input3);
|
|
318
|
-
if ($
|
|
319
|
-
return $
|
|
320
|
-
if ($
|
|
321
|
-
return $
|
|
322
|
-
if ($
|
|
323
|
-
return $
|
|
315
|
+
if ($io28(input3))
|
|
316
|
+
return $io28(input3);
|
|
317
|
+
if ($io40(input3))
|
|
318
|
+
return $io40(input3);
|
|
319
|
+
if ($io41(input3))
|
|
320
|
+
return $io41(input3);
|
|
324
321
|
return false;
|
|
325
322
|
})();
|
|
326
323
|
})();
|
|
@@ -355,7 +352,7 @@ var validCategoriesRequest = (input) => {
|
|
|
355
352
|
path: _path2 + ".filter",
|
|
356
353
|
expected: "(Filter | undefined)",
|
|
357
354
|
value: input3.filter
|
|
358
|
-
})) && $
|
|
355
|
+
})) && $vo12(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
359
356
|
path: _path2 + ".filter",
|
|
360
357
|
expected: "(Filter | undefined)",
|
|
361
358
|
value: input3.filter
|
|
@@ -412,7 +409,7 @@ var validCategoriesRequest = (input) => {
|
|
|
412
409
|
path: _path2 + ".term",
|
|
413
410
|
expected: "CategoricalTerm",
|
|
414
411
|
value: input3.term
|
|
415
|
-
})) && $
|
|
412
|
+
})) && $vo15(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
416
413
|
path: _path2 + ".term",
|
|
417
414
|
expected: "CategoricalTerm",
|
|
418
415
|
value: input3.term
|
|
@@ -630,114 +627,98 @@ var validCategoriesRequest = (input) => {
|
|
|
630
627
|
value: input3.type
|
|
631
628
|
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
632
629
|
path: _path2 + ".filter",
|
|
633
|
-
expected: "
|
|
630
|
+
expected: "Filter",
|
|
634
631
|
value: input3.filter
|
|
635
632
|
})) && $vo12(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
636
633
|
path: _path2 + ".filter",
|
|
637
|
-
expected: "
|
|
634
|
+
expected: "Filter",
|
|
638
635
|
value: input3.filter
|
|
639
636
|
}), "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
640
637
|
path: _path2 + ".uncomputable",
|
|
641
638
|
expected: "boolean",
|
|
642
639
|
value: input3.uncomputable
|
|
643
640
|
})].every((flag) => flag);
|
|
644
|
-
const $vo12 = (input3, _path2, _exceptionable2 = true) => [
|
|
645
|
-
path: _path2 + ".
|
|
646
|
-
expected: "
|
|
647
|
-
value: input3.
|
|
648
|
-
})
|
|
649
|
-
path: _path2 + "
|
|
650
|
-
expected: "
|
|
651
|
-
value: input3
|
|
652
|
-
}),
|
|
653
|
-
path: _path2 + ".
|
|
654
|
-
expected: "Array<DtTerm>",
|
|
655
|
-
value: input3.terms
|
|
656
|
-
})) && input3.terms.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
657
|
-
path: _path2 + ".terms[" + _index4 + "]",
|
|
658
|
-
expected: "DtTerm",
|
|
659
|
-
value: elem
|
|
660
|
-
})) && $vo14(elem, _path2 + ".terms[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
661
|
-
path: _path2 + ".terms[" + _index4 + "]",
|
|
662
|
-
expected: "DtTerm",
|
|
663
|
-
value: elem
|
|
664
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
665
|
-
path: _path2 + ".terms",
|
|
666
|
-
expected: "Array<DtTerm>",
|
|
667
|
-
value: input3.terms
|
|
668
|
-
}), ("object" === typeof input3.active && null !== input3.active || $report(_exceptionable2, {
|
|
669
|
-
path: _path2 + ".active",
|
|
670
|
-
expected: "Filter",
|
|
671
|
-
value: input3.active
|
|
672
|
-
})) && $vo18(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
|
|
673
|
-
path: _path2 + ".active",
|
|
674
|
-
expected: "Filter",
|
|
675
|
-
value: input3.active
|
|
676
|
-
}), "number" === typeof input3.group || $report(_exceptionable2, {
|
|
677
|
-
path: _path2 + ".group",
|
|
678
|
-
expected: "number",
|
|
679
|
-
value: input3.group
|
|
680
|
-
})].every((flag) => flag);
|
|
681
|
-
const $vo13 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.joinWith) || $report(_exceptionable2, {
|
|
682
|
-
path: _path2 + ".joinWith",
|
|
683
|
-
expected: "Array<string>",
|
|
684
|
-
value: input3.joinWith
|
|
685
|
-
})) && input3.joinWith.map((elem, _index5) => "string" === typeof elem || $report(_exceptionable2, {
|
|
686
|
-
path: _path2 + ".joinWith[" + _index5 + "]",
|
|
641
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
642
|
+
path: _path2 + ".type",
|
|
643
|
+
expected: '"tvslst"',
|
|
644
|
+
value: input3.type
|
|
645
|
+
}), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
646
|
+
path: _path2 + '["in"]',
|
|
647
|
+
expected: "boolean",
|
|
648
|
+
value: input3["in"]
|
|
649
|
+
}), "string" === typeof input3.join || $report(_exceptionable2, {
|
|
650
|
+
path: _path2 + ".join",
|
|
687
651
|
expected: "string",
|
|
652
|
+
value: input3.join
|
|
653
|
+
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
654
|
+
path: _path2 + ".tag",
|
|
655
|
+
expected: "(string | undefined)",
|
|
656
|
+
value: input3.tag
|
|
657
|
+
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
658
|
+
path: _path2 + ".lst",
|
|
659
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
660
|
+
value: input3.lst
|
|
661
|
+
})) && input3.lst.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
662
|
+
path: _path2 + ".lst[" + _index4 + "]",
|
|
663
|
+
expected: "(Filter | __type.o2)",
|
|
664
|
+
value: elem
|
|
665
|
+
})) && $vu1(elem, _path2 + ".lst[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
666
|
+
path: _path2 + ".lst[" + _index4 + "]",
|
|
667
|
+
expected: "(Filter | __type.o2)",
|
|
688
668
|
value: elem
|
|
689
669
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
690
|
-
path: _path2 + ".
|
|
691
|
-
expected:
|
|
692
|
-
value: input3.
|
|
670
|
+
path: _path2 + ".lst",
|
|
671
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
672
|
+
value: input3.lst
|
|
693
673
|
})].every((flag) => flag);
|
|
694
|
-
const $
|
|
695
|
-
path: _path2 + ".id",
|
|
696
|
-
expected: "string",
|
|
697
|
-
value: input3.id
|
|
698
|
-
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
699
|
-
path: _path2 + ".query",
|
|
700
|
-
expected: "string",
|
|
701
|
-
value: input3.query
|
|
702
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
703
|
-
path: _path2 + ".name",
|
|
704
|
-
expected: "string",
|
|
705
|
-
value: input3.name
|
|
706
|
-
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
707
|
-
path: _path2 + ".name_noOrigin",
|
|
708
|
-
expected: "string",
|
|
709
|
-
value: input3.name_noOrigin
|
|
710
|
-
}), void 0 === input3.geneVariantTerm || ("object" === typeof input3.geneVariantTerm && null !== input3.geneVariantTerm || $report(_exceptionable2, {
|
|
711
|
-
path: _path2 + ".geneVariantTerm",
|
|
712
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
713
|
-
value: input3.geneVariantTerm
|
|
714
|
-
})) && $vu7(input3.geneVariantTerm, _path2 + ".geneVariantTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
715
|
-
path: _path2 + ".geneVariantTerm",
|
|
716
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
717
|
-
value: input3.geneVariantTerm
|
|
718
|
-
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
719
|
-
path: _path2 + ".isleaf",
|
|
720
|
-
expected: "boolean",
|
|
721
|
-
value: input3.isleaf
|
|
722
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
674
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
723
675
|
path: _path2 + ".type",
|
|
724
|
-
expected: "
|
|
676
|
+
expected: '"tvs"',
|
|
725
677
|
value: input3.type
|
|
726
|
-
}), "
|
|
727
|
-
path: _path2 + ".
|
|
728
|
-
expected: "
|
|
729
|
-
value: input3.
|
|
730
|
-
})
|
|
731
|
-
path: _path2 + ".
|
|
678
|
+
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
679
|
+
path: _path2 + ".tvs",
|
|
680
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
681
|
+
value: input3.tvs
|
|
682
|
+
})) && $vu7(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
683
|
+
path: _path2 + ".tvs",
|
|
684
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
685
|
+
value: input3.tvs
|
|
686
|
+
})].every((flag) => flag);
|
|
687
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
688
|
+
path: _path2 + ".join",
|
|
732
689
|
expected: "(string | undefined)",
|
|
733
|
-
value: input3.
|
|
734
|
-
}),
|
|
690
|
+
value: input3.join
|
|
691
|
+
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
692
|
+
path: _path2 + ".isnot",
|
|
693
|
+
expected: "(boolean | undefined)",
|
|
694
|
+
value: input3.isnot
|
|
695
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
696
|
+
path: _path2 + ".term",
|
|
697
|
+
expected: "CategoricalTerm",
|
|
698
|
+
value: input3.term
|
|
699
|
+
})) && $vo15(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
700
|
+
path: _path2 + ".term",
|
|
701
|
+
expected: "CategoricalTerm",
|
|
702
|
+
value: input3.term
|
|
703
|
+
}), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
|
|
704
|
+
path: _path2 + ".groupset_label",
|
|
705
|
+
expected: "(string | undefined)",
|
|
706
|
+
value: input3.groupset_label
|
|
707
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
735
708
|
path: _path2 + ".values",
|
|
736
|
-
expected: "
|
|
709
|
+
expected: "Array<BaseValue>",
|
|
737
710
|
value: input3.values
|
|
738
|
-
})) &&
|
|
711
|
+
})) && input3.values.map((elem, _index5) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
712
|
+
path: _path2 + ".values[" + _index5 + "]",
|
|
713
|
+
expected: "BaseValue",
|
|
714
|
+
value: elem
|
|
715
|
+
})) && $vo17(elem, _path2 + ".values[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
716
|
+
path: _path2 + ".values[" + _index5 + "]",
|
|
717
|
+
expected: "BaseValue",
|
|
718
|
+
value: elem
|
|
719
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
739
720
|
path: _path2 + ".values",
|
|
740
|
-
expected: "
|
|
721
|
+
expected: "Array<BaseValue>",
|
|
741
722
|
value: input3.values
|
|
742
723
|
})].every((flag) => flag);
|
|
743
724
|
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -748,9 +729,9 @@ var validCategoriesRequest = (input) => {
|
|
|
748
729
|
path: _path2 + ".name",
|
|
749
730
|
expected: "string",
|
|
750
731
|
value: input3.name
|
|
751
|
-
}), "
|
|
732
|
+
}), "categorical" === input3.type || $report(_exceptionable2, {
|
|
752
733
|
path: _path2 + ".type",
|
|
753
|
-
expected: '"
|
|
734
|
+
expected: '"categorical"',
|
|
754
735
|
value: input3.type
|
|
755
736
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
756
737
|
path: _path2 + ".child_types",
|
|
@@ -792,41 +773,13 @@ var validCategoriesRequest = (input) => {
|
|
|
792
773
|
path: _path2 + ".values",
|
|
793
774
|
expected: "(TermValues | undefined)",
|
|
794
775
|
value: input3.values
|
|
795
|
-
}),
|
|
796
|
-
path: _path2 + ".filter",
|
|
797
|
-
expected: "(TermFilter | undefined)",
|
|
798
|
-
value: input3.filter
|
|
799
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
800
|
-
path: _path2 + ".filter",
|
|
801
|
-
expected: "(TermFilter | undefined)",
|
|
802
|
-
value: input3.filter
|
|
803
|
-
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
804
|
-
path: _path2 + ".kind",
|
|
805
|
-
expected: '"gene"',
|
|
806
|
-
value: input3.kind
|
|
807
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
808
|
-
path: _path2 + ".gene",
|
|
809
|
-
expected: "string",
|
|
810
|
-
value: input3.gene
|
|
811
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
812
|
-
path: _path2 + ".chr",
|
|
813
|
-
expected: "(string | undefined)",
|
|
814
|
-
value: input3.chr
|
|
815
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
816
|
-
path: _path2 + ".start",
|
|
817
|
-
expected: "(number | undefined)",
|
|
818
|
-
value: input3.start
|
|
819
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
820
|
-
path: _path2 + ".stop",
|
|
821
|
-
expected: "(number | undefined)",
|
|
822
|
-
value: input3.stop
|
|
823
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
776
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
824
777
|
path: _path2 + ".groupsetting",
|
|
825
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
778
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
826
779
|
value: input3.groupsetting
|
|
827
780
|
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
828
781
|
path: _path2 + ".groupsetting",
|
|
829
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
782
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
830
783
|
value: input3.groupsetting
|
|
831
784
|
})].every((flag) => flag);
|
|
832
785
|
const $vo16 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
@@ -883,189 +836,12 @@ var validCategoriesRequest = (input) => {
|
|
|
883
836
|
path: _path2 + ".filter",
|
|
884
837
|
expected: "(Filter | undefined)",
|
|
885
838
|
value: input3.filter
|
|
886
|
-
})) && $
|
|
839
|
+
})) && $vo12(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
887
840
|
path: _path2 + ".filter",
|
|
888
841
|
expected: "(Filter | undefined)",
|
|
889
842
|
value: input3.filter
|
|
890
843
|
})].every((flag) => flag);
|
|
891
|
-
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["
|
|
892
|
-
path: _path2 + ".type",
|
|
893
|
-
expected: '"tvslst"',
|
|
894
|
-
value: input3.type
|
|
895
|
-
}), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
896
|
-
path: _path2 + '["in"]',
|
|
897
|
-
expected: "boolean",
|
|
898
|
-
value: input3["in"]
|
|
899
|
-
}), "string" === typeof input3.join || $report(_exceptionable2, {
|
|
900
|
-
path: _path2 + ".join",
|
|
901
|
-
expected: "string",
|
|
902
|
-
value: input3.join
|
|
903
|
-
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
904
|
-
path: _path2 + ".tag",
|
|
905
|
-
expected: "(string | undefined)",
|
|
906
|
-
value: input3.tag
|
|
907
|
-
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
908
|
-
path: _path2 + ".lst",
|
|
909
|
-
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
910
|
-
value: input3.lst
|
|
911
|
-
})) && input3.lst.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
912
|
-
path: _path2 + ".lst[" + _index8 + "]",
|
|
913
|
-
expected: "(Filter | __type.o3)",
|
|
914
|
-
value: elem
|
|
915
|
-
})) && $vu1(elem, _path2 + ".lst[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
916
|
-
path: _path2 + ".lst[" + _index8 + "]",
|
|
917
|
-
expected: "(Filter | __type.o3)",
|
|
918
|
-
value: elem
|
|
919
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
920
|
-
path: _path2 + ".lst",
|
|
921
|
-
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
922
|
-
value: input3.lst
|
|
923
|
-
})].every((flag) => flag);
|
|
924
|
-
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
925
|
-
path: _path2 + ".type",
|
|
926
|
-
expected: '"tvs"',
|
|
927
|
-
value: input3.type
|
|
928
|
-
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
929
|
-
path: _path2 + ".tvs",
|
|
930
|
-
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
931
|
-
value: input3.tvs
|
|
932
|
-
})) && $vu9(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
933
|
-
path: _path2 + ".tvs",
|
|
934
|
-
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
935
|
-
value: input3.tvs
|
|
936
|
-
})].every((flag) => flag);
|
|
937
|
-
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
938
|
-
path: _path2 + ".join",
|
|
939
|
-
expected: "(string | undefined)",
|
|
940
|
-
value: input3.join
|
|
941
|
-
}), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
|
|
942
|
-
path: _path2 + ".isnot",
|
|
943
|
-
expected: "(boolean | undefined)",
|
|
944
|
-
value: input3.isnot
|
|
945
|
-
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
946
|
-
path: _path2 + ".term",
|
|
947
|
-
expected: "CategoricalTerm",
|
|
948
|
-
value: input3.term
|
|
949
|
-
})) && $vo21(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
950
|
-
path: _path2 + ".term",
|
|
951
|
-
expected: "CategoricalTerm",
|
|
952
|
-
value: input3.term
|
|
953
|
-
}), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
|
|
954
|
-
path: _path2 + ".groupset_label",
|
|
955
|
-
expected: "(string | undefined)",
|
|
956
|
-
value: input3.groupset_label
|
|
957
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
958
|
-
path: _path2 + ".values",
|
|
959
|
-
expected: "Array<BaseValue>",
|
|
960
|
-
value: input3.values
|
|
961
|
-
})) && input3.values.map((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
962
|
-
path: _path2 + ".values[" + _index9 + "]",
|
|
963
|
-
expected: "BaseValue",
|
|
964
|
-
value: elem
|
|
965
|
-
})) && $vo17(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
966
|
-
path: _path2 + ".values[" + _index9 + "]",
|
|
967
|
-
expected: "BaseValue",
|
|
968
|
-
value: elem
|
|
969
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
970
|
-
path: _path2 + ".values",
|
|
971
|
-
expected: "Array<BaseValue>",
|
|
972
|
-
value: input3.values
|
|
973
|
-
})].every((flag) => flag);
|
|
974
|
-
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
975
|
-
path: _path2 + ".id",
|
|
976
|
-
expected: "string",
|
|
977
|
-
value: input3.id
|
|
978
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
979
|
-
path: _path2 + ".name",
|
|
980
|
-
expected: "string",
|
|
981
|
-
value: input3.name
|
|
982
|
-
}), "categorical" === input3.type || $report(_exceptionable2, {
|
|
983
|
-
path: _path2 + ".type",
|
|
984
|
-
expected: '"categorical"',
|
|
985
|
-
value: input3.type
|
|
986
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
987
|
-
path: _path2 + ".child_types",
|
|
988
|
-
expected: "(Array<string> | undefined)",
|
|
989
|
-
value: input3.child_types
|
|
990
|
-
})) && input3.child_types.map((elem, _index10) => "string" === typeof elem || $report(_exceptionable2, {
|
|
991
|
-
path: _path2 + ".child_types[" + _index10 + "]",
|
|
992
|
-
expected: "string",
|
|
993
|
-
value: elem
|
|
994
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
995
|
-
path: _path2 + ".child_types",
|
|
996
|
-
expected: "(Array<string> | undefined)",
|
|
997
|
-
value: input3.child_types
|
|
998
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
999
|
-
path: _path2 + ".hashtmldetail",
|
|
1000
|
-
expected: "(boolean | undefined)",
|
|
1001
|
-
value: input3.hashtmldetail
|
|
1002
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1003
|
-
path: _path2 + ".included_types",
|
|
1004
|
-
expected: "(Array<string> | undefined)",
|
|
1005
|
-
value: input3.included_types
|
|
1006
|
-
})) && input3.included_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1007
|
-
path: _path2 + ".included_types[" + _index11 + "]",
|
|
1008
|
-
expected: "string",
|
|
1009
|
-
value: elem
|
|
1010
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1011
|
-
path: _path2 + ".included_types",
|
|
1012
|
-
expected: "(Array<string> | undefined)",
|
|
1013
|
-
value: input3.included_types
|
|
1014
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1015
|
-
path: _path2 + ".isleaf",
|
|
1016
|
-
expected: "(boolean | undefined)",
|
|
1017
|
-
value: input3.isleaf
|
|
1018
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1019
|
-
path: _path2 + ".values",
|
|
1020
|
-
expected: "(TermValues | undefined)",
|
|
1021
|
-
value: input3.values
|
|
1022
|
-
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1023
|
-
path: _path2 + ".values",
|
|
1024
|
-
expected: "(TermValues | undefined)",
|
|
1025
|
-
value: input3.values
|
|
1026
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1027
|
-
path: _path2 + ".filter",
|
|
1028
|
-
expected: "(TermFilter | undefined)",
|
|
1029
|
-
value: input3.filter
|
|
1030
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1031
|
-
path: _path2 + ".filter",
|
|
1032
|
-
expected: "(TermFilter | undefined)",
|
|
1033
|
-
value: input3.filter
|
|
1034
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1035
|
-
path: _path2 + ".groupsetting",
|
|
1036
|
-
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
1037
|
-
value: input3.groupsetting
|
|
1038
|
-
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1039
|
-
path: _path2 + ".groupsetting",
|
|
1040
|
-
expected: "(EnabledTermGroupSetting | __type.o4)",
|
|
1041
|
-
value: input3.groupsetting
|
|
1042
|
-
})].every((flag) => flag);
|
|
1043
|
-
const $vo22 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
1044
|
-
path: _path2 + ".opts",
|
|
1045
|
-
expected: "__type.o2",
|
|
1046
|
-
value: input3.opts
|
|
1047
|
-
})) && $vo13(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
1048
|
-
path: _path2 + ".opts",
|
|
1049
|
-
expected: "__type.o2",
|
|
1050
|
-
value: input3.opts
|
|
1051
|
-
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
1052
|
-
path: _path2 + ".terms",
|
|
1053
|
-
expected: "Array<DtTerm>",
|
|
1054
|
-
value: input3.terms
|
|
1055
|
-
})) && input3.terms.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1056
|
-
path: _path2 + ".terms[" + _index12 + "]",
|
|
1057
|
-
expected: "DtTerm",
|
|
1058
|
-
value: elem
|
|
1059
|
-
})) && $vo14(elem, _path2 + ".terms[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1060
|
-
path: _path2 + ".terms[" + _index12 + "]",
|
|
1061
|
-
expected: "DtTerm",
|
|
1062
|
-
value: elem
|
|
1063
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1064
|
-
path: _path2 + ".terms",
|
|
1065
|
-
expected: "Array<DtTerm>",
|
|
1066
|
-
value: input3.terms
|
|
1067
|
-
})].every((flag) => flag);
|
|
1068
|
-
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
844
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1069
845
|
path: _path2 + ".disabled",
|
|
1070
846
|
expected: "(boolean | undefined)",
|
|
1071
847
|
value: input3.disabled
|
|
@@ -1073,12 +849,12 @@ var validCategoriesRequest = (input) => {
|
|
|
1073
849
|
path: _path2 + ".lst",
|
|
1074
850
|
expected: "Array<Groupset>",
|
|
1075
851
|
value: input3.lst
|
|
1076
|
-
})) && input3.lst.map((elem,
|
|
1077
|
-
path: _path2 + ".lst[" +
|
|
852
|
+
})) && input3.lst.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
853
|
+
path: _path2 + ".lst[" + _index8 + "]",
|
|
1078
854
|
expected: "Groupset",
|
|
1079
855
|
value: elem
|
|
1080
|
-
})) && $
|
|
1081
|
-
path: _path2 + ".lst[" +
|
|
856
|
+
})) && $vo19(elem, _path2 + ".lst[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
857
|
+
path: _path2 + ".lst[" + _index8 + "]",
|
|
1082
858
|
expected: "Groupset",
|
|
1083
859
|
value: elem
|
|
1084
860
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1086,7 +862,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1086
862
|
expected: "Array<Groupset>",
|
|
1087
863
|
value: input3.lst
|
|
1088
864
|
})].every((flag) => flag);
|
|
1089
|
-
const $
|
|
865
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
1090
866
|
path: _path2 + ".name",
|
|
1091
867
|
expected: "string",
|
|
1092
868
|
value: input3.name
|
|
@@ -1106,12 +882,12 @@ var validCategoriesRequest = (input) => {
|
|
|
1106
882
|
path: _path2 + ".groups",
|
|
1107
883
|
expected: "Array<GroupEntry>",
|
|
1108
884
|
value: input3.groups
|
|
1109
|
-
})) && input3.groups.map((elem,
|
|
1110
|
-
path: _path2 + ".groups[" +
|
|
885
|
+
})) && input3.groups.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
886
|
+
path: _path2 + ".groups[" + _index9 + "]",
|
|
1111
887
|
expected: "(FilterGroup | ValuesGroup)",
|
|
1112
888
|
value: elem
|
|
1113
|
-
})) && $vu0(elem, _path2 + ".groups[" +
|
|
1114
|
-
path: _path2 + ".groups[" +
|
|
889
|
+
})) && $vu0(elem, _path2 + ".groups[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
890
|
+
path: _path2 + ".groups[" + _index9 + "]",
|
|
1115
891
|
expected: "(FilterGroup | ValuesGroup)",
|
|
1116
892
|
value: elem
|
|
1117
893
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1119,7 +895,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1119
895
|
expected: "Array<GroupEntry>",
|
|
1120
896
|
value: input3.groups
|
|
1121
897
|
})].every((flag) => flag);
|
|
1122
|
-
const $
|
|
898
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1123
899
|
path: _path2 + ".disabled",
|
|
1124
900
|
expected: "boolean",
|
|
1125
901
|
value: input3.disabled
|
|
@@ -1136,7 +912,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1136
912
|
expected: "([] | undefined)",
|
|
1137
913
|
value: input3.lst
|
|
1138
914
|
})].every((flag) => flag);
|
|
1139
|
-
const $
|
|
915
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1140
916
|
path: _path2 + ".join",
|
|
1141
917
|
expected: "(string | undefined)",
|
|
1142
918
|
value: input3.join
|
|
@@ -1148,7 +924,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1148
924
|
path: _path2 + ".term",
|
|
1149
925
|
expected: "NumericTerm",
|
|
1150
926
|
value: input3.term
|
|
1151
|
-
})) && $
|
|
927
|
+
})) && $vo22(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1152
928
|
path: _path2 + ".term",
|
|
1153
929
|
expected: "NumericTerm",
|
|
1154
930
|
value: input3.term
|
|
@@ -1156,12 +932,12 @@ var validCategoriesRequest = (input) => {
|
|
|
1156
932
|
path: _path2 + ".ranges",
|
|
1157
933
|
expected: "Array<NumericBin>",
|
|
1158
934
|
value: input3.ranges
|
|
1159
|
-
})) && input3.ranges.map((elem,
|
|
1160
|
-
path: _path2 + ".ranges[" +
|
|
935
|
+
})) && input3.ranges.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
936
|
+
path: _path2 + ".ranges[" + _index10 + "]",
|
|
1161
937
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1162
938
|
value: elem
|
|
1163
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
1164
|
-
path: _path2 + ".ranges[" +
|
|
939
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
940
|
+
path: _path2 + ".ranges[" + _index10 + "]",
|
|
1165
941
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1166
942
|
value: elem
|
|
1167
943
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1172,20 +948,20 @@ var validCategoriesRequest = (input) => {
|
|
|
1172
948
|
path: _path2 + ".values",
|
|
1173
949
|
expected: "Array<__type>.o1",
|
|
1174
950
|
value: input3.values
|
|
1175
|
-
})) && input3.values.map((elem,
|
|
1176
|
-
path: _path2 + ".values[" +
|
|
1177
|
-
expected: "__type.
|
|
951
|
+
})) && input3.values.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
952
|
+
path: _path2 + ".values[" + _index11 + "]",
|
|
953
|
+
expected: "__type.o5",
|
|
1178
954
|
value: elem
|
|
1179
|
-
})) && $
|
|
1180
|
-
path: _path2 + ".values[" +
|
|
1181
|
-
expected: "__type.
|
|
955
|
+
})) && $vo30(elem, _path2 + ".values[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
956
|
+
path: _path2 + ".values[" + _index11 + "]",
|
|
957
|
+
expected: "__type.o5",
|
|
1182
958
|
value: elem
|
|
1183
959
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1184
960
|
path: _path2 + ".values",
|
|
1185
961
|
expected: "Array<__type>.o1",
|
|
1186
962
|
value: input3.values
|
|
1187
963
|
})].every((flag) => flag);
|
|
1188
|
-
const $
|
|
964
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1189
965
|
path: _path2 + ".id",
|
|
1190
966
|
expected: "string",
|
|
1191
967
|
value: input3.id
|
|
@@ -1201,8 +977,8 @@ var validCategoriesRequest = (input) => {
|
|
|
1201
977
|
path: _path2 + ".child_types",
|
|
1202
978
|
expected: "(Array<string> | undefined)",
|
|
1203
979
|
value: input3.child_types
|
|
1204
|
-
})) && input3.child_types.map((elem,
|
|
1205
|
-
path: _path2 + ".child_types[" +
|
|
980
|
+
})) && input3.child_types.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable2, {
|
|
981
|
+
path: _path2 + ".child_types[" + _index12 + "]",
|
|
1206
982
|
expected: "string",
|
|
1207
983
|
value: elem
|
|
1208
984
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1217,8 +993,8 @@ var validCategoriesRequest = (input) => {
|
|
|
1217
993
|
path: _path2 + ".included_types",
|
|
1218
994
|
expected: "(Array<string> | undefined)",
|
|
1219
995
|
value: input3.included_types
|
|
1220
|
-
})) && input3.included_types.map((elem,
|
|
1221
|
-
path: _path2 + ".included_types[" +
|
|
996
|
+
})) && input3.included_types.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable2, {
|
|
997
|
+
path: _path2 + ".included_types[" + _index13 + "]",
|
|
1222
998
|
expected: "string",
|
|
1223
999
|
value: elem
|
|
1224
1000
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1236,20 +1012,12 @@ var validCategoriesRequest = (input) => {
|
|
|
1236
1012
|
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1237
1013
|
path: _path2 + ".values",
|
|
1238
1014
|
expected: "(TermValues | undefined)",
|
|
1239
|
-
value: input3.values
|
|
1240
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1241
|
-
path: _path2 + ".filter",
|
|
1242
|
-
expected: "(TermFilter | undefined)",
|
|
1243
|
-
value: input3.filter
|
|
1244
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1245
|
-
path: _path2 + ".filter",
|
|
1246
|
-
expected: "(TermFilter | undefined)",
|
|
1247
|
-
value: input3.filter
|
|
1015
|
+
value: input3.values
|
|
1248
1016
|
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1249
1017
|
path: _path2 + ".bins",
|
|
1250
1018
|
expected: "PresetNumericBins",
|
|
1251
1019
|
value: input3.bins
|
|
1252
|
-
})) && $
|
|
1020
|
+
})) && $vo23(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1253
1021
|
path: _path2 + ".bins",
|
|
1254
1022
|
expected: "PresetNumericBins",
|
|
1255
1023
|
value: input3.bins
|
|
@@ -1259,18 +1027,18 @@ var validCategoriesRequest = (input) => {
|
|
|
1259
1027
|
value: input3.unit
|
|
1260
1028
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1261
1029
|
path: _path2 + ".continuousColorScale",
|
|
1262
|
-
expected: "(__type.
|
|
1030
|
+
expected: "(__type.o4 | undefined)",
|
|
1263
1031
|
value: input3.continuousColorScale
|
|
1264
|
-
})) && $
|
|
1032
|
+
})) && $vo29(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1265
1033
|
path: _path2 + ".continuousColorScale",
|
|
1266
|
-
expected: "(__type.
|
|
1034
|
+
expected: "(__type.o4 | undefined)",
|
|
1267
1035
|
value: input3.continuousColorScale
|
|
1268
1036
|
})].every((flag) => flag);
|
|
1269
|
-
const $
|
|
1037
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
1270
1038
|
path: _path2 + '["default"]',
|
|
1271
1039
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1272
1040
|
value: input3["default"]
|
|
1273
|
-
})) && $
|
|
1041
|
+
})) && $vu9(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
1274
1042
|
path: _path2 + '["default"]',
|
|
1275
1043
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1276
1044
|
value: input3["default"]
|
|
@@ -1278,7 +1046,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1278
1046
|
path: _path2 + ".less",
|
|
1279
1047
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1280
1048
|
value: input3.less
|
|
1281
|
-
})) && $
|
|
1049
|
+
})) && $vu9(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
1282
1050
|
path: _path2 + ".less",
|
|
1283
1051
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1284
1052
|
value: input3.less
|
|
@@ -1303,7 +1071,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1303
1071
|
expected: "(number | undefined)",
|
|
1304
1072
|
value: input3.max
|
|
1305
1073
|
})].every((flag) => flag);
|
|
1306
|
-
const $
|
|
1074
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1307
1075
|
path: _path2 + ".hiddenValues",
|
|
1308
1076
|
expected: "(HiddenValues | undefined)",
|
|
1309
1077
|
value: input3.hiddenValues
|
|
@@ -1356,7 +1124,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1356
1124
|
expected: "(number | undefined)",
|
|
1357
1125
|
value: input3.label_offset
|
|
1358
1126
|
})].every((flag) => flag);
|
|
1359
|
-
const $
|
|
1127
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
1360
1128
|
path: _path2 + ".startunbounded",
|
|
1361
1129
|
expected: "true",
|
|
1362
1130
|
value: input3.startunbounded
|
|
@@ -1381,7 +1149,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1381
1149
|
expected: "(string | undefined)",
|
|
1382
1150
|
value: input3.label
|
|
1383
1151
|
})].every((flag) => flag);
|
|
1384
|
-
const $
|
|
1152
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
1385
1153
|
path: _path2 + ".startunbounded",
|
|
1386
1154
|
expected: "(false | undefined)",
|
|
1387
1155
|
value: input3.startunbounded
|
|
@@ -1410,7 +1178,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1410
1178
|
expected: "(string | undefined)",
|
|
1411
1179
|
value: input3.label
|
|
1412
1180
|
})].every((flag) => flag);
|
|
1413
|
-
const $
|
|
1181
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
1414
1182
|
path: _path2 + ".start",
|
|
1415
1183
|
expected: "number",
|
|
1416
1184
|
value: input3.start
|
|
@@ -1435,7 +1203,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1435
1203
|
expected: "(string | undefined)",
|
|
1436
1204
|
value: input3.label
|
|
1437
1205
|
})].every((flag) => flag);
|
|
1438
|
-
const $
|
|
1206
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1439
1207
|
path: _path2 + ".hiddenValues",
|
|
1440
1208
|
expected: "(HiddenValues | undefined)",
|
|
1441
1209
|
value: input3.hiddenValues
|
|
@@ -1481,12 +1249,12 @@ var validCategoriesRequest = (input) => {
|
|
|
1481
1249
|
path: _path2 + ".lst",
|
|
1482
1250
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1483
1251
|
value: input3.lst.slice(1)
|
|
1484
|
-
})) && input3.lst.slice(1).map((elem,
|
|
1485
|
-
path: _path2 + ".lst[" + (1 +
|
|
1252
|
+
})) && input3.lst.slice(1).map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1253
|
+
path: _path2 + ".lst[" + (1 + _index14) + "]",
|
|
1486
1254
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1487
1255
|
value: elem
|
|
1488
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
1489
|
-
path: _path2 + ".lst[" + (1 +
|
|
1256
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index14) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1257
|
+
path: _path2 + ".lst[" + (1 + _index14) + "]",
|
|
1490
1258
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1491
1259
|
value: elem
|
|
1492
1260
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1502,7 +1270,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1502
1270
|
expected: '("median" | undefined)',
|
|
1503
1271
|
value: input3.preferredBins
|
|
1504
1272
|
})].every((flag) => flag);
|
|
1505
|
-
const $
|
|
1273
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
1506
1274
|
path: _path2 + ".minColor",
|
|
1507
1275
|
expected: "string",
|
|
1508
1276
|
value: input3.minColor
|
|
@@ -1511,7 +1279,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1511
1279
|
expected: "string",
|
|
1512
1280
|
value: input3.maxColor
|
|
1513
1281
|
})].every((flag) => flag);
|
|
1514
|
-
const $
|
|
1282
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1515
1283
|
path: _path2 + ".key",
|
|
1516
1284
|
expected: "string",
|
|
1517
1285
|
value: input3.key
|
|
@@ -1528,7 +1296,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1528
1296
|
expected: "(string | undefined)",
|
|
1529
1297
|
value: input3.label
|
|
1530
1298
|
})].every((flag) => flag);
|
|
1531
|
-
const $
|
|
1299
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1532
1300
|
path: _path2 + ".join",
|
|
1533
1301
|
expected: "(string | undefined)",
|
|
1534
1302
|
value: input3.join
|
|
@@ -1540,7 +1308,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1540
1308
|
path: _path2 + ".term",
|
|
1541
1309
|
expected: "ConditionTerm",
|
|
1542
1310
|
value: input3.term
|
|
1543
|
-
})) && $
|
|
1311
|
+
})) && $vo32(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1544
1312
|
path: _path2 + ".term",
|
|
1545
1313
|
expected: "ConditionTerm",
|
|
1546
1314
|
value: input3.term
|
|
@@ -1560,12 +1328,12 @@ var validCategoriesRequest = (input) => {
|
|
|
1560
1328
|
path: _path2 + ".grade_and_child",
|
|
1561
1329
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1562
1330
|
value: input3.grade_and_child
|
|
1563
|
-
})) && input3.grade_and_child.map((elem,
|
|
1564
|
-
path: _path2 + ".grade_and_child[" +
|
|
1331
|
+
})) && input3.grade_and_child.map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1332
|
+
path: _path2 + ".grade_and_child[" + _index15 + "]",
|
|
1565
1333
|
expected: "GradeAndChildEntry",
|
|
1566
1334
|
value: elem
|
|
1567
|
-
})) && $
|
|
1568
|
-
path: _path2 + ".grade_and_child[" +
|
|
1335
|
+
})) && $vo33(elem, _path2 + ".grade_and_child[" + _index15 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1336
|
+
path: _path2 + ".grade_and_child[" + _index15 + "]",
|
|
1569
1337
|
expected: "GradeAndChildEntry",
|
|
1570
1338
|
value: elem
|
|
1571
1339
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1573,7 +1341,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1573
1341
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1574
1342
|
value: input3.grade_and_child
|
|
1575
1343
|
})].every((flag) => flag);
|
|
1576
|
-
const $
|
|
1344
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1577
1345
|
path: _path2 + ".id",
|
|
1578
1346
|
expected: "string",
|
|
1579
1347
|
value: input3.id
|
|
@@ -1589,8 +1357,8 @@ var validCategoriesRequest = (input) => {
|
|
|
1589
1357
|
path: _path2 + ".child_types",
|
|
1590
1358
|
expected: "(Array<string> | undefined)",
|
|
1591
1359
|
value: input3.child_types
|
|
1592
|
-
})) && input3.child_types.map((elem,
|
|
1593
|
-
path: _path2 + ".child_types[" +
|
|
1360
|
+
})) && input3.child_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1361
|
+
path: _path2 + ".child_types[" + _index16 + "]",
|
|
1594
1362
|
expected: "string",
|
|
1595
1363
|
value: elem
|
|
1596
1364
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1605,8 +1373,8 @@ var validCategoriesRequest = (input) => {
|
|
|
1605
1373
|
path: _path2 + ".included_types",
|
|
1606
1374
|
expected: "(Array<string> | undefined)",
|
|
1607
1375
|
value: input3.included_types
|
|
1608
|
-
})) && input3.included_types.map((elem,
|
|
1609
|
-
path: _path2 + ".included_types[" +
|
|
1376
|
+
})) && input3.included_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1377
|
+
path: _path2 + ".included_types[" + _index17 + "]",
|
|
1610
1378
|
expected: "string",
|
|
1611
1379
|
value: elem
|
|
1612
1380
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1625,16 +1393,8 @@ var validCategoriesRequest = (input) => {
|
|
|
1625
1393
|
path: _path2 + ".values",
|
|
1626
1394
|
expected: "(TermValues | undefined)",
|
|
1627
1395
|
value: input3.values
|
|
1628
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1629
|
-
path: _path2 + ".filter",
|
|
1630
|
-
expected: "(TermFilter | undefined)",
|
|
1631
|
-
value: input3.filter
|
|
1632
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1633
|
-
path: _path2 + ".filter",
|
|
1634
|
-
expected: "(TermFilter | undefined)",
|
|
1635
|
-
value: input3.filter
|
|
1636
1396
|
})].every((flag) => flag);
|
|
1637
|
-
const $
|
|
1397
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1638
1398
|
path: _path2 + ".grade",
|
|
1639
1399
|
expected: "number",
|
|
1640
1400
|
value: input3.grade
|
|
@@ -1651,7 +1411,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1651
1411
|
expected: "string",
|
|
1652
1412
|
value: input3.child_label
|
|
1653
1413
|
})].every((flag) => flag);
|
|
1654
|
-
const $
|
|
1414
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1655
1415
|
path: _path2 + ".join",
|
|
1656
1416
|
expected: "(string | undefined)",
|
|
1657
1417
|
value: input3.join
|
|
@@ -1663,7 +1423,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1663
1423
|
path: _path2 + ".term",
|
|
1664
1424
|
expected: "DtTerm",
|
|
1665
1425
|
value: input3.term
|
|
1666
|
-
})) && $
|
|
1426
|
+
})) && $vo35(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1667
1427
|
path: _path2 + ".term",
|
|
1668
1428
|
expected: "DtTerm",
|
|
1669
1429
|
value: input3.term
|
|
@@ -1671,33 +1431,69 @@ var validCategoriesRequest = (input) => {
|
|
|
1671
1431
|
path: _path2 + ".values",
|
|
1672
1432
|
expected: "Array<__type>.o2",
|
|
1673
1433
|
value: input3.values
|
|
1674
|
-
})) && input3.values.map((elem,
|
|
1675
|
-
path: _path2 + ".values[" +
|
|
1676
|
-
expected: "__type.
|
|
1434
|
+
})) && input3.values.map((elem, _index18) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1435
|
+
path: _path2 + ".values[" + _index18 + "]",
|
|
1436
|
+
expected: "__type.o6",
|
|
1677
1437
|
value: elem
|
|
1678
|
-
})) && $
|
|
1679
|
-
path: _path2 + ".values[" +
|
|
1680
|
-
expected: "__type.
|
|
1438
|
+
})) && $vo38(elem, _path2 + ".values[" + _index18 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1439
|
+
path: _path2 + ".values[" + _index18 + "]",
|
|
1440
|
+
expected: "__type.o6",
|
|
1681
1441
|
value: elem
|
|
1682
1442
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1683
1443
|
path: _path2 + ".values",
|
|
1684
1444
|
expected: "Array<__type>.o2",
|
|
1685
1445
|
value: input3.values
|
|
1686
1446
|
})].every((flag) => flag);
|
|
1687
|
-
const $
|
|
1688
|
-
path: _path2 + ".
|
|
1447
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1448
|
+
path: _path2 + ".id",
|
|
1689
1449
|
expected: "string",
|
|
1690
|
-
value: input3.
|
|
1691
|
-
}), "string" === typeof input3.
|
|
1692
|
-
path: _path2 + ".
|
|
1450
|
+
value: input3.id
|
|
1451
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
1452
|
+
path: _path2 + ".query",
|
|
1693
1453
|
expected: "string",
|
|
1694
|
-
value: input3.
|
|
1695
|
-
}), "string" === typeof input3.
|
|
1696
|
-
path: _path2 + ".
|
|
1454
|
+
value: input3.query
|
|
1455
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1456
|
+
path: _path2 + ".name",
|
|
1697
1457
|
expected: "string",
|
|
1698
|
-
value: input3.
|
|
1458
|
+
value: input3.name
|
|
1459
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
1460
|
+
path: _path2 + ".name_noOrigin",
|
|
1461
|
+
expected: "string",
|
|
1462
|
+
value: input3.name_noOrigin
|
|
1463
|
+
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1464
|
+
path: _path2 + ".parentTerm",
|
|
1465
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1466
|
+
value: input3.parentTerm
|
|
1467
|
+
})) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1468
|
+
path: _path2 + ".parentTerm",
|
|
1469
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1470
|
+
value: input3.parentTerm
|
|
1471
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1472
|
+
path: _path2 + ".isleaf",
|
|
1473
|
+
expected: "boolean",
|
|
1474
|
+
value: input3.isleaf
|
|
1475
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1476
|
+
path: _path2 + ".type",
|
|
1477
|
+
expected: "string",
|
|
1478
|
+
value: input3.type
|
|
1479
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
1480
|
+
path: _path2 + ".dt",
|
|
1481
|
+
expected: "number",
|
|
1482
|
+
value: input3.dt
|
|
1483
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
1484
|
+
path: _path2 + ".origin",
|
|
1485
|
+
expected: "(string | undefined)",
|
|
1486
|
+
value: input3.origin
|
|
1487
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1488
|
+
path: _path2 + ".values",
|
|
1489
|
+
expected: "TermValues",
|
|
1490
|
+
value: input3.values
|
|
1491
|
+
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1492
|
+
path: _path2 + ".values",
|
|
1493
|
+
expected: "TermValues",
|
|
1494
|
+
value: input3.values
|
|
1699
1495
|
})].every((flag) => flag);
|
|
1700
|
-
const $
|
|
1496
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1701
1497
|
path: _path2 + ".id",
|
|
1702
1498
|
expected: "string",
|
|
1703
1499
|
value: input3.id
|
|
@@ -1713,8 +1509,8 @@ var validCategoriesRequest = (input) => {
|
|
|
1713
1509
|
path: _path2 + ".child_types",
|
|
1714
1510
|
expected: "(Array<string> | undefined)",
|
|
1715
1511
|
value: input3.child_types
|
|
1716
|
-
})) && input3.child_types.map((elem,
|
|
1717
|
-
path: _path2 + ".child_types[" +
|
|
1512
|
+
})) && input3.child_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1513
|
+
path: _path2 + ".child_types[" + _index19 + "]",
|
|
1718
1514
|
expected: "string",
|
|
1719
1515
|
value: elem
|
|
1720
1516
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1729,8 +1525,105 @@ var validCategoriesRequest = (input) => {
|
|
|
1729
1525
|
path: _path2 + ".included_types",
|
|
1730
1526
|
expected: "(Array<string> | undefined)",
|
|
1731
1527
|
value: input3.included_types
|
|
1732
|
-
})) && input3.included_types.map((elem,
|
|
1733
|
-
path: _path2 + ".included_types[" +
|
|
1528
|
+
})) && input3.included_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1529
|
+
path: _path2 + ".included_types[" + _index20 + "]",
|
|
1530
|
+
expected: "string",
|
|
1531
|
+
value: elem
|
|
1532
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1533
|
+
path: _path2 + ".included_types",
|
|
1534
|
+
expected: "(Array<string> | undefined)",
|
|
1535
|
+
value: input3.included_types
|
|
1536
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1537
|
+
path: _path2 + ".isleaf",
|
|
1538
|
+
expected: "(boolean | undefined)",
|
|
1539
|
+
value: input3.isleaf
|
|
1540
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1541
|
+
path: _path2 + ".values",
|
|
1542
|
+
expected: "(TermValues | undefined)",
|
|
1543
|
+
value: input3.values
|
|
1544
|
+
})) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1545
|
+
path: _path2 + ".values",
|
|
1546
|
+
expected: "(TermValues | undefined)",
|
|
1547
|
+
value: input3.values
|
|
1548
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1549
|
+
path: _path2 + ".kind",
|
|
1550
|
+
expected: '"gene"',
|
|
1551
|
+
value: input3.kind
|
|
1552
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1553
|
+
path: _path2 + ".gene",
|
|
1554
|
+
expected: "string",
|
|
1555
|
+
value: input3.gene
|
|
1556
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1557
|
+
path: _path2 + ".chr",
|
|
1558
|
+
expected: "(string | undefined)",
|
|
1559
|
+
value: input3.chr
|
|
1560
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1561
|
+
path: _path2 + ".start",
|
|
1562
|
+
expected: "(number | undefined)",
|
|
1563
|
+
value: input3.start
|
|
1564
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1565
|
+
path: _path2 + ".stop",
|
|
1566
|
+
expected: "(number | undefined)",
|
|
1567
|
+
value: input3.stop
|
|
1568
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1569
|
+
path: _path2 + ".groupsetting",
|
|
1570
|
+
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
1571
|
+
value: input3.groupsetting
|
|
1572
|
+
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1573
|
+
path: _path2 + ".groupsetting",
|
|
1574
|
+
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
1575
|
+
value: input3.groupsetting
|
|
1576
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1577
|
+
path: _path2 + ".childTerms",
|
|
1578
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1579
|
+
value: input3.childTerms
|
|
1580
|
+
})) && input3.childTerms.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1581
|
+
path: _path2 + ".childTerms[" + _index21 + "]",
|
|
1582
|
+
expected: "DtTerm",
|
|
1583
|
+
value: elem
|
|
1584
|
+
})) && $vo35(elem, _path2 + ".childTerms[" + _index21 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1585
|
+
path: _path2 + ".childTerms[" + _index21 + "]",
|
|
1586
|
+
expected: "DtTerm",
|
|
1587
|
+
value: elem
|
|
1588
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1589
|
+
path: _path2 + ".childTerms",
|
|
1590
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1591
|
+
value: input3.childTerms
|
|
1592
|
+
})].every((flag) => flag);
|
|
1593
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1594
|
+
path: _path2 + ".id",
|
|
1595
|
+
expected: "string",
|
|
1596
|
+
value: input3.id
|
|
1597
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1598
|
+
path: _path2 + ".name",
|
|
1599
|
+
expected: "string",
|
|
1600
|
+
value: input3.name
|
|
1601
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1602
|
+
path: _path2 + ".type",
|
|
1603
|
+
expected: '"geneVariant"',
|
|
1604
|
+
value: input3.type
|
|
1605
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1606
|
+
path: _path2 + ".child_types",
|
|
1607
|
+
expected: "(Array<string> | undefined)",
|
|
1608
|
+
value: input3.child_types
|
|
1609
|
+
})) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1610
|
+
path: _path2 + ".child_types[" + _index22 + "]",
|
|
1611
|
+
expected: "string",
|
|
1612
|
+
value: elem
|
|
1613
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1614
|
+
path: _path2 + ".child_types",
|
|
1615
|
+
expected: "(Array<string> | undefined)",
|
|
1616
|
+
value: input3.child_types
|
|
1617
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1618
|
+
path: _path2 + ".hashtmldetail",
|
|
1619
|
+
expected: "(boolean | undefined)",
|
|
1620
|
+
value: input3.hashtmldetail
|
|
1621
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1622
|
+
path: _path2 + ".included_types",
|
|
1623
|
+
expected: "(Array<string> | undefined)",
|
|
1624
|
+
value: input3.included_types
|
|
1625
|
+
})) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1626
|
+
path: _path2 + ".included_types[" + _index23 + "]",
|
|
1734
1627
|
expected: "string",
|
|
1735
1628
|
value: elem
|
|
1736
1629
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1749,14 +1642,6 @@ var validCategoriesRequest = (input) => {
|
|
|
1749
1642
|
path: _path2 + ".values",
|
|
1750
1643
|
expected: "(TermValues | undefined)",
|
|
1751
1644
|
value: input3.values
|
|
1752
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1753
|
-
path: _path2 + ".filter",
|
|
1754
|
-
expected: "(TermFilter | undefined)",
|
|
1755
|
-
value: input3.filter
|
|
1756
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1757
|
-
path: _path2 + ".filter",
|
|
1758
|
-
expected: "(TermFilter | undefined)",
|
|
1759
|
-
value: input3.filter
|
|
1760
1645
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1761
1646
|
path: _path2 + ".kind",
|
|
1762
1647
|
expected: '"coord"',
|
|
@@ -1775,14 +1660,43 @@ var validCategoriesRequest = (input) => {
|
|
|
1775
1660
|
value: input3.stop
|
|
1776
1661
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1777
1662
|
path: _path2 + ".groupsetting",
|
|
1778
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
1663
|
+
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
1779
1664
|
value: input3.groupsetting
|
|
1780
1665
|
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1781
1666
|
path: _path2 + ".groupsetting",
|
|
1782
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
1667
|
+
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
1783
1668
|
value: input3.groupsetting
|
|
1669
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1670
|
+
path: _path2 + ".childTerms",
|
|
1671
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1672
|
+
value: input3.childTerms
|
|
1673
|
+
})) && input3.childTerms.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1674
|
+
path: _path2 + ".childTerms[" + _index24 + "]",
|
|
1675
|
+
expected: "DtTerm",
|
|
1676
|
+
value: elem
|
|
1677
|
+
})) && $vo35(elem, _path2 + ".childTerms[" + _index24 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1678
|
+
path: _path2 + ".childTerms[" + _index24 + "]",
|
|
1679
|
+
expected: "DtTerm",
|
|
1680
|
+
value: elem
|
|
1681
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1682
|
+
path: _path2 + ".childTerms",
|
|
1683
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1684
|
+
value: input3.childTerms
|
|
1685
|
+
})].every((flag) => flag);
|
|
1686
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1687
|
+
path: _path2 + ".key",
|
|
1688
|
+
expected: "string",
|
|
1689
|
+
value: input3.key
|
|
1690
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1691
|
+
path: _path2 + ".label",
|
|
1692
|
+
expected: "string",
|
|
1693
|
+
value: input3.label
|
|
1694
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
1695
|
+
path: _path2 + ".value",
|
|
1696
|
+
expected: "string",
|
|
1697
|
+
value: input3.value
|
|
1784
1698
|
})].every((flag) => flag);
|
|
1785
|
-
const $
|
|
1699
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
1786
1700
|
path: _path2 + ".id",
|
|
1787
1701
|
expected: "(string | undefined)",
|
|
1788
1702
|
value: input3.id
|
|
@@ -1810,7 +1724,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1810
1724
|
path: _path2 + ".term",
|
|
1811
1725
|
expected: "NumericTerm",
|
|
1812
1726
|
value: input3.term
|
|
1813
|
-
})) && $
|
|
1727
|
+
})) && $vo22(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1814
1728
|
path: _path2 + ".term",
|
|
1815
1729
|
expected: "NumericTerm",
|
|
1816
1730
|
value: input3.term
|
|
@@ -1823,7 +1737,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1823
1737
|
expected: "(BinaryNumericQ | ContinuousNumericQ | CustomNumericBinConfig | RegularNumericBinConfig | SplineNumericQ)",
|
|
1824
1738
|
value: input3.q
|
|
1825
1739
|
})].every((flag) => flag);
|
|
1826
|
-
const $
|
|
1740
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1827
1741
|
path: _path2 + ".hiddenValues",
|
|
1828
1742
|
expected: "(HiddenValues | undefined)",
|
|
1829
1743
|
value: input3.hiddenValues
|
|
@@ -1883,7 +1797,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1883
1797
|
expected: "[StartUnboundedBin | FullyBoundedBin, FullyBoundedBin | StopUnboundedBin]",
|
|
1884
1798
|
value: input3.lst
|
|
1885
1799
|
})].every((flag) => flag);
|
|
1886
|
-
const $
|
|
1800
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1887
1801
|
path: _path2 + ".hiddenValues",
|
|
1888
1802
|
expected: "(HiddenValues | undefined)",
|
|
1889
1803
|
value: input3.hiddenValues
|
|
@@ -1920,7 +1834,7 @@ var validCategoriesRequest = (input) => {
|
|
|
1920
1834
|
expected: "undefined",
|
|
1921
1835
|
value: input3.type
|
|
1922
1836
|
}))].every((flag) => flag);
|
|
1923
|
-
const $
|
|
1837
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1924
1838
|
path: _path2 + ".hiddenValues",
|
|
1925
1839
|
expected: "(HiddenValues | undefined)",
|
|
1926
1840
|
value: input3.hiddenValues
|
|
@@ -1948,13 +1862,13 @@ var validCategoriesRequest = (input) => {
|
|
|
1948
1862
|
path: _path2 + ".knots",
|
|
1949
1863
|
expected: "Array<__type>.o3",
|
|
1950
1864
|
value: input3.knots
|
|
1951
|
-
})) && input3.knots.map((elem,
|
|
1952
|
-
path: _path2 + ".knots[" +
|
|
1953
|
-
expected: "__type.
|
|
1865
|
+
})) && input3.knots.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1866
|
+
path: _path2 + ".knots[" + _index25 + "]",
|
|
1867
|
+
expected: "__type.o7",
|
|
1954
1868
|
value: elem
|
|
1955
|
-
})) && $
|
|
1956
|
-
path: _path2 + ".knots[" +
|
|
1957
|
-
expected: "__type.
|
|
1869
|
+
})) && $vo43(elem, _path2 + ".knots[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1870
|
+
path: _path2 + ".knots[" + _index25 + "]",
|
|
1871
|
+
expected: "__type.o7",
|
|
1958
1872
|
value: elem
|
|
1959
1873
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1960
1874
|
path: _path2 + ".knots",
|
|
@@ -1969,12 +1883,12 @@ var validCategoriesRequest = (input) => {
|
|
|
1969
1883
|
expected: "undefined",
|
|
1970
1884
|
value: input3.type
|
|
1971
1885
|
}))].every((flag) => flag);
|
|
1972
|
-
const $
|
|
1886
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
|
|
1973
1887
|
path: _path2 + ".value",
|
|
1974
1888
|
expected: "number",
|
|
1975
1889
|
value: input3.value
|
|
1976
1890
|
})].every((flag) => flag);
|
|
1977
|
-
const $
|
|
1891
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
1978
1892
|
path: _path2 + ".id",
|
|
1979
1893
|
expected: "(string | undefined)",
|
|
1980
1894
|
value: input3.id
|
|
@@ -2002,7 +1916,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2002
1916
|
path: _path2 + ".q",
|
|
2003
1917
|
expected: "SnpsQ",
|
|
2004
1918
|
value: input3.q
|
|
2005
|
-
})) && $
|
|
1919
|
+
})) && $vo45(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
|
|
2006
1920
|
path: _path2 + ".q",
|
|
2007
1921
|
expected: "SnpsQ",
|
|
2008
1922
|
value: input3.q
|
|
@@ -2010,12 +1924,12 @@ var validCategoriesRequest = (input) => {
|
|
|
2010
1924
|
path: _path2 + ".term",
|
|
2011
1925
|
expected: "SnpsTerm",
|
|
2012
1926
|
value: input3.term
|
|
2013
|
-
})) && $
|
|
1927
|
+
})) && $vo47(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2014
1928
|
path: _path2 + ".term",
|
|
2015
1929
|
expected: "SnpsTerm",
|
|
2016
1930
|
value: input3.term
|
|
2017
1931
|
})].every((flag) => flag);
|
|
2018
|
-
const $
|
|
1932
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2019
1933
|
path: _path2 + ".hiddenValues",
|
|
2020
1934
|
expected: "(HiddenValues | undefined)",
|
|
2021
1935
|
value: input3.hiddenValues
|
|
@@ -2071,7 +1985,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2071
1985
|
path: _path2 + ".restrictAncestry",
|
|
2072
1986
|
expected: "RestrictAncestry",
|
|
2073
1987
|
value: input3.restrictAncestry
|
|
2074
|
-
})) && $
|
|
1988
|
+
})) && $vo46(input3.restrictAncestry, _path2 + ".restrictAncestry", _exceptionable2) || $report(_exceptionable2, {
|
|
2075
1989
|
path: _path2 + ".restrictAncestry",
|
|
2076
1990
|
expected: "RestrictAncestry",
|
|
2077
1991
|
value: input3.restrictAncestry
|
|
@@ -2079,7 +1993,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2079
1993
|
path: _path2 + ".variant_filter",
|
|
2080
1994
|
expected: "Filter",
|
|
2081
1995
|
value: input3.variant_filter
|
|
2082
|
-
})) && $
|
|
1996
|
+
})) && $vo12(input3.variant_filter, _path2 + ".variant_filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2083
1997
|
path: _path2 + ".variant_filter",
|
|
2084
1998
|
expected: "Filter",
|
|
2085
1999
|
value: input3.variant_filter
|
|
@@ -2096,7 +2010,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2096
2010
|
expected: "number",
|
|
2097
2011
|
value: input3.stop
|
|
2098
2012
|
})].every((flag) => flag);
|
|
2099
|
-
const $
|
|
2013
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
2100
2014
|
path: _path2 + ".name",
|
|
2101
2015
|
expected: "string",
|
|
2102
2016
|
value: input3.name
|
|
@@ -2104,12 +2018,12 @@ var validCategoriesRequest = (input) => {
|
|
|
2104
2018
|
path: _path2 + ".tvs",
|
|
2105
2019
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
2106
2020
|
value: input3.tvs
|
|
2107
|
-
})) && $
|
|
2021
|
+
})) && $vu7(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
2108
2022
|
path: _path2 + ".tvs",
|
|
2109
2023
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
2110
2024
|
value: input3.tvs
|
|
2111
2025
|
})].every((flag) => flag);
|
|
2112
|
-
const $
|
|
2026
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2113
2027
|
path: _path2 + ".id",
|
|
2114
2028
|
expected: "string",
|
|
2115
2029
|
value: input3.id
|
|
@@ -2125,8 +2039,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2125
2039
|
path: _path2 + ".child_types",
|
|
2126
2040
|
expected: "(Array<string> | undefined)",
|
|
2127
2041
|
value: input3.child_types
|
|
2128
|
-
})) && input3.child_types.map((elem,
|
|
2129
|
-
path: _path2 + ".child_types[" +
|
|
2042
|
+
})) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2043
|
+
path: _path2 + ".child_types[" + _index26 + "]",
|
|
2130
2044
|
expected: "string",
|
|
2131
2045
|
value: elem
|
|
2132
2046
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2141,8 +2055,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2141
2055
|
path: _path2 + ".included_types",
|
|
2142
2056
|
expected: "(Array<string> | undefined)",
|
|
2143
2057
|
value: input3.included_types
|
|
2144
|
-
})) && input3.included_types.map((elem,
|
|
2145
|
-
path: _path2 + ".included_types[" +
|
|
2058
|
+
})) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2059
|
+
path: _path2 + ".included_types[" + _index27 + "]",
|
|
2146
2060
|
expected: "string",
|
|
2147
2061
|
value: elem
|
|
2148
2062
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2161,14 +2075,6 @@ var validCategoriesRequest = (input) => {
|
|
|
2161
2075
|
path: _path2 + ".values",
|
|
2162
2076
|
expected: "(TermValues | undefined)",
|
|
2163
2077
|
value: input3.values
|
|
2164
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2165
|
-
path: _path2 + ".filter",
|
|
2166
|
-
expected: "(TermFilter | undefined)",
|
|
2167
|
-
value: input3.filter
|
|
2168
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2169
|
-
path: _path2 + ".filter",
|
|
2170
|
-
expected: "(TermFilter | undefined)",
|
|
2171
|
-
value: input3.filter
|
|
2172
2078
|
}), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
|
|
2173
2079
|
path: _path2 + ".reachedVariantLimit",
|
|
2174
2080
|
expected: "(boolean | undefined)",
|
|
@@ -2177,12 +2083,12 @@ var validCategoriesRequest = (input) => {
|
|
|
2177
2083
|
path: _path2 + ".snps",
|
|
2178
2084
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2179
2085
|
value: input3.snps
|
|
2180
|
-
})) && input3.snps.map((elem,
|
|
2181
|
-
path: _path2 + ".snps[" +
|
|
2086
|
+
})) && input3.snps.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2087
|
+
path: _path2 + ".snps[" + _index28 + "]",
|
|
2182
2088
|
expected: "SnpsEntry",
|
|
2183
2089
|
value: elem
|
|
2184
|
-
})) && $
|
|
2185
|
-
path: _path2 + ".snps[" +
|
|
2090
|
+
})) && $vo48(elem, _path2 + ".snps[" + _index28 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2091
|
+
path: _path2 + ".snps[" + _index28 + "]",
|
|
2186
2092
|
expected: "SnpsEntry",
|
|
2187
2093
|
value: elem
|
|
2188
2094
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2190,12 +2096,12 @@ var validCategoriesRequest = (input) => {
|
|
|
2190
2096
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2191
2097
|
value: input3.snps
|
|
2192
2098
|
})].every((flag) => flag);
|
|
2193
|
-
const $
|
|
2099
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
2194
2100
|
path: _path2 + ".altAlleles",
|
|
2195
2101
|
expected: "(Array<string> | undefined)",
|
|
2196
2102
|
value: input3.altAlleles
|
|
2197
|
-
})) && input3.altAlleles.map((elem,
|
|
2198
|
-
path: _path2 + ".altAlleles[" +
|
|
2103
|
+
})) && input3.altAlleles.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2104
|
+
path: _path2 + ".altAlleles[" + _index29 + "]",
|
|
2199
2105
|
expected: "string",
|
|
2200
2106
|
value: elem
|
|
2201
2107
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2206,12 +2112,12 @@ var validCategoriesRequest = (input) => {
|
|
|
2206
2112
|
path: _path2 + ".alleles",
|
|
2207
2113
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
2208
2114
|
value: input3.alleles
|
|
2209
|
-
})) && input3.alleles.map((elem,
|
|
2210
|
-
path: _path2 + ".alleles[" +
|
|
2115
|
+
})) && input3.alleles.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2116
|
+
path: _path2 + ".alleles[" + _index30 + "]",
|
|
2211
2117
|
expected: "AllelesEntry",
|
|
2212
2118
|
value: elem
|
|
2213
|
-
})) && $
|
|
2214
|
-
path: _path2 + ".alleles[" +
|
|
2119
|
+
})) && $vo49(elem, _path2 + ".alleles[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2120
|
+
path: _path2 + ".alleles[" + _index30 + "]",
|
|
2215
2121
|
expected: "AllelesEntry",
|
|
2216
2122
|
value: elem
|
|
2217
2123
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2224,11 +2130,11 @@ var validCategoriesRequest = (input) => {
|
|
|
2224
2130
|
value: input3.effectAllele
|
|
2225
2131
|
}), void 0 === input3.gt2count || ("object" === typeof input3.gt2count && null !== input3.gt2count || $report(_exceptionable2, {
|
|
2226
2132
|
path: _path2 + ".gt2count",
|
|
2227
|
-
expected: "(__type.
|
|
2133
|
+
expected: "(__type.o8 | undefined)",
|
|
2228
2134
|
value: input3.gt2count
|
|
2229
|
-
})) && $
|
|
2135
|
+
})) && $vo50(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
2230
2136
|
path: _path2 + ".gt2count",
|
|
2231
|
-
expected: "(__type.
|
|
2137
|
+
expected: "(__type.o8 | undefined)",
|
|
2232
2138
|
value: input3.gt2count
|
|
2233
2139
|
}), void 0 === input3.invalid || "boolean" === typeof input3.invalid || $report(_exceptionable2, {
|
|
2234
2140
|
path: _path2 + ".invalid",
|
|
@@ -2255,7 +2161,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2255
2161
|
expected: "(number | undefined)",
|
|
2256
2162
|
value: input3.pos
|
|
2257
2163
|
})].every((flag) => flag);
|
|
2258
|
-
const $
|
|
2164
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
2259
2165
|
path: _path2 + ".allele",
|
|
2260
2166
|
expected: "string",
|
|
2261
2167
|
value: input3.allele
|
|
@@ -2268,7 +2174,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2268
2174
|
expected: "boolean",
|
|
2269
2175
|
value: input3.isRef
|
|
2270
2176
|
})].every((flag) => flag);
|
|
2271
|
-
const $
|
|
2177
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
2272
2178
|
path: _path2 + ".k",
|
|
2273
2179
|
expected: "string",
|
|
2274
2180
|
value: input3.k
|
|
@@ -2277,7 +2183,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2277
2183
|
expected: "(number | string)",
|
|
2278
2184
|
value: input3.v
|
|
2279
2185
|
})].every((flag) => flag);
|
|
2280
|
-
const $
|
|
2186
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
2281
2187
|
path: _path2 + ".id",
|
|
2282
2188
|
expected: "(string | undefined)",
|
|
2283
2189
|
value: input3.id
|
|
@@ -2303,11 +2209,11 @@ var validCategoriesRequest = (input) => {
|
|
|
2303
2209
|
value: input3.minNumSamples
|
|
2304
2210
|
}), true, ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2305
2211
|
path: _path2 + ".term",
|
|
2306
|
-
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;
|
|
2212
|
+
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; })',
|
|
2307
2213
|
value: input3.term
|
|
2308
2214
|
})) && $vu12(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2309
2215
|
path: _path2 + ".term",
|
|
2310
|
-
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;
|
|
2216
|
+
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; })',
|
|
2311
2217
|
value: input3.term
|
|
2312
2218
|
}), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
|
|
2313
2219
|
path: _path2 + ".q",
|
|
@@ -2318,7 +2224,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2318
2224
|
expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | FilterQ | PredefinedGroupSettingQ | RegularNumericBinConfig | SampleLstQ | SnpsQ | SplineNumericQ | ValuesQ)",
|
|
2319
2225
|
value: input3.q
|
|
2320
2226
|
})].every((flag) => flag);
|
|
2321
|
-
const $
|
|
2227
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2322
2228
|
path: _path2 + ".id",
|
|
2323
2229
|
expected: "string",
|
|
2324
2230
|
value: input3.id
|
|
@@ -2334,8 +2240,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2334
2240
|
path: _path2 + ".child_types",
|
|
2335
2241
|
expected: "(Array<string> | undefined)",
|
|
2336
2242
|
value: input3.child_types
|
|
2337
|
-
})) && input3.child_types.map((elem,
|
|
2338
|
-
path: _path2 + ".child_types[" +
|
|
2243
|
+
})) && input3.child_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2244
|
+
path: _path2 + ".child_types[" + _index31 + "]",
|
|
2339
2245
|
expected: "string",
|
|
2340
2246
|
value: elem
|
|
2341
2247
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2350,8 +2256,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2350
2256
|
path: _path2 + ".included_types",
|
|
2351
2257
|
expected: "(Array<string> | undefined)",
|
|
2352
2258
|
value: input3.included_types
|
|
2353
|
-
})) && input3.included_types.map((elem,
|
|
2354
|
-
path: _path2 + ".included_types[" +
|
|
2259
|
+
})) && input3.included_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2260
|
+
path: _path2 + ".included_types[" + _index32 + "]",
|
|
2355
2261
|
expected: "string",
|
|
2356
2262
|
value: elem
|
|
2357
2263
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2370,14 +2276,6 @@ var validCategoriesRequest = (input) => {
|
|
|
2370
2276
|
path: _path2 + ".values",
|
|
2371
2277
|
expected: "(TermValues | undefined)",
|
|
2372
2278
|
value: input3.values
|
|
2373
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2374
|
-
path: _path2 + ".filter",
|
|
2375
|
-
expected: "(TermFilter | undefined)",
|
|
2376
|
-
value: input3.filter
|
|
2377
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2378
|
-
path: _path2 + ".filter",
|
|
2379
|
-
expected: "(TermFilter | undefined)",
|
|
2380
|
-
value: input3.filter
|
|
2381
2279
|
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
2382
2280
|
path: _path2 + ".kind",
|
|
2383
2281
|
expected: '"gene"',
|
|
@@ -2400,14 +2298,30 @@ var validCategoriesRequest = (input) => {
|
|
|
2400
2298
|
value: input3.stop
|
|
2401
2299
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2402
2300
|
path: _path2 + ".groupsetting",
|
|
2403
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2301
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
2404
2302
|
value: input3.groupsetting
|
|
2405
2303
|
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2406
2304
|
path: _path2 + ".groupsetting",
|
|
2407
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2305
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
2408
2306
|
value: input3.groupsetting
|
|
2307
|
+
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
2308
|
+
path: _path2 + ".childTerms",
|
|
2309
|
+
expected: "Array<DtTerm>",
|
|
2310
|
+
value: input3.childTerms
|
|
2311
|
+
})) && input3.childTerms.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2312
|
+
path: _path2 + ".childTerms[" + _index33 + "]",
|
|
2313
|
+
expected: "DtTerm",
|
|
2314
|
+
value: elem
|
|
2315
|
+
})) && $vo35(elem, _path2 + ".childTerms[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2316
|
+
path: _path2 + ".childTerms[" + _index33 + "]",
|
|
2317
|
+
expected: "DtTerm",
|
|
2318
|
+
value: elem
|
|
2319
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2320
|
+
path: _path2 + ".childTerms",
|
|
2321
|
+
expected: "Array<DtTerm>",
|
|
2322
|
+
value: input3.childTerms
|
|
2409
2323
|
})].every((flag) => flag);
|
|
2410
|
-
const $
|
|
2324
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2411
2325
|
path: _path2 + ".id",
|
|
2412
2326
|
expected: "string",
|
|
2413
2327
|
value: input3.id
|
|
@@ -2459,14 +2373,6 @@ var validCategoriesRequest = (input) => {
|
|
|
2459
2373
|
path: _path2 + ".values",
|
|
2460
2374
|
expected: "(TermValues | undefined)",
|
|
2461
2375
|
value: input3.values
|
|
2462
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2463
|
-
path: _path2 + ".filter",
|
|
2464
|
-
expected: "(TermFilter | undefined)",
|
|
2465
|
-
value: input3.filter
|
|
2466
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2467
|
-
path: _path2 + ".filter",
|
|
2468
|
-
expected: "(TermFilter | undefined)",
|
|
2469
|
-
value: input3.filter
|
|
2470
2376
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
2471
2377
|
path: _path2 + ".kind",
|
|
2472
2378
|
expected: '"coord"',
|
|
@@ -2485,14 +2391,30 @@ var validCategoriesRequest = (input) => {
|
|
|
2485
2391
|
value: input3.stop
|
|
2486
2392
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2487
2393
|
path: _path2 + ".groupsetting",
|
|
2488
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2394
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
2489
2395
|
value: input3.groupsetting
|
|
2490
2396
|
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2491
2397
|
path: _path2 + ".groupsetting",
|
|
2492
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2398
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
2493
2399
|
value: input3.groupsetting
|
|
2400
|
+
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
2401
|
+
path: _path2 + ".childTerms",
|
|
2402
|
+
expected: "Array<DtTerm>",
|
|
2403
|
+
value: input3.childTerms
|
|
2404
|
+
})) && input3.childTerms.map((elem, _index36) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2405
|
+
path: _path2 + ".childTerms[" + _index36 + "]",
|
|
2406
|
+
expected: "DtTerm",
|
|
2407
|
+
value: elem
|
|
2408
|
+
})) && $vo35(elem, _path2 + ".childTerms[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2409
|
+
path: _path2 + ".childTerms[" + _index36 + "]",
|
|
2410
|
+
expected: "DtTerm",
|
|
2411
|
+
value: elem
|
|
2412
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2413
|
+
path: _path2 + ".childTerms",
|
|
2414
|
+
expected: "Array<DtTerm>",
|
|
2415
|
+
value: input3.childTerms
|
|
2494
2416
|
})].every((flag) => flag);
|
|
2495
|
-
const $
|
|
2417
|
+
const $vo54 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2496
2418
|
path: _path2 + ".id",
|
|
2497
2419
|
expected: "string",
|
|
2498
2420
|
value: input3.id
|
|
@@ -2508,8 +2430,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2508
2430
|
path: _path2 + ".child_types",
|
|
2509
2431
|
expected: "(Array<string> | undefined)",
|
|
2510
2432
|
value: input3.child_types
|
|
2511
|
-
})) && input3.child_types.map((elem,
|
|
2512
|
-
path: _path2 + ".child_types[" +
|
|
2433
|
+
})) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2434
|
+
path: _path2 + ".child_types[" + _index37 + "]",
|
|
2513
2435
|
expected: "string",
|
|
2514
2436
|
value: elem
|
|
2515
2437
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2524,8 +2446,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2524
2446
|
path: _path2 + ".included_types",
|
|
2525
2447
|
expected: "(Array<string> | undefined)",
|
|
2526
2448
|
value: input3.included_types
|
|
2527
|
-
})) && input3.included_types.map((elem,
|
|
2528
|
-
path: _path2 + ".included_types[" +
|
|
2449
|
+
})) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2450
|
+
path: _path2 + ".included_types[" + _index38 + "]",
|
|
2529
2451
|
expected: "string",
|
|
2530
2452
|
value: elem
|
|
2531
2453
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2544,24 +2466,16 @@ var validCategoriesRequest = (input) => {
|
|
|
2544
2466
|
path: _path2 + ".values",
|
|
2545
2467
|
expected: "(TermValues | undefined)",
|
|
2546
2468
|
value: input3.values
|
|
2547
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2548
|
-
path: _path2 + ".filter",
|
|
2549
|
-
expected: "(TermFilter | undefined)",
|
|
2550
|
-
value: input3.filter
|
|
2551
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2552
|
-
path: _path2 + ".filter",
|
|
2553
|
-
expected: "(TermFilter | undefined)",
|
|
2554
|
-
value: input3.filter
|
|
2555
2469
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2556
2470
|
path: _path2 + ".groupsetting",
|
|
2557
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2471
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
2558
2472
|
value: input3.groupsetting
|
|
2559
2473
|
})) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2560
2474
|
path: _path2 + ".groupsetting",
|
|
2561
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2475
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
2562
2476
|
value: input3.groupsetting
|
|
2563
2477
|
})].every((flag) => flag);
|
|
2564
|
-
const $
|
|
2478
|
+
const $vo55 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2565
2479
|
path: _path2 + ".id",
|
|
2566
2480
|
expected: "string",
|
|
2567
2481
|
value: input3.id
|
|
@@ -2577,8 +2491,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2577
2491
|
path: _path2 + ".child_types",
|
|
2578
2492
|
expected: "(Array<string> | undefined)",
|
|
2579
2493
|
value: input3.child_types
|
|
2580
|
-
})) && input3.child_types.map((elem,
|
|
2581
|
-
path: _path2 + ".child_types[" +
|
|
2494
|
+
})) && input3.child_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2495
|
+
path: _path2 + ".child_types[" + _index39 + "]",
|
|
2582
2496
|
expected: "string",
|
|
2583
2497
|
value: elem
|
|
2584
2498
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2593,8 +2507,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2593
2507
|
path: _path2 + ".included_types",
|
|
2594
2508
|
expected: "(Array<string> | undefined)",
|
|
2595
2509
|
value: input3.included_types
|
|
2596
|
-
})) && input3.included_types.map((elem,
|
|
2597
|
-
path: _path2 + ".included_types[" +
|
|
2510
|
+
})) && input3.included_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2511
|
+
path: _path2 + ".included_types[" + _index40 + "]",
|
|
2598
2512
|
expected: "string",
|
|
2599
2513
|
value: elem
|
|
2600
2514
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2613,19 +2527,11 @@ var validCategoriesRequest = (input) => {
|
|
|
2613
2527
|
path: _path2 + ".values",
|
|
2614
2528
|
expected: "(TermValues | undefined)",
|
|
2615
2529
|
value: input3.values
|
|
2616
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2617
|
-
path: _path2 + ".filter",
|
|
2618
|
-
expected: "(TermFilter | undefined)",
|
|
2619
|
-
value: input3.filter
|
|
2620
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2621
|
-
path: _path2 + ".filter",
|
|
2622
|
-
expected: "(TermFilter | undefined)",
|
|
2623
|
-
value: input3.filter
|
|
2624
2530
|
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2625
2531
|
path: _path2 + ".bins",
|
|
2626
2532
|
expected: "PresetNumericBins",
|
|
2627
2533
|
value: input3.bins
|
|
2628
|
-
})) && $
|
|
2534
|
+
})) && $vo23(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2629
2535
|
path: _path2 + ".bins",
|
|
2630
2536
|
expected: "PresetNumericBins",
|
|
2631
2537
|
value: input3.bins
|
|
@@ -2635,14 +2541,14 @@ var validCategoriesRequest = (input) => {
|
|
|
2635
2541
|
value: input3.unit
|
|
2636
2542
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2637
2543
|
path: _path2 + ".continuousColorScale",
|
|
2638
|
-
expected: "(__type.
|
|
2544
|
+
expected: "(__type.o4 | undefined)",
|
|
2639
2545
|
value: input3.continuousColorScale
|
|
2640
|
-
})) && $
|
|
2546
|
+
})) && $vo29(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2641
2547
|
path: _path2 + ".continuousColorScale",
|
|
2642
|
-
expected: "(__type.
|
|
2548
|
+
expected: "(__type.o4 | undefined)",
|
|
2643
2549
|
value: input3.continuousColorScale
|
|
2644
2550
|
})].every((flag) => flag);
|
|
2645
|
-
const $
|
|
2551
|
+
const $vo56 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2646
2552
|
path: _path2 + ".id",
|
|
2647
2553
|
expected: "string",
|
|
2648
2554
|
value: input3.id
|
|
@@ -2658,8 +2564,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2658
2564
|
path: _path2 + ".child_types",
|
|
2659
2565
|
expected: "(Array<string> | undefined)",
|
|
2660
2566
|
value: input3.child_types
|
|
2661
|
-
})) && input3.child_types.map((elem,
|
|
2662
|
-
path: _path2 + ".child_types[" +
|
|
2567
|
+
})) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2568
|
+
path: _path2 + ".child_types[" + _index41 + "]",
|
|
2663
2569
|
expected: "string",
|
|
2664
2570
|
value: elem
|
|
2665
2571
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2674,8 +2580,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2674
2580
|
path: _path2 + ".included_types",
|
|
2675
2581
|
expected: "(Array<string> | undefined)",
|
|
2676
2582
|
value: input3.included_types
|
|
2677
|
-
})) && input3.included_types.map((elem,
|
|
2678
|
-
path: _path2 + ".included_types[" +
|
|
2583
|
+
})) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2584
|
+
path: _path2 + ".included_types[" + _index42 + "]",
|
|
2679
2585
|
expected: "string",
|
|
2680
2586
|
value: elem
|
|
2681
2587
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2694,16 +2600,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2694
2600
|
path: _path2 + ".values",
|
|
2695
2601
|
expected: "(TermValues | undefined)",
|
|
2696
2602
|
value: input3.values
|
|
2697
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2698
|
-
path: _path2 + ".filter",
|
|
2699
|
-
expected: "(TermFilter | undefined)",
|
|
2700
|
-
value: input3.filter
|
|
2701
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2702
|
-
path: _path2 + ".filter",
|
|
2703
|
-
expected: "(TermFilter | undefined)",
|
|
2704
|
-
value: input3.filter
|
|
2705
2603
|
})].every((flag) => flag);
|
|
2706
|
-
const $
|
|
2604
|
+
const $vo57 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2707
2605
|
path: _path2 + ".id",
|
|
2708
2606
|
expected: "string",
|
|
2709
2607
|
value: input3.id
|
|
@@ -2719,8 +2617,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2719
2617
|
path: _path2 + ".child_types",
|
|
2720
2618
|
expected: "(Array<string> | undefined)",
|
|
2721
2619
|
value: input3.child_types
|
|
2722
|
-
})) && input3.child_types.map((elem,
|
|
2723
|
-
path: _path2 + ".child_types[" +
|
|
2620
|
+
})) && input3.child_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2621
|
+
path: _path2 + ".child_types[" + _index43 + "]",
|
|
2724
2622
|
expected: "string",
|
|
2725
2623
|
value: elem
|
|
2726
2624
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2735,8 +2633,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2735
2633
|
path: _path2 + ".included_types",
|
|
2736
2634
|
expected: "(Array<string> | undefined)",
|
|
2737
2635
|
value: input3.included_types
|
|
2738
|
-
})) && input3.included_types.map((elem,
|
|
2739
|
-
path: _path2 + ".included_types[" +
|
|
2636
|
+
})) && input3.included_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2637
|
+
path: _path2 + ".included_types[" + _index44 + "]",
|
|
2740
2638
|
expected: "string",
|
|
2741
2639
|
value: elem
|
|
2742
2640
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2755,14 +2653,6 @@ var validCategoriesRequest = (input) => {
|
|
|
2755
2653
|
path: _path2 + ".values",
|
|
2756
2654
|
expected: "(TermValues | undefined)",
|
|
2757
2655
|
value: input3.values
|
|
2758
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2759
|
-
path: _path2 + ".filter",
|
|
2760
|
-
expected: "(TermFilter | undefined)",
|
|
2761
|
-
value: input3.filter
|
|
2762
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2763
|
-
path: _path2 + ".filter",
|
|
2764
|
-
expected: "(TermFilter | undefined)",
|
|
2765
|
-
value: input3.filter
|
|
2766
2656
|
}), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
|
|
2767
2657
|
path: _path2 + ".reachedVariantLimit",
|
|
2768
2658
|
expected: "(boolean | undefined)",
|
|
@@ -2771,12 +2661,12 @@ var validCategoriesRequest = (input) => {
|
|
|
2771
2661
|
path: _path2 + ".snps",
|
|
2772
2662
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2773
2663
|
value: input3.snps
|
|
2774
|
-
})) && input3.snps.map((elem,
|
|
2775
|
-
path: _path2 + ".snps[" +
|
|
2664
|
+
})) && input3.snps.map((elem, _index45) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2665
|
+
path: _path2 + ".snps[" + _index45 + "]",
|
|
2776
2666
|
expected: "SnpsEntry",
|
|
2777
2667
|
value: elem
|
|
2778
|
-
})) && $
|
|
2779
|
-
path: _path2 + ".snps[" +
|
|
2668
|
+
})) && $vo48(elem, _path2 + ".snps[" + _index45 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2669
|
+
path: _path2 + ".snps[" + _index45 + "]",
|
|
2780
2670
|
expected: "SnpsEntry",
|
|
2781
2671
|
value: elem
|
|
2782
2672
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2784,7 +2674,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2784
2674
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
2785
2675
|
value: input3.snps
|
|
2786
2676
|
})].every((flag) => flag);
|
|
2787
|
-
const $
|
|
2677
|
+
const $vo58 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2788
2678
|
path: _path2 + ".id",
|
|
2789
2679
|
expected: "string",
|
|
2790
2680
|
value: input3.id
|
|
@@ -2800,8 +2690,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2800
2690
|
path: _path2 + ".child_types",
|
|
2801
2691
|
expected: "(Array<string> | undefined)",
|
|
2802
2692
|
value: input3.child_types
|
|
2803
|
-
})) && input3.child_types.map((elem,
|
|
2804
|
-
path: _path2 + ".child_types[" +
|
|
2693
|
+
})) && input3.child_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2694
|
+
path: _path2 + ".child_types[" + _index46 + "]",
|
|
2805
2695
|
expected: "string",
|
|
2806
2696
|
value: elem
|
|
2807
2697
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2816,8 +2706,8 @@ var validCategoriesRequest = (input) => {
|
|
|
2816
2706
|
path: _path2 + ".included_types",
|
|
2817
2707
|
expected: "(Array<string> | undefined)",
|
|
2818
2708
|
value: input3.included_types
|
|
2819
|
-
})) && input3.included_types.map((elem,
|
|
2820
|
-
path: _path2 + ".included_types[" +
|
|
2709
|
+
})) && input3.included_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2710
|
+
path: _path2 + ".included_types[" + _index47 + "]",
|
|
2821
2711
|
expected: "string",
|
|
2822
2712
|
value: elem
|
|
2823
2713
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2832,20 +2722,12 @@ var validCategoriesRequest = (input) => {
|
|
|
2832
2722
|
path: _path2 + ".values",
|
|
2833
2723
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
2834
2724
|
value: input3.values
|
|
2835
|
-
})) && $
|
|
2725
|
+
})) && $vo59(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2836
2726
|
path: _path2 + ".values",
|
|
2837
2727
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
2838
2728
|
value: input3.values
|
|
2839
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2840
|
-
path: _path2 + ".filter",
|
|
2841
|
-
expected: "(TermFilter | undefined)",
|
|
2842
|
-
value: input3.filter
|
|
2843
|
-
})) && $vo22(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2844
|
-
path: _path2 + ".filter",
|
|
2845
|
-
expected: "(TermFilter | undefined)",
|
|
2846
|
-
value: input3.filter
|
|
2847
2729
|
})].every((flag) => flag);
|
|
2848
|
-
const $
|
|
2730
|
+
const $vo59 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2849
2731
|
const value = input3[key];
|
|
2850
2732
|
if (void 0 === value)
|
|
2851
2733
|
return true;
|
|
@@ -2854,7 +2736,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2854
2736
|
path: _path2 + $join(key),
|
|
2855
2737
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2856
2738
|
value
|
|
2857
|
-
})) && $
|
|
2739
|
+
})) && $vo60(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2858
2740
|
path: _path2 + $join(key),
|
|
2859
2741
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2860
2742
|
value
|
|
@@ -2864,14 +2746,14 @@ var validCategoriesRequest = (input) => {
|
|
|
2864
2746
|
path: _path2 + $join(key),
|
|
2865
2747
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2866
2748
|
value
|
|
2867
|
-
})) && $
|
|
2749
|
+
})) && $vo60(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2868
2750
|
path: _path2 + $join(key),
|
|
2869
2751
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2870
2752
|
value
|
|
2871
2753
|
});
|
|
2872
2754
|
return true;
|
|
2873
2755
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2874
|
-
const $
|
|
2756
|
+
const $vo60 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
2875
2757
|
path: _path2 + ".key",
|
|
2876
2758
|
expected: "(string | undefined)",
|
|
2877
2759
|
value: input3.key
|
|
@@ -2899,7 +2781,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2899
2781
|
path: _path2 + ".filter",
|
|
2900
2782
|
expected: "(Filter | undefined)",
|
|
2901
2783
|
value: input3.filter
|
|
2902
|
-
})) && $
|
|
2784
|
+
})) && $vo12(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2903
2785
|
path: _path2 + ".filter",
|
|
2904
2786
|
expected: "(Filter | undefined)",
|
|
2905
2787
|
value: input3.filter
|
|
@@ -2915,20 +2797,20 @@ var validCategoriesRequest = (input) => {
|
|
|
2915
2797
|
path: _path2 + ".list",
|
|
2916
2798
|
expected: "Array<__type>.o4",
|
|
2917
2799
|
value: input3.list
|
|
2918
|
-
})) && input3.list.map((elem,
|
|
2919
|
-
path: _path2 + ".list[" +
|
|
2920
|
-
expected: "__type.
|
|
2800
|
+
})) && input3.list.map((elem, _index48) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2801
|
+
path: _path2 + ".list[" + _index48 + "]",
|
|
2802
|
+
expected: "__type.o9",
|
|
2921
2803
|
value: elem
|
|
2922
|
-
})) && $
|
|
2923
|
-
path: _path2 + ".list[" +
|
|
2924
|
-
expected: "__type.
|
|
2804
|
+
})) && $vo61(elem, _path2 + ".list[" + _index48 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2805
|
+
path: _path2 + ".list[" + _index48 + "]",
|
|
2806
|
+
expected: "__type.o9",
|
|
2925
2807
|
value: elem
|
|
2926
2808
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2927
2809
|
path: _path2 + ".list",
|
|
2928
2810
|
expected: "Array<__type>.o4",
|
|
2929
2811
|
value: input3.list
|
|
2930
2812
|
}), true].every((flag) => flag);
|
|
2931
|
-
const $
|
|
2813
|
+
const $vo61 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
2932
2814
|
path: _path2 + ".sampleId",
|
|
2933
2815
|
expected: "string",
|
|
2934
2816
|
value: input3.sampleId
|
|
@@ -2937,7 +2819,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2937
2819
|
expected: "string",
|
|
2938
2820
|
value: input3.sample
|
|
2939
2821
|
})].every((flag) => flag);
|
|
2940
|
-
const $
|
|
2822
|
+
const $vo62 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2941
2823
|
path: _path2 + ".hiddenValues",
|
|
2942
2824
|
expected: "(HiddenValues | undefined)",
|
|
2943
2825
|
value: input3.hiddenValues
|
|
@@ -2966,7 +2848,7 @@ var validCategoriesRequest = (input) => {
|
|
|
2966
2848
|
expected: '("custom-bin" | "custom-groupset" | "custom-samplelst" | "filter" | "predefined-groupset" | "regular-bin" | "values" | undefined)',
|
|
2967
2849
|
value: input3.type
|
|
2968
2850
|
})].every((flag) => flag);
|
|
2969
|
-
const $
|
|
2851
|
+
const $vo63 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2970
2852
|
path: _path2 + ".hiddenValues",
|
|
2971
2853
|
expected: "(HiddenValues | undefined)",
|
|
2972
2854
|
value: input3.hiddenValues
|
|
@@ -3006,8 +2888,8 @@ var validCategoriesRequest = (input) => {
|
|
|
3006
2888
|
path: _path2 + ".breaks",
|
|
3007
2889
|
expected: "(Array<number> | undefined)",
|
|
3008
2890
|
value: input3.breaks
|
|
3009
|
-
})) && input3.breaks.map((elem,
|
|
3010
|
-
path: _path2 + ".breaks[" +
|
|
2891
|
+
})) && input3.breaks.map((elem, _index49) => "number" === typeof elem || $report(_exceptionable2, {
|
|
2892
|
+
path: _path2 + ".breaks[" + _index49 + "]",
|
|
3011
2893
|
expected: "number",
|
|
3012
2894
|
value: elem
|
|
3013
2895
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3031,7 +2913,7 @@ var validCategoriesRequest = (input) => {
|
|
|
3031
2913
|
expected: "(boolean | undefined)",
|
|
3032
2914
|
value: input3.value_by_computable_grade
|
|
3033
2915
|
}), true].every((flag) => flag);
|
|
3034
|
-
const $
|
|
2916
|
+
const $vo64 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
3035
2917
|
path: _path2 + ".hiddenValues",
|
|
3036
2918
|
expected: "(HiddenValues | undefined)",
|
|
3037
2919
|
value: input3.hiddenValues
|
|
@@ -3063,38 +2945,38 @@ var validCategoriesRequest = (input) => {
|
|
|
3063
2945
|
path: _path2 + ".groups",
|
|
3064
2946
|
expected: "SampleLstTermValues",
|
|
3065
2947
|
value: input3.groups
|
|
3066
|
-
})) && $
|
|
2948
|
+
})) && $vo65(input3.groups, _path2 + ".groups", _exceptionable2) || $report(_exceptionable2, {
|
|
3067
2949
|
path: _path2 + ".groups",
|
|
3068
2950
|
expected: "SampleLstTermValues",
|
|
3069
2951
|
value: input3.groups
|
|
3070
2952
|
})].every((flag) => flag);
|
|
3071
|
-
const $
|
|
2953
|
+
const $vo65 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3072
2954
|
const value = input3[key];
|
|
3073
2955
|
if (void 0 === value)
|
|
3074
2956
|
return true;
|
|
3075
2957
|
if (RegExp(/(.*)/).test(key))
|
|
3076
2958
|
return ("object" === typeof value && null !== value || $report(_exceptionable2, {
|
|
3077
2959
|
path: _path2 + $join(key),
|
|
3078
|
-
expected: "__type.
|
|
2960
|
+
expected: "__type.o10",
|
|
3079
2961
|
value
|
|
3080
|
-
})) && $
|
|
2962
|
+
})) && $vo66(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3081
2963
|
path: _path2 + $join(key),
|
|
3082
|
-
expected: "__type.
|
|
2964
|
+
expected: "__type.o10",
|
|
3083
2965
|
value
|
|
3084
2966
|
});
|
|
3085
2967
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
3086
2968
|
return ("object" === typeof value && null !== value || $report(_exceptionable2, {
|
|
3087
2969
|
path: _path2 + $join(key),
|
|
3088
|
-
expected: "__type.
|
|
2970
|
+
expected: "__type.o10",
|
|
3089
2971
|
value
|
|
3090
|
-
})) && $
|
|
2972
|
+
})) && $vo66(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3091
2973
|
path: _path2 + $join(key),
|
|
3092
|
-
expected: "__type.
|
|
2974
|
+
expected: "__type.o10",
|
|
3093
2975
|
value
|
|
3094
2976
|
});
|
|
3095
2977
|
return true;
|
|
3096
2978
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3097
|
-
const $
|
|
2979
|
+
const $vo66 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
3098
2980
|
path: _path2 + ".name",
|
|
3099
2981
|
expected: "string",
|
|
3100
2982
|
value: input3.name
|
|
@@ -3106,13 +2988,13 @@ var validCategoriesRequest = (input) => {
|
|
|
3106
2988
|
path: _path2 + ".list",
|
|
3107
2989
|
expected: "Array<__type>.o4",
|
|
3108
2990
|
value: input3.list
|
|
3109
|
-
})) && input3.list.map((elem,
|
|
3110
|
-
path: _path2 + ".list[" +
|
|
3111
|
-
expected: "__type.
|
|
2991
|
+
})) && input3.list.map((elem, _index50) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2992
|
+
path: _path2 + ".list[" + _index50 + "]",
|
|
2993
|
+
expected: "__type.o9",
|
|
3112
2994
|
value: elem
|
|
3113
|
-
})) && $
|
|
3114
|
-
path: _path2 + ".list[" +
|
|
3115
|
-
expected: "__type.
|
|
2995
|
+
})) && $vo61(elem, _path2 + ".list[" + _index50 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2996
|
+
path: _path2 + ".list[" + _index50 + "]",
|
|
2997
|
+
expected: "__type.o9",
|
|
3116
2998
|
value: elem
|
|
3117
2999
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3118
3000
|
path: _path2 + ".list",
|
|
@@ -3132,27 +3014,27 @@ var validCategoriesRequest = (input) => {
|
|
|
3132
3014
|
})();
|
|
3133
3015
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3134
3016
|
if ("tvslst" === input3.type)
|
|
3135
|
-
return $
|
|
3017
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
3136
3018
|
if ("tvs" === input3.type)
|
|
3137
|
-
return $
|
|
3019
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
3138
3020
|
return $report(_exceptionable2, {
|
|
3139
3021
|
path: _path2,
|
|
3140
|
-
expected: "(Filter | __type.
|
|
3022
|
+
expected: "(Filter | __type.o2)",
|
|
3141
3023
|
value: input3
|
|
3142
3024
|
});
|
|
3143
3025
|
})();
|
|
3144
3026
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3145
3027
|
if (true === input3.startunbounded)
|
|
3146
|
-
return $
|
|
3028
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
3147
3029
|
if (true === input3.stopunbounded)
|
|
3148
|
-
return $
|
|
3149
|
-
return $
|
|
3030
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
3031
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
3150
3032
|
})();
|
|
3151
3033
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3152
3034
|
if (true === input3.startunbounded)
|
|
3153
|
-
return $
|
|
3035
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
3154
3036
|
if (void 0 !== input3.start)
|
|
3155
|
-
return $
|
|
3037
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
3156
3038
|
return $report(_exceptionable2, {
|
|
3157
3039
|
path: _path2,
|
|
3158
3040
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
@@ -3161,9 +3043,9 @@ var validCategoriesRequest = (input) => {
|
|
|
3161
3043
|
})();
|
|
3162
3044
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3163
3045
|
if (void 0 !== input3.stop)
|
|
3164
|
-
return $
|
|
3046
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
3165
3047
|
if (true === input3.stopunbounded)
|
|
3166
|
-
return $
|
|
3048
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
3167
3049
|
return $report(_exceptionable2, {
|
|
3168
3050
|
path: _path2,
|
|
3169
3051
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
@@ -3173,7 +3055,7 @@ var validCategoriesRequest = (input) => {
|
|
|
3173
3055
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3174
3056
|
if (void 0 !== input3.type)
|
|
3175
3057
|
return $vo1(input3, _path2, _exceptionable2);
|
|
3176
|
-
return $
|
|
3058
|
+
return $vo51(input3, _path2, false) || $vo44(input3, _path2, false) || $vo39(input3, _path2, false);
|
|
3177
3059
|
})();
|
|
3178
3060
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3179
3061
|
if ("values" === input3.type)
|
|
@@ -3185,58 +3067,58 @@ var validCategoriesRequest = (input) => {
|
|
|
3185
3067
|
return $vo5(input3, _path2, _exceptionable2);
|
|
3186
3068
|
})();
|
|
3187
3069
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3188
|
-
if (
|
|
3189
|
-
return $
|
|
3190
|
-
|
|
3191
|
-
return $vo41(input3, _path2, _exceptionable2);
|
|
3192
|
-
return $report(_exceptionable2, {
|
|
3193
|
-
path: _path2,
|
|
3194
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; })',
|
|
3195
|
-
value: input3
|
|
3196
|
-
});
|
|
3070
|
+
if (void 0 !== input3.ranges)
|
|
3071
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
3072
|
+
return $vo14(input3, _path2, false) || $vo31(input3, _path2, false) || $vo34(input3, _path2, false);
|
|
3197
3073
|
})();
|
|
3198
3074
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3199
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
3200
|
-
return $
|
|
3201
|
-
return $
|
|
3075
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index51) => "object" === typeof elem && null !== elem && $vo19(elem, _path2 + ".lst[" + _index51 + "]", false)).every((flag) => flag))
|
|
3076
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
3077
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
3202
3078
|
})();
|
|
3203
3079
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3204
|
-
if (void 0 !== input3.ranges)
|
|
3205
|
-
return $vo26(input3, _path2, _exceptionable2);
|
|
3206
|
-
return $vo20(input3, _path2, false) || $vo36(input3, _path2, false) || $vo39(input3, _path2, false);
|
|
3207
|
-
})();
|
|
3208
|
-
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3209
3080
|
if ("regular-bin" === input3.type)
|
|
3210
|
-
return $
|
|
3081
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
3211
3082
|
if ("custom-bin" === input3.type)
|
|
3212
|
-
return $
|
|
3083
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
3213
3084
|
return $report(_exceptionable2, {
|
|
3214
3085
|
path: _path2,
|
|
3215
3086
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
3216
3087
|
value: input3
|
|
3217
3088
|
});
|
|
3218
3089
|
})();
|
|
3090
|
+
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3091
|
+
if ("gene" === input3.kind)
|
|
3092
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
3093
|
+
if ("coord" === input3.kind)
|
|
3094
|
+
return $vo37(input3, _path2, _exceptionable2);
|
|
3095
|
+
return $report(_exceptionable2, {
|
|
3096
|
+
path: _path2,
|
|
3097
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|
|
3098
|
+
value: input3
|
|
3099
|
+
});
|
|
3100
|
+
})();
|
|
3219
3101
|
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3220
3102
|
if ("regular-bin" === input3.type)
|
|
3221
|
-
return $
|
|
3103
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
3222
3104
|
if ("continuous" === input3.mode)
|
|
3223
|
-
return $
|
|
3105
|
+
return $vo41(input3, _path2, _exceptionable2);
|
|
3224
3106
|
if ("spline" === input3.mode)
|
|
3225
|
-
return $
|
|
3226
|
-
return $
|
|
3107
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
3108
|
+
return $vo28(input3, _path2, false) || $vo40(input3, _path2, false);
|
|
3227
3109
|
})();
|
|
3228
3110
|
const $vu12 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3229
3111
|
if ("gene" === input3.kind)
|
|
3230
|
-
return $
|
|
3112
|
+
return $vo52(input3, _path2, _exceptionable2);
|
|
3231
3113
|
if ("coord" === input3.kind)
|
|
3232
|
-
return $
|
|
3114
|
+
return $vo53(input3, _path2, _exceptionable2);
|
|
3233
3115
|
if ("categorical" === input3.type)
|
|
3234
|
-
return $
|
|
3116
|
+
return $vo54(input3, _path2, _exceptionable2);
|
|
3235
3117
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
3236
|
-
return $
|
|
3118
|
+
return $vo55(input3, _path2, _exceptionable2);
|
|
3237
3119
|
if ("condition" === input3.type)
|
|
3238
|
-
return $
|
|
3239
|
-
return $
|
|
3120
|
+
return $vo56(input3, _path2, _exceptionable2);
|
|
3121
|
+
return $vo57(input3, _path2, false) || $vo58(input3, _path2, false);
|
|
3240
3122
|
})();
|
|
3241
3123
|
const $vu13 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3242
3124
|
if (void 0 !== input3.predefined_groupset_idx)
|
|
@@ -3244,17 +3126,17 @@ var validCategoriesRequest = (input) => {
|
|
|
3244
3126
|
if (void 0 !== input3.customset)
|
|
3245
3127
|
return $vo7(input3, _path2, _exceptionable2);
|
|
3246
3128
|
if (void 0 !== input3.bin_size)
|
|
3247
|
-
return $
|
|
3129
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
3248
3130
|
if (void 0 !== input3.knots)
|
|
3249
|
-
return $
|
|
3131
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
3250
3132
|
if (void 0 !== input3.AFcutoff)
|
|
3251
|
-
return $
|
|
3133
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
3252
3134
|
if (void 0 !== input3.timeScale)
|
|
3253
|
-
return $
|
|
3135
|
+
return $vo63(input3, _path2, _exceptionable2);
|
|
3254
3136
|
return (() => {
|
|
3255
3137
|
if (void 0 !== input3.groups)
|
|
3256
|
-
return $
|
|
3257
|
-
return $vo5(input3, _path2, false) || $
|
|
3138
|
+
return $vo64(input3, _path2, _exceptionable2);
|
|
3139
|
+
return $vo5(input3, _path2, false) || $vo62(input3, _path2, false) || $vo3(input3, _path2, false) || $vo28(input3, _path2, false) || $vo40(input3, _path2, false) || $vo41(input3, _path2, false);
|
|
3258
3140
|
})();
|
|
3259
3141
|
})();
|
|
3260
3142
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|