@sjcrh/proteinpaint-types 2.151.1-0 → 2.152.1-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-2WSENLMK.js → chunk-46YIGVUP.js} +44 -24
- package/dist/{chunk-TTUU5XQC.js → chunk-5F24QFE7.js} +471 -253
- package/dist/{chunk-KSVIBMFQ.js → chunk-5OMJAZK4.js} +323 -185
- package/dist/{chunk-WL7ZVGZS.js → chunk-C27KCAQH.js} +476 -302
- package/dist/{chunk-5MGSKBUU.js → chunk-CC32XCET.js} +950 -574
- package/dist/{chunk-OZ3CVAFP.js → chunk-EBPGV76U.js} +279 -157
- package/dist/{chunk-KQNLROUN.js → chunk-GZKTMVAU.js} +750 -410
- package/dist/{chunk-3SKFYOKV.js → chunk-JT4DSNJ3.js} +476 -302
- package/dist/{chunk-75GS5ZG5.js → chunk-LXW2FSLR.js} +526 -352
- package/dist/{chunk-RA7IEGS4.js → chunk-MCL6EDOS.js} +482 -308
- package/dist/{chunk-DBSRGRXR.js → chunk-OAETETAO.js} +279 -157
- package/dist/{chunk-4MLQS6N7.js → chunk-OLWNM7QP.js} +279 -157
- package/dist/{chunk-MMFL6N5M.js → chunk-OLXOQLZH.js} +279 -157
- package/dist/{chunk-MIOIOFBZ.js → chunk-TD4YLTHL.js} +17 -3
- package/dist/{chunk-4SJC57Y6.js → chunk-ZXPLL3NT.js} +476 -302
- package/dist/correlationVolcano.js +1 -1
- package/dist/gdc.grin2.js +1 -1
- package/dist/gdc.maf.js +1 -1
- package/dist/index.js +15 -15
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.chat.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 +7 -280
- package/src/routes/gdc.grin2.ts +2 -2
- package/src/routes/gdc.maf.ts +3 -3
- package/src/terms/numeric.ts +17 -1
- package/src/terms/term.ts +5 -0
|
@@ -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 && $iu4(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) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(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,18 @@ 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) => "
|
|
80
|
-
const $io9 = (input3) => "string" === typeof input3.name && "
|
|
81
|
-
const $io10 = (input3) =>
|
|
82
|
-
const $io11 = (input3) => "string" === typeof input3.
|
|
83
|
-
const $io12 = (input3) =>
|
|
84
|
-
const $io13 = (input3) =>
|
|
85
|
-
const $io14 = (input3) => "string" === typeof input3.
|
|
86
|
-
const $io15 = (input3) => "
|
|
87
|
-
const $io16 = (input3) =>
|
|
88
|
-
const $io17 = (input3) =>
|
|
78
|
+
const $io7 = (input3) => "string" === typeof input3.fromUnit && "string" === typeof input3.toUnit && "string" === typeof input3.scaleFactor;
|
|
79
|
+
const $io8 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io9(elem)));
|
|
80
|
+
const $io9 = (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)));
|
|
81
|
+
const $io10 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io11(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
82
|
+
const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
83
|
+
const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
|
|
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 && $iu5(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 && $io28(elem)));
|
|
85
|
+
const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === 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) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
86
|
+
const $io15 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
87
|
+
const $io16 = (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);
|
|
88
|
+
const $io17 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(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) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.rounding || "string" === typeof input3.rounding);
|
|
89
|
+
const $io18 = (input3) => Object.keys(input3).every((key) => {
|
|
89
90
|
const value = input3[key];
|
|
90
91
|
if (void 0 === value)
|
|
91
92
|
return true;
|
|
@@ -93,26 +94,26 @@ var validViolinRequest = (input) => {
|
|
|
93
94
|
return "number" === typeof value;
|
|
94
95
|
return true;
|
|
95
96
|
});
|
|
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 $
|
|
110
|
-
const $
|
|
111
|
-
const $
|
|
112
|
-
const $
|
|
113
|
-
const $
|
|
114
|
-
const $
|
|
115
|
-
const $
|
|
97
|
+
const $io19 = (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) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
98
|
+
const $io20 = (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) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
99
|
+
const $io21 = (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) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
100
|
+
const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(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);
|
|
101
|
+
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === 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) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "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);
|
|
102
|
+
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === 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) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
103
|
+
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === 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) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
104
|
+
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "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) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
105
|
+
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === 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) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
106
|
+
const $io28 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
107
|
+
const $io29 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io30(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 && $io31(elem)));
|
|
108
|
+
const $io30 = (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) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion));
|
|
109
|
+
const $io31 = (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;
|
|
110
|
+
const $io32 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io33(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io38(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
111
|
+
const $io33 = (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 && $iu9(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));
|
|
112
|
+
const $io34 = (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) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "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) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
|
|
113
|
+
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "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);
|
|
114
|
+
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
115
|
+
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
|
|
116
|
+
const $io38 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
116
117
|
const $iu0 = (input3) => (() => {
|
|
117
118
|
if ("tvslst" === input3.type)
|
|
118
119
|
return $io1(input3);
|
|
@@ -122,81 +123,81 @@ var validViolinRequest = (input) => {
|
|
|
122
123
|
})();
|
|
123
124
|
const $iu1 = (input3) => (() => {
|
|
124
125
|
if ("string" === typeof input3.type)
|
|
125
|
-
return $
|
|
126
|
+
return $io10(input3);
|
|
126
127
|
if ("filter" === input3.type)
|
|
127
|
-
return $
|
|
128
|
+
return $io12(input3);
|
|
128
129
|
return false;
|
|
129
130
|
})();
|
|
130
131
|
const $iu2 = (input3) => (() => {
|
|
131
132
|
if (true === input3.startunbounded)
|
|
132
|
-
return $
|
|
133
|
+
return $io19(input3);
|
|
133
134
|
if (true === input3.stopunbounded)
|
|
134
|
-
return $
|
|
135
|
-
return $
|
|
135
|
+
return $io21(input3);
|
|
136
|
+
return $io20(input3);
|
|
136
137
|
})();
|
|
137
138
|
const $iu3 = (input3) => (() => {
|
|
138
139
|
if ("gene" === input3.kind)
|
|
139
|
-
return $io34(input3);
|
|
140
|
-
if ("coord" === input3.kind)
|
|
141
140
|
return $io35(input3);
|
|
141
|
+
if ("coord" === input3.kind)
|
|
142
|
+
return $io36(input3);
|
|
142
143
|
return false;
|
|
143
144
|
})();
|
|
144
145
|
const $iu4 = (input3) => (() => {
|
|
145
146
|
if (void 0 !== input3.ranges)
|
|
146
|
-
return $
|
|
147
|
+
return $io13(input3);
|
|
147
148
|
return (() => {
|
|
148
149
|
if ($io3(input3))
|
|
149
150
|
return $io3(input3);
|
|
150
|
-
if ($
|
|
151
|
-
return $
|
|
152
|
-
if ($
|
|
153
|
-
return $
|
|
151
|
+
if ($io29(input3))
|
|
152
|
+
return $io29(input3);
|
|
153
|
+
if ($io32(input3))
|
|
154
|
+
return $io32(input3);
|
|
154
155
|
return false;
|
|
155
156
|
})();
|
|
156
157
|
})();
|
|
157
158
|
const $iu5 = (input3) => (() => {
|
|
158
159
|
if ("integer" === input3.type || "float" === input3.type)
|
|
159
|
-
return $
|
|
160
|
+
return $io14(input3);
|
|
160
161
|
if ("metaboliteIntensity" === input3.type)
|
|
161
|
-
return $io24(input3);
|
|
162
|
-
if ("date" === input3.type)
|
|
163
162
|
return $io25(input3);
|
|
164
|
-
if ("
|
|
163
|
+
if ("date" === input3.type)
|
|
165
164
|
return $io26(input3);
|
|
165
|
+
if ("ssGSEA" === input3.type)
|
|
166
|
+
return $io27(input3);
|
|
166
167
|
return (() => {
|
|
168
|
+
if ($io24(input3))
|
|
169
|
+
return $io24(input3);
|
|
167
170
|
if ($io23(input3))
|
|
168
171
|
return $io23(input3);
|
|
169
|
-
if ($io22(input3))
|
|
170
|
-
return $io22(input3);
|
|
171
172
|
return false;
|
|
172
173
|
})();
|
|
173
174
|
})();
|
|
174
175
|
const $iu6 = (input3) => (() => {
|
|
175
176
|
if ("regular-bin" === input3.type)
|
|
176
|
-
return $
|
|
177
|
+
return $io17(input3);
|
|
177
178
|
if ("custom-bin" === input3.type)
|
|
178
|
-
return $
|
|
179
|
+
return $io22(input3);
|
|
179
180
|
return false;
|
|
180
181
|
})();
|
|
181
182
|
const $iu7 = (input3) => (() => {
|
|
182
183
|
if (true === input3.startunbounded)
|
|
183
|
-
return $io18(input3);
|
|
184
|
-
if (void 0 !== input3.start)
|
|
185
184
|
return $io19(input3);
|
|
185
|
+
if (void 0 !== input3.start)
|
|
186
|
+
return $io20(input3);
|
|
186
187
|
return false;
|
|
187
188
|
})();
|
|
188
189
|
const $iu8 = (input3) => (() => {
|
|
189
190
|
if (void 0 !== input3.stop)
|
|
190
|
-
return $io19(input3);
|
|
191
|
-
if (true === input3.stopunbounded)
|
|
192
191
|
return $io20(input3);
|
|
192
|
+
if (true === input3.stopunbounded)
|
|
193
|
+
return $io21(input3);
|
|
193
194
|
return false;
|
|
194
195
|
})();
|
|
195
196
|
const $iu9 = (input3) => (() => {
|
|
196
197
|
if ("gene" === input3.kind)
|
|
197
|
-
return $
|
|
198
|
+
return $io34(input3);
|
|
198
199
|
if ("coord" === input3.kind)
|
|
199
|
-
return $
|
|
200
|
+
return $io37(input3);
|
|
200
201
|
return false;
|
|
201
202
|
})();
|
|
202
203
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -417,11 +418,19 @@ var validViolinRequest = (input) => {
|
|
|
417
418
|
path: _path2 + ".skipValuesBuild",
|
|
418
419
|
expected: "(boolean | undefined)",
|
|
419
420
|
value: input3.skipValuesBuild
|
|
421
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
422
|
+
path: _path2 + ".valueConversion",
|
|
423
|
+
expected: "(__type.o1 | undefined)",
|
|
424
|
+
value: input3.valueConversion
|
|
425
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
426
|
+
path: _path2 + ".valueConversion",
|
|
427
|
+
expected: "(__type.o1 | undefined)",
|
|
428
|
+
value: input3.valueConversion
|
|
420
429
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
421
430
|
path: _path2 + ".groupsetting",
|
|
422
431
|
expected: "TermGroupSetting",
|
|
423
432
|
value: input3.groupsetting
|
|
424
|
-
})) && $
|
|
433
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
425
434
|
path: _path2 + ".groupsetting",
|
|
426
435
|
expected: "TermGroupSetting",
|
|
427
436
|
value: input3.groupsetting
|
|
@@ -485,7 +494,20 @@ var validViolinRequest = (input) => {
|
|
|
485
494
|
expected: "(Filter | undefined)",
|
|
486
495
|
value: input3.filter
|
|
487
496
|
})].every((flag) => flag);
|
|
488
|
-
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["
|
|
497
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.fromUnit || $report(_exceptionable2, {
|
|
498
|
+
path: _path2 + ".fromUnit",
|
|
499
|
+
expected: "string",
|
|
500
|
+
value: input3.fromUnit
|
|
501
|
+
}), "string" === typeof input3.toUnit || $report(_exceptionable2, {
|
|
502
|
+
path: _path2 + ".toUnit",
|
|
503
|
+
expected: "string",
|
|
504
|
+
value: input3.toUnit
|
|
505
|
+
}), "string" === typeof input3.scaleFactor || $report(_exceptionable2, {
|
|
506
|
+
path: _path2 + ".scaleFactor",
|
|
507
|
+
expected: "string",
|
|
508
|
+
value: input3.scaleFactor
|
|
509
|
+
})].every((flag) => flag);
|
|
510
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
489
511
|
path: _path2 + ".disabled",
|
|
490
512
|
expected: "boolean",
|
|
491
513
|
value: input3.disabled
|
|
@@ -497,7 +519,7 @@ var validViolinRequest = (input) => {
|
|
|
497
519
|
path: _path2 + ".lst[" + _index6 + "]",
|
|
498
520
|
expected: "Groupset",
|
|
499
521
|
value: elem
|
|
500
|
-
})) && $
|
|
522
|
+
})) && $vo9(elem, _path2 + ".lst[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
501
523
|
path: _path2 + ".lst[" + _index6 + "]",
|
|
502
524
|
expected: "Groupset",
|
|
503
525
|
value: elem
|
|
@@ -506,7 +528,7 @@ var validViolinRequest = (input) => {
|
|
|
506
528
|
expected: "(Array<Groupset> | undefined)",
|
|
507
529
|
value: input3.lst
|
|
508
530
|
})].every((flag) => flag);
|
|
509
|
-
const $
|
|
531
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
510
532
|
path: _path2 + ".name",
|
|
511
533
|
expected: "string",
|
|
512
534
|
value: input3.name
|
|
@@ -539,7 +561,7 @@ var validViolinRequest = (input) => {
|
|
|
539
561
|
expected: "Array<GroupEntry>",
|
|
540
562
|
value: input3.groups
|
|
541
563
|
})].every((flag) => flag);
|
|
542
|
-
const $
|
|
564
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
543
565
|
path: _path2 + ".name",
|
|
544
566
|
expected: "string",
|
|
545
567
|
value: input3.name
|
|
@@ -553,11 +575,11 @@ var validViolinRequest = (input) => {
|
|
|
553
575
|
value: input3.values
|
|
554
576
|
})) && input3.values.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
555
577
|
path: _path2 + ".values[" + _index8 + "]",
|
|
556
|
-
expected: "__type.
|
|
578
|
+
expected: "__type.o2",
|
|
557
579
|
value: elem
|
|
558
|
-
})) && $
|
|
580
|
+
})) && $vo11(elem, _path2 + ".values[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
559
581
|
path: _path2 + ".values[" + _index8 + "]",
|
|
560
|
-
expected: "__type.
|
|
582
|
+
expected: "__type.o2",
|
|
561
583
|
value: elem
|
|
562
584
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
563
585
|
path: _path2 + ".values",
|
|
@@ -568,7 +590,7 @@ var validViolinRequest = (input) => {
|
|
|
568
590
|
expected: "(boolean | undefined)",
|
|
569
591
|
value: input3.uncomputable
|
|
570
592
|
})].every((flag) => flag);
|
|
571
|
-
const $
|
|
593
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
572
594
|
path: _path2 + ".key",
|
|
573
595
|
expected: "(number | string)",
|
|
574
596
|
value: input3.key
|
|
@@ -577,7 +599,7 @@ var validViolinRequest = (input) => {
|
|
|
577
599
|
expected: "string",
|
|
578
600
|
value: input3.label
|
|
579
601
|
})].every((flag) => flag);
|
|
580
|
-
const $
|
|
602
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
581
603
|
path: _path2 + ".name",
|
|
582
604
|
expected: "string",
|
|
583
605
|
value: input3.name
|
|
@@ -598,7 +620,7 @@ var validViolinRequest = (input) => {
|
|
|
598
620
|
expected: "string",
|
|
599
621
|
value: input3.color
|
|
600
622
|
})].every((flag) => flag);
|
|
601
|
-
const $
|
|
623
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
602
624
|
path: _path2 + ".join",
|
|
603
625
|
expected: "(string | undefined)",
|
|
604
626
|
value: input3.join
|
|
@@ -636,18 +658,18 @@ var validViolinRequest = (input) => {
|
|
|
636
658
|
value: input3.values
|
|
637
659
|
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
638
660
|
path: _path2 + ".values[" + _index10 + "]",
|
|
639
|
-
expected: "__type.
|
|
661
|
+
expected: "__type.o4",
|
|
640
662
|
value: elem
|
|
641
|
-
})) && $
|
|
663
|
+
})) && $vo28(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
642
664
|
path: _path2 + ".values[" + _index10 + "]",
|
|
643
|
-
expected: "__type.
|
|
665
|
+
expected: "__type.o4",
|
|
644
666
|
value: elem
|
|
645
667
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
646
668
|
path: _path2 + ".values",
|
|
647
669
|
expected: "Array<__type>.o1",
|
|
648
670
|
value: input3.values
|
|
649
671
|
})].every((flag) => flag);
|
|
650
|
-
const $
|
|
672
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
651
673
|
path: _path2 + ".id",
|
|
652
674
|
expected: "string",
|
|
653
675
|
value: input3.id
|
|
@@ -703,13 +725,21 @@ var validViolinRequest = (input) => {
|
|
|
703
725
|
path: _path2 + ".skipValuesBuild",
|
|
704
726
|
expected: "(boolean | undefined)",
|
|
705
727
|
value: input3.skipValuesBuild
|
|
728
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
729
|
+
path: _path2 + ".valueConversion",
|
|
730
|
+
expected: "(__type.o1 | undefined)",
|
|
731
|
+
value: input3.valueConversion
|
|
732
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
733
|
+
path: _path2 + ".valueConversion",
|
|
734
|
+
expected: "(__type.o1 | undefined)",
|
|
735
|
+
value: input3.valueConversion
|
|
706
736
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
707
737
|
path: _path2 + ".continuousColorScale",
|
|
708
|
-
expected: "(__type.
|
|
738
|
+
expected: "(__type.o3 | undefined)",
|
|
709
739
|
value: input3.continuousColorScale
|
|
710
|
-
})) && $
|
|
740
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
711
741
|
path: _path2 + ".continuousColorScale",
|
|
712
|
-
expected: "(__type.
|
|
742
|
+
expected: "(__type.o3 | undefined)",
|
|
713
743
|
value: input3.continuousColorScale
|
|
714
744
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
715
745
|
path: _path2 + ".unit",
|
|
@@ -719,12 +749,12 @@ var validViolinRequest = (input) => {
|
|
|
719
749
|
path: _path2 + ".bins",
|
|
720
750
|
expected: "PresetNumericBins",
|
|
721
751
|
value: input3.bins
|
|
722
|
-
})) && $
|
|
752
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
723
753
|
path: _path2 + ".bins",
|
|
724
754
|
expected: "PresetNumericBins",
|
|
725
755
|
value: input3.bins
|
|
726
756
|
})].every((flag) => flag);
|
|
727
|
-
const $
|
|
757
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
728
758
|
path: _path2 + ".minColor",
|
|
729
759
|
expected: "string",
|
|
730
760
|
value: input3.minColor
|
|
@@ -733,7 +763,7 @@ var validViolinRequest = (input) => {
|
|
|
733
763
|
expected: "string",
|
|
734
764
|
value: input3.maxColor
|
|
735
765
|
})].every((flag) => flag);
|
|
736
|
-
const $
|
|
766
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
737
767
|
path: _path2 + '["default"]',
|
|
738
768
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
739
769
|
value: input3["default"]
|
|
@@ -770,11 +800,11 @@ var validViolinRequest = (input) => {
|
|
|
770
800
|
expected: "(number | undefined)",
|
|
771
801
|
value: input3.max
|
|
772
802
|
})].every((flag) => flag);
|
|
773
|
-
const $
|
|
803
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
774
804
|
path: _path2 + ".hiddenValues",
|
|
775
805
|
expected: "(HiddenValues | undefined)",
|
|
776
806
|
value: input3.hiddenValues
|
|
777
|
-
})) && $
|
|
807
|
+
})) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
778
808
|
path: _path2 + ".hiddenValues",
|
|
779
809
|
expected: "(HiddenValues | undefined)",
|
|
780
810
|
value: input3.hiddenValues
|
|
@@ -822,8 +852,20 @@ var validViolinRequest = (input) => {
|
|
|
822
852
|
path: _path2 + ".label_offset",
|
|
823
853
|
expected: "(number | undefined)",
|
|
824
854
|
value: input3.label_offset
|
|
855
|
+
}), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
|
|
856
|
+
path: _path2 + ".startinclusive",
|
|
857
|
+
expected: "(boolean | undefined)",
|
|
858
|
+
value: input3.startinclusive
|
|
859
|
+
}), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
|
|
860
|
+
path: _path2 + ".stopinclusive",
|
|
861
|
+
expected: "(boolean | undefined)",
|
|
862
|
+
value: input3.stopinclusive
|
|
863
|
+
}), void 0 === input3.rounding || "string" === typeof input3.rounding || $report(_exceptionable2, {
|
|
864
|
+
path: _path2 + ".rounding",
|
|
865
|
+
expected: "(string | undefined)",
|
|
866
|
+
value: input3.rounding
|
|
825
867
|
})].every((flag) => flag);
|
|
826
|
-
const $
|
|
868
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
827
869
|
const value = input3[key];
|
|
828
870
|
if (void 0 === value)
|
|
829
871
|
return true;
|
|
@@ -835,7 +877,7 @@ var validViolinRequest = (input) => {
|
|
|
835
877
|
});
|
|
836
878
|
return true;
|
|
837
879
|
}).every((flag) => flag)].every((flag) => flag);
|
|
838
|
-
const $
|
|
880
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
839
881
|
path: _path2 + ".startunbounded",
|
|
840
882
|
expected: "true",
|
|
841
883
|
value: input3.startunbounded
|
|
@@ -864,7 +906,7 @@ var validViolinRequest = (input) => {
|
|
|
864
906
|
expected: "(string | undefined)",
|
|
865
907
|
value: input3.range
|
|
866
908
|
})].every((flag) => flag);
|
|
867
|
-
const $
|
|
909
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
868
910
|
path: _path2 + ".startunbounded",
|
|
869
911
|
expected: "(false | undefined)",
|
|
870
912
|
value: input3.startunbounded
|
|
@@ -897,7 +939,7 @@ var validViolinRequest = (input) => {
|
|
|
897
939
|
expected: "(string | undefined)",
|
|
898
940
|
value: input3.range
|
|
899
941
|
})].every((flag) => flag);
|
|
900
|
-
const $
|
|
942
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
901
943
|
path: _path2 + ".start",
|
|
902
944
|
expected: "number",
|
|
903
945
|
value: input3.start
|
|
@@ -926,11 +968,11 @@ var validViolinRequest = (input) => {
|
|
|
926
968
|
expected: "(string | undefined)",
|
|
927
969
|
value: input3.range
|
|
928
970
|
})].every((flag) => flag);
|
|
929
|
-
const $
|
|
971
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
930
972
|
path: _path2 + ".hiddenValues",
|
|
931
973
|
expected: "(HiddenValues | undefined)",
|
|
932
974
|
value: input3.hiddenValues
|
|
933
|
-
})) && $
|
|
975
|
+
})) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
934
976
|
path: _path2 + ".hiddenValues",
|
|
935
977
|
expected: "(HiddenValues | undefined)",
|
|
936
978
|
value: input3.hiddenValues
|
|
@@ -956,7 +998,7 @@ var validViolinRequest = (input) => {
|
|
|
956
998
|
value: input3.mode
|
|
957
999
|
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
958
1000
|
path: _path2 + ".lst",
|
|
959
|
-
expected: "
|
|
1001
|
+
expected: "CustomNumericBinConfigLst",
|
|
960
1002
|
value: input3.lst
|
|
961
1003
|
})) && ([
|
|
962
1004
|
("object" === typeof input3.lst[0] && null !== input3.lst[0] || $report(_exceptionable2, {
|
|
@@ -986,14 +1028,14 @@ var validViolinRequest = (input) => {
|
|
|
986
1028
|
value: input3.lst.slice(1)
|
|
987
1029
|
}))) || $report(_exceptionable2, {
|
|
988
1030
|
path: _path2 + ".lst",
|
|
989
|
-
expected: "
|
|
1031
|
+
expected: "CustomNumericBinConfigLst",
|
|
990
1032
|
value: input3.lst
|
|
991
1033
|
}), void 0 === input3.preferredBins || "median" === input3.preferredBins || $report(_exceptionable2, {
|
|
992
1034
|
path: _path2 + ".preferredBins",
|
|
993
1035
|
expected: '("median" | undefined)',
|
|
994
1036
|
value: input3.preferredBins
|
|
995
1037
|
})].every((flag) => flag);
|
|
996
|
-
const $
|
|
1038
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
997
1039
|
path: _path2 + ".id",
|
|
998
1040
|
expected: "string",
|
|
999
1041
|
value: input3.id
|
|
@@ -1049,13 +1091,21 @@ var validViolinRequest = (input) => {
|
|
|
1049
1091
|
path: _path2 + ".skipValuesBuild",
|
|
1050
1092
|
expected: "(boolean | undefined)",
|
|
1051
1093
|
value: input3.skipValuesBuild
|
|
1094
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1095
|
+
path: _path2 + ".valueConversion",
|
|
1096
|
+
expected: "(__type.o1 | undefined)",
|
|
1097
|
+
value: input3.valueConversion
|
|
1098
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1099
|
+
path: _path2 + ".valueConversion",
|
|
1100
|
+
expected: "(__type.o1 | undefined)",
|
|
1101
|
+
value: input3.valueConversion
|
|
1052
1102
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1053
1103
|
path: _path2 + ".continuousColorScale",
|
|
1054
|
-
expected: "(__type.
|
|
1104
|
+
expected: "(__type.o3 | undefined)",
|
|
1055
1105
|
value: input3.continuousColorScale
|
|
1056
|
-
})) && $
|
|
1106
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1057
1107
|
path: _path2 + ".continuousColorScale",
|
|
1058
|
-
expected: "(__type.
|
|
1108
|
+
expected: "(__type.o3 | undefined)",
|
|
1059
1109
|
value: input3.continuousColorScale
|
|
1060
1110
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1061
1111
|
path: _path2 + ".unit",
|
|
@@ -1065,7 +1115,7 @@ var validViolinRequest = (input) => {
|
|
|
1065
1115
|
path: _path2 + ".bins",
|
|
1066
1116
|
expected: "(PresetNumericBins | undefined)",
|
|
1067
1117
|
value: input3.bins
|
|
1068
|
-
})) && $
|
|
1118
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1069
1119
|
path: _path2 + ".bins",
|
|
1070
1120
|
expected: "(PresetNumericBins | undefined)",
|
|
1071
1121
|
value: input3.bins
|
|
@@ -1090,7 +1140,7 @@ var validViolinRequest = (input) => {
|
|
|
1090
1140
|
expected: "(number | undefined)",
|
|
1091
1141
|
value: input3.stop
|
|
1092
1142
|
})].every((flag) => flag);
|
|
1093
|
-
const $
|
|
1143
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1094
1144
|
path: _path2 + ".id",
|
|
1095
1145
|
expected: "string",
|
|
1096
1146
|
value: input3.id
|
|
@@ -1146,13 +1196,21 @@ var validViolinRequest = (input) => {
|
|
|
1146
1196
|
path: _path2 + ".skipValuesBuild",
|
|
1147
1197
|
expected: "(boolean | undefined)",
|
|
1148
1198
|
value: input3.skipValuesBuild
|
|
1199
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1200
|
+
path: _path2 + ".valueConversion",
|
|
1201
|
+
expected: "(__type.o1 | undefined)",
|
|
1202
|
+
value: input3.valueConversion
|
|
1203
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1204
|
+
path: _path2 + ".valueConversion",
|
|
1205
|
+
expected: "(__type.o1 | undefined)",
|
|
1206
|
+
value: input3.valueConversion
|
|
1149
1207
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1150
1208
|
path: _path2 + ".continuousColorScale",
|
|
1151
|
-
expected: "(__type.
|
|
1209
|
+
expected: "(__type.o3 | undefined)",
|
|
1152
1210
|
value: input3.continuousColorScale
|
|
1153
|
-
})) && $
|
|
1211
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1154
1212
|
path: _path2 + ".continuousColorScale",
|
|
1155
|
-
expected: "(__type.
|
|
1213
|
+
expected: "(__type.o3 | undefined)",
|
|
1156
1214
|
value: input3.continuousColorScale
|
|
1157
1215
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1158
1216
|
path: _path2 + ".unit",
|
|
@@ -1162,7 +1220,7 @@ var validViolinRequest = (input) => {
|
|
|
1162
1220
|
path: _path2 + ".bins",
|
|
1163
1221
|
expected: "(PresetNumericBins | undefined)",
|
|
1164
1222
|
value: input3.bins
|
|
1165
|
-
})) && $
|
|
1223
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1166
1224
|
path: _path2 + ".bins",
|
|
1167
1225
|
expected: "(PresetNumericBins | undefined)",
|
|
1168
1226
|
value: input3.bins
|
|
@@ -1187,7 +1245,7 @@ var validViolinRequest = (input) => {
|
|
|
1187
1245
|
expected: "number",
|
|
1188
1246
|
value: input3.stop
|
|
1189
1247
|
})].every((flag) => flag);
|
|
1190
|
-
const $
|
|
1248
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1191
1249
|
path: _path2 + ".id",
|
|
1192
1250
|
expected: "string",
|
|
1193
1251
|
value: input3.id
|
|
@@ -1243,13 +1301,21 @@ var validViolinRequest = (input) => {
|
|
|
1243
1301
|
path: _path2 + ".skipValuesBuild",
|
|
1244
1302
|
expected: "(boolean | undefined)",
|
|
1245
1303
|
value: input3.skipValuesBuild
|
|
1304
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1305
|
+
path: _path2 + ".valueConversion",
|
|
1306
|
+
expected: "(__type.o1 | undefined)",
|
|
1307
|
+
value: input3.valueConversion
|
|
1308
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1309
|
+
path: _path2 + ".valueConversion",
|
|
1310
|
+
expected: "(__type.o1 | undefined)",
|
|
1311
|
+
value: input3.valueConversion
|
|
1246
1312
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1247
1313
|
path: _path2 + ".continuousColorScale",
|
|
1248
|
-
expected: "(__type.
|
|
1314
|
+
expected: "(__type.o3 | undefined)",
|
|
1249
1315
|
value: input3.continuousColorScale
|
|
1250
|
-
})) && $
|
|
1316
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1251
1317
|
path: _path2 + ".continuousColorScale",
|
|
1252
|
-
expected: "(__type.
|
|
1318
|
+
expected: "(__type.o3 | undefined)",
|
|
1253
1319
|
value: input3.continuousColorScale
|
|
1254
1320
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1255
1321
|
path: _path2 + ".unit",
|
|
@@ -1263,12 +1329,12 @@ var validViolinRequest = (input) => {
|
|
|
1263
1329
|
path: _path2 + ".bins",
|
|
1264
1330
|
expected: "(PresetNumericBins | undefined)",
|
|
1265
1331
|
value: input3.bins
|
|
1266
|
-
})) && $
|
|
1332
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1267
1333
|
path: _path2 + ".bins",
|
|
1268
1334
|
expected: "(PresetNumericBins | undefined)",
|
|
1269
1335
|
value: input3.bins
|
|
1270
1336
|
})].every((flag) => flag);
|
|
1271
|
-
const $
|
|
1337
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1272
1338
|
path: _path2 + ".id",
|
|
1273
1339
|
expected: "string",
|
|
1274
1340
|
value: input3.id
|
|
@@ -1324,13 +1390,21 @@ var validViolinRequest = (input) => {
|
|
|
1324
1390
|
path: _path2 + ".skipValuesBuild",
|
|
1325
1391
|
expected: "(boolean | undefined)",
|
|
1326
1392
|
value: input3.skipValuesBuild
|
|
1393
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1394
|
+
path: _path2 + ".valueConversion",
|
|
1395
|
+
expected: "(__type.o1 | undefined)",
|
|
1396
|
+
value: input3.valueConversion
|
|
1397
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1398
|
+
path: _path2 + ".valueConversion",
|
|
1399
|
+
expected: "(__type.o1 | undefined)",
|
|
1400
|
+
value: input3.valueConversion
|
|
1327
1401
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1328
1402
|
path: _path2 + ".continuousColorScale",
|
|
1329
|
-
expected: "(__type.
|
|
1403
|
+
expected: "(__type.o3 | undefined)",
|
|
1330
1404
|
value: input3.continuousColorScale
|
|
1331
|
-
})) && $
|
|
1405
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1332
1406
|
path: _path2 + ".continuousColorScale",
|
|
1333
|
-
expected: "(__type.
|
|
1407
|
+
expected: "(__type.o3 | undefined)",
|
|
1334
1408
|
value: input3.continuousColorScale
|
|
1335
1409
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1336
1410
|
path: _path2 + ".unit",
|
|
@@ -1340,12 +1414,12 @@ var validViolinRequest = (input) => {
|
|
|
1340
1414
|
path: _path2 + ".bins",
|
|
1341
1415
|
expected: "(PresetNumericBins | undefined)",
|
|
1342
1416
|
value: input3.bins
|
|
1343
|
-
})) && $
|
|
1417
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1344
1418
|
path: _path2 + ".bins",
|
|
1345
1419
|
expected: "(PresetNumericBins | undefined)",
|
|
1346
1420
|
value: input3.bins
|
|
1347
1421
|
})].every((flag) => flag);
|
|
1348
|
-
const $
|
|
1422
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1349
1423
|
path: _path2 + ".id",
|
|
1350
1424
|
expected: "string",
|
|
1351
1425
|
value: input3.id
|
|
@@ -1401,13 +1475,21 @@ var validViolinRequest = (input) => {
|
|
|
1401
1475
|
path: _path2 + ".skipValuesBuild",
|
|
1402
1476
|
expected: "(boolean | undefined)",
|
|
1403
1477
|
value: input3.skipValuesBuild
|
|
1478
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1479
|
+
path: _path2 + ".valueConversion",
|
|
1480
|
+
expected: "(__type.o1 | undefined)",
|
|
1481
|
+
value: input3.valueConversion
|
|
1482
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1483
|
+
path: _path2 + ".valueConversion",
|
|
1484
|
+
expected: "(__type.o1 | undefined)",
|
|
1485
|
+
value: input3.valueConversion
|
|
1404
1486
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1405
1487
|
path: _path2 + ".continuousColorScale",
|
|
1406
|
-
expected: "(__type.
|
|
1488
|
+
expected: "(__type.o3 | undefined)",
|
|
1407
1489
|
value: input3.continuousColorScale
|
|
1408
|
-
})) && $
|
|
1490
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1409
1491
|
path: _path2 + ".continuousColorScale",
|
|
1410
|
-
expected: "(__type.
|
|
1492
|
+
expected: "(__type.o3 | undefined)",
|
|
1411
1493
|
value: input3.continuousColorScale
|
|
1412
1494
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1413
1495
|
path: _path2 + ".unit",
|
|
@@ -1429,12 +1511,12 @@ var validViolinRequest = (input) => {
|
|
|
1429
1511
|
path: _path2 + ".bins",
|
|
1430
1512
|
expected: "(PresetNumericBins | undefined)",
|
|
1431
1513
|
value: input3.bins
|
|
1432
|
-
})) && $
|
|
1514
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1433
1515
|
path: _path2 + ".bins",
|
|
1434
1516
|
expected: "(PresetNumericBins | undefined)",
|
|
1435
1517
|
value: input3.bins
|
|
1436
1518
|
})].every((flag) => flag);
|
|
1437
|
-
const $
|
|
1519
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1438
1520
|
path: _path2 + ".key",
|
|
1439
1521
|
expected: "string",
|
|
1440
1522
|
value: input3.key
|
|
@@ -1451,7 +1533,7 @@ var validViolinRequest = (input) => {
|
|
|
1451
1533
|
expected: "(string | undefined)",
|
|
1452
1534
|
value: input3.label
|
|
1453
1535
|
})].every((flag) => flag);
|
|
1454
|
-
const $
|
|
1536
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1455
1537
|
path: _path2 + ".join",
|
|
1456
1538
|
expected: "(string | undefined)",
|
|
1457
1539
|
value: input3.join
|
|
@@ -1463,7 +1545,7 @@ var validViolinRequest = (input) => {
|
|
|
1463
1545
|
path: _path2 + ".term",
|
|
1464
1546
|
expected: "ConditionTerm",
|
|
1465
1547
|
value: input3.term
|
|
1466
|
-
})) && $
|
|
1548
|
+
})) && $vo30(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1467
1549
|
path: _path2 + ".term",
|
|
1468
1550
|
expected: "ConditionTerm",
|
|
1469
1551
|
value: input3.term
|
|
@@ -1487,7 +1569,7 @@ var validViolinRequest = (input) => {
|
|
|
1487
1569
|
path: _path2 + ".grade_and_child[" + _index25 + "]",
|
|
1488
1570
|
expected: "GradeAndChildEntry",
|
|
1489
1571
|
value: elem
|
|
1490
|
-
})) && $
|
|
1572
|
+
})) && $vo31(elem, _path2 + ".grade_and_child[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1491
1573
|
path: _path2 + ".grade_and_child[" + _index25 + "]",
|
|
1492
1574
|
expected: "GradeAndChildEntry",
|
|
1493
1575
|
value: elem
|
|
@@ -1496,7 +1578,7 @@ var validViolinRequest = (input) => {
|
|
|
1496
1578
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1497
1579
|
value: input3.grade_and_child
|
|
1498
1580
|
})].every((flag) => flag);
|
|
1499
|
-
const $
|
|
1581
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1500
1582
|
path: _path2 + ".id",
|
|
1501
1583
|
expected: "string",
|
|
1502
1584
|
value: input3.id
|
|
@@ -1552,8 +1634,16 @@ var validViolinRequest = (input) => {
|
|
|
1552
1634
|
path: _path2 + ".skipValuesBuild",
|
|
1553
1635
|
expected: "(boolean | undefined)",
|
|
1554
1636
|
value: input3.skipValuesBuild
|
|
1637
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1638
|
+
path: _path2 + ".valueConversion",
|
|
1639
|
+
expected: "(__type.o1 | undefined)",
|
|
1640
|
+
value: input3.valueConversion
|
|
1641
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1642
|
+
path: _path2 + ".valueConversion",
|
|
1643
|
+
expected: "(__type.o1 | undefined)",
|
|
1644
|
+
value: input3.valueConversion
|
|
1555
1645
|
})].every((flag) => flag);
|
|
1556
|
-
const $
|
|
1646
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1557
1647
|
path: _path2 + ".grade",
|
|
1558
1648
|
expected: "number",
|
|
1559
1649
|
value: input3.grade
|
|
@@ -1570,7 +1660,7 @@ var validViolinRequest = (input) => {
|
|
|
1570
1660
|
expected: "string",
|
|
1571
1661
|
value: input3.child_label
|
|
1572
1662
|
})].every((flag) => flag);
|
|
1573
|
-
const $
|
|
1663
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1574
1664
|
path: _path2 + ".join",
|
|
1575
1665
|
expected: "(string | undefined)",
|
|
1576
1666
|
value: input3.join
|
|
@@ -1582,7 +1672,7 @@ var validViolinRequest = (input) => {
|
|
|
1582
1672
|
path: _path2 + ".term",
|
|
1583
1673
|
expected: "DtTerm",
|
|
1584
1674
|
value: input3.term
|
|
1585
|
-
})) && $
|
|
1675
|
+
})) && $vo33(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1586
1676
|
path: _path2 + ".term",
|
|
1587
1677
|
expected: "DtTerm",
|
|
1588
1678
|
value: input3.term
|
|
@@ -1592,11 +1682,11 @@ var validViolinRequest = (input) => {
|
|
|
1592
1682
|
value: input3.values
|
|
1593
1683
|
})) && input3.values.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1594
1684
|
path: _path2 + ".values[" + _index28 + "]",
|
|
1595
|
-
expected: "__type.
|
|
1685
|
+
expected: "__type.o5",
|
|
1596
1686
|
value: elem
|
|
1597
|
-
})) && $
|
|
1687
|
+
})) && $vo38(elem, _path2 + ".values[" + _index28 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1598
1688
|
path: _path2 + ".values[" + _index28 + "]",
|
|
1599
|
-
expected: "__type.
|
|
1689
|
+
expected: "__type.o5",
|
|
1600
1690
|
value: elem
|
|
1601
1691
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1602
1692
|
path: _path2 + ".values",
|
|
@@ -1611,7 +1701,7 @@ var validViolinRequest = (input) => {
|
|
|
1611
1701
|
expected: "(boolean | undefined)",
|
|
1612
1702
|
value: input3.excludeGeneName
|
|
1613
1703
|
})].every((flag) => flag);
|
|
1614
|
-
const $
|
|
1704
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1615
1705
|
path: _path2 + ".id",
|
|
1616
1706
|
expected: "string",
|
|
1617
1707
|
value: input3.id
|
|
@@ -1660,7 +1750,7 @@ var validViolinRequest = (input) => {
|
|
|
1660
1750
|
expected: "TermValues",
|
|
1661
1751
|
value: input3.values
|
|
1662
1752
|
})].every((flag) => flag);
|
|
1663
|
-
const $
|
|
1753
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1664
1754
|
path: _path2 + ".id",
|
|
1665
1755
|
expected: "string",
|
|
1666
1756
|
value: input3.id
|
|
@@ -1716,6 +1806,14 @@ var validViolinRequest = (input) => {
|
|
|
1716
1806
|
path: _path2 + ".skipValuesBuild",
|
|
1717
1807
|
expected: "(boolean | undefined)",
|
|
1718
1808
|
value: input3.skipValuesBuild
|
|
1809
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1810
|
+
path: _path2 + ".valueConversion",
|
|
1811
|
+
expected: "(__type.o1 | undefined)",
|
|
1812
|
+
value: input3.valueConversion
|
|
1813
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1814
|
+
path: _path2 + ".valueConversion",
|
|
1815
|
+
expected: "(__type.o1 | undefined)",
|
|
1816
|
+
value: input3.valueConversion
|
|
1719
1817
|
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1720
1818
|
path: _path2 + ".kind",
|
|
1721
1819
|
expected: '"gene"',
|
|
@@ -1756,7 +1854,7 @@ var validViolinRequest = (input) => {
|
|
|
1756
1854
|
path: _path2 + ".groupsetting",
|
|
1757
1855
|
expected: "(TermGroupSetting | undefined)",
|
|
1758
1856
|
value: input3.groupsetting
|
|
1759
|
-
})) && $
|
|
1857
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1760
1858
|
path: _path2 + ".groupsetting",
|
|
1761
1859
|
expected: "(TermGroupSetting | undefined)",
|
|
1762
1860
|
value: input3.groupsetting
|
|
@@ -1768,7 +1866,7 @@ var validViolinRequest = (input) => {
|
|
|
1768
1866
|
path: _path2 + ".childTerms[" + _index32 + "]",
|
|
1769
1867
|
expected: "DtTerm",
|
|
1770
1868
|
value: elem
|
|
1771
|
-
})) && $
|
|
1869
|
+
})) && $vo33(elem, _path2 + ".childTerms[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1772
1870
|
path: _path2 + ".childTerms[" + _index32 + "]",
|
|
1773
1871
|
expected: "DtTerm",
|
|
1774
1872
|
value: elem
|
|
@@ -1777,7 +1875,7 @@ var validViolinRequest = (input) => {
|
|
|
1777
1875
|
expected: "(Array<DtTerm> | undefined)",
|
|
1778
1876
|
value: input3.childTerms
|
|
1779
1877
|
})].every((flag) => flag);
|
|
1780
|
-
const $
|
|
1878
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1781
1879
|
path: _path2 + ".id",
|
|
1782
1880
|
expected: "string",
|
|
1783
1881
|
value: input3.id
|
|
@@ -1833,6 +1931,14 @@ var validViolinRequest = (input) => {
|
|
|
1833
1931
|
path: _path2 + ".skipValuesBuild",
|
|
1834
1932
|
expected: "(boolean | undefined)",
|
|
1835
1933
|
value: input3.skipValuesBuild
|
|
1934
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1935
|
+
path: _path2 + ".valueConversion",
|
|
1936
|
+
expected: "(__type.o1 | undefined)",
|
|
1937
|
+
value: input3.valueConversion
|
|
1938
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1939
|
+
path: _path2 + ".valueConversion",
|
|
1940
|
+
expected: "(__type.o1 | undefined)",
|
|
1941
|
+
value: input3.valueConversion
|
|
1836
1942
|
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1837
1943
|
path: _path2 + ".kind",
|
|
1838
1944
|
expected: '"gene"',
|
|
@@ -1854,7 +1960,7 @@ var validViolinRequest = (input) => {
|
|
|
1854
1960
|
expected: "(number | undefined)",
|
|
1855
1961
|
value: input3.stop
|
|
1856
1962
|
})].every((flag) => flag);
|
|
1857
|
-
const $
|
|
1963
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1858
1964
|
path: _path2 + ".id",
|
|
1859
1965
|
expected: "string",
|
|
1860
1966
|
value: input3.id
|
|
@@ -1910,6 +2016,14 @@ var validViolinRequest = (input) => {
|
|
|
1910
2016
|
path: _path2 + ".skipValuesBuild",
|
|
1911
2017
|
expected: "(boolean | undefined)",
|
|
1912
2018
|
value: input3.skipValuesBuild
|
|
2019
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2020
|
+
path: _path2 + ".valueConversion",
|
|
2021
|
+
expected: "(__type.o1 | undefined)",
|
|
2022
|
+
value: input3.valueConversion
|
|
2023
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2024
|
+
path: _path2 + ".valueConversion",
|
|
2025
|
+
expected: "(__type.o1 | undefined)",
|
|
2026
|
+
value: input3.valueConversion
|
|
1913
2027
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1914
2028
|
path: _path2 + ".kind",
|
|
1915
2029
|
expected: '"coord"',
|
|
@@ -1927,7 +2041,7 @@ var validViolinRequest = (input) => {
|
|
|
1927
2041
|
expected: "number",
|
|
1928
2042
|
value: input3.stop
|
|
1929
2043
|
})].every((flag) => flag);
|
|
1930
|
-
const $
|
|
2044
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1931
2045
|
path: _path2 + ".id",
|
|
1932
2046
|
expected: "string",
|
|
1933
2047
|
value: input3.id
|
|
@@ -1983,6 +2097,14 @@ var validViolinRequest = (input) => {
|
|
|
1983
2097
|
path: _path2 + ".skipValuesBuild",
|
|
1984
2098
|
expected: "(boolean | undefined)",
|
|
1985
2099
|
value: input3.skipValuesBuild
|
|
2100
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2101
|
+
path: _path2 + ".valueConversion",
|
|
2102
|
+
expected: "(__type.o1 | undefined)",
|
|
2103
|
+
value: input3.valueConversion
|
|
2104
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2105
|
+
path: _path2 + ".valueConversion",
|
|
2106
|
+
expected: "(__type.o1 | undefined)",
|
|
2107
|
+
value: input3.valueConversion
|
|
1986
2108
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1987
2109
|
path: _path2 + ".kind",
|
|
1988
2110
|
expected: '"coord"',
|
|
@@ -2019,7 +2141,7 @@ var validViolinRequest = (input) => {
|
|
|
2019
2141
|
path: _path2 + ".groupsetting",
|
|
2020
2142
|
expected: "(TermGroupSetting | undefined)",
|
|
2021
2143
|
value: input3.groupsetting
|
|
2022
|
-
})) && $
|
|
2144
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2023
2145
|
path: _path2 + ".groupsetting",
|
|
2024
2146
|
expected: "(TermGroupSetting | undefined)",
|
|
2025
2147
|
value: input3.groupsetting
|
|
@@ -2031,7 +2153,7 @@ var validViolinRequest = (input) => {
|
|
|
2031
2153
|
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
2032
2154
|
expected: "DtTerm",
|
|
2033
2155
|
value: elem
|
|
2034
|
-
})) && $
|
|
2156
|
+
})) && $vo33(elem, _path2 + ".childTerms[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2035
2157
|
path: _path2 + ".childTerms[" + _index40 + "]",
|
|
2036
2158
|
expected: "DtTerm",
|
|
2037
2159
|
value: elem
|
|
@@ -2040,7 +2162,7 @@ var validViolinRequest = (input) => {
|
|
|
2040
2162
|
expected: "(Array<DtTerm> | undefined)",
|
|
2041
2163
|
value: input3.childTerms
|
|
2042
2164
|
})].every((flag) => flag);
|
|
2043
|
-
const $
|
|
2165
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2044
2166
|
path: _path2 + ".key",
|
|
2045
2167
|
expected: "string",
|
|
2046
2168
|
value: input3.key
|
|
@@ -2066,9 +2188,9 @@ var validViolinRequest = (input) => {
|
|
|
2066
2188
|
})();
|
|
2067
2189
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2068
2190
|
if ("string" === typeof input3.type)
|
|
2069
|
-
return $
|
|
2191
|
+
return $vo10(input3, _path2, _exceptionable2);
|
|
2070
2192
|
if ("filter" === input3.type)
|
|
2071
|
-
return $
|
|
2193
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
2072
2194
|
return $report(_exceptionable2, {
|
|
2073
2195
|
path: _path2,
|
|
2074
2196
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -2077,16 +2199,16 @@ var validViolinRequest = (input) => {
|
|
|
2077
2199
|
})();
|
|
2078
2200
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2079
2201
|
if (true === input3.startunbounded)
|
|
2080
|
-
return $
|
|
2202
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
2081
2203
|
if (true === input3.stopunbounded)
|
|
2082
|
-
return $
|
|
2083
|
-
return $
|
|
2204
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
2205
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
2084
2206
|
})();
|
|
2085
2207
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2086
2208
|
if ("gene" === input3.kind)
|
|
2087
|
-
return $vo34(input3, _path2, _exceptionable2);
|
|
2088
|
-
if ("coord" === input3.kind)
|
|
2089
2209
|
return $vo35(input3, _path2, _exceptionable2);
|
|
2210
|
+
if ("coord" === input3.kind)
|
|
2211
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
2090
2212
|
return $report(_exceptionable2, {
|
|
2091
2213
|
path: _path2,
|
|
2092
2214
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -2095,25 +2217,25 @@ var validViolinRequest = (input) => {
|
|
|
2095
2217
|
})();
|
|
2096
2218
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2097
2219
|
if (void 0 !== input3.ranges)
|
|
2098
|
-
return $
|
|
2099
|
-
return $vo3(input3, _path2, false) || $
|
|
2220
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
2221
|
+
return $vo3(input3, _path2, false) || $vo29(input3, _path2, false) || $vo32(input3, _path2, false);
|
|
2100
2222
|
})();
|
|
2101
2223
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2102
2224
|
if ("integer" === input3.type || "float" === input3.type)
|
|
2103
|
-
return $
|
|
2225
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
2104
2226
|
if ("metaboliteIntensity" === input3.type)
|
|
2105
|
-
return $vo24(input3, _path2, _exceptionable2);
|
|
2106
|
-
if ("date" === input3.type)
|
|
2107
2227
|
return $vo25(input3, _path2, _exceptionable2);
|
|
2108
|
-
if ("
|
|
2228
|
+
if ("date" === input3.type)
|
|
2109
2229
|
return $vo26(input3, _path2, _exceptionable2);
|
|
2110
|
-
|
|
2230
|
+
if ("ssGSEA" === input3.type)
|
|
2231
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
2232
|
+
return $vo24(input3, _path2, false) || $vo23(input3, _path2, false);
|
|
2111
2233
|
})();
|
|
2112
2234
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2113
2235
|
if ("regular-bin" === input3.type)
|
|
2114
|
-
return $
|
|
2236
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
2115
2237
|
if ("custom-bin" === input3.type)
|
|
2116
|
-
return $
|
|
2238
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
2117
2239
|
return $report(_exceptionable2, {
|
|
2118
2240
|
path: _path2,
|
|
2119
2241
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
@@ -2122,9 +2244,9 @@ var validViolinRequest = (input) => {
|
|
|
2122
2244
|
})();
|
|
2123
2245
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2124
2246
|
if (true === input3.startunbounded)
|
|
2125
|
-
return $vo18(input3, _path2, _exceptionable2);
|
|
2126
|
-
if (void 0 !== input3.start)
|
|
2127
2247
|
return $vo19(input3, _path2, _exceptionable2);
|
|
2248
|
+
if (void 0 !== input3.start)
|
|
2249
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
2128
2250
|
return $report(_exceptionable2, {
|
|
2129
2251
|
path: _path2,
|
|
2130
2252
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
@@ -2133,9 +2255,9 @@ var validViolinRequest = (input) => {
|
|
|
2133
2255
|
})();
|
|
2134
2256
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2135
2257
|
if (void 0 !== input3.stop)
|
|
2136
|
-
return $vo19(input3, _path2, _exceptionable2);
|
|
2137
|
-
if (true === input3.stopunbounded)
|
|
2138
2258
|
return $vo20(input3, _path2, _exceptionable2);
|
|
2259
|
+
if (true === input3.stopunbounded)
|
|
2260
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
2139
2261
|
return $report(_exceptionable2, {
|
|
2140
2262
|
path: _path2,
|
|
2141
2263
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
@@ -2144,9 +2266,9 @@ var validViolinRequest = (input) => {
|
|
|
2144
2266
|
})();
|
|
2145
2267
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2146
2268
|
if ("gene" === input3.kind)
|
|
2147
|
-
return $
|
|
2269
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
2148
2270
|
if ("coord" === input3.kind)
|
|
2149
|
-
return $
|
|
2271
|
+
return $vo37(input3, _path2, _exceptionable2);
|
|
2150
2272
|
return $report(_exceptionable2, {
|
|
2151
2273
|
path: _path2,
|
|
2152
2274
|
expected: '(BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
|