@sjcrh/proteinpaint-types 2.137.2-0 → 2.137.2-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/brainImaging.js +1 -1
- package/dist/{chunk-OQVYIYZL.js → chunk-657TS66W.js} +338 -394
- package/dist/{chunk-UG7RYMCA.js → chunk-6H6TQ3MA.js} +117 -145
- package/dist/{chunk-DA6B77HN.js → chunk-6LRQCE3E.js} +117 -145
- package/dist/{chunk-AKJWBIUV.js → chunk-7YFANJ2A.js} +268 -296
- package/dist/{chunk-HF2D3UVQ.js → chunk-CBPDONEQ.js} +268 -296
- package/dist/{chunk-B2FSTXLW.js → chunk-FMSTAFII.js} +117 -145
- package/dist/{chunk-3P6M5ZNJ.js → chunk-IE3MSHTB.js} +268 -296
- package/dist/{chunk-MLAGM7F5.js → chunk-MDPMNCMV.js} +268 -296
- package/dist/{chunk-M7HKDHB3.js → chunk-PAQX4HYF.js} +329 -357
- package/dist/{chunk-BS7BYTYZ.js → chunk-QCGBPQ7S.js} +113 -141
- package/dist/{chunk-C32XALTH.js → chunk-SUL2XLYM.js} +304 -360
- package/dist/{chunk-G5SBQR25.js → chunk-YGOZU46P.js} +117 -145
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +12 -12
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/terms/geneVariant.ts +29 -19
- package/src/terms/term.ts +4 -12
|
@@ -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)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $
|
|
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)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(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,17 +75,16 @@ 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) => "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.
|
|
78
|
+
const $io7 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || 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.dt || "number" === typeof input3.dt) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
80
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
81
|
const $io10 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
82
82
|
const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
|
|
83
|
-
const $io12 = (input3) => "
|
|
84
|
-
const $io13 = (input3) => (void 0 === input3.
|
|
85
|
-
const $io14 = (input3) => "
|
|
86
|
-
const $io15 = (input3) => "object" === typeof input3
|
|
87
|
-
const $io16 = (input3) =>
|
|
88
|
-
const $io17 = (input3) => Object.keys(input3).every((key) => {
|
|
83
|
+
const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io13(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 && $io22(elem)));
|
|
84
|
+
const $io13 = (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.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io21(input3.continuousColorScale));
|
|
85
|
+
const $io14 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu4(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu4(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);
|
|
86
|
+
const $io15 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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 && $iu5(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu6(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
87
|
+
const $io16 = (input3) => Object.keys(input3).every((key) => {
|
|
89
88
|
const value = input3[key];
|
|
90
89
|
if (void 0 === value)
|
|
91
90
|
return true;
|
|
@@ -93,20 +92,20 @@ var validViolinRequest = (input) => {
|
|
|
93
92
|
return "number" === typeof value;
|
|
94
93
|
return true;
|
|
95
94
|
});
|
|
96
|
-
const $
|
|
97
|
-
const $
|
|
98
|
-
const $
|
|
99
|
-
const $
|
|
100
|
-
const $
|
|
101
|
-
const $
|
|
102
|
-
const $
|
|
103
|
-
const $
|
|
104
|
-
const $
|
|
105
|
-
const $
|
|
106
|
-
const $
|
|
107
|
-
const $
|
|
108
|
-
const $
|
|
109
|
-
const $
|
|
95
|
+
const $io17 = (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);
|
|
96
|
+
const $io18 = (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);
|
|
97
|
+
const $io19 = (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);
|
|
98
|
+
const $io20 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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);
|
|
99
|
+
const $io21 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
100
|
+
const $io22 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
101
|
+
const $io23 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io24(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 && $io25(elem)));
|
|
102
|
+
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
103
|
+
const $io25 = (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;
|
|
104
|
+
const $io26 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io27(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io30(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
105
|
+
const $io27 = (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 && $iu7(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));
|
|
106
|
+
const $io28 = (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.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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 && $io7(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io27(elem)));
|
|
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)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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 && $io7(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io27(elem)));
|
|
108
|
+
const $io30 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
110
109
|
const $iu0 = (input3) => (() => {
|
|
111
110
|
if ("tvslst" === input3.type)
|
|
112
111
|
return $io1(input3);
|
|
@@ -123,55 +122,50 @@ var validViolinRequest = (input) => {
|
|
|
123
122
|
})();
|
|
124
123
|
const $iu2 = (input3) => (() => {
|
|
125
124
|
if (true === input3.startunbounded)
|
|
126
|
-
return $
|
|
125
|
+
return $io17(input3);
|
|
127
126
|
if (true === input3.stopunbounded)
|
|
128
|
-
return $
|
|
129
|
-
return $
|
|
127
|
+
return $io19(input3);
|
|
128
|
+
return $io18(input3);
|
|
130
129
|
})();
|
|
131
130
|
const $iu3 = (input3) => (() => {
|
|
132
131
|
if (void 0 !== input3.ranges)
|
|
133
|
-
return $
|
|
132
|
+
return $io12(input3);
|
|
134
133
|
return (() => {
|
|
135
134
|
if ($io3(input3))
|
|
136
135
|
return $io3(input3);
|
|
137
|
-
if ($
|
|
138
|
-
return $
|
|
139
|
-
if ($
|
|
140
|
-
return $
|
|
136
|
+
if ($io23(input3))
|
|
137
|
+
return $io23(input3);
|
|
138
|
+
if ($io26(input3))
|
|
139
|
+
return $io26(input3);
|
|
141
140
|
return false;
|
|
142
141
|
})();
|
|
143
142
|
})();
|
|
144
143
|
const $iu4 = (input3) => (() => {
|
|
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);
|
|
148
|
-
})();
|
|
149
|
-
const $iu5 = (input3) => (() => {
|
|
150
144
|
if ("regular-bin" === input3.type)
|
|
151
|
-
return $
|
|
145
|
+
return $io15(input3);
|
|
152
146
|
if ("custom-bin" === input3.type)
|
|
153
|
-
return $
|
|
147
|
+
return $io20(input3);
|
|
154
148
|
return false;
|
|
155
149
|
})();
|
|
156
|
-
const $
|
|
150
|
+
const $iu5 = (input3) => (() => {
|
|
157
151
|
if (true === input3.startunbounded)
|
|
158
|
-
return $
|
|
152
|
+
return $io17(input3);
|
|
159
153
|
if (void 0 !== input3.start)
|
|
160
|
-
return $
|
|
154
|
+
return $io18(input3);
|
|
161
155
|
return false;
|
|
162
156
|
})();
|
|
163
|
-
const $
|
|
157
|
+
const $iu6 = (input3) => (() => {
|
|
164
158
|
if (void 0 !== input3.stop)
|
|
165
|
-
return $
|
|
159
|
+
return $io18(input3);
|
|
166
160
|
if (true === input3.stopunbounded)
|
|
167
|
-
return $
|
|
161
|
+
return $io19(input3);
|
|
168
162
|
return false;
|
|
169
163
|
})();
|
|
170
|
-
const $
|
|
164
|
+
const $iu7 = (input3) => (() => {
|
|
171
165
|
if ("gene" === input3.kind)
|
|
172
|
-
return $
|
|
166
|
+
return $io28(input3);
|
|
173
167
|
if ("coord" === input3.kind)
|
|
174
|
-
return $
|
|
168
|
+
return $io29(input3);
|
|
175
169
|
return false;
|
|
176
170
|
})();
|
|
177
171
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -394,11 +388,11 @@ var validViolinRequest = (input) => {
|
|
|
394
388
|
value: input3.skipValuesBuild
|
|
395
389
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
396
390
|
path: _path2 + ".groupsetting",
|
|
397
|
-
expected: "
|
|
391
|
+
expected: "TermGroupSetting",
|
|
398
392
|
value: input3.groupsetting
|
|
399
|
-
})) && $
|
|
393
|
+
})) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
400
394
|
path: _path2 + ".groupsetting",
|
|
401
|
-
expected: "
|
|
395
|
+
expected: "TermGroupSetting",
|
|
402
396
|
value: input3.groupsetting
|
|
403
397
|
})].every((flag) => flag);
|
|
404
398
|
const $vo5 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
@@ -460,13 +454,13 @@ var validViolinRequest = (input) => {
|
|
|
460
454
|
expected: "(Filter | undefined)",
|
|
461
455
|
value: input3.filter
|
|
462
456
|
})].every((flag) => flag);
|
|
463
|
-
const $vo7 = (input3, _path2, _exceptionable2 = true) => [
|
|
457
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
464
458
|
path: _path2 + ".disabled",
|
|
465
|
-
expected: "
|
|
459
|
+
expected: "boolean",
|
|
466
460
|
value: input3.disabled
|
|
467
|
-
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
461
|
+
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
468
462
|
path: _path2 + ".lst",
|
|
469
|
-
expected: "Array<Groupset>",
|
|
463
|
+
expected: "(Array<Groupset> | undefined)",
|
|
470
464
|
value: input3.lst
|
|
471
465
|
})) && input3.lst.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
472
466
|
path: _path2 + ".lst[" + _index6 + "]",
|
|
@@ -478,7 +472,7 @@ var validViolinRequest = (input) => {
|
|
|
478
472
|
value: elem
|
|
479
473
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
480
474
|
path: _path2 + ".lst",
|
|
481
|
-
expected: "Array<Groupset>",
|
|
475
|
+
expected: "(Array<Groupset> | undefined)",
|
|
482
476
|
value: input3.lst
|
|
483
477
|
})].every((flag) => flag);
|
|
484
478
|
const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
@@ -493,10 +487,10 @@ var validViolinRequest = (input) => {
|
|
|
493
487
|
path: _path2 + ".is_subcondition",
|
|
494
488
|
expected: "(boolean | undefined)",
|
|
495
489
|
value: input3.is_subcondition
|
|
496
|
-
}), void 0 === input3.
|
|
497
|
-
path: _path2 + ".
|
|
498
|
-
expected: "(
|
|
499
|
-
value: input3.
|
|
490
|
+
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
491
|
+
path: _path2 + ".dt",
|
|
492
|
+
expected: "(number | undefined)",
|
|
493
|
+
value: input3.dt
|
|
500
494
|
}), (Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
501
495
|
path: _path2 + ".groups",
|
|
502
496
|
expected: "Array<GroupEntry>",
|
|
@@ -573,24 +567,7 @@ var validViolinRequest = (input) => {
|
|
|
573
567
|
expected: "string",
|
|
574
568
|
value: input3.color
|
|
575
569
|
})].every((flag) => flag);
|
|
576
|
-
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["
|
|
577
|
-
path: _path2 + ".disabled",
|
|
578
|
-
expected: "boolean",
|
|
579
|
-
value: input3.disabled
|
|
580
|
-
}), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
581
|
-
path: _path2 + ".lst",
|
|
582
|
-
expected: "([] | undefined)",
|
|
583
|
-
value: input3.lst
|
|
584
|
-
})) && ((input3.lst.length === 0 || $report(_exceptionable2, {
|
|
585
|
-
path: _path2 + ".lst",
|
|
586
|
-
expected: "[]",
|
|
587
|
-
value: input3.lst
|
|
588
|
-
})) && [].every((flag) => flag)) || $report(_exceptionable2, {
|
|
589
|
-
path: _path2 + ".lst",
|
|
590
|
-
expected: "([] | undefined)",
|
|
591
|
-
value: input3.lst
|
|
592
|
-
})].every((flag) => flag);
|
|
593
|
-
const $vo13 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
570
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
594
571
|
path: _path2 + ".join",
|
|
595
572
|
expected: "(string | undefined)",
|
|
596
573
|
value: input3.join
|
|
@@ -602,7 +579,7 @@ var validViolinRequest = (input) => {
|
|
|
602
579
|
path: _path2 + ".term",
|
|
603
580
|
expected: "NumericTerm",
|
|
604
581
|
value: input3.term
|
|
605
|
-
})) && $
|
|
582
|
+
})) && $vo13(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
606
583
|
path: _path2 + ".term",
|
|
607
584
|
expected: "NumericTerm",
|
|
608
585
|
value: input3.term
|
|
@@ -628,18 +605,18 @@ var validViolinRequest = (input) => {
|
|
|
628
605
|
value: input3.values
|
|
629
606
|
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
630
607
|
path: _path2 + ".values[" + _index10 + "]",
|
|
631
|
-
expected: "__type.
|
|
608
|
+
expected: "__type.o3",
|
|
632
609
|
value: elem
|
|
633
|
-
})) && $
|
|
610
|
+
})) && $vo22(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
634
611
|
path: _path2 + ".values[" + _index10 + "]",
|
|
635
|
-
expected: "__type.
|
|
612
|
+
expected: "__type.o3",
|
|
636
613
|
value: elem
|
|
637
614
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
638
615
|
path: _path2 + ".values",
|
|
639
616
|
expected: "Array<__type>.o1",
|
|
640
617
|
value: input3.values
|
|
641
618
|
})].every((flag) => flag);
|
|
642
|
-
const $
|
|
619
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
643
620
|
path: _path2 + ".id",
|
|
644
621
|
expected: "string",
|
|
645
622
|
value: input3.id
|
|
@@ -699,7 +676,7 @@ var validViolinRequest = (input) => {
|
|
|
699
676
|
path: _path2 + ".bins",
|
|
700
677
|
expected: "PresetNumericBins",
|
|
701
678
|
value: input3.bins
|
|
702
|
-
})) && $
|
|
679
|
+
})) && $vo14(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
703
680
|
path: _path2 + ".bins",
|
|
704
681
|
expected: "PresetNumericBins",
|
|
705
682
|
value: input3.bins
|
|
@@ -709,18 +686,18 @@ var validViolinRequest = (input) => {
|
|
|
709
686
|
value: input3.unit
|
|
710
687
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
711
688
|
path: _path2 + ".continuousColorScale",
|
|
712
|
-
expected: "(__type.
|
|
689
|
+
expected: "(__type.o2 | undefined)",
|
|
713
690
|
value: input3.continuousColorScale
|
|
714
|
-
})) && $
|
|
691
|
+
})) && $vo21(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
715
692
|
path: _path2 + ".continuousColorScale",
|
|
716
|
-
expected: "(__type.
|
|
693
|
+
expected: "(__type.o2 | undefined)",
|
|
717
694
|
value: input3.continuousColorScale
|
|
718
695
|
})].every((flag) => flag);
|
|
719
|
-
const $
|
|
696
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
720
697
|
path: _path2 + '["default"]',
|
|
721
698
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
722
699
|
value: input3["default"]
|
|
723
|
-
})) && $
|
|
700
|
+
})) && $vu4(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
724
701
|
path: _path2 + '["default"]',
|
|
725
702
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
726
703
|
value: input3["default"]
|
|
@@ -728,7 +705,7 @@ var validViolinRequest = (input) => {
|
|
|
728
705
|
path: _path2 + ".less",
|
|
729
706
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
730
707
|
value: input3.less
|
|
731
|
-
})) && $
|
|
708
|
+
})) && $vu4(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
732
709
|
path: _path2 + ".less",
|
|
733
710
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
734
711
|
value: input3.less
|
|
@@ -753,11 +730,11 @@ var validViolinRequest = (input) => {
|
|
|
753
730
|
expected: "(number | undefined)",
|
|
754
731
|
value: input3.max
|
|
755
732
|
})].every((flag) => flag);
|
|
756
|
-
const $
|
|
733
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
757
734
|
path: _path2 + ".hiddenValues",
|
|
758
735
|
expected: "(HiddenValues | undefined)",
|
|
759
736
|
value: input3.hiddenValues
|
|
760
|
-
})) && $
|
|
737
|
+
})) && $vo16(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
761
738
|
path: _path2 + ".hiddenValues",
|
|
762
739
|
expected: "(HiddenValues | undefined)",
|
|
763
740
|
value: input3.hiddenValues
|
|
@@ -789,7 +766,7 @@ var validViolinRequest = (input) => {
|
|
|
789
766
|
path: _path2 + ".first_bin",
|
|
790
767
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
791
768
|
value: input3.first_bin
|
|
792
|
-
})) && $
|
|
769
|
+
})) && $vu5(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
793
770
|
path: _path2 + ".first_bin",
|
|
794
771
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
795
772
|
value: input3.first_bin
|
|
@@ -797,7 +774,7 @@ var validViolinRequest = (input) => {
|
|
|
797
774
|
path: _path2 + ".last_bin",
|
|
798
775
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
799
776
|
value: input3.last_bin
|
|
800
|
-
})) && $
|
|
777
|
+
})) && $vu6(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
801
778
|
path: _path2 + ".last_bin",
|
|
802
779
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
803
780
|
value: input3.last_bin
|
|
@@ -806,7 +783,7 @@ var validViolinRequest = (input) => {
|
|
|
806
783
|
expected: "(number | undefined)",
|
|
807
784
|
value: input3.label_offset
|
|
808
785
|
})].every((flag) => flag);
|
|
809
|
-
const $
|
|
786
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
810
787
|
const value = input3[key];
|
|
811
788
|
if (void 0 === value)
|
|
812
789
|
return true;
|
|
@@ -818,7 +795,7 @@ var validViolinRequest = (input) => {
|
|
|
818
795
|
});
|
|
819
796
|
return true;
|
|
820
797
|
}).every((flag) => flag)].every((flag) => flag);
|
|
821
|
-
const $
|
|
798
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
822
799
|
path: _path2 + ".startunbounded",
|
|
823
800
|
expected: "true",
|
|
824
801
|
value: input3.startunbounded
|
|
@@ -843,7 +820,7 @@ var validViolinRequest = (input) => {
|
|
|
843
820
|
expected: "(string | undefined)",
|
|
844
821
|
value: input3.label
|
|
845
822
|
})].every((flag) => flag);
|
|
846
|
-
const $
|
|
823
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
847
824
|
path: _path2 + ".startunbounded",
|
|
848
825
|
expected: "(false | undefined)",
|
|
849
826
|
value: input3.startunbounded
|
|
@@ -872,7 +849,7 @@ var validViolinRequest = (input) => {
|
|
|
872
849
|
expected: "(string | undefined)",
|
|
873
850
|
value: input3.label
|
|
874
851
|
})].every((flag) => flag);
|
|
875
|
-
const $
|
|
852
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
876
853
|
path: _path2 + ".start",
|
|
877
854
|
expected: "number",
|
|
878
855
|
value: input3.start
|
|
@@ -897,11 +874,11 @@ var validViolinRequest = (input) => {
|
|
|
897
874
|
expected: "(string | undefined)",
|
|
898
875
|
value: input3.label
|
|
899
876
|
})].every((flag) => flag);
|
|
900
|
-
const $
|
|
877
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
901
878
|
path: _path2 + ".hiddenValues",
|
|
902
879
|
expected: "(HiddenValues | undefined)",
|
|
903
880
|
value: input3.hiddenValues
|
|
904
|
-
})) && $
|
|
881
|
+
})) && $vo16(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
905
882
|
path: _path2 + ".hiddenValues",
|
|
906
883
|
expected: "(HiddenValues | undefined)",
|
|
907
884
|
value: input3.hiddenValues
|
|
@@ -964,7 +941,7 @@ var validViolinRequest = (input) => {
|
|
|
964
941
|
expected: '("median" | undefined)',
|
|
965
942
|
value: input3.preferredBins
|
|
966
943
|
})].every((flag) => flag);
|
|
967
|
-
const $
|
|
944
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
968
945
|
path: _path2 + ".minColor",
|
|
969
946
|
expected: "string",
|
|
970
947
|
value: input3.minColor
|
|
@@ -973,7 +950,7 @@ var validViolinRequest = (input) => {
|
|
|
973
950
|
expected: "string",
|
|
974
951
|
value: input3.maxColor
|
|
975
952
|
})].every((flag) => flag);
|
|
976
|
-
const $
|
|
953
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
977
954
|
path: _path2 + ".key",
|
|
978
955
|
expected: "string",
|
|
979
956
|
value: input3.key
|
|
@@ -990,7 +967,7 @@ var validViolinRequest = (input) => {
|
|
|
990
967
|
expected: "(string | undefined)",
|
|
991
968
|
value: input3.label
|
|
992
969
|
})].every((flag) => flag);
|
|
993
|
-
const $
|
|
970
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
994
971
|
path: _path2 + ".join",
|
|
995
972
|
expected: "(string | undefined)",
|
|
996
973
|
value: input3.join
|
|
@@ -1002,7 +979,7 @@ var validViolinRequest = (input) => {
|
|
|
1002
979
|
path: _path2 + ".term",
|
|
1003
980
|
expected: "ConditionTerm",
|
|
1004
981
|
value: input3.term
|
|
1005
|
-
})) && $
|
|
982
|
+
})) && $vo24(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1006
983
|
path: _path2 + ".term",
|
|
1007
984
|
expected: "ConditionTerm",
|
|
1008
985
|
value: input3.term
|
|
@@ -1026,7 +1003,7 @@ var validViolinRequest = (input) => {
|
|
|
1026
1003
|
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
1027
1004
|
expected: "GradeAndChildEntry",
|
|
1028
1005
|
value: elem
|
|
1029
|
-
})) && $
|
|
1006
|
+
})) && $vo25(elem, _path2 + ".grade_and_child[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1030
1007
|
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
1031
1008
|
expected: "GradeAndChildEntry",
|
|
1032
1009
|
value: elem
|
|
@@ -1035,7 +1012,7 @@ var validViolinRequest = (input) => {
|
|
|
1035
1012
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1036
1013
|
value: input3.grade_and_child
|
|
1037
1014
|
})].every((flag) => flag);
|
|
1038
|
-
const $
|
|
1015
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1039
1016
|
path: _path2 + ".id",
|
|
1040
1017
|
expected: "string",
|
|
1041
1018
|
value: input3.id
|
|
@@ -1092,7 +1069,7 @@ var validViolinRequest = (input) => {
|
|
|
1092
1069
|
expected: "(boolean | undefined)",
|
|
1093
1070
|
value: input3.skipValuesBuild
|
|
1094
1071
|
})].every((flag) => flag);
|
|
1095
|
-
const $
|
|
1072
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1096
1073
|
path: _path2 + ".grade",
|
|
1097
1074
|
expected: "number",
|
|
1098
1075
|
value: input3.grade
|
|
@@ -1109,7 +1086,7 @@ var validViolinRequest = (input) => {
|
|
|
1109
1086
|
expected: "string",
|
|
1110
1087
|
value: input3.child_label
|
|
1111
1088
|
})].every((flag) => flag);
|
|
1112
|
-
const $
|
|
1089
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1113
1090
|
path: _path2 + ".join",
|
|
1114
1091
|
expected: "(string | undefined)",
|
|
1115
1092
|
value: input3.join
|
|
@@ -1121,7 +1098,7 @@ var validViolinRequest = (input) => {
|
|
|
1121
1098
|
path: _path2 + ".term",
|
|
1122
1099
|
expected: "DtTerm",
|
|
1123
1100
|
value: input3.term
|
|
1124
|
-
})) && $
|
|
1101
|
+
})) && $vo27(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1125
1102
|
path: _path2 + ".term",
|
|
1126
1103
|
expected: "DtTerm",
|
|
1127
1104
|
value: input3.term
|
|
@@ -1131,11 +1108,11 @@ var validViolinRequest = (input) => {
|
|
|
1131
1108
|
value: input3.values
|
|
1132
1109
|
})) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1133
1110
|
path: _path2 + ".values[" + _index17 + "]",
|
|
1134
|
-
expected: "__type.
|
|
1111
|
+
expected: "__type.o4",
|
|
1135
1112
|
value: elem
|
|
1136
|
-
})) && $
|
|
1113
|
+
})) && $vo30(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1137
1114
|
path: _path2 + ".values[" + _index17 + "]",
|
|
1138
|
-
expected: "__type.
|
|
1115
|
+
expected: "__type.o4",
|
|
1139
1116
|
value: elem
|
|
1140
1117
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1141
1118
|
path: _path2 + ".values",
|
|
@@ -1150,7 +1127,7 @@ var validViolinRequest = (input) => {
|
|
|
1150
1127
|
expected: "(boolean | undefined)",
|
|
1151
1128
|
value: input3.excludeGeneName
|
|
1152
1129
|
})].every((flag) => flag);
|
|
1153
|
-
const $
|
|
1130
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1154
1131
|
path: _path2 + ".id",
|
|
1155
1132
|
expected: "string",
|
|
1156
1133
|
value: input3.id
|
|
@@ -1170,7 +1147,7 @@ var validViolinRequest = (input) => {
|
|
|
1170
1147
|
path: _path2 + ".parentTerm",
|
|
1171
1148
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1172
1149
|
value: input3.parentTerm
|
|
1173
|
-
})) && $
|
|
1150
|
+
})) && $vu7(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1174
1151
|
path: _path2 + ".parentTerm",
|
|
1175
1152
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1176
1153
|
value: input3.parentTerm
|
|
@@ -1199,7 +1176,7 @@ var validViolinRequest = (input) => {
|
|
|
1199
1176
|
expected: "TermValues",
|
|
1200
1177
|
value: input3.values
|
|
1201
1178
|
})].every((flag) => flag);
|
|
1202
|
-
const $
|
|
1179
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1203
1180
|
path: _path2 + ".id",
|
|
1204
1181
|
expected: "string",
|
|
1205
1182
|
value: input3.id
|
|
@@ -1277,11 +1254,11 @@ var validViolinRequest = (input) => {
|
|
|
1277
1254
|
value: input3.stop
|
|
1278
1255
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1279
1256
|
path: _path2 + ".groupsetting",
|
|
1280
|
-
expected: "(
|
|
1257
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1281
1258
|
value: input3.groupsetting
|
|
1282
|
-
})) && $
|
|
1259
|
+
})) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1283
1260
|
path: _path2 + ".groupsetting",
|
|
1284
|
-
expected: "(
|
|
1261
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1285
1262
|
value: input3.groupsetting
|
|
1286
1263
|
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1287
1264
|
path: _path2 + ".childTerms",
|
|
@@ -1291,7 +1268,7 @@ var validViolinRequest = (input) => {
|
|
|
1291
1268
|
path: _path2 + ".childTerms[" + _index20 + "]",
|
|
1292
1269
|
expected: "DtTerm",
|
|
1293
1270
|
value: elem
|
|
1294
|
-
})) && $
|
|
1271
|
+
})) && $vo27(elem, _path2 + ".childTerms[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1295
1272
|
path: _path2 + ".childTerms[" + _index20 + "]",
|
|
1296
1273
|
expected: "DtTerm",
|
|
1297
1274
|
value: elem
|
|
@@ -1300,7 +1277,7 @@ var validViolinRequest = (input) => {
|
|
|
1300
1277
|
expected: "(Array<DtTerm> | undefined)",
|
|
1301
1278
|
value: input3.childTerms
|
|
1302
1279
|
})].every((flag) => flag);
|
|
1303
|
-
const $
|
|
1280
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1304
1281
|
path: _path2 + ".id",
|
|
1305
1282
|
expected: "string",
|
|
1306
1283
|
value: input3.id
|
|
@@ -1374,11 +1351,11 @@ var validViolinRequest = (input) => {
|
|
|
1374
1351
|
value: input3.stop
|
|
1375
1352
|
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1376
1353
|
path: _path2 + ".groupsetting",
|
|
1377
|
-
expected: "(
|
|
1354
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1378
1355
|
value: input3.groupsetting
|
|
1379
|
-
})) && $
|
|
1356
|
+
})) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1380
1357
|
path: _path2 + ".groupsetting",
|
|
1381
|
-
expected: "(
|
|
1358
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1382
1359
|
value: input3.groupsetting
|
|
1383
1360
|
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1384
1361
|
path: _path2 + ".childTerms",
|
|
@@ -1388,7 +1365,7 @@ var validViolinRequest = (input) => {
|
|
|
1388
1365
|
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
1389
1366
|
expected: "DtTerm",
|
|
1390
1367
|
value: elem
|
|
1391
|
-
})) && $
|
|
1368
|
+
})) && $vo27(elem, _path2 + ".childTerms[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1392
1369
|
path: _path2 + ".childTerms[" + _index23 + "]",
|
|
1393
1370
|
expected: "DtTerm",
|
|
1394
1371
|
value: elem
|
|
@@ -1397,7 +1374,7 @@ var validViolinRequest = (input) => {
|
|
|
1397
1374
|
expected: "(Array<DtTerm> | undefined)",
|
|
1398
1375
|
value: input3.childTerms
|
|
1399
1376
|
})].every((flag) => flag);
|
|
1400
|
-
const $
|
|
1377
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1401
1378
|
path: _path2 + ".key",
|
|
1402
1379
|
expected: "string",
|
|
1403
1380
|
value: input3.key
|
|
@@ -1434,59 +1411,54 @@ var validViolinRequest = (input) => {
|
|
|
1434
1411
|
})();
|
|
1435
1412
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1436
1413
|
if (true === input3.startunbounded)
|
|
1437
|
-
return $
|
|
1414
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
1438
1415
|
if (true === input3.stopunbounded)
|
|
1439
|
-
return $
|
|
1440
|
-
return $
|
|
1416
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1417
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1441
1418
|
})();
|
|
1442
1419
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1443
1420
|
if (void 0 !== input3.ranges)
|
|
1444
|
-
return $
|
|
1445
|
-
return $vo3(input3, _path2, false) || $
|
|
1421
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
1422
|
+
return $vo3(input3, _path2, false) || $vo23(input3, _path2, false) || $vo26(input3, _path2, false);
|
|
1446
1423
|
})();
|
|
1447
1424
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1448
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index24) => "object" === typeof elem && null !== elem && $vo8(elem, _path2 + ".lst[" + _index24 + "]", false)).every((flag) => flag))
|
|
1449
|
-
return $vo7(input3, _path2, _exceptionable2);
|
|
1450
|
-
return $vo12(input3, _path2, _exceptionable2);
|
|
1451
|
-
})();
|
|
1452
|
-
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1453
1425
|
if ("regular-bin" === input3.type)
|
|
1454
|
-
return $
|
|
1426
|
+
return $vo15(input3, _path2, _exceptionable2);
|
|
1455
1427
|
if ("custom-bin" === input3.type)
|
|
1456
|
-
return $
|
|
1428
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1457
1429
|
return $report(_exceptionable2, {
|
|
1458
1430
|
path: _path2,
|
|
1459
1431
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
1460
1432
|
value: input3
|
|
1461
1433
|
});
|
|
1462
1434
|
})();
|
|
1463
|
-
const $
|
|
1435
|
+
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1464
1436
|
if (true === input3.startunbounded)
|
|
1465
|
-
return $
|
|
1437
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
1466
1438
|
if (void 0 !== input3.start)
|
|
1467
|
-
return $
|
|
1439
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1468
1440
|
return $report(_exceptionable2, {
|
|
1469
1441
|
path: _path2,
|
|
1470
1442
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
1471
1443
|
value: input3
|
|
1472
1444
|
});
|
|
1473
1445
|
})();
|
|
1474
|
-
const $
|
|
1446
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1475
1447
|
if (void 0 !== input3.stop)
|
|
1476
|
-
return $
|
|
1448
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1477
1449
|
if (true === input3.stopunbounded)
|
|
1478
|
-
return $
|
|
1450
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1479
1451
|
return $report(_exceptionable2, {
|
|
1480
1452
|
path: _path2,
|
|
1481
1453
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1482
1454
|
value: input3
|
|
1483
1455
|
});
|
|
1484
1456
|
})();
|
|
1485
|
-
const $
|
|
1457
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1486
1458
|
if ("gene" === input3.kind)
|
|
1487
|
-
return $
|
|
1459
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
1488
1460
|
if ("coord" === input3.kind)
|
|
1489
|
-
return $
|
|
1461
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
1490
1462
|
return $report(_exceptionable2, {
|
|
1491
1463
|
path: _path2,
|
|
1492
1464
|
expected: '(BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|