@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
|
@@ -63,7 +63,7 @@ var validViolinRequest = (input) => {
|
|
|
63
63
|
const $io1 = (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 && $iu0(elem)));
|
|
64
64
|
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu3(input3.tvs));
|
|
65
65
|
const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io4(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) && $io6(elem)));
|
|
66
|
-
const $io4 = (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) && $io5(input3.values)) && (
|
|
66
|
+
const $io4 = (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) && $io5(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
67
67
|
const $io5 = (input3) => Object.keys(input3).every((key) => {
|
|
68
68
|
const value = input3[key];
|
|
69
69
|
if (void 0 === value)
|
|
@@ -75,23 +75,17 @@ var validViolinRequest = (input) => {
|
|
|
75
75
|
return true;
|
|
76
76
|
});
|
|
77
77
|
const $io6 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter));
|
|
78
|
-
const $io7 = (input3) =>
|
|
79
|
-
const $io8 = (input3) => Array.isArray(input3.
|
|
80
|
-
const $io9 = (input3) => "string" === typeof input3.
|
|
81
|
-
const $io10 = (input3) =>
|
|
82
|
-
const $io11 = (input3) =>
|
|
83
|
-
const $io12 = (input3) => "
|
|
84
|
-
const $io13 = (input3) => "string" === typeof input3.
|
|
85
|
-
const $io14 = (input3) => ("string" === typeof input3.
|
|
86
|
-
const $io15 = (input3) => "
|
|
87
|
-
const $io16 = (input3) => "object" === typeof input3.
|
|
88
|
-
const $io17 = (input3) =>
|
|
89
|
-
const $io18 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
90
|
-
const $io19 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io20(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io29(elem)));
|
|
91
|
-
const $io20 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io21(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io28(input3.continuousColorScale));
|
|
92
|
-
const $io21 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu6(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu6(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
93
|
-
const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io23(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu7(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu8(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
94
|
-
const $io23 = (input3) => Object.keys(input3).every((key) => {
|
|
78
|
+
const $io7 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io8(elem)));
|
|
79
|
+
const $io8 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.id || "string" === typeof input3.id) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
80
|
+
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);
|
|
81
|
+
const $io10 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
82
|
+
const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
83
|
+
const $io12 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
84
|
+
const $io13 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io14(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io23(elem)));
|
|
85
|
+
const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale));
|
|
86
|
+
const $io15 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu5(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu5(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);
|
|
87
|
+
const $io16 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu6(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu7(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
88
|
+
const $io17 = (input3) => Object.keys(input3).every((key) => {
|
|
95
89
|
const value = input3[key];
|
|
96
90
|
if (void 0 === value)
|
|
97
91
|
return true;
|
|
@@ -99,17 +93,20 @@ var validViolinRequest = (input) => {
|
|
|
99
93
|
return "number" === typeof value;
|
|
100
94
|
return true;
|
|
101
95
|
});
|
|
102
|
-
const $
|
|
103
|
-
const $
|
|
104
|
-
const $
|
|
105
|
-
const $
|
|
106
|
-
const $
|
|
107
|
-
const $
|
|
108
|
-
const $
|
|
109
|
-
const $
|
|
110
|
-
const $
|
|
111
|
-
const $
|
|
112
|
-
const $
|
|
96
|
+
const $io18 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
97
|
+
const $io19 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
98
|
+
const $io20 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
99
|
+
const $io21 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
100
|
+
const $io22 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
101
|
+
const $io23 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
102
|
+
const $io24 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io25(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io26(elem)));
|
|
103
|
+
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
|
|
104
|
+
const $io26 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
|
|
105
|
+
const $io27 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io28(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io31(elem)));
|
|
106
|
+
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu8(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
|
|
107
|
+
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io28(elem)));
|
|
108
|
+
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(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 && $iu4(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io28(elem)));
|
|
109
|
+
const $io31 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
113
110
|
const $iu0 = (input3) => (() => {
|
|
114
111
|
if ("tvslst" === input3.type)
|
|
115
112
|
return $io1(input3);
|
|
@@ -119,62 +116,62 @@ var validViolinRequest = (input) => {
|
|
|
119
116
|
})();
|
|
120
117
|
const $iu1 = (input3) => (() => {
|
|
121
118
|
if ("string" === typeof input3.type)
|
|
122
|
-
return $
|
|
119
|
+
return $io9(input3);
|
|
123
120
|
if ("filter" === input3.type)
|
|
124
|
-
return $
|
|
121
|
+
return $io11(input3);
|
|
125
122
|
return false;
|
|
126
123
|
})();
|
|
127
124
|
const $iu2 = (input3) => (() => {
|
|
128
125
|
if (true === input3.startunbounded)
|
|
129
|
-
return $
|
|
126
|
+
return $io18(input3);
|
|
130
127
|
if (true === input3.stopunbounded)
|
|
131
|
-
return $
|
|
132
|
-
return $
|
|
128
|
+
return $io20(input3);
|
|
129
|
+
return $io19(input3);
|
|
133
130
|
})();
|
|
134
131
|
const $iu3 = (input3) => (() => {
|
|
135
132
|
if (void 0 !== input3.ranges)
|
|
136
|
-
return $
|
|
133
|
+
return $io13(input3);
|
|
137
134
|
return (() => {
|
|
138
135
|
if ($io3(input3))
|
|
139
136
|
return $io3(input3);
|
|
140
|
-
if ($
|
|
141
|
-
return $
|
|
142
|
-
if ($
|
|
143
|
-
return $
|
|
137
|
+
if ($io24(input3))
|
|
138
|
+
return $io24(input3);
|
|
139
|
+
if ($io27(input3))
|
|
140
|
+
return $io27(input3);
|
|
144
141
|
return false;
|
|
145
142
|
})();
|
|
146
143
|
})();
|
|
147
144
|
const $iu4 = (input3) => (() => {
|
|
148
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $
|
|
149
|
-
return $
|
|
150
|
-
return $
|
|
145
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io8(elem)))
|
|
146
|
+
return $io7(input3);
|
|
147
|
+
return $io12(input3);
|
|
151
148
|
})();
|
|
152
149
|
const $iu5 = (input3) => (() => {
|
|
153
|
-
if ("gene" === input3.kind)
|
|
154
|
-
return $io10(input3);
|
|
155
|
-
if ("coord" === input3.kind)
|
|
156
|
-
return $io18(input3);
|
|
157
|
-
return false;
|
|
158
|
-
})();
|
|
159
|
-
const $iu6 = (input3) => (() => {
|
|
160
150
|
if ("regular-bin" === input3.type)
|
|
161
|
-
return $
|
|
151
|
+
return $io16(input3);
|
|
162
152
|
if ("custom-bin" === input3.type)
|
|
163
|
-
return $
|
|
153
|
+
return $io21(input3);
|
|
164
154
|
return false;
|
|
165
155
|
})();
|
|
166
|
-
const $
|
|
156
|
+
const $iu6 = (input3) => (() => {
|
|
167
157
|
if (true === input3.startunbounded)
|
|
168
|
-
return $
|
|
158
|
+
return $io18(input3);
|
|
169
159
|
if (void 0 !== input3.start)
|
|
170
|
-
return $
|
|
160
|
+
return $io19(input3);
|
|
171
161
|
return false;
|
|
172
162
|
})();
|
|
173
|
-
const $
|
|
163
|
+
const $iu7 = (input3) => (() => {
|
|
174
164
|
if (void 0 !== input3.stop)
|
|
175
|
-
return $
|
|
165
|
+
return $io19(input3);
|
|
176
166
|
if (true === input3.stopunbounded)
|
|
177
|
-
return $
|
|
167
|
+
return $io20(input3);
|
|
168
|
+
return false;
|
|
169
|
+
})();
|
|
170
|
+
const $iu8 = (input3) => (() => {
|
|
171
|
+
if ("gene" === input3.kind)
|
|
172
|
+
return $io29(input3);
|
|
173
|
+
if ("coord" === input3.kind)
|
|
174
|
+
return $io30(input3);
|
|
178
175
|
return false;
|
|
179
176
|
})();
|
|
180
177
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -391,21 +388,13 @@ var validViolinRequest = (input) => {
|
|
|
391
388
|
path: _path2 + ".values",
|
|
392
389
|
expected: "(TermValues | undefined)",
|
|
393
390
|
value: input3.values
|
|
394
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
395
|
-
path: _path2 + ".filter",
|
|
396
|
-
expected: "(TermFilter | undefined)",
|
|
397
|
-
value: input3.filter
|
|
398
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
399
|
-
path: _path2 + ".filter",
|
|
400
|
-
expected: "(TermFilter | undefined)",
|
|
401
|
-
value: input3.filter
|
|
402
391
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
403
392
|
path: _path2 + ".groupsetting",
|
|
404
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
393
|
+
expected: "(EnabledTermGroupSetting | __type.o2)",
|
|
405
394
|
value: input3.groupsetting
|
|
406
395
|
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
407
396
|
path: _path2 + ".groupsetting",
|
|
408
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
397
|
+
expected: "(EnabledTermGroupSetting | __type.o2)",
|
|
409
398
|
value: input3.groupsetting
|
|
410
399
|
})].every((flag) => flag);
|
|
411
400
|
const $vo5 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
@@ -467,183 +456,7 @@ var validViolinRequest = (input) => {
|
|
|
467
456
|
expected: "(Filter | undefined)",
|
|
468
457
|
value: input3.filter
|
|
469
458
|
})].every((flag) => flag);
|
|
470
|
-
const $vo7 = (input3, _path2, _exceptionable2 = true) => [
|
|
471
|
-
path: _path2 + ".opts",
|
|
472
|
-
expected: "__type.o1",
|
|
473
|
-
value: input3.opts
|
|
474
|
-
})) && $vo8(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
475
|
-
path: _path2 + ".opts",
|
|
476
|
-
expected: "__type.o1",
|
|
477
|
-
value: input3.opts
|
|
478
|
-
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
479
|
-
path: _path2 + ".terms",
|
|
480
|
-
expected: "Array<DtTerm>",
|
|
481
|
-
value: input3.terms
|
|
482
|
-
})) && input3.terms.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
483
|
-
path: _path2 + ".terms[" + _index6 + "]",
|
|
484
|
-
expected: "DtTerm",
|
|
485
|
-
value: elem
|
|
486
|
-
})) && $vo9(elem, _path2 + ".terms[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
487
|
-
path: _path2 + ".terms[" + _index6 + "]",
|
|
488
|
-
expected: "DtTerm",
|
|
489
|
-
value: elem
|
|
490
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
491
|
-
path: _path2 + ".terms",
|
|
492
|
-
expected: "Array<DtTerm>",
|
|
493
|
-
value: input3.terms
|
|
494
|
-
})].every((flag) => flag);
|
|
495
|
-
const $vo8 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.joinWith) || $report(_exceptionable2, {
|
|
496
|
-
path: _path2 + ".joinWith",
|
|
497
|
-
expected: "Array<string>",
|
|
498
|
-
value: input3.joinWith
|
|
499
|
-
})) && input3.joinWith.map((elem, _index7) => "string" === typeof elem || $report(_exceptionable2, {
|
|
500
|
-
path: _path2 + ".joinWith[" + _index7 + "]",
|
|
501
|
-
expected: "string",
|
|
502
|
-
value: elem
|
|
503
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
504
|
-
path: _path2 + ".joinWith",
|
|
505
|
-
expected: "Array<string>",
|
|
506
|
-
value: input3.joinWith
|
|
507
|
-
})].every((flag) => flag);
|
|
508
|
-
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
509
|
-
path: _path2 + ".id",
|
|
510
|
-
expected: "string",
|
|
511
|
-
value: input3.id
|
|
512
|
-
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
513
|
-
path: _path2 + ".query",
|
|
514
|
-
expected: "string",
|
|
515
|
-
value: input3.query
|
|
516
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
517
|
-
path: _path2 + ".name",
|
|
518
|
-
expected: "string",
|
|
519
|
-
value: input3.name
|
|
520
|
-
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
521
|
-
path: _path2 + ".name_noOrigin",
|
|
522
|
-
expected: "string",
|
|
523
|
-
value: input3.name_noOrigin
|
|
524
|
-
}), void 0 === input3.geneVariantTerm || ("object" === typeof input3.geneVariantTerm && null !== input3.geneVariantTerm || $report(_exceptionable2, {
|
|
525
|
-
path: _path2 + ".geneVariantTerm",
|
|
526
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
527
|
-
value: input3.geneVariantTerm
|
|
528
|
-
})) && $vu5(input3.geneVariantTerm, _path2 + ".geneVariantTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
529
|
-
path: _path2 + ".geneVariantTerm",
|
|
530
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | undefined)',
|
|
531
|
-
value: input3.geneVariantTerm
|
|
532
|
-
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
533
|
-
path: _path2 + ".isleaf",
|
|
534
|
-
expected: "boolean",
|
|
535
|
-
value: input3.isleaf
|
|
536
|
-
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
537
|
-
path: _path2 + ".type",
|
|
538
|
-
expected: "string",
|
|
539
|
-
value: input3.type
|
|
540
|
-
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
541
|
-
path: _path2 + ".dt",
|
|
542
|
-
expected: "number",
|
|
543
|
-
value: input3.dt
|
|
544
|
-
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
545
|
-
path: _path2 + ".origin",
|
|
546
|
-
expected: "(string | undefined)",
|
|
547
|
-
value: input3.origin
|
|
548
|
-
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
549
|
-
path: _path2 + ".values",
|
|
550
|
-
expected: "TermValues",
|
|
551
|
-
value: input3.values
|
|
552
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
553
|
-
path: _path2 + ".values",
|
|
554
|
-
expected: "TermValues",
|
|
555
|
-
value: input3.values
|
|
556
|
-
})].every((flag) => flag);
|
|
557
|
-
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
558
|
-
path: _path2 + ".id",
|
|
559
|
-
expected: "string",
|
|
560
|
-
value: input3.id
|
|
561
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
562
|
-
path: _path2 + ".name",
|
|
563
|
-
expected: "string",
|
|
564
|
-
value: input3.name
|
|
565
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
566
|
-
path: _path2 + ".type",
|
|
567
|
-
expected: '"geneVariant"',
|
|
568
|
-
value: input3.type
|
|
569
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
570
|
-
path: _path2 + ".child_types",
|
|
571
|
-
expected: "(Array<string> | undefined)",
|
|
572
|
-
value: input3.child_types
|
|
573
|
-
})) && input3.child_types.map((elem, _index8) => "string" === typeof elem || $report(_exceptionable2, {
|
|
574
|
-
path: _path2 + ".child_types[" + _index8 + "]",
|
|
575
|
-
expected: "string",
|
|
576
|
-
value: elem
|
|
577
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
578
|
-
path: _path2 + ".child_types",
|
|
579
|
-
expected: "(Array<string> | undefined)",
|
|
580
|
-
value: input3.child_types
|
|
581
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
582
|
-
path: _path2 + ".hashtmldetail",
|
|
583
|
-
expected: "(boolean | undefined)",
|
|
584
|
-
value: input3.hashtmldetail
|
|
585
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
586
|
-
path: _path2 + ".included_types",
|
|
587
|
-
expected: "(Array<string> | undefined)",
|
|
588
|
-
value: input3.included_types
|
|
589
|
-
})) && input3.included_types.map((elem, _index9) => "string" === typeof elem || $report(_exceptionable2, {
|
|
590
|
-
path: _path2 + ".included_types[" + _index9 + "]",
|
|
591
|
-
expected: "string",
|
|
592
|
-
value: elem
|
|
593
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
594
|
-
path: _path2 + ".included_types",
|
|
595
|
-
expected: "(Array<string> | undefined)",
|
|
596
|
-
value: input3.included_types
|
|
597
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
598
|
-
path: _path2 + ".isleaf",
|
|
599
|
-
expected: "(boolean | undefined)",
|
|
600
|
-
value: input3.isleaf
|
|
601
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
602
|
-
path: _path2 + ".values",
|
|
603
|
-
expected: "(TermValues | undefined)",
|
|
604
|
-
value: input3.values
|
|
605
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
606
|
-
path: _path2 + ".values",
|
|
607
|
-
expected: "(TermValues | undefined)",
|
|
608
|
-
value: input3.values
|
|
609
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
610
|
-
path: _path2 + ".filter",
|
|
611
|
-
expected: "(TermFilter | undefined)",
|
|
612
|
-
value: input3.filter
|
|
613
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
614
|
-
path: _path2 + ".filter",
|
|
615
|
-
expected: "(TermFilter | undefined)",
|
|
616
|
-
value: input3.filter
|
|
617
|
-
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
618
|
-
path: _path2 + ".kind",
|
|
619
|
-
expected: '"gene"',
|
|
620
|
-
value: input3.kind
|
|
621
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
622
|
-
path: _path2 + ".gene",
|
|
623
|
-
expected: "string",
|
|
624
|
-
value: input3.gene
|
|
625
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
626
|
-
path: _path2 + ".chr",
|
|
627
|
-
expected: "(string | undefined)",
|
|
628
|
-
value: input3.chr
|
|
629
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
630
|
-
path: _path2 + ".start",
|
|
631
|
-
expected: "(number | undefined)",
|
|
632
|
-
value: input3.start
|
|
633
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
634
|
-
path: _path2 + ".stop",
|
|
635
|
-
expected: "(number | undefined)",
|
|
636
|
-
value: input3.stop
|
|
637
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
638
|
-
path: _path2 + ".groupsetting",
|
|
639
|
-
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
640
|
-
value: input3.groupsetting
|
|
641
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
642
|
-
path: _path2 + ".groupsetting",
|
|
643
|
-
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
644
|
-
value: input3.groupsetting
|
|
645
|
-
})].every((flag) => flag);
|
|
646
|
-
const $vo11 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
459
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
647
460
|
path: _path2 + ".disabled",
|
|
648
461
|
expected: "(boolean | undefined)",
|
|
649
462
|
value: input3.disabled
|
|
@@ -651,12 +464,12 @@ var validViolinRequest = (input) => {
|
|
|
651
464
|
path: _path2 + ".lst",
|
|
652
465
|
expected: "Array<Groupset>",
|
|
653
466
|
value: input3.lst
|
|
654
|
-
})) && input3.lst.map((elem,
|
|
655
|
-
path: _path2 + ".lst[" +
|
|
467
|
+
})) && input3.lst.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
468
|
+
path: _path2 + ".lst[" + _index6 + "]",
|
|
656
469
|
expected: "Groupset",
|
|
657
470
|
value: elem
|
|
658
|
-
})) && $
|
|
659
|
-
path: _path2 + ".lst[" +
|
|
471
|
+
})) && $vo8(elem, _path2 + ".lst[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
472
|
+
path: _path2 + ".lst[" + _index6 + "]",
|
|
660
473
|
expected: "Groupset",
|
|
661
474
|
value: elem
|
|
662
475
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -664,7 +477,7 @@ var validViolinRequest = (input) => {
|
|
|
664
477
|
expected: "Array<Groupset>",
|
|
665
478
|
value: input3.lst
|
|
666
479
|
})].every((flag) => flag);
|
|
667
|
-
const $
|
|
480
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
668
481
|
path: _path2 + ".name",
|
|
669
482
|
expected: "string",
|
|
670
483
|
value: input3.name
|
|
@@ -684,12 +497,12 @@ var validViolinRequest = (input) => {
|
|
|
684
497
|
path: _path2 + ".groups",
|
|
685
498
|
expected: "Array<GroupEntry>",
|
|
686
499
|
value: input3.groups
|
|
687
|
-
})) && input3.groups.map((elem,
|
|
688
|
-
path: _path2 + ".groups[" +
|
|
500
|
+
})) && input3.groups.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
501
|
+
path: _path2 + ".groups[" + _index7 + "]",
|
|
689
502
|
expected: "(FilterGroup | ValuesGroup)",
|
|
690
503
|
value: elem
|
|
691
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
692
|
-
path: _path2 + ".groups[" +
|
|
504
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
505
|
+
path: _path2 + ".groups[" + _index7 + "]",
|
|
693
506
|
expected: "(FilterGroup | ValuesGroup)",
|
|
694
507
|
value: elem
|
|
695
508
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -697,7 +510,7 @@ var validViolinRequest = (input) => {
|
|
|
697
510
|
expected: "Array<GroupEntry>",
|
|
698
511
|
value: input3.groups
|
|
699
512
|
})].every((flag) => flag);
|
|
700
|
-
const $
|
|
513
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
701
514
|
path: _path2 + ".name",
|
|
702
515
|
expected: "string",
|
|
703
516
|
value: input3.name
|
|
@@ -709,13 +522,13 @@ var validViolinRequest = (input) => {
|
|
|
709
522
|
path: _path2 + ".values",
|
|
710
523
|
expected: "Array<__type>",
|
|
711
524
|
value: input3.values
|
|
712
|
-
})) && input3.values.map((elem,
|
|
713
|
-
path: _path2 + ".values[" +
|
|
714
|
-
expected: "__type.
|
|
525
|
+
})) && input3.values.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
526
|
+
path: _path2 + ".values[" + _index8 + "]",
|
|
527
|
+
expected: "__type.o1",
|
|
715
528
|
value: elem
|
|
716
|
-
})) && $
|
|
717
|
-
path: _path2 + ".values[" +
|
|
718
|
-
expected: "__type.
|
|
529
|
+
})) && $vo10(elem, _path2 + ".values[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
530
|
+
path: _path2 + ".values[" + _index8 + "]",
|
|
531
|
+
expected: "__type.o1",
|
|
719
532
|
value: elem
|
|
720
533
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
721
534
|
path: _path2 + ".values",
|
|
@@ -726,7 +539,7 @@ var validViolinRequest = (input) => {
|
|
|
726
539
|
expected: "(boolean | undefined)",
|
|
727
540
|
value: input3.uncomputable
|
|
728
541
|
})].every((flag) => flag);
|
|
729
|
-
const $
|
|
542
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
730
543
|
path: _path2 + ".key",
|
|
731
544
|
expected: "(number | string)",
|
|
732
545
|
value: input3.key
|
|
@@ -735,7 +548,7 @@ var validViolinRequest = (input) => {
|
|
|
735
548
|
expected: "string",
|
|
736
549
|
value: input3.label
|
|
737
550
|
})].every((flag) => flag);
|
|
738
|
-
const $
|
|
551
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
739
552
|
path: _path2 + ".name",
|
|
740
553
|
expected: "string",
|
|
741
554
|
value: input3.name
|
|
@@ -745,55 +558,18 @@ var validViolinRequest = (input) => {
|
|
|
745
558
|
value: input3.type
|
|
746
559
|
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
747
560
|
path: _path2 + ".filter",
|
|
748
|
-
expected: "
|
|
561
|
+
expected: "Filter",
|
|
749
562
|
value: input3.filter
|
|
750
|
-
})) && $
|
|
563
|
+
})) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
751
564
|
path: _path2 + ".filter",
|
|
752
|
-
expected: "
|
|
565
|
+
expected: "Filter",
|
|
753
566
|
value: input3.filter
|
|
754
567
|
}), "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
755
568
|
path: _path2 + ".uncomputable",
|
|
756
569
|
expected: "boolean",
|
|
757
570
|
value: input3.uncomputable
|
|
758
571
|
})].every((flag) => flag);
|
|
759
|
-
const $
|
|
760
|
-
path: _path2 + ".opts",
|
|
761
|
-
expected: "__type.o1",
|
|
762
|
-
value: input3.opts
|
|
763
|
-
})) && $vo8(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
764
|
-
path: _path2 + ".opts",
|
|
765
|
-
expected: "__type.o1",
|
|
766
|
-
value: input3.opts
|
|
767
|
-
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
768
|
-
path: _path2 + ".terms",
|
|
769
|
-
expected: "Array<DtTerm>",
|
|
770
|
-
value: input3.terms
|
|
771
|
-
})) && input3.terms.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
772
|
-
path: _path2 + ".terms[" + _index13 + "]",
|
|
773
|
-
expected: "DtTerm",
|
|
774
|
-
value: elem
|
|
775
|
-
})) && $vo9(elem, _path2 + ".terms[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
776
|
-
path: _path2 + ".terms[" + _index13 + "]",
|
|
777
|
-
expected: "DtTerm",
|
|
778
|
-
value: elem
|
|
779
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
780
|
-
path: _path2 + ".terms",
|
|
781
|
-
expected: "Array<DtTerm>",
|
|
782
|
-
value: input3.terms
|
|
783
|
-
}), ("object" === typeof input3.active && null !== input3.active || $report(_exceptionable2, {
|
|
784
|
-
path: _path2 + ".active",
|
|
785
|
-
expected: "Filter",
|
|
786
|
-
value: input3.active
|
|
787
|
-
})) && $vo1(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
|
|
788
|
-
path: _path2 + ".active",
|
|
789
|
-
expected: "Filter",
|
|
790
|
-
value: input3.active
|
|
791
|
-
}), "number" === typeof input3.group || $report(_exceptionable2, {
|
|
792
|
-
path: _path2 + ".group",
|
|
793
|
-
expected: "number",
|
|
794
|
-
value: input3.group
|
|
795
|
-
})].every((flag) => flag);
|
|
796
|
-
const $vo17 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
572
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
797
573
|
path: _path2 + ".disabled",
|
|
798
574
|
expected: "boolean",
|
|
799
575
|
value: input3.disabled
|
|
@@ -810,92 +586,7 @@ var validViolinRequest = (input) => {
|
|
|
810
586
|
expected: "([] | undefined)",
|
|
811
587
|
value: input3.lst
|
|
812
588
|
})].every((flag) => flag);
|
|
813
|
-
const $
|
|
814
|
-
path: _path2 + ".id",
|
|
815
|
-
expected: "string",
|
|
816
|
-
value: input3.id
|
|
817
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
818
|
-
path: _path2 + ".name",
|
|
819
|
-
expected: "string",
|
|
820
|
-
value: input3.name
|
|
821
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
822
|
-
path: _path2 + ".type",
|
|
823
|
-
expected: '"geneVariant"',
|
|
824
|
-
value: input3.type
|
|
825
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
826
|
-
path: _path2 + ".child_types",
|
|
827
|
-
expected: "(Array<string> | undefined)",
|
|
828
|
-
value: input3.child_types
|
|
829
|
-
})) && input3.child_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
830
|
-
path: _path2 + ".child_types[" + _index14 + "]",
|
|
831
|
-
expected: "string",
|
|
832
|
-
value: elem
|
|
833
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
834
|
-
path: _path2 + ".child_types",
|
|
835
|
-
expected: "(Array<string> | undefined)",
|
|
836
|
-
value: input3.child_types
|
|
837
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
838
|
-
path: _path2 + ".hashtmldetail",
|
|
839
|
-
expected: "(boolean | undefined)",
|
|
840
|
-
value: input3.hashtmldetail
|
|
841
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
842
|
-
path: _path2 + ".included_types",
|
|
843
|
-
expected: "(Array<string> | undefined)",
|
|
844
|
-
value: input3.included_types
|
|
845
|
-
})) && input3.included_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
846
|
-
path: _path2 + ".included_types[" + _index15 + "]",
|
|
847
|
-
expected: "string",
|
|
848
|
-
value: elem
|
|
849
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
850
|
-
path: _path2 + ".included_types",
|
|
851
|
-
expected: "(Array<string> | undefined)",
|
|
852
|
-
value: input3.included_types
|
|
853
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
854
|
-
path: _path2 + ".isleaf",
|
|
855
|
-
expected: "(boolean | undefined)",
|
|
856
|
-
value: input3.isleaf
|
|
857
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
858
|
-
path: _path2 + ".values",
|
|
859
|
-
expected: "(TermValues | undefined)",
|
|
860
|
-
value: input3.values
|
|
861
|
-
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
862
|
-
path: _path2 + ".values",
|
|
863
|
-
expected: "(TermValues | undefined)",
|
|
864
|
-
value: input3.values
|
|
865
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
866
|
-
path: _path2 + ".filter",
|
|
867
|
-
expected: "(TermFilter | undefined)",
|
|
868
|
-
value: input3.filter
|
|
869
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
870
|
-
path: _path2 + ".filter",
|
|
871
|
-
expected: "(TermFilter | undefined)",
|
|
872
|
-
value: input3.filter
|
|
873
|
-
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
874
|
-
path: _path2 + ".kind",
|
|
875
|
-
expected: '"coord"',
|
|
876
|
-
value: input3.kind
|
|
877
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
878
|
-
path: _path2 + ".chr",
|
|
879
|
-
expected: "string",
|
|
880
|
-
value: input3.chr
|
|
881
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
882
|
-
path: _path2 + ".start",
|
|
883
|
-
expected: "number",
|
|
884
|
-
value: input3.start
|
|
885
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
886
|
-
path: _path2 + ".stop",
|
|
887
|
-
expected: "number",
|
|
888
|
-
value: input3.stop
|
|
889
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
890
|
-
path: _path2 + ".groupsetting",
|
|
891
|
-
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
892
|
-
value: input3.groupsetting
|
|
893
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
894
|
-
path: _path2 + ".groupsetting",
|
|
895
|
-
expected: "(EnabledTermGroupSetting | __type.o3 | undefined)",
|
|
896
|
-
value: input3.groupsetting
|
|
897
|
-
})].every((flag) => flag);
|
|
898
|
-
const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
589
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
899
590
|
path: _path2 + ".join",
|
|
900
591
|
expected: "(string | undefined)",
|
|
901
592
|
value: input3.join
|
|
@@ -907,7 +598,7 @@ var validViolinRequest = (input) => {
|
|
|
907
598
|
path: _path2 + ".term",
|
|
908
599
|
expected: "NumericTerm",
|
|
909
600
|
value: input3.term
|
|
910
|
-
})) && $
|
|
601
|
+
})) && $vo14(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
911
602
|
path: _path2 + ".term",
|
|
912
603
|
expected: "NumericTerm",
|
|
913
604
|
value: input3.term
|
|
@@ -915,12 +606,12 @@ var validViolinRequest = (input) => {
|
|
|
915
606
|
path: _path2 + ".ranges",
|
|
916
607
|
expected: "Array<NumericBin>",
|
|
917
608
|
value: input3.ranges
|
|
918
|
-
})) && input3.ranges.map((elem,
|
|
919
|
-
path: _path2 + ".ranges[" +
|
|
609
|
+
})) && input3.ranges.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
610
|
+
path: _path2 + ".ranges[" + _index9 + "]",
|
|
920
611
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
921
612
|
value: elem
|
|
922
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
923
|
-
path: _path2 + ".ranges[" +
|
|
613
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
614
|
+
path: _path2 + ".ranges[" + _index9 + "]",
|
|
924
615
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
925
616
|
value: elem
|
|
926
617
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -931,20 +622,20 @@ var validViolinRequest = (input) => {
|
|
|
931
622
|
path: _path2 + ".values",
|
|
932
623
|
expected: "Array<__type>.o1",
|
|
933
624
|
value: input3.values
|
|
934
|
-
})) && input3.values.map((elem,
|
|
935
|
-
path: _path2 + ".values[" +
|
|
936
|
-
expected: "__type.
|
|
625
|
+
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
626
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
627
|
+
expected: "__type.o4",
|
|
937
628
|
value: elem
|
|
938
|
-
})) && $
|
|
939
|
-
path: _path2 + ".values[" +
|
|
940
|
-
expected: "__type.
|
|
629
|
+
})) && $vo23(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
630
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
631
|
+
expected: "__type.o4",
|
|
941
632
|
value: elem
|
|
942
633
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
943
634
|
path: _path2 + ".values",
|
|
944
635
|
expected: "Array<__type>.o1",
|
|
945
636
|
value: input3.values
|
|
946
637
|
})].every((flag) => flag);
|
|
947
|
-
const $
|
|
638
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
948
639
|
path: _path2 + ".id",
|
|
949
640
|
expected: "string",
|
|
950
641
|
value: input3.id
|
|
@@ -960,8 +651,8 @@ var validViolinRequest = (input) => {
|
|
|
960
651
|
path: _path2 + ".child_types",
|
|
961
652
|
expected: "(Array<string> | undefined)",
|
|
962
653
|
value: input3.child_types
|
|
963
|
-
})) && input3.child_types.map((elem,
|
|
964
|
-
path: _path2 + ".child_types[" +
|
|
654
|
+
})) && input3.child_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
|
|
655
|
+
path: _path2 + ".child_types[" + _index11 + "]",
|
|
965
656
|
expected: "string",
|
|
966
657
|
value: elem
|
|
967
658
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -976,8 +667,8 @@ var validViolinRequest = (input) => {
|
|
|
976
667
|
path: _path2 + ".included_types",
|
|
977
668
|
expected: "(Array<string> | undefined)",
|
|
978
669
|
value: input3.included_types
|
|
979
|
-
})) && input3.included_types.map((elem,
|
|
980
|
-
path: _path2 + ".included_types[" +
|
|
670
|
+
})) && input3.included_types.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable2, {
|
|
671
|
+
path: _path2 + ".included_types[" + _index12 + "]",
|
|
981
672
|
expected: "string",
|
|
982
673
|
value: elem
|
|
983
674
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -996,19 +687,11 @@ var validViolinRequest = (input) => {
|
|
|
996
687
|
path: _path2 + ".values",
|
|
997
688
|
expected: "(TermValues | undefined)",
|
|
998
689
|
value: input3.values
|
|
999
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1000
|
-
path: _path2 + ".filter",
|
|
1001
|
-
expected: "(TermFilter | undefined)",
|
|
1002
|
-
value: input3.filter
|
|
1003
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1004
|
-
path: _path2 + ".filter",
|
|
1005
|
-
expected: "(TermFilter | undefined)",
|
|
1006
|
-
value: input3.filter
|
|
1007
690
|
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1008
691
|
path: _path2 + ".bins",
|
|
1009
692
|
expected: "PresetNumericBins",
|
|
1010
693
|
value: input3.bins
|
|
1011
|
-
})) && $
|
|
694
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1012
695
|
path: _path2 + ".bins",
|
|
1013
696
|
expected: "PresetNumericBins",
|
|
1014
697
|
value: input3.bins
|
|
@@ -1018,18 +701,18 @@ var validViolinRequest = (input) => {
|
|
|
1018
701
|
value: input3.unit
|
|
1019
702
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1020
703
|
path: _path2 + ".continuousColorScale",
|
|
1021
|
-
expected: "(__type.
|
|
704
|
+
expected: "(__type.o3 | undefined)",
|
|
1022
705
|
value: input3.continuousColorScale
|
|
1023
|
-
})) && $
|
|
706
|
+
})) && $vo22(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1024
707
|
path: _path2 + ".continuousColorScale",
|
|
1025
|
-
expected: "(__type.
|
|
708
|
+
expected: "(__type.o3 | undefined)",
|
|
1026
709
|
value: input3.continuousColorScale
|
|
1027
710
|
})].every((flag) => flag);
|
|
1028
|
-
const $
|
|
711
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
1029
712
|
path: _path2 + '["default"]',
|
|
1030
713
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1031
714
|
value: input3["default"]
|
|
1032
|
-
})) && $
|
|
715
|
+
})) && $vu5(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
1033
716
|
path: _path2 + '["default"]',
|
|
1034
717
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1035
718
|
value: input3["default"]
|
|
@@ -1037,7 +720,7 @@ var validViolinRequest = (input) => {
|
|
|
1037
720
|
path: _path2 + ".less",
|
|
1038
721
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1039
722
|
value: input3.less
|
|
1040
|
-
})) && $
|
|
723
|
+
})) && $vu5(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
1041
724
|
path: _path2 + ".less",
|
|
1042
725
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
1043
726
|
value: input3.less
|
|
@@ -1062,11 +745,11 @@ var validViolinRequest = (input) => {
|
|
|
1062
745
|
expected: "(number | undefined)",
|
|
1063
746
|
value: input3.max
|
|
1064
747
|
})].every((flag) => flag);
|
|
1065
|
-
const $
|
|
748
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1066
749
|
path: _path2 + ".hiddenValues",
|
|
1067
750
|
expected: "(HiddenValues | undefined)",
|
|
1068
751
|
value: input3.hiddenValues
|
|
1069
|
-
})) && $
|
|
752
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
1070
753
|
path: _path2 + ".hiddenValues",
|
|
1071
754
|
expected: "(HiddenValues | undefined)",
|
|
1072
755
|
value: input3.hiddenValues
|
|
@@ -1098,7 +781,7 @@ var validViolinRequest = (input) => {
|
|
|
1098
781
|
path: _path2 + ".first_bin",
|
|
1099
782
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
1100
783
|
value: input3.first_bin
|
|
1101
|
-
})) && $
|
|
784
|
+
})) && $vu6(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
1102
785
|
path: _path2 + ".first_bin",
|
|
1103
786
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
1104
787
|
value: input3.first_bin
|
|
@@ -1106,7 +789,7 @@ var validViolinRequest = (input) => {
|
|
|
1106
789
|
path: _path2 + ".last_bin",
|
|
1107
790
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
1108
791
|
value: input3.last_bin
|
|
1109
|
-
})) && $
|
|
792
|
+
})) && $vu7(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
1110
793
|
path: _path2 + ".last_bin",
|
|
1111
794
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
1112
795
|
value: input3.last_bin
|
|
@@ -1115,7 +798,7 @@ var validViolinRequest = (input) => {
|
|
|
1115
798
|
expected: "(number | undefined)",
|
|
1116
799
|
value: input3.label_offset
|
|
1117
800
|
})].every((flag) => flag);
|
|
1118
|
-
const $
|
|
801
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
1119
802
|
const value = input3[key];
|
|
1120
803
|
if (void 0 === value)
|
|
1121
804
|
return true;
|
|
@@ -1127,7 +810,7 @@ var validViolinRequest = (input) => {
|
|
|
1127
810
|
});
|
|
1128
811
|
return true;
|
|
1129
812
|
}).every((flag) => flag)].every((flag) => flag);
|
|
1130
|
-
const $
|
|
813
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
1131
814
|
path: _path2 + ".startunbounded",
|
|
1132
815
|
expected: "true",
|
|
1133
816
|
value: input3.startunbounded
|
|
@@ -1152,7 +835,7 @@ var validViolinRequest = (input) => {
|
|
|
1152
835
|
expected: "(string | undefined)",
|
|
1153
836
|
value: input3.label
|
|
1154
837
|
})].every((flag) => flag);
|
|
1155
|
-
const $
|
|
838
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
1156
839
|
path: _path2 + ".startunbounded",
|
|
1157
840
|
expected: "(false | undefined)",
|
|
1158
841
|
value: input3.startunbounded
|
|
@@ -1181,7 +864,7 @@ var validViolinRequest = (input) => {
|
|
|
1181
864
|
expected: "(string | undefined)",
|
|
1182
865
|
value: input3.label
|
|
1183
866
|
})].every((flag) => flag);
|
|
1184
|
-
const $
|
|
867
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
1185
868
|
path: _path2 + ".start",
|
|
1186
869
|
expected: "number",
|
|
1187
870
|
value: input3.start
|
|
@@ -1206,11 +889,11 @@ var validViolinRequest = (input) => {
|
|
|
1206
889
|
expected: "(string | undefined)",
|
|
1207
890
|
value: input3.label
|
|
1208
891
|
})].every((flag) => flag);
|
|
1209
|
-
const $
|
|
892
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1210
893
|
path: _path2 + ".hiddenValues",
|
|
1211
894
|
expected: "(HiddenValues | undefined)",
|
|
1212
895
|
value: input3.hiddenValues
|
|
1213
|
-
})) && $
|
|
896
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
1214
897
|
path: _path2 + ".hiddenValues",
|
|
1215
898
|
expected: "(HiddenValues | undefined)",
|
|
1216
899
|
value: input3.hiddenValues
|
|
@@ -1252,12 +935,12 @@ var validViolinRequest = (input) => {
|
|
|
1252
935
|
path: _path2 + ".lst",
|
|
1253
936
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1254
937
|
value: input3.lst.slice(1)
|
|
1255
|
-
})) && input3.lst.slice(1).map((elem,
|
|
1256
|
-
path: _path2 + ".lst[" + (1 +
|
|
938
|
+
})) && input3.lst.slice(1).map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
939
|
+
path: _path2 + ".lst[" + (1 + _index13) + "]",
|
|
1257
940
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1258
941
|
value: elem
|
|
1259
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
1260
|
-
path: _path2 + ".lst[" + (1 +
|
|
942
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index13) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
943
|
+
path: _path2 + ".lst[" + (1 + _index13) + "]",
|
|
1261
944
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1262
945
|
value: elem
|
|
1263
946
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1273,7 +956,7 @@ var validViolinRequest = (input) => {
|
|
|
1273
956
|
expected: '("median" | undefined)',
|
|
1274
957
|
value: input3.preferredBins
|
|
1275
958
|
})].every((flag) => flag);
|
|
1276
|
-
const $
|
|
959
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
1277
960
|
path: _path2 + ".minColor",
|
|
1278
961
|
expected: "string",
|
|
1279
962
|
value: input3.minColor
|
|
@@ -1282,7 +965,7 @@ var validViolinRequest = (input) => {
|
|
|
1282
965
|
expected: "string",
|
|
1283
966
|
value: input3.maxColor
|
|
1284
967
|
})].every((flag) => flag);
|
|
1285
|
-
const $
|
|
968
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1286
969
|
path: _path2 + ".key",
|
|
1287
970
|
expected: "string",
|
|
1288
971
|
value: input3.key
|
|
@@ -1299,7 +982,7 @@ var validViolinRequest = (input) => {
|
|
|
1299
982
|
expected: "(string | undefined)",
|
|
1300
983
|
value: input3.label
|
|
1301
984
|
})].every((flag) => flag);
|
|
1302
|
-
const $
|
|
985
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1303
986
|
path: _path2 + ".join",
|
|
1304
987
|
expected: "(string | undefined)",
|
|
1305
988
|
value: input3.join
|
|
@@ -1311,7 +994,7 @@ var validViolinRequest = (input) => {
|
|
|
1311
994
|
path: _path2 + ".term",
|
|
1312
995
|
expected: "ConditionTerm",
|
|
1313
996
|
value: input3.term
|
|
1314
|
-
})) && $
|
|
997
|
+
})) && $vo25(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1315
998
|
path: _path2 + ".term",
|
|
1316
999
|
expected: "ConditionTerm",
|
|
1317
1000
|
value: input3.term
|
|
@@ -1331,12 +1014,12 @@ var validViolinRequest = (input) => {
|
|
|
1331
1014
|
path: _path2 + ".grade_and_child",
|
|
1332
1015
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1333
1016
|
value: input3.grade_and_child
|
|
1334
|
-
})) && input3.grade_and_child.map((elem,
|
|
1335
|
-
path: _path2 + ".grade_and_child[" +
|
|
1017
|
+
})) && input3.grade_and_child.map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1018
|
+
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
1336
1019
|
expected: "GradeAndChildEntry",
|
|
1337
1020
|
value: elem
|
|
1338
|
-
})) && $
|
|
1339
|
-
path: _path2 + ".grade_and_child[" +
|
|
1021
|
+
})) && $vo26(elem, _path2 + ".grade_and_child[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1022
|
+
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
1340
1023
|
expected: "GradeAndChildEntry",
|
|
1341
1024
|
value: elem
|
|
1342
1025
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1344,7 +1027,7 @@ var validViolinRequest = (input) => {
|
|
|
1344
1027
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1345
1028
|
value: input3.grade_and_child
|
|
1346
1029
|
})].every((flag) => flag);
|
|
1347
|
-
const $
|
|
1030
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1348
1031
|
path: _path2 + ".id",
|
|
1349
1032
|
expected: "string",
|
|
1350
1033
|
value: input3.id
|
|
@@ -1360,8 +1043,8 @@ var validViolinRequest = (input) => {
|
|
|
1360
1043
|
path: _path2 + ".child_types",
|
|
1361
1044
|
expected: "(Array<string> | undefined)",
|
|
1362
1045
|
value: input3.child_types
|
|
1363
|
-
})) && input3.child_types.map((elem,
|
|
1364
|
-
path: _path2 + ".child_types[" +
|
|
1046
|
+
})) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1047
|
+
path: _path2 + ".child_types[" + _index15 + "]",
|
|
1365
1048
|
expected: "string",
|
|
1366
1049
|
value: elem
|
|
1367
1050
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1376,8 +1059,8 @@ var validViolinRequest = (input) => {
|
|
|
1376
1059
|
path: _path2 + ".included_types",
|
|
1377
1060
|
expected: "(Array<string> | undefined)",
|
|
1378
1061
|
value: input3.included_types
|
|
1379
|
-
})) && input3.included_types.map((elem,
|
|
1380
|
-
path: _path2 + ".included_types[" +
|
|
1062
|
+
})) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1063
|
+
path: _path2 + ".included_types[" + _index16 + "]",
|
|
1381
1064
|
expected: "string",
|
|
1382
1065
|
value: elem
|
|
1383
1066
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1396,16 +1079,8 @@ var validViolinRequest = (input) => {
|
|
|
1396
1079
|
path: _path2 + ".values",
|
|
1397
1080
|
expected: "(TermValues | undefined)",
|
|
1398
1081
|
value: input3.values
|
|
1399
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1400
|
-
path: _path2 + ".filter",
|
|
1401
|
-
expected: "(TermFilter | undefined)",
|
|
1402
|
-
value: input3.filter
|
|
1403
|
-
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1404
|
-
path: _path2 + ".filter",
|
|
1405
|
-
expected: "(TermFilter | undefined)",
|
|
1406
|
-
value: input3.filter
|
|
1407
1082
|
})].every((flag) => flag);
|
|
1408
|
-
const $
|
|
1083
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1409
1084
|
path: _path2 + ".grade",
|
|
1410
1085
|
expected: "number",
|
|
1411
1086
|
value: input3.grade
|
|
@@ -1422,7 +1097,7 @@ var validViolinRequest = (input) => {
|
|
|
1422
1097
|
expected: "string",
|
|
1423
1098
|
value: input3.child_label
|
|
1424
1099
|
})].every((flag) => flag);
|
|
1425
|
-
const $
|
|
1100
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1426
1101
|
path: _path2 + ".join",
|
|
1427
1102
|
expected: "(string | undefined)",
|
|
1428
1103
|
value: input3.join
|
|
@@ -1434,7 +1109,7 @@ var validViolinRequest = (input) => {
|
|
|
1434
1109
|
path: _path2 + ".term",
|
|
1435
1110
|
expected: "DtTerm",
|
|
1436
1111
|
value: input3.term
|
|
1437
|
-
})) && $
|
|
1112
|
+
})) && $vo28(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1438
1113
|
path: _path2 + ".term",
|
|
1439
1114
|
expected: "DtTerm",
|
|
1440
1115
|
value: input3.term
|
|
@@ -1442,20 +1117,259 @@ var validViolinRequest = (input) => {
|
|
|
1442
1117
|
path: _path2 + ".values",
|
|
1443
1118
|
expected: "Array<__type>.o2",
|
|
1444
1119
|
value: input3.values
|
|
1445
|
-
})) && input3.values.map((elem,
|
|
1446
|
-
path: _path2 + ".values[" +
|
|
1447
|
-
expected: "__type.
|
|
1120
|
+
})) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1121
|
+
path: _path2 + ".values[" + _index17 + "]",
|
|
1122
|
+
expected: "__type.o5",
|
|
1448
1123
|
value: elem
|
|
1449
|
-
})) && $
|
|
1450
|
-
path: _path2 + ".values[" +
|
|
1451
|
-
expected: "__type.
|
|
1124
|
+
})) && $vo31(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1125
|
+
path: _path2 + ".values[" + _index17 + "]",
|
|
1126
|
+
expected: "__type.o5",
|
|
1452
1127
|
value: elem
|
|
1453
1128
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1454
1129
|
path: _path2 + ".values",
|
|
1455
1130
|
expected: "Array<__type>.o2",
|
|
1456
1131
|
value: input3.values
|
|
1457
1132
|
})].every((flag) => flag);
|
|
1458
|
-
const $
|
|
1133
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1134
|
+
path: _path2 + ".id",
|
|
1135
|
+
expected: "string",
|
|
1136
|
+
value: input3.id
|
|
1137
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
1138
|
+
path: _path2 + ".query",
|
|
1139
|
+
expected: "string",
|
|
1140
|
+
value: input3.query
|
|
1141
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1142
|
+
path: _path2 + ".name",
|
|
1143
|
+
expected: "string",
|
|
1144
|
+
value: input3.name
|
|
1145
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
1146
|
+
path: _path2 + ".name_noOrigin",
|
|
1147
|
+
expected: "string",
|
|
1148
|
+
value: input3.name_noOrigin
|
|
1149
|
+
}), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
|
|
1150
|
+
path: _path2 + ".parentTerm",
|
|
1151
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1152
|
+
value: input3.parentTerm
|
|
1153
|
+
})) && $vu8(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1154
|
+
path: _path2 + ".parentTerm",
|
|
1155
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1156
|
+
value: input3.parentTerm
|
|
1157
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1158
|
+
path: _path2 + ".isleaf",
|
|
1159
|
+
expected: "boolean",
|
|
1160
|
+
value: input3.isleaf
|
|
1161
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1162
|
+
path: _path2 + ".type",
|
|
1163
|
+
expected: "string",
|
|
1164
|
+
value: input3.type
|
|
1165
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
1166
|
+
path: _path2 + ".dt",
|
|
1167
|
+
expected: "number",
|
|
1168
|
+
value: input3.dt
|
|
1169
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
1170
|
+
path: _path2 + ".origin",
|
|
1171
|
+
expected: "(string | undefined)",
|
|
1172
|
+
value: input3.origin
|
|
1173
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1174
|
+
path: _path2 + ".values",
|
|
1175
|
+
expected: "TermValues",
|
|
1176
|
+
value: input3.values
|
|
1177
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1178
|
+
path: _path2 + ".values",
|
|
1179
|
+
expected: "TermValues",
|
|
1180
|
+
value: input3.values
|
|
1181
|
+
})].every((flag) => flag);
|
|
1182
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1183
|
+
path: _path2 + ".id",
|
|
1184
|
+
expected: "string",
|
|
1185
|
+
value: input3.id
|
|
1186
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1187
|
+
path: _path2 + ".name",
|
|
1188
|
+
expected: "string",
|
|
1189
|
+
value: input3.name
|
|
1190
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1191
|
+
path: _path2 + ".type",
|
|
1192
|
+
expected: '"geneVariant"',
|
|
1193
|
+
value: input3.type
|
|
1194
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1195
|
+
path: _path2 + ".child_types",
|
|
1196
|
+
expected: "(Array<string> | undefined)",
|
|
1197
|
+
value: input3.child_types
|
|
1198
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1199
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
1200
|
+
expected: "string",
|
|
1201
|
+
value: elem
|
|
1202
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1203
|
+
path: _path2 + ".child_types",
|
|
1204
|
+
expected: "(Array<string> | undefined)",
|
|
1205
|
+
value: input3.child_types
|
|
1206
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1207
|
+
path: _path2 + ".hashtmldetail",
|
|
1208
|
+
expected: "(boolean | undefined)",
|
|
1209
|
+
value: input3.hashtmldetail
|
|
1210
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1211
|
+
path: _path2 + ".included_types",
|
|
1212
|
+
expected: "(Array<string> | undefined)",
|
|
1213
|
+
value: input3.included_types
|
|
1214
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1215
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1216
|
+
expected: "string",
|
|
1217
|
+
value: elem
|
|
1218
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1219
|
+
path: _path2 + ".included_types",
|
|
1220
|
+
expected: "(Array<string> | undefined)",
|
|
1221
|
+
value: input3.included_types
|
|
1222
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1223
|
+
path: _path2 + ".isleaf",
|
|
1224
|
+
expected: "(boolean | undefined)",
|
|
1225
|
+
value: input3.isleaf
|
|
1226
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1227
|
+
path: _path2 + ".values",
|
|
1228
|
+
expected: "(TermValues | undefined)",
|
|
1229
|
+
value: input3.values
|
|
1230
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1231
|
+
path: _path2 + ".values",
|
|
1232
|
+
expected: "(TermValues | undefined)",
|
|
1233
|
+
value: input3.values
|
|
1234
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1235
|
+
path: _path2 + ".kind",
|
|
1236
|
+
expected: '"gene"',
|
|
1237
|
+
value: input3.kind
|
|
1238
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1239
|
+
path: _path2 + ".gene",
|
|
1240
|
+
expected: "string",
|
|
1241
|
+
value: input3.gene
|
|
1242
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1243
|
+
path: _path2 + ".chr",
|
|
1244
|
+
expected: "(string | undefined)",
|
|
1245
|
+
value: input3.chr
|
|
1246
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1247
|
+
path: _path2 + ".start",
|
|
1248
|
+
expected: "(number | undefined)",
|
|
1249
|
+
value: input3.start
|
|
1250
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1251
|
+
path: _path2 + ".stop",
|
|
1252
|
+
expected: "(number | undefined)",
|
|
1253
|
+
value: input3.stop
|
|
1254
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1255
|
+
path: _path2 + ".groupsetting",
|
|
1256
|
+
expected: "(EnabledTermGroupSetting | __type.o2 | undefined)",
|
|
1257
|
+
value: input3.groupsetting
|
|
1258
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1259
|
+
path: _path2 + ".groupsetting",
|
|
1260
|
+
expected: "(EnabledTermGroupSetting | __type.o2 | undefined)",
|
|
1261
|
+
value: input3.groupsetting
|
|
1262
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1263
|
+
path: _path2 + ".childTerms",
|
|
1264
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1265
|
+
value: input3.childTerms
|
|
1266
|
+
})) && input3.childTerms.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1267
|
+
path: _path2 + ".childTerms[" + _index20 + "]",
|
|
1268
|
+
expected: "DtTerm",
|
|
1269
|
+
value: elem
|
|
1270
|
+
})) && $vo28(elem, _path2 + ".childTerms[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1271
|
+
path: _path2 + ".childTerms[" + _index20 + "]",
|
|
1272
|
+
expected: "DtTerm",
|
|
1273
|
+
value: elem
|
|
1274
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1275
|
+
path: _path2 + ".childTerms",
|
|
1276
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1277
|
+
value: input3.childTerms
|
|
1278
|
+
})].every((flag) => flag);
|
|
1279
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1280
|
+
path: _path2 + ".id",
|
|
1281
|
+
expected: "string",
|
|
1282
|
+
value: input3.id
|
|
1283
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1284
|
+
path: _path2 + ".name",
|
|
1285
|
+
expected: "string",
|
|
1286
|
+
value: input3.name
|
|
1287
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1288
|
+
path: _path2 + ".type",
|
|
1289
|
+
expected: '"geneVariant"',
|
|
1290
|
+
value: input3.type
|
|
1291
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1292
|
+
path: _path2 + ".child_types",
|
|
1293
|
+
expected: "(Array<string> | undefined)",
|
|
1294
|
+
value: input3.child_types
|
|
1295
|
+
})) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1296
|
+
path: _path2 + ".child_types[" + _index21 + "]",
|
|
1297
|
+
expected: "string",
|
|
1298
|
+
value: elem
|
|
1299
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1300
|
+
path: _path2 + ".child_types",
|
|
1301
|
+
expected: "(Array<string> | undefined)",
|
|
1302
|
+
value: input3.child_types
|
|
1303
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1304
|
+
path: _path2 + ".hashtmldetail",
|
|
1305
|
+
expected: "(boolean | undefined)",
|
|
1306
|
+
value: input3.hashtmldetail
|
|
1307
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1308
|
+
path: _path2 + ".included_types",
|
|
1309
|
+
expected: "(Array<string> | undefined)",
|
|
1310
|
+
value: input3.included_types
|
|
1311
|
+
})) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1312
|
+
path: _path2 + ".included_types[" + _index22 + "]",
|
|
1313
|
+
expected: "string",
|
|
1314
|
+
value: elem
|
|
1315
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1316
|
+
path: _path2 + ".included_types",
|
|
1317
|
+
expected: "(Array<string> | undefined)",
|
|
1318
|
+
value: input3.included_types
|
|
1319
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1320
|
+
path: _path2 + ".isleaf",
|
|
1321
|
+
expected: "(boolean | undefined)",
|
|
1322
|
+
value: input3.isleaf
|
|
1323
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1324
|
+
path: _path2 + ".values",
|
|
1325
|
+
expected: "(TermValues | undefined)",
|
|
1326
|
+
value: input3.values
|
|
1327
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1328
|
+
path: _path2 + ".values",
|
|
1329
|
+
expected: "(TermValues | undefined)",
|
|
1330
|
+
value: input3.values
|
|
1331
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1332
|
+
path: _path2 + ".kind",
|
|
1333
|
+
expected: '"coord"',
|
|
1334
|
+
value: input3.kind
|
|
1335
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1336
|
+
path: _path2 + ".chr",
|
|
1337
|
+
expected: "string",
|
|
1338
|
+
value: input3.chr
|
|
1339
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1340
|
+
path: _path2 + ".start",
|
|
1341
|
+
expected: "number",
|
|
1342
|
+
value: input3.start
|
|
1343
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1344
|
+
path: _path2 + ".stop",
|
|
1345
|
+
expected: "number",
|
|
1346
|
+
value: input3.stop
|
|
1347
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1348
|
+
path: _path2 + ".groupsetting",
|
|
1349
|
+
expected: "(EnabledTermGroupSetting | __type.o2 | undefined)",
|
|
1350
|
+
value: input3.groupsetting
|
|
1351
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1352
|
+
path: _path2 + ".groupsetting",
|
|
1353
|
+
expected: "(EnabledTermGroupSetting | __type.o2 | undefined)",
|
|
1354
|
+
value: input3.groupsetting
|
|
1355
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1356
|
+
path: _path2 + ".childTerms",
|
|
1357
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1358
|
+
value: input3.childTerms
|
|
1359
|
+
})) && input3.childTerms.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1360
|
+
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
1361
|
+
expected: "DtTerm",
|
|
1362
|
+
value: elem
|
|
1363
|
+
})) && $vo28(elem, _path2 + ".childTerms[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1364
|
+
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
1365
|
+
expected: "DtTerm",
|
|
1366
|
+
value: elem
|
|
1367
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1368
|
+
path: _path2 + ".childTerms",
|
|
1369
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1370
|
+
value: input3.childTerms
|
|
1371
|
+
})].every((flag) => flag);
|
|
1372
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1459
1373
|
path: _path2 + ".key",
|
|
1460
1374
|
expected: "string",
|
|
1461
1375
|
value: input3.key
|
|
@@ -1481,9 +1395,9 @@ var validViolinRequest = (input) => {
|
|
|
1481
1395
|
})();
|
|
1482
1396
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1483
1397
|
if ("string" === typeof input3.type)
|
|
1484
|
-
return $
|
|
1398
|
+
return $vo9(input3, _path2, _exceptionable2);
|
|
1485
1399
|
if ("filter" === input3.type)
|
|
1486
|
-
return $
|
|
1400
|
+
return $vo11(input3, _path2, _exceptionable2);
|
|
1487
1401
|
return $report(_exceptionable2, {
|
|
1488
1402
|
path: _path2,
|
|
1489
1403
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -1492,65 +1406,65 @@ var validViolinRequest = (input) => {
|
|
|
1492
1406
|
})();
|
|
1493
1407
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1494
1408
|
if (true === input3.startunbounded)
|
|
1495
|
-
return $
|
|
1409
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1496
1410
|
if (true === input3.stopunbounded)
|
|
1497
|
-
return $
|
|
1498
|
-
return $
|
|
1411
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1412
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1499
1413
|
})();
|
|
1500
1414
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1501
1415
|
if (void 0 !== input3.ranges)
|
|
1502
|
-
return $
|
|
1503
|
-
return $vo3(input3, _path2, false) || $
|
|
1416
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
1417
|
+
return $vo3(input3, _path2, false) || $vo24(input3, _path2, false) || $vo27(input3, _path2, false);
|
|
1504
1418
|
})();
|
|
1505
1419
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1506
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
1507
|
-
return $
|
|
1508
|
-
return $
|
|
1420
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index24) => "object" === typeof elem && null !== elem && $vo8(elem, _path2 + ".lst[" + _index24 + "]", false)).every((flag) => flag))
|
|
1421
|
+
return $vo7(input3, _path2, _exceptionable2);
|
|
1422
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
1509
1423
|
})();
|
|
1510
1424
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1511
|
-
if ("gene" === input3.kind)
|
|
1512
|
-
return $vo10(input3, _path2, _exceptionable2);
|
|
1513
|
-
if ("coord" === input3.kind)
|
|
1514
|
-
return $vo18(input3, _path2, _exceptionable2);
|
|
1515
|
-
return $report(_exceptionable2, {
|
|
1516
|
-
path: _path2,
|
|
1517
|
-
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; filter?: TermFilter | undefined; })',
|
|
1518
|
-
value: input3
|
|
1519
|
-
});
|
|
1520
|
-
})();
|
|
1521
|
-
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1522
1425
|
if ("regular-bin" === input3.type)
|
|
1523
|
-
return $
|
|
1426
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
1524
1427
|
if ("custom-bin" === input3.type)
|
|
1525
|
-
return $
|
|
1428
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
1526
1429
|
return $report(_exceptionable2, {
|
|
1527
1430
|
path: _path2,
|
|
1528
1431
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
1529
1432
|
value: input3
|
|
1530
1433
|
});
|
|
1531
1434
|
})();
|
|
1532
|
-
const $
|
|
1435
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1533
1436
|
if (true === input3.startunbounded)
|
|
1534
|
-
return $
|
|
1437
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1535
1438
|
if (void 0 !== input3.start)
|
|
1536
|
-
return $
|
|
1439
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1537
1440
|
return $report(_exceptionable2, {
|
|
1538
1441
|
path: _path2,
|
|
1539
1442
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
1540
1443
|
value: input3
|
|
1541
1444
|
});
|
|
1542
1445
|
})();
|
|
1543
|
-
const $
|
|
1446
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1544
1447
|
if (void 0 !== input3.stop)
|
|
1545
|
-
return $
|
|
1448
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1546
1449
|
if (true === input3.stopunbounded)
|
|
1547
|
-
return $
|
|
1450
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1548
1451
|
return $report(_exceptionable2, {
|
|
1549
1452
|
path: _path2,
|
|
1550
1453
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1551
1454
|
value: input3
|
|
1552
1455
|
});
|
|
1553
1456
|
})();
|
|
1457
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1458
|
+
if ("gene" === input3.kind)
|
|
1459
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
1460
|
+
if ("coord" === input3.kind)
|
|
1461
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
1462
|
+
return $report(_exceptionable2, {
|
|
1463
|
+
path: _path2,
|
|
1464
|
+
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|
|
1465
|
+
value: input3
|
|
1466
|
+
});
|
|
1467
|
+
})();
|
|
1554
1468
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
1555
1469
|
path: _path + "",
|
|
1556
1470
|
expected: "ViolinRequest",
|