@sjcrh/proteinpaint-types 2.151.1-0 → 2.152.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-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-4SJC57Y6.js → chunk-ZXPLL3NT.js} +476 -302
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +13 -13
- 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/terms/numeric.ts +17 -1
- package/src/terms/term.ts +5 -0
|
@@ -26,7 +26,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
26
26
|
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)));
|
|
27
27
|
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu4(input3.tvs));
|
|
28
28
|
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)));
|
|
29
|
-
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 && $
|
|
29
|
+
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));
|
|
30
30
|
const $io5 = (input3) => Object.keys(input3).every((key) => {
|
|
31
31
|
const value = input3[key];
|
|
32
32
|
if (void 0 === value)
|
|
@@ -38,17 +38,18 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
38
38
|
return true;
|
|
39
39
|
});
|
|
40
40
|
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));
|
|
41
|
-
const $io7 = (input3) => "
|
|
42
|
-
const $io8 = (input3) => "
|
|
43
|
-
const $io9 = (input3) => "string" === typeof input3.name && "
|
|
44
|
-
const $io10 = (input3) =>
|
|
45
|
-
const $io11 = (input3) => "string" === typeof input3.
|
|
46
|
-
const $io12 = (input3) =>
|
|
47
|
-
const $io13 = (input3) =>
|
|
48
|
-
const $io14 = (input3) => "string" === typeof input3.
|
|
49
|
-
const $io15 = (input3) => "
|
|
50
|
-
const $io16 = (input3) =>
|
|
51
|
-
const $io17 = (input3) =>
|
|
41
|
+
const $io7 = (input3) => "string" === typeof input3.fromUnit && "string" === typeof input3.toUnit && "string" === typeof input3.scaleFactor;
|
|
42
|
+
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)));
|
|
43
|
+
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)));
|
|
44
|
+
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);
|
|
45
|
+
const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
46
|
+
const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
|
|
47
|
+
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)));
|
|
48
|
+
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));
|
|
49
|
+
const $io15 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
50
|
+
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);
|
|
51
|
+
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);
|
|
52
|
+
const $io18 = (input3) => Object.keys(input3).every((key) => {
|
|
52
53
|
const value = input3[key];
|
|
53
54
|
if (void 0 === value)
|
|
54
55
|
return true;
|
|
@@ -56,26 +57,26 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
56
57
|
return "number" === typeof value;
|
|
57
58
|
return true;
|
|
58
59
|
});
|
|
59
|
-
const $
|
|
60
|
-
const $
|
|
61
|
-
const $
|
|
62
|
-
const $
|
|
63
|
-
const $
|
|
64
|
-
const $
|
|
65
|
-
const $
|
|
66
|
-
const $
|
|
67
|
-
const $
|
|
68
|
-
const $
|
|
69
|
-
const $
|
|
70
|
-
const $
|
|
71
|
-
const $
|
|
72
|
-
const $
|
|
73
|
-
const $
|
|
74
|
-
const $
|
|
75
|
-
const $
|
|
76
|
-
const $
|
|
77
|
-
const $
|
|
78
|
-
const $
|
|
60
|
+
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);
|
|
61
|
+
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);
|
|
62
|
+
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);
|
|
63
|
+
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);
|
|
64
|
+
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);
|
|
65
|
+
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;
|
|
66
|
+
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));
|
|
67
|
+
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));
|
|
68
|
+
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));
|
|
69
|
+
const $io28 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
70
|
+
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)));
|
|
71
|
+
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));
|
|
72
|
+
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;
|
|
73
|
+
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);
|
|
74
|
+
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));
|
|
75
|
+
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)));
|
|
76
|
+
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);
|
|
77
|
+
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;
|
|
78
|
+
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)));
|
|
79
|
+
const $io38 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
79
80
|
const $iu0 = (input3) => (() => {
|
|
80
81
|
if ("tvslst" === input3.type)
|
|
81
82
|
return $io1(input3);
|
|
@@ -85,81 +86,81 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
85
86
|
})();
|
|
86
87
|
const $iu1 = (input3) => (() => {
|
|
87
88
|
if ("string" === typeof input3.type)
|
|
88
|
-
return $
|
|
89
|
+
return $io10(input3);
|
|
89
90
|
if ("filter" === input3.type)
|
|
90
|
-
return $
|
|
91
|
+
return $io12(input3);
|
|
91
92
|
return false;
|
|
92
93
|
})();
|
|
93
94
|
const $iu2 = (input3) => (() => {
|
|
94
95
|
if (true === input3.startunbounded)
|
|
95
|
-
return $
|
|
96
|
+
return $io19(input3);
|
|
96
97
|
if (true === input3.stopunbounded)
|
|
97
|
-
return $
|
|
98
|
-
return $
|
|
98
|
+
return $io21(input3);
|
|
99
|
+
return $io20(input3);
|
|
99
100
|
})();
|
|
100
101
|
const $iu3 = (input3) => (() => {
|
|
101
102
|
if ("gene" === input3.kind)
|
|
102
|
-
return $io34(input3);
|
|
103
|
-
if ("coord" === input3.kind)
|
|
104
103
|
return $io35(input3);
|
|
104
|
+
if ("coord" === input3.kind)
|
|
105
|
+
return $io36(input3);
|
|
105
106
|
return false;
|
|
106
107
|
})();
|
|
107
108
|
const $iu4 = (input3) => (() => {
|
|
108
109
|
if (void 0 !== input3.ranges)
|
|
109
|
-
return $
|
|
110
|
+
return $io13(input3);
|
|
110
111
|
return (() => {
|
|
111
112
|
if ($io3(input3))
|
|
112
113
|
return $io3(input3);
|
|
113
|
-
if ($
|
|
114
|
-
return $
|
|
115
|
-
if ($
|
|
116
|
-
return $
|
|
114
|
+
if ($io29(input3))
|
|
115
|
+
return $io29(input3);
|
|
116
|
+
if ($io32(input3))
|
|
117
|
+
return $io32(input3);
|
|
117
118
|
return false;
|
|
118
119
|
})();
|
|
119
120
|
})();
|
|
120
121
|
const $iu5 = (input3) => (() => {
|
|
121
122
|
if ("integer" === input3.type || "float" === input3.type)
|
|
122
|
-
return $
|
|
123
|
+
return $io14(input3);
|
|
123
124
|
if ("metaboliteIntensity" === input3.type)
|
|
124
|
-
return $io24(input3);
|
|
125
|
-
if ("date" === input3.type)
|
|
126
125
|
return $io25(input3);
|
|
127
|
-
if ("
|
|
126
|
+
if ("date" === input3.type)
|
|
128
127
|
return $io26(input3);
|
|
128
|
+
if ("ssGSEA" === input3.type)
|
|
129
|
+
return $io27(input3);
|
|
129
130
|
return (() => {
|
|
131
|
+
if ($io24(input3))
|
|
132
|
+
return $io24(input3);
|
|
130
133
|
if ($io23(input3))
|
|
131
134
|
return $io23(input3);
|
|
132
|
-
if ($io22(input3))
|
|
133
|
-
return $io22(input3);
|
|
134
135
|
return false;
|
|
135
136
|
})();
|
|
136
137
|
})();
|
|
137
138
|
const $iu6 = (input3) => (() => {
|
|
138
139
|
if ("regular-bin" === input3.type)
|
|
139
|
-
return $
|
|
140
|
+
return $io17(input3);
|
|
140
141
|
if ("custom-bin" === input3.type)
|
|
141
|
-
return $
|
|
142
|
+
return $io22(input3);
|
|
142
143
|
return false;
|
|
143
144
|
})();
|
|
144
145
|
const $iu7 = (input3) => (() => {
|
|
145
146
|
if (true === input3.startunbounded)
|
|
146
|
-
return $io18(input3);
|
|
147
|
-
if (void 0 !== input3.start)
|
|
148
147
|
return $io19(input3);
|
|
148
|
+
if (void 0 !== input3.start)
|
|
149
|
+
return $io20(input3);
|
|
149
150
|
return false;
|
|
150
151
|
})();
|
|
151
152
|
const $iu8 = (input3) => (() => {
|
|
152
153
|
if (void 0 !== input3.stop)
|
|
153
|
-
return $io19(input3);
|
|
154
|
-
if (true === input3.stopunbounded)
|
|
155
154
|
return $io20(input3);
|
|
155
|
+
if (true === input3.stopunbounded)
|
|
156
|
+
return $io21(input3);
|
|
156
157
|
return false;
|
|
157
158
|
})();
|
|
158
159
|
const $iu9 = (input3) => (() => {
|
|
159
160
|
if ("gene" === input3.kind)
|
|
160
|
-
return $
|
|
161
|
+
return $io34(input3);
|
|
161
162
|
if ("coord" === input3.kind)
|
|
162
|
-
return $
|
|
163
|
+
return $io37(input3);
|
|
163
164
|
return false;
|
|
164
165
|
})();
|
|
165
166
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -332,11 +333,19 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
332
333
|
path: _path2 + ".skipValuesBuild",
|
|
333
334
|
expected: "(boolean | undefined)",
|
|
334
335
|
value: input3.skipValuesBuild
|
|
336
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
337
|
+
path: _path2 + ".valueConversion",
|
|
338
|
+
expected: "(__type.o1 | undefined)",
|
|
339
|
+
value: input3.valueConversion
|
|
340
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
341
|
+
path: _path2 + ".valueConversion",
|
|
342
|
+
expected: "(__type.o1 | undefined)",
|
|
343
|
+
value: input3.valueConversion
|
|
335
344
|
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
336
345
|
path: _path2 + ".groupsetting",
|
|
337
346
|
expected: "TermGroupSetting",
|
|
338
347
|
value: input3.groupsetting
|
|
339
|
-
})) && $
|
|
348
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
340
349
|
path: _path2 + ".groupsetting",
|
|
341
350
|
expected: "TermGroupSetting",
|
|
342
351
|
value: input3.groupsetting
|
|
@@ -400,7 +409,20 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
400
409
|
expected: "(Filter | undefined)",
|
|
401
410
|
value: input3.filter
|
|
402
411
|
})].every((flag) => flag);
|
|
403
|
-
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["
|
|
412
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.fromUnit || $report(_exceptionable2, {
|
|
413
|
+
path: _path2 + ".fromUnit",
|
|
414
|
+
expected: "string",
|
|
415
|
+
value: input3.fromUnit
|
|
416
|
+
}), "string" === typeof input3.toUnit || $report(_exceptionable2, {
|
|
417
|
+
path: _path2 + ".toUnit",
|
|
418
|
+
expected: "string",
|
|
419
|
+
value: input3.toUnit
|
|
420
|
+
}), "string" === typeof input3.scaleFactor || $report(_exceptionable2, {
|
|
421
|
+
path: _path2 + ".scaleFactor",
|
|
422
|
+
expected: "string",
|
|
423
|
+
value: input3.scaleFactor
|
|
424
|
+
})].every((flag) => flag);
|
|
425
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
404
426
|
path: _path2 + ".disabled",
|
|
405
427
|
expected: "boolean",
|
|
406
428
|
value: input3.disabled
|
|
@@ -412,7 +434,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
412
434
|
path: _path2 + ".lst[" + _index5 + "]",
|
|
413
435
|
expected: "Groupset",
|
|
414
436
|
value: elem
|
|
415
|
-
})) && $
|
|
437
|
+
})) && $vo9(elem, _path2 + ".lst[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
416
438
|
path: _path2 + ".lst[" + _index5 + "]",
|
|
417
439
|
expected: "Groupset",
|
|
418
440
|
value: elem
|
|
@@ -421,7 +443,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
421
443
|
expected: "(Array<Groupset> | undefined)",
|
|
422
444
|
value: input3.lst
|
|
423
445
|
})].every((flag) => flag);
|
|
424
|
-
const $
|
|
446
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
425
447
|
path: _path2 + ".name",
|
|
426
448
|
expected: "string",
|
|
427
449
|
value: input3.name
|
|
@@ -454,7 +476,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
454
476
|
expected: "Array<GroupEntry>",
|
|
455
477
|
value: input3.groups
|
|
456
478
|
})].every((flag) => flag);
|
|
457
|
-
const $
|
|
479
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
458
480
|
path: _path2 + ".name",
|
|
459
481
|
expected: "string",
|
|
460
482
|
value: input3.name
|
|
@@ -468,11 +490,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
468
490
|
value: input3.values
|
|
469
491
|
})) && input3.values.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
470
492
|
path: _path2 + ".values[" + _index7 + "]",
|
|
471
|
-
expected: "__type.
|
|
493
|
+
expected: "__type.o2",
|
|
472
494
|
value: elem
|
|
473
|
-
})) && $
|
|
495
|
+
})) && $vo11(elem, _path2 + ".values[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
474
496
|
path: _path2 + ".values[" + _index7 + "]",
|
|
475
|
-
expected: "__type.
|
|
497
|
+
expected: "__type.o2",
|
|
476
498
|
value: elem
|
|
477
499
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
478
500
|
path: _path2 + ".values",
|
|
@@ -483,7 +505,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
483
505
|
expected: "(boolean | undefined)",
|
|
484
506
|
value: input3.uncomputable
|
|
485
507
|
})].every((flag) => flag);
|
|
486
|
-
const $
|
|
508
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
487
509
|
path: _path2 + ".key",
|
|
488
510
|
expected: "(number | string)",
|
|
489
511
|
value: input3.key
|
|
@@ -492,7 +514,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
492
514
|
expected: "string",
|
|
493
515
|
value: input3.label
|
|
494
516
|
})].every((flag) => flag);
|
|
495
|
-
const $
|
|
517
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
496
518
|
path: _path2 + ".name",
|
|
497
519
|
expected: "string",
|
|
498
520
|
value: input3.name
|
|
@@ -513,7 +535,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
513
535
|
expected: "string",
|
|
514
536
|
value: input3.color
|
|
515
537
|
})].every((flag) => flag);
|
|
516
|
-
const $
|
|
538
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
517
539
|
path: _path2 + ".join",
|
|
518
540
|
expected: "(string | undefined)",
|
|
519
541
|
value: input3.join
|
|
@@ -551,18 +573,18 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
551
573
|
value: input3.values
|
|
552
574
|
})) && input3.values.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
553
575
|
path: _path2 + ".values[" + _index9 + "]",
|
|
554
|
-
expected: "__type.
|
|
576
|
+
expected: "__type.o4",
|
|
555
577
|
value: elem
|
|
556
|
-
})) && $
|
|
578
|
+
})) && $vo28(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
557
579
|
path: _path2 + ".values[" + _index9 + "]",
|
|
558
|
-
expected: "__type.
|
|
580
|
+
expected: "__type.o4",
|
|
559
581
|
value: elem
|
|
560
582
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
561
583
|
path: _path2 + ".values",
|
|
562
584
|
expected: "Array<__type>.o1",
|
|
563
585
|
value: input3.values
|
|
564
586
|
})].every((flag) => flag);
|
|
565
|
-
const $
|
|
587
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
566
588
|
path: _path2 + ".id",
|
|
567
589
|
expected: "string",
|
|
568
590
|
value: input3.id
|
|
@@ -618,13 +640,21 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
618
640
|
path: _path2 + ".skipValuesBuild",
|
|
619
641
|
expected: "(boolean | undefined)",
|
|
620
642
|
value: input3.skipValuesBuild
|
|
643
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
644
|
+
path: _path2 + ".valueConversion",
|
|
645
|
+
expected: "(__type.o1 | undefined)",
|
|
646
|
+
value: input3.valueConversion
|
|
647
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
648
|
+
path: _path2 + ".valueConversion",
|
|
649
|
+
expected: "(__type.o1 | undefined)",
|
|
650
|
+
value: input3.valueConversion
|
|
621
651
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
622
652
|
path: _path2 + ".continuousColorScale",
|
|
623
|
-
expected: "(__type.
|
|
653
|
+
expected: "(__type.o3 | undefined)",
|
|
624
654
|
value: input3.continuousColorScale
|
|
625
|
-
})) && $
|
|
655
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
626
656
|
path: _path2 + ".continuousColorScale",
|
|
627
|
-
expected: "(__type.
|
|
657
|
+
expected: "(__type.o3 | undefined)",
|
|
628
658
|
value: input3.continuousColorScale
|
|
629
659
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
630
660
|
path: _path2 + ".unit",
|
|
@@ -634,12 +664,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
634
664
|
path: _path2 + ".bins",
|
|
635
665
|
expected: "PresetNumericBins",
|
|
636
666
|
value: input3.bins
|
|
637
|
-
})) && $
|
|
667
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
638
668
|
path: _path2 + ".bins",
|
|
639
669
|
expected: "PresetNumericBins",
|
|
640
670
|
value: input3.bins
|
|
641
671
|
})].every((flag) => flag);
|
|
642
|
-
const $
|
|
672
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
643
673
|
path: _path2 + ".minColor",
|
|
644
674
|
expected: "string",
|
|
645
675
|
value: input3.minColor
|
|
@@ -648,7 +678,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
648
678
|
expected: "string",
|
|
649
679
|
value: input3.maxColor
|
|
650
680
|
})].every((flag) => flag);
|
|
651
|
-
const $
|
|
681
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
652
682
|
path: _path2 + '["default"]',
|
|
653
683
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
654
684
|
value: input3["default"]
|
|
@@ -685,11 +715,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
685
715
|
expected: "(number | undefined)",
|
|
686
716
|
value: input3.max
|
|
687
717
|
})].every((flag) => flag);
|
|
688
|
-
const $
|
|
718
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
689
719
|
path: _path2 + ".hiddenValues",
|
|
690
720
|
expected: "(HiddenValues | undefined)",
|
|
691
721
|
value: input3.hiddenValues
|
|
692
|
-
})) && $
|
|
722
|
+
})) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
693
723
|
path: _path2 + ".hiddenValues",
|
|
694
724
|
expected: "(HiddenValues | undefined)",
|
|
695
725
|
value: input3.hiddenValues
|
|
@@ -737,8 +767,20 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
737
767
|
path: _path2 + ".label_offset",
|
|
738
768
|
expected: "(number | undefined)",
|
|
739
769
|
value: input3.label_offset
|
|
770
|
+
}), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
|
|
771
|
+
path: _path2 + ".startinclusive",
|
|
772
|
+
expected: "(boolean | undefined)",
|
|
773
|
+
value: input3.startinclusive
|
|
774
|
+
}), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
|
|
775
|
+
path: _path2 + ".stopinclusive",
|
|
776
|
+
expected: "(boolean | undefined)",
|
|
777
|
+
value: input3.stopinclusive
|
|
778
|
+
}), void 0 === input3.rounding || "string" === typeof input3.rounding || $report(_exceptionable2, {
|
|
779
|
+
path: _path2 + ".rounding",
|
|
780
|
+
expected: "(string | undefined)",
|
|
781
|
+
value: input3.rounding
|
|
740
782
|
})].every((flag) => flag);
|
|
741
|
-
const $
|
|
783
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
742
784
|
const value = input3[key];
|
|
743
785
|
if (void 0 === value)
|
|
744
786
|
return true;
|
|
@@ -750,7 +792,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
750
792
|
});
|
|
751
793
|
return true;
|
|
752
794
|
}).every((flag) => flag)].every((flag) => flag);
|
|
753
|
-
const $
|
|
795
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
754
796
|
path: _path2 + ".startunbounded",
|
|
755
797
|
expected: "true",
|
|
756
798
|
value: input3.startunbounded
|
|
@@ -779,7 +821,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
779
821
|
expected: "(string | undefined)",
|
|
780
822
|
value: input3.range
|
|
781
823
|
})].every((flag) => flag);
|
|
782
|
-
const $
|
|
824
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
783
825
|
path: _path2 + ".startunbounded",
|
|
784
826
|
expected: "(false | undefined)",
|
|
785
827
|
value: input3.startunbounded
|
|
@@ -812,7 +854,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
812
854
|
expected: "(string | undefined)",
|
|
813
855
|
value: input3.range
|
|
814
856
|
})].every((flag) => flag);
|
|
815
|
-
const $
|
|
857
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
816
858
|
path: _path2 + ".start",
|
|
817
859
|
expected: "number",
|
|
818
860
|
value: input3.start
|
|
@@ -841,11 +883,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
841
883
|
expected: "(string | undefined)",
|
|
842
884
|
value: input3.range
|
|
843
885
|
})].every((flag) => flag);
|
|
844
|
-
const $
|
|
886
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
845
887
|
path: _path2 + ".hiddenValues",
|
|
846
888
|
expected: "(HiddenValues | undefined)",
|
|
847
889
|
value: input3.hiddenValues
|
|
848
|
-
})) && $
|
|
890
|
+
})) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
849
891
|
path: _path2 + ".hiddenValues",
|
|
850
892
|
expected: "(HiddenValues | undefined)",
|
|
851
893
|
value: input3.hiddenValues
|
|
@@ -871,7 +913,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
871
913
|
value: input3.mode
|
|
872
914
|
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
873
915
|
path: _path2 + ".lst",
|
|
874
|
-
expected: "
|
|
916
|
+
expected: "CustomNumericBinConfigLst",
|
|
875
917
|
value: input3.lst
|
|
876
918
|
})) && ([
|
|
877
919
|
("object" === typeof input3.lst[0] && null !== input3.lst[0] || $report(_exceptionable2, {
|
|
@@ -901,14 +943,14 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
901
943
|
value: input3.lst.slice(1)
|
|
902
944
|
}))) || $report(_exceptionable2, {
|
|
903
945
|
path: _path2 + ".lst",
|
|
904
|
-
expected: "
|
|
946
|
+
expected: "CustomNumericBinConfigLst",
|
|
905
947
|
value: input3.lst
|
|
906
948
|
}), void 0 === input3.preferredBins || "median" === input3.preferredBins || $report(_exceptionable2, {
|
|
907
949
|
path: _path2 + ".preferredBins",
|
|
908
950
|
expected: '("median" | undefined)',
|
|
909
951
|
value: input3.preferredBins
|
|
910
952
|
})].every((flag) => flag);
|
|
911
|
-
const $
|
|
953
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
912
954
|
path: _path2 + ".id",
|
|
913
955
|
expected: "string",
|
|
914
956
|
value: input3.id
|
|
@@ -964,13 +1006,21 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
964
1006
|
path: _path2 + ".skipValuesBuild",
|
|
965
1007
|
expected: "(boolean | undefined)",
|
|
966
1008
|
value: input3.skipValuesBuild
|
|
1009
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1010
|
+
path: _path2 + ".valueConversion",
|
|
1011
|
+
expected: "(__type.o1 | undefined)",
|
|
1012
|
+
value: input3.valueConversion
|
|
1013
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1014
|
+
path: _path2 + ".valueConversion",
|
|
1015
|
+
expected: "(__type.o1 | undefined)",
|
|
1016
|
+
value: input3.valueConversion
|
|
967
1017
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
968
1018
|
path: _path2 + ".continuousColorScale",
|
|
969
|
-
expected: "(__type.
|
|
1019
|
+
expected: "(__type.o3 | undefined)",
|
|
970
1020
|
value: input3.continuousColorScale
|
|
971
|
-
})) && $
|
|
1021
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
972
1022
|
path: _path2 + ".continuousColorScale",
|
|
973
|
-
expected: "(__type.
|
|
1023
|
+
expected: "(__type.o3 | undefined)",
|
|
974
1024
|
value: input3.continuousColorScale
|
|
975
1025
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
976
1026
|
path: _path2 + ".unit",
|
|
@@ -980,7 +1030,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
980
1030
|
path: _path2 + ".bins",
|
|
981
1031
|
expected: "(PresetNumericBins | undefined)",
|
|
982
1032
|
value: input3.bins
|
|
983
|
-
})) && $
|
|
1033
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
984
1034
|
path: _path2 + ".bins",
|
|
985
1035
|
expected: "(PresetNumericBins | undefined)",
|
|
986
1036
|
value: input3.bins
|
|
@@ -1005,7 +1055,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1005
1055
|
expected: "(number | undefined)",
|
|
1006
1056
|
value: input3.stop
|
|
1007
1057
|
})].every((flag) => flag);
|
|
1008
|
-
const $
|
|
1058
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1009
1059
|
path: _path2 + ".id",
|
|
1010
1060
|
expected: "string",
|
|
1011
1061
|
value: input3.id
|
|
@@ -1061,13 +1111,21 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1061
1111
|
path: _path2 + ".skipValuesBuild",
|
|
1062
1112
|
expected: "(boolean | undefined)",
|
|
1063
1113
|
value: input3.skipValuesBuild
|
|
1114
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1115
|
+
path: _path2 + ".valueConversion",
|
|
1116
|
+
expected: "(__type.o1 | undefined)",
|
|
1117
|
+
value: input3.valueConversion
|
|
1118
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1119
|
+
path: _path2 + ".valueConversion",
|
|
1120
|
+
expected: "(__type.o1 | undefined)",
|
|
1121
|
+
value: input3.valueConversion
|
|
1064
1122
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1065
1123
|
path: _path2 + ".continuousColorScale",
|
|
1066
|
-
expected: "(__type.
|
|
1124
|
+
expected: "(__type.o3 | undefined)",
|
|
1067
1125
|
value: input3.continuousColorScale
|
|
1068
|
-
})) && $
|
|
1126
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1069
1127
|
path: _path2 + ".continuousColorScale",
|
|
1070
|
-
expected: "(__type.
|
|
1128
|
+
expected: "(__type.o3 | undefined)",
|
|
1071
1129
|
value: input3.continuousColorScale
|
|
1072
1130
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1073
1131
|
path: _path2 + ".unit",
|
|
@@ -1077,7 +1135,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1077
1135
|
path: _path2 + ".bins",
|
|
1078
1136
|
expected: "(PresetNumericBins | undefined)",
|
|
1079
1137
|
value: input3.bins
|
|
1080
|
-
})) && $
|
|
1138
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1081
1139
|
path: _path2 + ".bins",
|
|
1082
1140
|
expected: "(PresetNumericBins | undefined)",
|
|
1083
1141
|
value: input3.bins
|
|
@@ -1102,7 +1160,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1102
1160
|
expected: "number",
|
|
1103
1161
|
value: input3.stop
|
|
1104
1162
|
})].every((flag) => flag);
|
|
1105
|
-
const $
|
|
1163
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1106
1164
|
path: _path2 + ".id",
|
|
1107
1165
|
expected: "string",
|
|
1108
1166
|
value: input3.id
|
|
@@ -1158,13 +1216,21 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1158
1216
|
path: _path2 + ".skipValuesBuild",
|
|
1159
1217
|
expected: "(boolean | undefined)",
|
|
1160
1218
|
value: input3.skipValuesBuild
|
|
1219
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1220
|
+
path: _path2 + ".valueConversion",
|
|
1221
|
+
expected: "(__type.o1 | undefined)",
|
|
1222
|
+
value: input3.valueConversion
|
|
1223
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1224
|
+
path: _path2 + ".valueConversion",
|
|
1225
|
+
expected: "(__type.o1 | undefined)",
|
|
1226
|
+
value: input3.valueConversion
|
|
1161
1227
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1162
1228
|
path: _path2 + ".continuousColorScale",
|
|
1163
|
-
expected: "(__type.
|
|
1229
|
+
expected: "(__type.o3 | undefined)",
|
|
1164
1230
|
value: input3.continuousColorScale
|
|
1165
|
-
})) && $
|
|
1231
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1166
1232
|
path: _path2 + ".continuousColorScale",
|
|
1167
|
-
expected: "(__type.
|
|
1233
|
+
expected: "(__type.o3 | undefined)",
|
|
1168
1234
|
value: input3.continuousColorScale
|
|
1169
1235
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1170
1236
|
path: _path2 + ".unit",
|
|
@@ -1178,12 +1244,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1178
1244
|
path: _path2 + ".bins",
|
|
1179
1245
|
expected: "(PresetNumericBins | undefined)",
|
|
1180
1246
|
value: input3.bins
|
|
1181
|
-
})) && $
|
|
1247
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1182
1248
|
path: _path2 + ".bins",
|
|
1183
1249
|
expected: "(PresetNumericBins | undefined)",
|
|
1184
1250
|
value: input3.bins
|
|
1185
1251
|
})].every((flag) => flag);
|
|
1186
|
-
const $
|
|
1252
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1187
1253
|
path: _path2 + ".id",
|
|
1188
1254
|
expected: "string",
|
|
1189
1255
|
value: input3.id
|
|
@@ -1239,13 +1305,21 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1239
1305
|
path: _path2 + ".skipValuesBuild",
|
|
1240
1306
|
expected: "(boolean | undefined)",
|
|
1241
1307
|
value: input3.skipValuesBuild
|
|
1308
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1309
|
+
path: _path2 + ".valueConversion",
|
|
1310
|
+
expected: "(__type.o1 | undefined)",
|
|
1311
|
+
value: input3.valueConversion
|
|
1312
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1313
|
+
path: _path2 + ".valueConversion",
|
|
1314
|
+
expected: "(__type.o1 | undefined)",
|
|
1315
|
+
value: input3.valueConversion
|
|
1242
1316
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1243
1317
|
path: _path2 + ".continuousColorScale",
|
|
1244
|
-
expected: "(__type.
|
|
1318
|
+
expected: "(__type.o3 | undefined)",
|
|
1245
1319
|
value: input3.continuousColorScale
|
|
1246
|
-
})) && $
|
|
1320
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1247
1321
|
path: _path2 + ".continuousColorScale",
|
|
1248
|
-
expected: "(__type.
|
|
1322
|
+
expected: "(__type.o3 | undefined)",
|
|
1249
1323
|
value: input3.continuousColorScale
|
|
1250
1324
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1251
1325
|
path: _path2 + ".unit",
|
|
@@ -1255,12 +1329,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1255
1329
|
path: _path2 + ".bins",
|
|
1256
1330
|
expected: "(PresetNumericBins | undefined)",
|
|
1257
1331
|
value: input3.bins
|
|
1258
|
-
})) && $
|
|
1332
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1259
1333
|
path: _path2 + ".bins",
|
|
1260
1334
|
expected: "(PresetNumericBins | undefined)",
|
|
1261
1335
|
value: input3.bins
|
|
1262
1336
|
})].every((flag) => flag);
|
|
1263
|
-
const $
|
|
1337
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1264
1338
|
path: _path2 + ".id",
|
|
1265
1339
|
expected: "string",
|
|
1266
1340
|
value: input3.id
|
|
@@ -1316,13 +1390,21 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1316
1390
|
path: _path2 + ".skipValuesBuild",
|
|
1317
1391
|
expected: "(boolean | undefined)",
|
|
1318
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
|
|
1319
1401
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1320
1402
|
path: _path2 + ".continuousColorScale",
|
|
1321
|
-
expected: "(__type.
|
|
1403
|
+
expected: "(__type.o3 | undefined)",
|
|
1322
1404
|
value: input3.continuousColorScale
|
|
1323
|
-
})) && $
|
|
1405
|
+
})) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1324
1406
|
path: _path2 + ".continuousColorScale",
|
|
1325
|
-
expected: "(__type.
|
|
1407
|
+
expected: "(__type.o3 | undefined)",
|
|
1326
1408
|
value: input3.continuousColorScale
|
|
1327
1409
|
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1328
1410
|
path: _path2 + ".unit",
|
|
@@ -1344,12 +1426,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1344
1426
|
path: _path2 + ".bins",
|
|
1345
1427
|
expected: "(PresetNumericBins | undefined)",
|
|
1346
1428
|
value: input3.bins
|
|
1347
|
-
})) && $
|
|
1429
|
+
})) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1348
1430
|
path: _path2 + ".bins",
|
|
1349
1431
|
expected: "(PresetNumericBins | undefined)",
|
|
1350
1432
|
value: input3.bins
|
|
1351
1433
|
})].every((flag) => flag);
|
|
1352
|
-
const $
|
|
1434
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1353
1435
|
path: _path2 + ".key",
|
|
1354
1436
|
expected: "string",
|
|
1355
1437
|
value: input3.key
|
|
@@ -1366,7 +1448,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1366
1448
|
expected: "(string | undefined)",
|
|
1367
1449
|
value: input3.label
|
|
1368
1450
|
})].every((flag) => flag);
|
|
1369
|
-
const $
|
|
1451
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1370
1452
|
path: _path2 + ".join",
|
|
1371
1453
|
expected: "(string | undefined)",
|
|
1372
1454
|
value: input3.join
|
|
@@ -1378,7 +1460,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1378
1460
|
path: _path2 + ".term",
|
|
1379
1461
|
expected: "ConditionTerm",
|
|
1380
1462
|
value: input3.term
|
|
1381
|
-
})) && $
|
|
1463
|
+
})) && $vo30(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1382
1464
|
path: _path2 + ".term",
|
|
1383
1465
|
expected: "ConditionTerm",
|
|
1384
1466
|
value: input3.term
|
|
@@ -1402,7 +1484,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1402
1484
|
path: _path2 + ".grade_and_child[" + _index24 + "]",
|
|
1403
1485
|
expected: "GradeAndChildEntry",
|
|
1404
1486
|
value: elem
|
|
1405
|
-
})) && $
|
|
1487
|
+
})) && $vo31(elem, _path2 + ".grade_and_child[" + _index24 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1406
1488
|
path: _path2 + ".grade_and_child[" + _index24 + "]",
|
|
1407
1489
|
expected: "GradeAndChildEntry",
|
|
1408
1490
|
value: elem
|
|
@@ -1411,7 +1493,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1411
1493
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1412
1494
|
value: input3.grade_and_child
|
|
1413
1495
|
})].every((flag) => flag);
|
|
1414
|
-
const $
|
|
1496
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1415
1497
|
path: _path2 + ".id",
|
|
1416
1498
|
expected: "string",
|
|
1417
1499
|
value: input3.id
|
|
@@ -1467,8 +1549,16 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1467
1549
|
path: _path2 + ".skipValuesBuild",
|
|
1468
1550
|
expected: "(boolean | undefined)",
|
|
1469
1551
|
value: input3.skipValuesBuild
|
|
1552
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1553
|
+
path: _path2 + ".valueConversion",
|
|
1554
|
+
expected: "(__type.o1 | undefined)",
|
|
1555
|
+
value: input3.valueConversion
|
|
1556
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1557
|
+
path: _path2 + ".valueConversion",
|
|
1558
|
+
expected: "(__type.o1 | undefined)",
|
|
1559
|
+
value: input3.valueConversion
|
|
1470
1560
|
})].every((flag) => flag);
|
|
1471
|
-
const $
|
|
1561
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1472
1562
|
path: _path2 + ".grade",
|
|
1473
1563
|
expected: "number",
|
|
1474
1564
|
value: input3.grade
|
|
@@ -1485,7 +1575,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1485
1575
|
expected: "string",
|
|
1486
1576
|
value: input3.child_label
|
|
1487
1577
|
})].every((flag) => flag);
|
|
1488
|
-
const $
|
|
1578
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1489
1579
|
path: _path2 + ".join",
|
|
1490
1580
|
expected: "(string | undefined)",
|
|
1491
1581
|
value: input3.join
|
|
@@ -1497,7 +1587,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1497
1587
|
path: _path2 + ".term",
|
|
1498
1588
|
expected: "DtTerm",
|
|
1499
1589
|
value: input3.term
|
|
1500
|
-
})) && $
|
|
1590
|
+
})) && $vo33(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1501
1591
|
path: _path2 + ".term",
|
|
1502
1592
|
expected: "DtTerm",
|
|
1503
1593
|
value: input3.term
|
|
@@ -1507,11 +1597,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1507
1597
|
value: input3.values
|
|
1508
1598
|
})) && input3.values.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1509
1599
|
path: _path2 + ".values[" + _index27 + "]",
|
|
1510
|
-
expected: "__type.
|
|
1600
|
+
expected: "__type.o5",
|
|
1511
1601
|
value: elem
|
|
1512
|
-
})) && $
|
|
1602
|
+
})) && $vo38(elem, _path2 + ".values[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1513
1603
|
path: _path2 + ".values[" + _index27 + "]",
|
|
1514
|
-
expected: "__type.
|
|
1604
|
+
expected: "__type.o5",
|
|
1515
1605
|
value: elem
|
|
1516
1606
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1517
1607
|
path: _path2 + ".values",
|
|
@@ -1526,7 +1616,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1526
1616
|
expected: "(boolean | undefined)",
|
|
1527
1617
|
value: input3.excludeGeneName
|
|
1528
1618
|
})].every((flag) => flag);
|
|
1529
|
-
const $
|
|
1619
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1530
1620
|
path: _path2 + ".id",
|
|
1531
1621
|
expected: "string",
|
|
1532
1622
|
value: input3.id
|
|
@@ -1575,7 +1665,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1575
1665
|
expected: "TermValues",
|
|
1576
1666
|
value: input3.values
|
|
1577
1667
|
})].every((flag) => flag);
|
|
1578
|
-
const $
|
|
1668
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1579
1669
|
path: _path2 + ".id",
|
|
1580
1670
|
expected: "string",
|
|
1581
1671
|
value: input3.id
|
|
@@ -1631,6 +1721,14 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1631
1721
|
path: _path2 + ".skipValuesBuild",
|
|
1632
1722
|
expected: "(boolean | undefined)",
|
|
1633
1723
|
value: input3.skipValuesBuild
|
|
1724
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1725
|
+
path: _path2 + ".valueConversion",
|
|
1726
|
+
expected: "(__type.o1 | undefined)",
|
|
1727
|
+
value: input3.valueConversion
|
|
1728
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1729
|
+
path: _path2 + ".valueConversion",
|
|
1730
|
+
expected: "(__type.o1 | undefined)",
|
|
1731
|
+
value: input3.valueConversion
|
|
1634
1732
|
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1635
1733
|
path: _path2 + ".kind",
|
|
1636
1734
|
expected: '"gene"',
|
|
@@ -1671,7 +1769,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1671
1769
|
path: _path2 + ".groupsetting",
|
|
1672
1770
|
expected: "(TermGroupSetting | undefined)",
|
|
1673
1771
|
value: input3.groupsetting
|
|
1674
|
-
})) && $
|
|
1772
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1675
1773
|
path: _path2 + ".groupsetting",
|
|
1676
1774
|
expected: "(TermGroupSetting | undefined)",
|
|
1677
1775
|
value: input3.groupsetting
|
|
@@ -1683,7 +1781,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1683
1781
|
path: _path2 + ".childTerms[" + _index31 + "]",
|
|
1684
1782
|
expected: "DtTerm",
|
|
1685
1783
|
value: elem
|
|
1686
|
-
})) && $
|
|
1784
|
+
})) && $vo33(elem, _path2 + ".childTerms[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1687
1785
|
path: _path2 + ".childTerms[" + _index31 + "]",
|
|
1688
1786
|
expected: "DtTerm",
|
|
1689
1787
|
value: elem
|
|
@@ -1692,7 +1790,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1692
1790
|
expected: "(Array<DtTerm> | undefined)",
|
|
1693
1791
|
value: input3.childTerms
|
|
1694
1792
|
})].every((flag) => flag);
|
|
1695
|
-
const $
|
|
1793
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1696
1794
|
path: _path2 + ".id",
|
|
1697
1795
|
expected: "string",
|
|
1698
1796
|
value: input3.id
|
|
@@ -1748,6 +1846,14 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1748
1846
|
path: _path2 + ".skipValuesBuild",
|
|
1749
1847
|
expected: "(boolean | undefined)",
|
|
1750
1848
|
value: input3.skipValuesBuild
|
|
1849
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
1850
|
+
path: _path2 + ".valueConversion",
|
|
1851
|
+
expected: "(__type.o1 | undefined)",
|
|
1852
|
+
value: input3.valueConversion
|
|
1853
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1854
|
+
path: _path2 + ".valueConversion",
|
|
1855
|
+
expected: "(__type.o1 | undefined)",
|
|
1856
|
+
value: input3.valueConversion
|
|
1751
1857
|
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1752
1858
|
path: _path2 + ".kind",
|
|
1753
1859
|
expected: '"gene"',
|
|
@@ -1769,7 +1875,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1769
1875
|
expected: "(number | undefined)",
|
|
1770
1876
|
value: input3.stop
|
|
1771
1877
|
})].every((flag) => flag);
|
|
1772
|
-
const $
|
|
1878
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1773
1879
|
path: _path2 + ".id",
|
|
1774
1880
|
expected: "string",
|
|
1775
1881
|
value: input3.id
|
|
@@ -1825,6 +1931,14 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1825
1931
|
path: _path2 + ".skipValuesBuild",
|
|
1826
1932
|
expected: "(boolean | undefined)",
|
|
1827
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
|
|
1828
1942
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1829
1943
|
path: _path2 + ".kind",
|
|
1830
1944
|
expected: '"coord"',
|
|
@@ -1842,7 +1956,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1842
1956
|
expected: "number",
|
|
1843
1957
|
value: input3.stop
|
|
1844
1958
|
})].every((flag) => flag);
|
|
1845
|
-
const $
|
|
1959
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1846
1960
|
path: _path2 + ".id",
|
|
1847
1961
|
expected: "string",
|
|
1848
1962
|
value: input3.id
|
|
@@ -1898,6 +2012,14 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1898
2012
|
path: _path2 + ".skipValuesBuild",
|
|
1899
2013
|
expected: "(boolean | undefined)",
|
|
1900
2014
|
value: input3.skipValuesBuild
|
|
2015
|
+
}), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
|
|
2016
|
+
path: _path2 + ".valueConversion",
|
|
2017
|
+
expected: "(__type.o1 | undefined)",
|
|
2018
|
+
value: input3.valueConversion
|
|
2019
|
+
})) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2020
|
+
path: _path2 + ".valueConversion",
|
|
2021
|
+
expected: "(__type.o1 | undefined)",
|
|
2022
|
+
value: input3.valueConversion
|
|
1901
2023
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1902
2024
|
path: _path2 + ".kind",
|
|
1903
2025
|
expected: '"coord"',
|
|
@@ -1934,7 +2056,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1934
2056
|
path: _path2 + ".groupsetting",
|
|
1935
2057
|
expected: "(TermGroupSetting | undefined)",
|
|
1936
2058
|
value: input3.groupsetting
|
|
1937
|
-
})) && $
|
|
2059
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1938
2060
|
path: _path2 + ".groupsetting",
|
|
1939
2061
|
expected: "(TermGroupSetting | undefined)",
|
|
1940
2062
|
value: input3.groupsetting
|
|
@@ -1946,7 +2068,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1946
2068
|
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
1947
2069
|
expected: "DtTerm",
|
|
1948
2070
|
value: elem
|
|
1949
|
-
})) && $
|
|
2071
|
+
})) && $vo33(elem, _path2 + ".childTerms[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1950
2072
|
path: _path2 + ".childTerms[" + _index39 + "]",
|
|
1951
2073
|
expected: "DtTerm",
|
|
1952
2074
|
value: elem
|
|
@@ -1955,7 +2077,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1955
2077
|
expected: "(Array<DtTerm> | undefined)",
|
|
1956
2078
|
value: input3.childTerms
|
|
1957
2079
|
})].every((flag) => flag);
|
|
1958
|
-
const $
|
|
2080
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1959
2081
|
path: _path2 + ".key",
|
|
1960
2082
|
expected: "string",
|
|
1961
2083
|
value: input3.key
|
|
@@ -1981,9 +2103,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1981
2103
|
})();
|
|
1982
2104
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1983
2105
|
if ("string" === typeof input3.type)
|
|
1984
|
-
return $
|
|
2106
|
+
return $vo10(input3, _path2, _exceptionable2);
|
|
1985
2107
|
if ("filter" === input3.type)
|
|
1986
|
-
return $
|
|
2108
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
1987
2109
|
return $report(_exceptionable2, {
|
|
1988
2110
|
path: _path2,
|
|
1989
2111
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -1992,16 +2114,16 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1992
2114
|
})();
|
|
1993
2115
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1994
2116
|
if (true === input3.startunbounded)
|
|
1995
|
-
return $
|
|
2117
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1996
2118
|
if (true === input3.stopunbounded)
|
|
1997
|
-
return $
|
|
1998
|
-
return $
|
|
2119
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
2120
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1999
2121
|
})();
|
|
2000
2122
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2001
2123
|
if ("gene" === input3.kind)
|
|
2002
|
-
return $vo34(input3, _path2, _exceptionable2);
|
|
2003
|
-
if ("coord" === input3.kind)
|
|
2004
2124
|
return $vo35(input3, _path2, _exceptionable2);
|
|
2125
|
+
if ("coord" === input3.kind)
|
|
2126
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
2005
2127
|
return $report(_exceptionable2, {
|
|
2006
2128
|
path: _path2,
|
|
2007
2129
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -2010,25 +2132,25 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2010
2132
|
})();
|
|
2011
2133
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2012
2134
|
if (void 0 !== input3.ranges)
|
|
2013
|
-
return $
|
|
2014
|
-
return $vo3(input3, _path2, false) || $
|
|
2135
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
2136
|
+
return $vo3(input3, _path2, false) || $vo29(input3, _path2, false) || $vo32(input3, _path2, false);
|
|
2015
2137
|
})();
|
|
2016
2138
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2017
2139
|
if ("integer" === input3.type || "float" === input3.type)
|
|
2018
|
-
return $
|
|
2140
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
2019
2141
|
if ("metaboliteIntensity" === input3.type)
|
|
2020
|
-
return $vo24(input3, _path2, _exceptionable2);
|
|
2021
|
-
if ("date" === input3.type)
|
|
2022
2142
|
return $vo25(input3, _path2, _exceptionable2);
|
|
2023
|
-
if ("
|
|
2143
|
+
if ("date" === input3.type)
|
|
2024
2144
|
return $vo26(input3, _path2, _exceptionable2);
|
|
2025
|
-
|
|
2145
|
+
if ("ssGSEA" === input3.type)
|
|
2146
|
+
return $vo27(input3, _path2, _exceptionable2);
|
|
2147
|
+
return $vo24(input3, _path2, false) || $vo23(input3, _path2, false);
|
|
2026
2148
|
})();
|
|
2027
2149
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2028
2150
|
if ("regular-bin" === input3.type)
|
|
2029
|
-
return $
|
|
2151
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
2030
2152
|
if ("custom-bin" === input3.type)
|
|
2031
|
-
return $
|
|
2153
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
2032
2154
|
return $report(_exceptionable2, {
|
|
2033
2155
|
path: _path2,
|
|
2034
2156
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
@@ -2037,9 +2159,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2037
2159
|
})();
|
|
2038
2160
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2039
2161
|
if (true === input3.startunbounded)
|
|
2040
|
-
return $vo18(input3, _path2, _exceptionable2);
|
|
2041
|
-
if (void 0 !== input3.start)
|
|
2042
2162
|
return $vo19(input3, _path2, _exceptionable2);
|
|
2163
|
+
if (void 0 !== input3.start)
|
|
2164
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
2043
2165
|
return $report(_exceptionable2, {
|
|
2044
2166
|
path: _path2,
|
|
2045
2167
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
@@ -2048,9 +2170,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2048
2170
|
})();
|
|
2049
2171
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2050
2172
|
if (void 0 !== input3.stop)
|
|
2051
|
-
return $vo19(input3, _path2, _exceptionable2);
|
|
2052
|
-
if (true === input3.stopunbounded)
|
|
2053
2173
|
return $vo20(input3, _path2, _exceptionable2);
|
|
2174
|
+
if (true === input3.stopunbounded)
|
|
2175
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
2054
2176
|
return $report(_exceptionable2, {
|
|
2055
2177
|
path: _path2,
|
|
2056
2178
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
@@ -2059,9 +2181,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
2059
2181
|
})();
|
|
2060
2182
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2061
2183
|
if ("gene" === input3.kind)
|
|
2062
|
-
return $
|
|
2184
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
2063
2185
|
if ("coord" === input3.kind)
|
|
2064
|
-
return $
|
|
2186
|
+
return $vo37(input3, _path2, _exceptionable2);
|
|
2065
2187
|
return $report(_exceptionable2, {
|
|
2066
2188
|
path: _path2,
|
|
2067
2189
|
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; })',
|