@sjcrh/proteinpaint-types 2.138.3-7 → 2.139.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.
|
@@ -22,7 +22,7 @@ var percentilePayload = {
|
|
|
22
22
|
dslabel: "TermdbTest",
|
|
23
23
|
embedder: "localhost",
|
|
24
24
|
getpercentile: [50],
|
|
25
|
-
|
|
25
|
+
term: { id: "agedx" },
|
|
26
26
|
filter: {
|
|
27
27
|
type: "tvslst",
|
|
28
28
|
in: true,
|
|
@@ -59,32 +59,33 @@ var validPercentileRequest = (input) => {
|
|
|
59
59
|
const errors = [];
|
|
60
60
|
const __is = (input2) => {
|
|
61
61
|
const $join = import_typia.createValidate.join;
|
|
62
|
-
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && (Array.isArray(input3.getpercentile) && input3.getpercentile.every((elem) => "number" === typeof elem)) && "
|
|
63
|
-
const $io1 = (input3) => "
|
|
64
|
-
const $io2 = (input3) =>
|
|
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 && $io7(input3.groupsetting));
|
|
67
|
-
const $io5 = (input3) => Object.keys(input3).every((key) => {
|
|
62
|
+
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && (Array.isArray(input3.getpercentile) && input3.getpercentile.every((elem) => "number" === typeof elem)) && ("object" === typeof input3.term && null !== input3.term && $iu4(input3.term)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io4(input3.filter)) && true;
|
|
63
|
+
const $io1 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io28(elem)));
|
|
64
|
+
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
68
65
|
const value = input3[key];
|
|
69
66
|
if (void 0 === value)
|
|
70
67
|
return true;
|
|
71
68
|
if (RegExp(/(.*)/).test(key))
|
|
72
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
69
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io3(value);
|
|
73
70
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
74
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
71
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io3(value);
|
|
75
72
|
return true;
|
|
76
73
|
});
|
|
77
|
-
const $
|
|
78
|
-
const $
|
|
79
|
-
const $
|
|
80
|
-
const $
|
|
81
|
-
const $
|
|
82
|
-
const $
|
|
83
|
-
const $
|
|
84
|
-
const $
|
|
85
|
-
const $
|
|
86
|
-
const $
|
|
87
|
-
const $
|
|
74
|
+
const $io3 = (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 && $io4(input3.filter));
|
|
75
|
+
const $io4 = (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)));
|
|
76
|
+
const $io5 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu5(input3.tvs));
|
|
77
|
+
const $io6 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io7(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) && $io3(elem)));
|
|
78
|
+
const $io7 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting));
|
|
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 && $io4(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 && $io14(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io23(elem)));
|
|
85
|
+
const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || "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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale));
|
|
86
|
+
const $io15 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $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);
|
|
87
|
+
const $io16 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $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);
|
|
88
|
+
const $io17 = (input3) => Object.keys(input3).every((key) => {
|
|
88
89
|
const value = input3[key];
|
|
89
90
|
if (void 0 === value)
|
|
90
91
|
return true;
|
|
@@ -92,89 +93,129 @@ var validPercentileRequest = (input) => {
|
|
|
92
93
|
return "number" === typeof value;
|
|
93
94
|
return true;
|
|
94
95
|
});
|
|
95
|
-
const $
|
|
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 $
|
|
96
|
+
const $io18 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
97
|
+
const $io19 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
98
|
+
const $io20 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
99
|
+
const $io21 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
100
|
+
const $io22 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
101
|
+
const $io23 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
102
|
+
const $io24 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io25(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io26(elem)));
|
|
103
|
+
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
104
|
+
const $io26 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
|
|
105
|
+
const $io27 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io28(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io33(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
|
|
106
|
+
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $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) && $io2(input3.values));
|
|
107
|
+
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (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 && $io28(elem)));
|
|
108
|
+
const $io30 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
109
|
+
const $io31 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
110
|
+
const $io32 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (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 && $io28(elem)));
|
|
111
|
+
const $io33 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io28(elem)));
|
|
113
|
+
const $io35 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting));
|
|
114
|
+
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || "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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale));
|
|
115
|
+
const $io37 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
116
|
+
const $io38 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
117
|
+
const $io39 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io40(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io41(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
|
|
118
|
+
const $io40 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
119
|
+
const $io41 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
120
|
+
const $io42 = (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) && $io43(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
|
|
121
|
+
const $io43 = (input3) => Object.keys(input3).every((key) => {
|
|
122
|
+
const value = input3[key];
|
|
123
|
+
if (void 0 === value)
|
|
124
|
+
return true;
|
|
125
|
+
if (RegExp(/(.*)/).test(key))
|
|
126
|
+
return "object" === typeof value && null !== value && $io44(value);
|
|
127
|
+
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
128
|
+
return "object" === typeof value && null !== value && $io44(value);
|
|
129
|
+
return true;
|
|
130
|
+
});
|
|
131
|
+
const $io44 = (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 && $io4(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io45(elem))) && true;
|
|
132
|
+
const $io45 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
111
133
|
const $iu0 = (input3) => (() => {
|
|
112
134
|
if ("tvslst" === input3.type)
|
|
113
|
-
return $
|
|
135
|
+
return $io4(input3);
|
|
114
136
|
if ("tvs" === input3.type)
|
|
115
|
-
return $
|
|
137
|
+
return $io5(input3);
|
|
116
138
|
return false;
|
|
117
139
|
})();
|
|
118
140
|
const $iu1 = (input3) => (() => {
|
|
119
141
|
if ("string" === typeof input3.type)
|
|
120
|
-
return $
|
|
142
|
+
return $io10(input3);
|
|
121
143
|
if ("filter" === input3.type)
|
|
122
|
-
return $
|
|
144
|
+
return $io12(input3);
|
|
123
145
|
return false;
|
|
124
146
|
})();
|
|
125
147
|
const $iu2 = (input3) => (() => {
|
|
126
148
|
if (true === input3.startunbounded)
|
|
127
|
-
return $
|
|
149
|
+
return $io18(input3);
|
|
128
150
|
if (true === input3.stopunbounded)
|
|
129
|
-
return $
|
|
130
|
-
return $
|
|
151
|
+
return $io20(input3);
|
|
152
|
+
return $io19(input3);
|
|
131
153
|
})();
|
|
132
154
|
const $iu3 = (input3) => (() => {
|
|
133
155
|
if ("gene" === input3.kind)
|
|
134
|
-
return $io29(input3);
|
|
135
|
-
if ("coord" === input3.kind)
|
|
136
156
|
return $io30(input3);
|
|
157
|
+
if ("coord" === input3.kind)
|
|
158
|
+
return $io31(input3);
|
|
137
159
|
return false;
|
|
138
160
|
})();
|
|
139
161
|
const $iu4 = (input3) => (() => {
|
|
140
|
-
if (
|
|
141
|
-
return $
|
|
162
|
+
if ("gene" === input3.kind)
|
|
163
|
+
return $io1(input3);
|
|
164
|
+
if ("coord" === input3.kind)
|
|
165
|
+
return $io34(input3);
|
|
166
|
+
if ("categorical" === input3.type)
|
|
167
|
+
return $io35(input3);
|
|
168
|
+
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || "ssGSEA" === input3.type)
|
|
169
|
+
return $io36(input3);
|
|
170
|
+
if ("condition" === input3.type)
|
|
171
|
+
return $io37(input3);
|
|
142
172
|
return (() => {
|
|
143
|
-
if ($
|
|
144
|
-
return $
|
|
145
|
-
if ($
|
|
146
|
-
return $
|
|
147
|
-
if ($io26(input3))
|
|
148
|
-
return $io26(input3);
|
|
173
|
+
if ($io38(input3))
|
|
174
|
+
return $io38(input3);
|
|
175
|
+
if ($io42(input3))
|
|
176
|
+
return $io42(input3);
|
|
149
177
|
return false;
|
|
150
178
|
})();
|
|
151
179
|
})();
|
|
152
180
|
const $iu5 = (input3) => (() => {
|
|
181
|
+
if (void 0 !== input3.ranges)
|
|
182
|
+
return $io13(input3);
|
|
183
|
+
return (() => {
|
|
184
|
+
if ($io6(input3))
|
|
185
|
+
return $io6(input3);
|
|
186
|
+
if ($io24(input3))
|
|
187
|
+
return $io24(input3);
|
|
188
|
+
if ($io27(input3))
|
|
189
|
+
return $io27(input3);
|
|
190
|
+
return false;
|
|
191
|
+
})();
|
|
192
|
+
})();
|
|
193
|
+
const $iu6 = (input3) => (() => {
|
|
153
194
|
if ("regular-bin" === input3.type)
|
|
154
|
-
return $
|
|
195
|
+
return $io16(input3);
|
|
155
196
|
if ("custom-bin" === input3.type)
|
|
156
|
-
return $
|
|
197
|
+
return $io21(input3);
|
|
157
198
|
return false;
|
|
158
199
|
})();
|
|
159
|
-
const $
|
|
200
|
+
const $iu7 = (input3) => (() => {
|
|
160
201
|
if (true === input3.startunbounded)
|
|
161
|
-
return $io17(input3);
|
|
162
|
-
if (void 0 !== input3.start)
|
|
163
202
|
return $io18(input3);
|
|
203
|
+
if (void 0 !== input3.start)
|
|
204
|
+
return $io19(input3);
|
|
164
205
|
return false;
|
|
165
206
|
})();
|
|
166
|
-
const $
|
|
207
|
+
const $iu8 = (input3) => (() => {
|
|
167
208
|
if (void 0 !== input3.stop)
|
|
168
|
-
return $io18(input3);
|
|
169
|
-
if (true === input3.stopunbounded)
|
|
170
209
|
return $io19(input3);
|
|
210
|
+
if (true === input3.stopunbounded)
|
|
211
|
+
return $io20(input3);
|
|
171
212
|
return false;
|
|
172
213
|
})();
|
|
173
|
-
const $
|
|
214
|
+
const $iu9 = (input3) => (() => {
|
|
174
215
|
if ("gene" === input3.kind)
|
|
175
|
-
return $
|
|
216
|
+
return $io29(input3);
|
|
176
217
|
if ("coord" === input3.kind)
|
|
177
|
-
return $
|
|
218
|
+
return $io32(input3);
|
|
178
219
|
return false;
|
|
179
220
|
})();
|
|
180
221
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -207,20 +248,200 @@ var validPercentileRequest = (input) => {
|
|
|
207
248
|
path: _path2 + ".getpercentile",
|
|
208
249
|
expected: "Array<number>",
|
|
209
250
|
value: input3.getpercentile
|
|
210
|
-
}), "
|
|
211
|
-
path: _path2 + ".
|
|
251
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
252
|
+
path: _path2 + ".term",
|
|
253
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date" | "ssGSEA"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
254
|
+
value: input3.term
|
|
255
|
+
})) && $vu4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
256
|
+
path: _path2 + ".term",
|
|
257
|
+
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date" | "ssGSEA"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
258
|
+
value: input3.term
|
|
259
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
260
|
+
path: _path2 + ".filter",
|
|
261
|
+
expected: "(Filter | undefined)",
|
|
262
|
+
value: input3.filter
|
|
263
|
+
})) && $vo4(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
264
|
+
path: _path2 + ".filter",
|
|
265
|
+
expected: "(Filter | undefined)",
|
|
266
|
+
value: input3.filter
|
|
267
|
+
}), true].every((flag) => flag);
|
|
268
|
+
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
269
|
+
path: _path2 + ".id",
|
|
212
270
|
expected: "string",
|
|
213
|
-
value: input3.
|
|
214
|
-
}),
|
|
271
|
+
value: input3.id
|
|
272
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
273
|
+
path: _path2 + ".name",
|
|
274
|
+
expected: "string",
|
|
275
|
+
value: input3.name
|
|
276
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
277
|
+
path: _path2 + ".type",
|
|
278
|
+
expected: '"geneVariant"',
|
|
279
|
+
value: input3.type
|
|
280
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
281
|
+
path: _path2 + ".child_types",
|
|
282
|
+
expected: "(Array<string> | undefined)",
|
|
283
|
+
value: input3.child_types
|
|
284
|
+
})) && input3.child_types.map((elem, _index2) => "string" === typeof elem || $report(_exceptionable2, {
|
|
285
|
+
path: _path2 + ".child_types[" + _index2 + "]",
|
|
286
|
+
expected: "string",
|
|
287
|
+
value: elem
|
|
288
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
289
|
+
path: _path2 + ".child_types",
|
|
290
|
+
expected: "(Array<string> | undefined)",
|
|
291
|
+
value: input3.child_types
|
|
292
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
293
|
+
path: _path2 + ".hashtmldetail",
|
|
294
|
+
expected: "(boolean | undefined)",
|
|
295
|
+
value: input3.hashtmldetail
|
|
296
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
297
|
+
path: _path2 + ".included_types",
|
|
298
|
+
expected: "(Array<string> | undefined)",
|
|
299
|
+
value: input3.included_types
|
|
300
|
+
})) && input3.included_types.map((elem, _index3) => "string" === typeof elem || $report(_exceptionable2, {
|
|
301
|
+
path: _path2 + ".included_types[" + _index3 + "]",
|
|
302
|
+
expected: "string",
|
|
303
|
+
value: elem
|
|
304
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
305
|
+
path: _path2 + ".included_types",
|
|
306
|
+
expected: "(Array<string> | undefined)",
|
|
307
|
+
value: input3.included_types
|
|
308
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
309
|
+
path: _path2 + ".isleaf",
|
|
310
|
+
expected: "(boolean | undefined)",
|
|
311
|
+
value: input3.isleaf
|
|
312
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
313
|
+
path: _path2 + ".values",
|
|
314
|
+
expected: "(TermValues | undefined)",
|
|
315
|
+
value: input3.values
|
|
316
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
317
|
+
path: _path2 + ".values",
|
|
318
|
+
expected: "(TermValues | undefined)",
|
|
319
|
+
value: input3.values
|
|
320
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
321
|
+
path: _path2 + ".skipValuesBuild",
|
|
322
|
+
expected: "(boolean | undefined)",
|
|
323
|
+
value: input3.skipValuesBuild
|
|
324
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
325
|
+
path: _path2 + ".kind",
|
|
326
|
+
expected: '"gene"',
|
|
327
|
+
value: input3.kind
|
|
328
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
329
|
+
path: _path2 + ".gene",
|
|
330
|
+
expected: "string",
|
|
331
|
+
value: input3.gene
|
|
332
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
333
|
+
path: _path2 + ".chr",
|
|
334
|
+
expected: "(string | undefined)",
|
|
335
|
+
value: input3.chr
|
|
336
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
337
|
+
path: _path2 + ".start",
|
|
338
|
+
expected: "(number | undefined)",
|
|
339
|
+
value: input3.start
|
|
340
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
341
|
+
path: _path2 + ".stop",
|
|
342
|
+
expected: "(number | undefined)",
|
|
343
|
+
value: input3.stop
|
|
344
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
345
|
+
path: _path2 + ".genes",
|
|
346
|
+
expected: "Array<GvGeneTerm>",
|
|
347
|
+
value: input3.genes
|
|
348
|
+
})) && input3.genes.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
349
|
+
path: _path2 + ".genes[" + _index4 + "]",
|
|
350
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
351
|
+
value: elem
|
|
352
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
353
|
+
path: _path2 + ".genes[" + _index4 + "]",
|
|
354
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
355
|
+
value: elem
|
|
356
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
357
|
+
path: _path2 + ".genes",
|
|
358
|
+
expected: "Array<GvGeneTerm>",
|
|
359
|
+
value: input3.genes
|
|
360
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
361
|
+
path: _path2 + ".groupsetting",
|
|
362
|
+
expected: "TermGroupSetting",
|
|
363
|
+
value: input3.groupsetting
|
|
364
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
365
|
+
path: _path2 + ".groupsetting",
|
|
366
|
+
expected: "TermGroupSetting",
|
|
367
|
+
value: input3.groupsetting
|
|
368
|
+
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
369
|
+
path: _path2 + ".childTerms",
|
|
370
|
+
expected: "Array<DtTerm>",
|
|
371
|
+
value: input3.childTerms
|
|
372
|
+
})) && input3.childTerms.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
373
|
+
path: _path2 + ".childTerms[" + _index5 + "]",
|
|
374
|
+
expected: "DtTerm",
|
|
375
|
+
value: elem
|
|
376
|
+
})) && $vo28(elem, _path2 + ".childTerms[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
377
|
+
path: _path2 + ".childTerms[" + _index5 + "]",
|
|
378
|
+
expected: "DtTerm",
|
|
379
|
+
value: elem
|
|
380
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
381
|
+
path: _path2 + ".childTerms",
|
|
382
|
+
expected: "Array<DtTerm>",
|
|
383
|
+
value: input3.childTerms
|
|
384
|
+
})].every((flag) => flag);
|
|
385
|
+
const $vo2 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
386
|
+
const value = input3[key];
|
|
387
|
+
if (void 0 === value)
|
|
388
|
+
return true;
|
|
389
|
+
if (RegExp(/(.*)/).test(key))
|
|
390
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
|
|
391
|
+
path: _path2 + $join(key),
|
|
392
|
+
expected: "BaseValue",
|
|
393
|
+
value
|
|
394
|
+
})) && $vo3(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
395
|
+
path: _path2 + $join(key),
|
|
396
|
+
expected: "BaseValue",
|
|
397
|
+
value
|
|
398
|
+
});
|
|
399
|
+
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
400
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
|
|
401
|
+
path: _path2 + $join(key),
|
|
402
|
+
expected: "BaseValue",
|
|
403
|
+
value
|
|
404
|
+
})) && $vo3(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
405
|
+
path: _path2 + $join(key),
|
|
406
|
+
expected: "BaseValue",
|
|
407
|
+
value
|
|
408
|
+
});
|
|
409
|
+
return true;
|
|
410
|
+
}).every((flag) => flag)].every((flag) => flag);
|
|
411
|
+
const $vo3 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
412
|
+
path: _path2 + ".key",
|
|
413
|
+
expected: "(string | undefined)",
|
|
414
|
+
value: input3.key
|
|
415
|
+
}), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
416
|
+
path: _path2 + ".uncomputable",
|
|
417
|
+
expected: "(boolean | undefined)",
|
|
418
|
+
value: input3.uncomputable
|
|
419
|
+
}), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
|
|
420
|
+
path: _path2 + ".label",
|
|
421
|
+
expected: "(number | string | undefined)",
|
|
422
|
+
value: input3.label
|
|
423
|
+
}), void 0 === input3.order || "string" === typeof input3.order || $report(_exceptionable2, {
|
|
424
|
+
path: _path2 + ".order",
|
|
425
|
+
expected: "(string | undefined)",
|
|
426
|
+
value: input3.order
|
|
427
|
+
}), void 0 === input3.color || "string" === typeof input3.color || $report(_exceptionable2, {
|
|
428
|
+
path: _path2 + ".color",
|
|
429
|
+
expected: "(string | undefined)",
|
|
430
|
+
value: input3.color
|
|
431
|
+
}), void 0 === input3.group || "number" === typeof input3.group || $report(_exceptionable2, {
|
|
432
|
+
path: _path2 + ".group",
|
|
433
|
+
expected: "(number | undefined)",
|
|
434
|
+
value: input3.group
|
|
435
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
215
436
|
path: _path2 + ".filter",
|
|
216
|
-
expected: "Filter",
|
|
437
|
+
expected: "(Filter | undefined)",
|
|
217
438
|
value: input3.filter
|
|
218
|
-
})) && $
|
|
439
|
+
})) && $vo4(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
219
440
|
path: _path2 + ".filter",
|
|
220
|
-
expected: "Filter",
|
|
441
|
+
expected: "(Filter | undefined)",
|
|
221
442
|
value: input3.filter
|
|
222
443
|
})].every((flag) => flag);
|
|
223
|
-
const $
|
|
444
|
+
const $vo4 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
224
445
|
path: _path2 + ".type",
|
|
225
446
|
expected: '"tvslst"',
|
|
226
447
|
value: input3.type
|
|
@@ -240,12 +461,12 @@ var validPercentileRequest = (input) => {
|
|
|
240
461
|
path: _path2 + ".lst",
|
|
241
462
|
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
242
463
|
value: input3.lst
|
|
243
|
-
})) && input3.lst.map((elem,
|
|
244
|
-
path: _path2 + ".lst[" +
|
|
464
|
+
})) && input3.lst.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
465
|
+
path: _path2 + ".lst[" + _index6 + "]",
|
|
245
466
|
expected: "(Filter | __type)",
|
|
246
467
|
value: elem
|
|
247
|
-
})) && $vu0(elem, _path2 + ".lst[" +
|
|
248
|
-
path: _path2 + ".lst[" +
|
|
468
|
+
})) && $vu0(elem, _path2 + ".lst[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
469
|
+
path: _path2 + ".lst[" + _index6 + "]",
|
|
249
470
|
expected: "(Filter | __type)",
|
|
250
471
|
value: elem
|
|
251
472
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -253,7 +474,7 @@ var validPercentileRequest = (input) => {
|
|
|
253
474
|
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
254
475
|
value: input3.lst
|
|
255
476
|
})].every((flag) => flag);
|
|
256
|
-
const $
|
|
477
|
+
const $vo5 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
257
478
|
path: _path2 + ".type",
|
|
258
479
|
expected: '"tvs"',
|
|
259
480
|
value: input3.type
|
|
@@ -261,12 +482,12 @@ var validPercentileRequest = (input) => {
|
|
|
261
482
|
path: _path2 + ".tvs",
|
|
262
483
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
263
484
|
value: input3.tvs
|
|
264
|
-
})) && $
|
|
485
|
+
})) && $vu5(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
265
486
|
path: _path2 + ".tvs",
|
|
266
487
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
267
488
|
value: input3.tvs
|
|
268
489
|
})].every((flag) => flag);
|
|
269
|
-
const $
|
|
490
|
+
const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
270
491
|
path: _path2 + ".join",
|
|
271
492
|
expected: "(string | undefined)",
|
|
272
493
|
value: input3.join
|
|
@@ -278,7 +499,7 @@ var validPercentileRequest = (input) => {
|
|
|
278
499
|
path: _path2 + ".term",
|
|
279
500
|
expected: "CategoricalTerm",
|
|
280
501
|
value: input3.term
|
|
281
|
-
})) && $
|
|
502
|
+
})) && $vo7(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
282
503
|
path: _path2 + ".term",
|
|
283
504
|
expected: "CategoricalTerm",
|
|
284
505
|
value: input3.term
|
|
@@ -290,12 +511,12 @@ var validPercentileRequest = (input) => {
|
|
|
290
511
|
path: _path2 + ".values",
|
|
291
512
|
expected: "Array<BaseValue>",
|
|
292
513
|
value: input3.values
|
|
293
|
-
})) && input3.values.map((elem,
|
|
294
|
-
path: _path2 + ".values[" +
|
|
514
|
+
})) && input3.values.map((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
515
|
+
path: _path2 + ".values[" + _index7 + "]",
|
|
295
516
|
expected: "BaseValue",
|
|
296
517
|
value: elem
|
|
297
|
-
})) && $
|
|
298
|
-
path: _path2 + ".values[" +
|
|
518
|
+
})) && $vo3(elem, _path2 + ".values[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
519
|
+
path: _path2 + ".values[" + _index7 + "]",
|
|
299
520
|
expected: "BaseValue",
|
|
300
521
|
value: elem
|
|
301
522
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -303,7 +524,7 @@ var validPercentileRequest = (input) => {
|
|
|
303
524
|
expected: "Array<BaseValue>",
|
|
304
525
|
value: input3.values
|
|
305
526
|
})].every((flag) => flag);
|
|
306
|
-
const $
|
|
527
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
307
528
|
path: _path2 + ".id",
|
|
308
529
|
expected: "string",
|
|
309
530
|
value: input3.id
|
|
@@ -319,8 +540,8 @@ var validPercentileRequest = (input) => {
|
|
|
319
540
|
path: _path2 + ".child_types",
|
|
320
541
|
expected: "(Array<string> | undefined)",
|
|
321
542
|
value: input3.child_types
|
|
322
|
-
})) && input3.child_types.map((elem,
|
|
323
|
-
path: _path2 + ".child_types[" +
|
|
543
|
+
})) && input3.child_types.map((elem, _index8) => "string" === typeof elem || $report(_exceptionable2, {
|
|
544
|
+
path: _path2 + ".child_types[" + _index8 + "]",
|
|
324
545
|
expected: "string",
|
|
325
546
|
value: elem
|
|
326
547
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -335,8 +556,8 @@ var validPercentileRequest = (input) => {
|
|
|
335
556
|
path: _path2 + ".included_types",
|
|
336
557
|
expected: "(Array<string> | undefined)",
|
|
337
558
|
value: input3.included_types
|
|
338
|
-
})) && input3.included_types.map((elem,
|
|
339
|
-
path: _path2 + ".included_types[" +
|
|
559
|
+
})) && input3.included_types.map((elem, _index9) => "string" === typeof elem || $report(_exceptionable2, {
|
|
560
|
+
path: _path2 + ".included_types[" + _index9 + "]",
|
|
340
561
|
expected: "string",
|
|
341
562
|
value: elem
|
|
342
563
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -351,7 +572,7 @@ var validPercentileRequest = (input) => {
|
|
|
351
572
|
path: _path2 + ".values",
|
|
352
573
|
expected: "(TermValues | undefined)",
|
|
353
574
|
value: input3.values
|
|
354
|
-
})) && $
|
|
575
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
355
576
|
path: _path2 + ".values",
|
|
356
577
|
expected: "(TermValues | undefined)",
|
|
357
578
|
value: input3.values
|
|
@@ -363,71 +584,12 @@ var validPercentileRequest = (input) => {
|
|
|
363
584
|
path: _path2 + ".groupsetting",
|
|
364
585
|
expected: "TermGroupSetting",
|
|
365
586
|
value: input3.groupsetting
|
|
366
|
-
})) && $
|
|
587
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
367
588
|
path: _path2 + ".groupsetting",
|
|
368
589
|
expected: "TermGroupSetting",
|
|
369
590
|
value: input3.groupsetting
|
|
370
591
|
})].every((flag) => flag);
|
|
371
|
-
const $
|
|
372
|
-
const value = input3[key];
|
|
373
|
-
if (void 0 === value)
|
|
374
|
-
return true;
|
|
375
|
-
if (RegExp(/(.*)/).test(key))
|
|
376
|
-
return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
|
|
377
|
-
path: _path2 + $join(key),
|
|
378
|
-
expected: "BaseValue",
|
|
379
|
-
value
|
|
380
|
-
})) && $vo6(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
381
|
-
path: _path2 + $join(key),
|
|
382
|
-
expected: "BaseValue",
|
|
383
|
-
value
|
|
384
|
-
});
|
|
385
|
-
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
386
|
-
return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
|
|
387
|
-
path: _path2 + $join(key),
|
|
388
|
-
expected: "BaseValue",
|
|
389
|
-
value
|
|
390
|
-
})) && $vo6(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
391
|
-
path: _path2 + $join(key),
|
|
392
|
-
expected: "BaseValue",
|
|
393
|
-
value
|
|
394
|
-
});
|
|
395
|
-
return true;
|
|
396
|
-
}).every((flag) => flag)].every((flag) => flag);
|
|
397
|
-
const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
398
|
-
path: _path2 + ".key",
|
|
399
|
-
expected: "(string | undefined)",
|
|
400
|
-
value: input3.key
|
|
401
|
-
}), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
402
|
-
path: _path2 + ".uncomputable",
|
|
403
|
-
expected: "(boolean | undefined)",
|
|
404
|
-
value: input3.uncomputable
|
|
405
|
-
}), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
|
|
406
|
-
path: _path2 + ".label",
|
|
407
|
-
expected: "(number | string | undefined)",
|
|
408
|
-
value: input3.label
|
|
409
|
-
}), void 0 === input3.order || "string" === typeof input3.order || $report(_exceptionable2, {
|
|
410
|
-
path: _path2 + ".order",
|
|
411
|
-
expected: "(string | undefined)",
|
|
412
|
-
value: input3.order
|
|
413
|
-
}), void 0 === input3.color || "string" === typeof input3.color || $report(_exceptionable2, {
|
|
414
|
-
path: _path2 + ".color",
|
|
415
|
-
expected: "(string | undefined)",
|
|
416
|
-
value: input3.color
|
|
417
|
-
}), void 0 === input3.group || "number" === typeof input3.group || $report(_exceptionable2, {
|
|
418
|
-
path: _path2 + ".group",
|
|
419
|
-
expected: "(number | undefined)",
|
|
420
|
-
value: input3.group
|
|
421
|
-
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
422
|
-
path: _path2 + ".filter",
|
|
423
|
-
expected: "(Filter | undefined)",
|
|
424
|
-
value: input3.filter
|
|
425
|
-
})) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
426
|
-
path: _path2 + ".filter",
|
|
427
|
-
expected: "(Filter | undefined)",
|
|
428
|
-
value: input3.filter
|
|
429
|
-
})].every((flag) => flag);
|
|
430
|
-
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
592
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
431
593
|
path: _path2 + ".disabled",
|
|
432
594
|
expected: "boolean",
|
|
433
595
|
value: input3.disabled
|
|
@@ -435,12 +597,12 @@ var validPercentileRequest = (input) => {
|
|
|
435
597
|
path: _path2 + ".lst",
|
|
436
598
|
expected: "(Array<Groupset> | undefined)",
|
|
437
599
|
value: input3.lst
|
|
438
|
-
})) && input3.lst.map((elem,
|
|
439
|
-
path: _path2 + ".lst[" +
|
|
600
|
+
})) && input3.lst.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
601
|
+
path: _path2 + ".lst[" + _index10 + "]",
|
|
440
602
|
expected: "Groupset",
|
|
441
603
|
value: elem
|
|
442
|
-
})) && $
|
|
443
|
-
path: _path2 + ".lst[" +
|
|
604
|
+
})) && $vo9(elem, _path2 + ".lst[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
605
|
+
path: _path2 + ".lst[" + _index10 + "]",
|
|
444
606
|
expected: "Groupset",
|
|
445
607
|
value: elem
|
|
446
608
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -448,7 +610,7 @@ var validPercentileRequest = (input) => {
|
|
|
448
610
|
expected: "(Array<Groupset> | undefined)",
|
|
449
611
|
value: input3.lst
|
|
450
612
|
})].every((flag) => flag);
|
|
451
|
-
const $
|
|
613
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
452
614
|
path: _path2 + ".name",
|
|
453
615
|
expected: "string",
|
|
454
616
|
value: input3.name
|
|
@@ -468,12 +630,12 @@ var validPercentileRequest = (input) => {
|
|
|
468
630
|
path: _path2 + ".groups",
|
|
469
631
|
expected: "Array<GroupEntry>",
|
|
470
632
|
value: input3.groups
|
|
471
|
-
})) && input3.groups.map((elem,
|
|
472
|
-
path: _path2 + ".groups[" +
|
|
633
|
+
})) && input3.groups.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
634
|
+
path: _path2 + ".groups[" + _index11 + "]",
|
|
473
635
|
expected: "(FilterGroup | ValuesGroup)",
|
|
474
636
|
value: elem
|
|
475
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
476
|
-
path: _path2 + ".groups[" +
|
|
637
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
638
|
+
path: _path2 + ".groups[" + _index11 + "]",
|
|
477
639
|
expected: "(FilterGroup | ValuesGroup)",
|
|
478
640
|
value: elem
|
|
479
641
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -481,7 +643,7 @@ var validPercentileRequest = (input) => {
|
|
|
481
643
|
expected: "Array<GroupEntry>",
|
|
482
644
|
value: input3.groups
|
|
483
645
|
})].every((flag) => flag);
|
|
484
|
-
const $
|
|
646
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
485
647
|
path: _path2 + ".name",
|
|
486
648
|
expected: "string",
|
|
487
649
|
value: input3.name
|
|
@@ -493,12 +655,12 @@ var validPercentileRequest = (input) => {
|
|
|
493
655
|
path: _path2 + ".values",
|
|
494
656
|
expected: "Array<__type>",
|
|
495
657
|
value: input3.values
|
|
496
|
-
})) && input3.values.map((elem,
|
|
497
|
-
path: _path2 + ".values[" +
|
|
658
|
+
})) && input3.values.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
659
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
498
660
|
expected: "__type.o1",
|
|
499
661
|
value: elem
|
|
500
|
-
})) && $
|
|
501
|
-
path: _path2 + ".values[" +
|
|
662
|
+
})) && $vo11(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
663
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
502
664
|
expected: "__type.o1",
|
|
503
665
|
value: elem
|
|
504
666
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -510,7 +672,7 @@ var validPercentileRequest = (input) => {
|
|
|
510
672
|
expected: "(boolean | undefined)",
|
|
511
673
|
value: input3.uncomputable
|
|
512
674
|
})].every((flag) => flag);
|
|
513
|
-
const $
|
|
675
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
514
676
|
path: _path2 + ".key",
|
|
515
677
|
expected: "(number | string)",
|
|
516
678
|
value: input3.key
|
|
@@ -519,7 +681,7 @@ var validPercentileRequest = (input) => {
|
|
|
519
681
|
expected: "string",
|
|
520
682
|
value: input3.label
|
|
521
683
|
})].every((flag) => flag);
|
|
522
|
-
const $
|
|
684
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
523
685
|
path: _path2 + ".name",
|
|
524
686
|
expected: "string",
|
|
525
687
|
value: input3.name
|
|
@@ -531,7 +693,7 @@ var validPercentileRequest = (input) => {
|
|
|
531
693
|
path: _path2 + ".filter",
|
|
532
694
|
expected: "Filter",
|
|
533
695
|
value: input3.filter
|
|
534
|
-
})) && $
|
|
696
|
+
})) && $vo4(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
535
697
|
path: _path2 + ".filter",
|
|
536
698
|
expected: "Filter",
|
|
537
699
|
value: input3.filter
|
|
@@ -540,7 +702,7 @@ var validPercentileRequest = (input) => {
|
|
|
540
702
|
expected: "string",
|
|
541
703
|
value: input3.color
|
|
542
704
|
})].every((flag) => flag);
|
|
543
|
-
const $
|
|
705
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
544
706
|
path: _path2 + ".join",
|
|
545
707
|
expected: "(string | undefined)",
|
|
546
708
|
value: input3.join
|
|
@@ -552,7 +714,7 @@ var validPercentileRequest = (input) => {
|
|
|
552
714
|
path: _path2 + ".term",
|
|
553
715
|
expected: "NumericTerm",
|
|
554
716
|
value: input3.term
|
|
555
|
-
})) && $
|
|
717
|
+
})) && $vo14(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
556
718
|
path: _path2 + ".term",
|
|
557
719
|
expected: "NumericTerm",
|
|
558
720
|
value: input3.term
|
|
@@ -560,12 +722,12 @@ var validPercentileRequest = (input) => {
|
|
|
560
722
|
path: _path2 + ".ranges",
|
|
561
723
|
expected: "Array<NumericBin>",
|
|
562
724
|
value: input3.ranges
|
|
563
|
-
})) && input3.ranges.map((elem,
|
|
564
|
-
path: _path2 + ".ranges[" +
|
|
725
|
+
})) && input3.ranges.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
726
|
+
path: _path2 + ".ranges[" + _index13 + "]",
|
|
565
727
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
566
728
|
value: elem
|
|
567
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
568
|
-
path: _path2 + ".ranges[" +
|
|
729
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
730
|
+
path: _path2 + ".ranges[" + _index13 + "]",
|
|
569
731
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
570
732
|
value: elem
|
|
571
733
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -576,12 +738,12 @@ var validPercentileRequest = (input) => {
|
|
|
576
738
|
path: _path2 + ".values",
|
|
577
739
|
expected: "Array<__type>.o1",
|
|
578
740
|
value: input3.values
|
|
579
|
-
})) && input3.values.map((elem,
|
|
580
|
-
path: _path2 + ".values[" +
|
|
741
|
+
})) && input3.values.map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
742
|
+
path: _path2 + ".values[" + _index14 + "]",
|
|
581
743
|
expected: "__type.o3",
|
|
582
744
|
value: elem
|
|
583
|
-
})) && $
|
|
584
|
-
path: _path2 + ".values[" +
|
|
745
|
+
})) && $vo23(elem, _path2 + ".values[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
746
|
+
path: _path2 + ".values[" + _index14 + "]",
|
|
585
747
|
expected: "__type.o3",
|
|
586
748
|
value: elem
|
|
587
749
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -589,7 +751,7 @@ var validPercentileRequest = (input) => {
|
|
|
589
751
|
expected: "Array<__type>.o1",
|
|
590
752
|
value: input3.values
|
|
591
753
|
})].every((flag) => flag);
|
|
592
|
-
const $
|
|
754
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
593
755
|
path: _path2 + ".id",
|
|
594
756
|
expected: "string",
|
|
595
757
|
value: input3.id
|
|
@@ -605,8 +767,8 @@ var validPercentileRequest = (input) => {
|
|
|
605
767
|
path: _path2 + ".child_types",
|
|
606
768
|
expected: "(Array<string> | undefined)",
|
|
607
769
|
value: input3.child_types
|
|
608
|
-
})) && input3.child_types.map((elem,
|
|
609
|
-
path: _path2 + ".child_types[" +
|
|
770
|
+
})) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
771
|
+
path: _path2 + ".child_types[" + _index15 + "]",
|
|
610
772
|
expected: "string",
|
|
611
773
|
value: elem
|
|
612
774
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -621,8 +783,8 @@ var validPercentileRequest = (input) => {
|
|
|
621
783
|
path: _path2 + ".included_types",
|
|
622
784
|
expected: "(Array<string> | undefined)",
|
|
623
785
|
value: input3.included_types
|
|
624
|
-
})) && input3.included_types.map((elem,
|
|
625
|
-
path: _path2 + ".included_types[" +
|
|
786
|
+
})) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
787
|
+
path: _path2 + ".included_types[" + _index16 + "]",
|
|
626
788
|
expected: "string",
|
|
627
789
|
value: elem
|
|
628
790
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -637,7 +799,7 @@ var validPercentileRequest = (input) => {
|
|
|
637
799
|
path: _path2 + ".values",
|
|
638
800
|
expected: "(TermValues | undefined)",
|
|
639
801
|
value: input3.values
|
|
640
|
-
})) && $
|
|
802
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
641
803
|
path: _path2 + ".values",
|
|
642
804
|
expected: "(TermValues | undefined)",
|
|
643
805
|
value: input3.values
|
|
@@ -649,7 +811,7 @@ var validPercentileRequest = (input) => {
|
|
|
649
811
|
path: _path2 + ".bins",
|
|
650
812
|
expected: "PresetNumericBins",
|
|
651
813
|
value: input3.bins
|
|
652
|
-
})) && $
|
|
814
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
653
815
|
path: _path2 + ".bins",
|
|
654
816
|
expected: "PresetNumericBins",
|
|
655
817
|
value: input3.bins
|
|
@@ -661,16 +823,16 @@ var validPercentileRequest = (input) => {
|
|
|
661
823
|
path: _path2 + ".continuousColorScale",
|
|
662
824
|
expected: "(__type.o2 | undefined)",
|
|
663
825
|
value: input3.continuousColorScale
|
|
664
|
-
})) && $
|
|
826
|
+
})) && $vo22(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
665
827
|
path: _path2 + ".continuousColorScale",
|
|
666
828
|
expected: "(__type.o2 | undefined)",
|
|
667
829
|
value: input3.continuousColorScale
|
|
668
830
|
})].every((flag) => flag);
|
|
669
|
-
const $
|
|
831
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
670
832
|
path: _path2 + '["default"]',
|
|
671
833
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
672
834
|
value: input3["default"]
|
|
673
|
-
})) && $
|
|
835
|
+
})) && $vu6(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
674
836
|
path: _path2 + '["default"]',
|
|
675
837
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
676
838
|
value: input3["default"]
|
|
@@ -678,7 +840,7 @@ var validPercentileRequest = (input) => {
|
|
|
678
840
|
path: _path2 + ".less",
|
|
679
841
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
680
842
|
value: input3.less
|
|
681
|
-
})) && $
|
|
843
|
+
})) && $vu6(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
682
844
|
path: _path2 + ".less",
|
|
683
845
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
684
846
|
value: input3.less
|
|
@@ -703,11 +865,11 @@ var validPercentileRequest = (input) => {
|
|
|
703
865
|
expected: "(number | undefined)",
|
|
704
866
|
value: input3.max
|
|
705
867
|
})].every((flag) => flag);
|
|
706
|
-
const $
|
|
868
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
707
869
|
path: _path2 + ".hiddenValues",
|
|
708
870
|
expected: "(HiddenValues | undefined)",
|
|
709
871
|
value: input3.hiddenValues
|
|
710
|
-
})) && $
|
|
872
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
711
873
|
path: _path2 + ".hiddenValues",
|
|
712
874
|
expected: "(HiddenValues | undefined)",
|
|
713
875
|
value: input3.hiddenValues
|
|
@@ -739,7 +901,7 @@ var validPercentileRequest = (input) => {
|
|
|
739
901
|
path: _path2 + ".first_bin",
|
|
740
902
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
741
903
|
value: input3.first_bin
|
|
742
|
-
})) && $
|
|
904
|
+
})) && $vu7(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
743
905
|
path: _path2 + ".first_bin",
|
|
744
906
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
745
907
|
value: input3.first_bin
|
|
@@ -747,7 +909,7 @@ var validPercentileRequest = (input) => {
|
|
|
747
909
|
path: _path2 + ".last_bin",
|
|
748
910
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
749
911
|
value: input3.last_bin
|
|
750
|
-
})) && $
|
|
912
|
+
})) && $vu8(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
751
913
|
path: _path2 + ".last_bin",
|
|
752
914
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
753
915
|
value: input3.last_bin
|
|
@@ -756,7 +918,7 @@ var validPercentileRequest = (input) => {
|
|
|
756
918
|
expected: "(number | undefined)",
|
|
757
919
|
value: input3.label_offset
|
|
758
920
|
})].every((flag) => flag);
|
|
759
|
-
const $
|
|
921
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
760
922
|
const value = input3[key];
|
|
761
923
|
if (void 0 === value)
|
|
762
924
|
return true;
|
|
@@ -768,7 +930,7 @@ var validPercentileRequest = (input) => {
|
|
|
768
930
|
});
|
|
769
931
|
return true;
|
|
770
932
|
}).every((flag) => flag)].every((flag) => flag);
|
|
771
|
-
const $
|
|
933
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
772
934
|
path: _path2 + ".startunbounded",
|
|
773
935
|
expected: "true",
|
|
774
936
|
value: input3.startunbounded
|
|
@@ -793,7 +955,7 @@ var validPercentileRequest = (input) => {
|
|
|
793
955
|
expected: "(string | undefined)",
|
|
794
956
|
value: input3.label
|
|
795
957
|
})].every((flag) => flag);
|
|
796
|
-
const $
|
|
958
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
797
959
|
path: _path2 + ".startunbounded",
|
|
798
960
|
expected: "(false | undefined)",
|
|
799
961
|
value: input3.startunbounded
|
|
@@ -822,7 +984,7 @@ var validPercentileRequest = (input) => {
|
|
|
822
984
|
expected: "(string | undefined)",
|
|
823
985
|
value: input3.label
|
|
824
986
|
})].every((flag) => flag);
|
|
825
|
-
const $
|
|
987
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
826
988
|
path: _path2 + ".start",
|
|
827
989
|
expected: "number",
|
|
828
990
|
value: input3.start
|
|
@@ -847,11 +1009,11 @@ var validPercentileRequest = (input) => {
|
|
|
847
1009
|
expected: "(string | undefined)",
|
|
848
1010
|
value: input3.label
|
|
849
1011
|
})].every((flag) => flag);
|
|
850
|
-
const $
|
|
1012
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
851
1013
|
path: _path2 + ".hiddenValues",
|
|
852
1014
|
expected: "(HiddenValues | undefined)",
|
|
853
1015
|
value: input3.hiddenValues
|
|
854
|
-
})) && $
|
|
1016
|
+
})) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
855
1017
|
path: _path2 + ".hiddenValues",
|
|
856
1018
|
expected: "(HiddenValues | undefined)",
|
|
857
1019
|
value: input3.hiddenValues
|
|
@@ -893,12 +1055,12 @@ var validPercentileRequest = (input) => {
|
|
|
893
1055
|
path: _path2 + ".lst",
|
|
894
1056
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
895
1057
|
value: input3.lst.slice(1)
|
|
896
|
-
})) && input3.lst.slice(1).map((elem,
|
|
897
|
-
path: _path2 + ".lst[" + (1 +
|
|
1058
|
+
})) && input3.lst.slice(1).map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1059
|
+
path: _path2 + ".lst[" + (1 + _index17) + "]",
|
|
898
1060
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
899
1061
|
value: elem
|
|
900
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
901
|
-
path: _path2 + ".lst[" + (1 +
|
|
1062
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index17) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1063
|
+
path: _path2 + ".lst[" + (1 + _index17) + "]",
|
|
902
1064
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
903
1065
|
value: elem
|
|
904
1066
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -914,7 +1076,7 @@ var validPercentileRequest = (input) => {
|
|
|
914
1076
|
expected: '("median" | undefined)',
|
|
915
1077
|
value: input3.preferredBins
|
|
916
1078
|
})].every((flag) => flag);
|
|
917
|
-
const $
|
|
1079
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
918
1080
|
path: _path2 + ".minColor",
|
|
919
1081
|
expected: "string",
|
|
920
1082
|
value: input3.minColor
|
|
@@ -923,7 +1085,7 @@ var validPercentileRequest = (input) => {
|
|
|
923
1085
|
expected: "string",
|
|
924
1086
|
value: input3.maxColor
|
|
925
1087
|
})].every((flag) => flag);
|
|
926
|
-
const $
|
|
1088
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
927
1089
|
path: _path2 + ".key",
|
|
928
1090
|
expected: "string",
|
|
929
1091
|
value: input3.key
|
|
@@ -940,7 +1102,7 @@ var validPercentileRequest = (input) => {
|
|
|
940
1102
|
expected: "(string | undefined)",
|
|
941
1103
|
value: input3.label
|
|
942
1104
|
})].every((flag) => flag);
|
|
943
|
-
const $
|
|
1105
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
944
1106
|
path: _path2 + ".join",
|
|
945
1107
|
expected: "(string | undefined)",
|
|
946
1108
|
value: input3.join
|
|
@@ -952,7 +1114,7 @@ var validPercentileRequest = (input) => {
|
|
|
952
1114
|
path: _path2 + ".term",
|
|
953
1115
|
expected: "ConditionTerm",
|
|
954
1116
|
value: input3.term
|
|
955
|
-
})) && $
|
|
1117
|
+
})) && $vo25(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
956
1118
|
path: _path2 + ".term",
|
|
957
1119
|
expected: "ConditionTerm",
|
|
958
1120
|
value: input3.term
|
|
@@ -972,12 +1134,12 @@ var validPercentileRequest = (input) => {
|
|
|
972
1134
|
path: _path2 + ".grade_and_child",
|
|
973
1135
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
974
1136
|
value: input3.grade_and_child
|
|
975
|
-
})) && input3.grade_and_child.map((elem,
|
|
976
|
-
path: _path2 + ".grade_and_child[" +
|
|
1137
|
+
})) && input3.grade_and_child.map((elem, _index18) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1138
|
+
path: _path2 + ".grade_and_child[" + _index18 + "]",
|
|
977
1139
|
expected: "GradeAndChildEntry",
|
|
978
1140
|
value: elem
|
|
979
|
-
})) && $
|
|
980
|
-
path: _path2 + ".grade_and_child[" +
|
|
1141
|
+
})) && $vo26(elem, _path2 + ".grade_and_child[" + _index18 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1142
|
+
path: _path2 + ".grade_and_child[" + _index18 + "]",
|
|
981
1143
|
expected: "GradeAndChildEntry",
|
|
982
1144
|
value: elem
|
|
983
1145
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -985,7 +1147,7 @@ var validPercentileRequest = (input) => {
|
|
|
985
1147
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
986
1148
|
value: input3.grade_and_child
|
|
987
1149
|
})].every((flag) => flag);
|
|
988
|
-
const $
|
|
1150
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
989
1151
|
path: _path2 + ".id",
|
|
990
1152
|
expected: "string",
|
|
991
1153
|
value: input3.id
|
|
@@ -1001,8 +1163,8 @@ var validPercentileRequest = (input) => {
|
|
|
1001
1163
|
path: _path2 + ".child_types",
|
|
1002
1164
|
expected: "(Array<string> | undefined)",
|
|
1003
1165
|
value: input3.child_types
|
|
1004
|
-
})) && input3.child_types.map((elem,
|
|
1005
|
-
path: _path2 + ".child_types[" +
|
|
1166
|
+
})) && input3.child_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1167
|
+
path: _path2 + ".child_types[" + _index19 + "]",
|
|
1006
1168
|
expected: "string",
|
|
1007
1169
|
value: elem
|
|
1008
1170
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1017,8 +1179,8 @@ var validPercentileRequest = (input) => {
|
|
|
1017
1179
|
path: _path2 + ".included_types",
|
|
1018
1180
|
expected: "(Array<string> | undefined)",
|
|
1019
1181
|
value: input3.included_types
|
|
1020
|
-
})) && input3.included_types.map((elem,
|
|
1021
|
-
path: _path2 + ".included_types[" +
|
|
1182
|
+
})) && input3.included_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1183
|
+
path: _path2 + ".included_types[" + _index20 + "]",
|
|
1022
1184
|
expected: "string",
|
|
1023
1185
|
value: elem
|
|
1024
1186
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1033,7 +1195,7 @@ var validPercentileRequest = (input) => {
|
|
|
1033
1195
|
path: _path2 + ".values",
|
|
1034
1196
|
expected: "(TermValues | undefined)",
|
|
1035
1197
|
value: input3.values
|
|
1036
|
-
})) && $
|
|
1198
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1037
1199
|
path: _path2 + ".values",
|
|
1038
1200
|
expected: "(TermValues | undefined)",
|
|
1039
1201
|
value: input3.values
|
|
@@ -1042,7 +1204,7 @@ var validPercentileRequest = (input) => {
|
|
|
1042
1204
|
expected: "(boolean | undefined)",
|
|
1043
1205
|
value: input3.skipValuesBuild
|
|
1044
1206
|
})].every((flag) => flag);
|
|
1045
|
-
const $
|
|
1207
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1046
1208
|
path: _path2 + ".grade",
|
|
1047
1209
|
expected: "number",
|
|
1048
1210
|
value: input3.grade
|
|
@@ -1059,7 +1221,7 @@ var validPercentileRequest = (input) => {
|
|
|
1059
1221
|
expected: "string",
|
|
1060
1222
|
value: input3.child_label
|
|
1061
1223
|
})].every((flag) => flag);
|
|
1062
|
-
const $
|
|
1224
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1063
1225
|
path: _path2 + ".join",
|
|
1064
1226
|
expected: "(string | undefined)",
|
|
1065
1227
|
value: input3.join
|
|
@@ -1071,7 +1233,7 @@ var validPercentileRequest = (input) => {
|
|
|
1071
1233
|
path: _path2 + ".term",
|
|
1072
1234
|
expected: "DtTerm",
|
|
1073
1235
|
value: input3.term
|
|
1074
|
-
})) && $
|
|
1236
|
+
})) && $vo28(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1075
1237
|
path: _path2 + ".term",
|
|
1076
1238
|
expected: "DtTerm",
|
|
1077
1239
|
value: input3.term
|
|
@@ -1079,12 +1241,12 @@ var validPercentileRequest = (input) => {
|
|
|
1079
1241
|
path: _path2 + ".values",
|
|
1080
1242
|
expected: "Array<__type>.o2",
|
|
1081
1243
|
value: input3.values
|
|
1082
|
-
})) && input3.values.map((elem,
|
|
1083
|
-
path: _path2 + ".values[" +
|
|
1244
|
+
})) && input3.values.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1245
|
+
path: _path2 + ".values[" + _index21 + "]",
|
|
1084
1246
|
expected: "__type.o4",
|
|
1085
1247
|
value: elem
|
|
1086
|
-
})) && $
|
|
1087
|
-
path: _path2 + ".values[" +
|
|
1248
|
+
})) && $vo33(elem, _path2 + ".values[" + _index21 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1249
|
+
path: _path2 + ".values[" + _index21 + "]",
|
|
1088
1250
|
expected: "__type.o4",
|
|
1089
1251
|
value: elem
|
|
1090
1252
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1100,7 +1262,7 @@ var validPercentileRequest = (input) => {
|
|
|
1100
1262
|
expected: "(boolean | undefined)",
|
|
1101
1263
|
value: input3.excludeGeneName
|
|
1102
1264
|
})].every((flag) => flag);
|
|
1103
|
-
const $
|
|
1265
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1104
1266
|
path: _path2 + ".id",
|
|
1105
1267
|
expected: "string",
|
|
1106
1268
|
value: input3.id
|
|
@@ -1120,7 +1282,7 @@ var validPercentileRequest = (input) => {
|
|
|
1120
1282
|
path: _path2 + ".parentTerm",
|
|
1121
1283
|
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1122
1284
|
value: input3.parentTerm
|
|
1123
|
-
})) && $
|
|
1285
|
+
})) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
1124
1286
|
path: _path2 + ".parentTerm",
|
|
1125
1287
|
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
1126
1288
|
value: input3.parentTerm
|
|
@@ -1144,12 +1306,12 @@ var validPercentileRequest = (input) => {
|
|
|
1144
1306
|
path: _path2 + ".values",
|
|
1145
1307
|
expected: "TermValues",
|
|
1146
1308
|
value: input3.values
|
|
1147
|
-
})) && $
|
|
1309
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1148
1310
|
path: _path2 + ".values",
|
|
1149
1311
|
expected: "TermValues",
|
|
1150
1312
|
value: input3.values
|
|
1151
1313
|
})].every((flag) => flag);
|
|
1152
|
-
const $
|
|
1314
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1153
1315
|
path: _path2 + ".id",
|
|
1154
1316
|
expected: "string",
|
|
1155
1317
|
value: input3.id
|
|
@@ -1165,8 +1327,125 @@ var validPercentileRequest = (input) => {
|
|
|
1165
1327
|
path: _path2 + ".child_types",
|
|
1166
1328
|
expected: "(Array<string> | undefined)",
|
|
1167
1329
|
value: input3.child_types
|
|
1168
|
-
})) && input3.child_types.map((elem,
|
|
1169
|
-
path: _path2 + ".child_types[" +
|
|
1330
|
+
})) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1331
|
+
path: _path2 + ".child_types[" + _index22 + "]",
|
|
1332
|
+
expected: "string",
|
|
1333
|
+
value: elem
|
|
1334
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1335
|
+
path: _path2 + ".child_types",
|
|
1336
|
+
expected: "(Array<string> | undefined)",
|
|
1337
|
+
value: input3.child_types
|
|
1338
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1339
|
+
path: _path2 + ".hashtmldetail",
|
|
1340
|
+
expected: "(boolean | undefined)",
|
|
1341
|
+
value: input3.hashtmldetail
|
|
1342
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1343
|
+
path: _path2 + ".included_types",
|
|
1344
|
+
expected: "(Array<string> | undefined)",
|
|
1345
|
+
value: input3.included_types
|
|
1346
|
+
})) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1347
|
+
path: _path2 + ".included_types[" + _index23 + "]",
|
|
1348
|
+
expected: "string",
|
|
1349
|
+
value: elem
|
|
1350
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1351
|
+
path: _path2 + ".included_types",
|
|
1352
|
+
expected: "(Array<string> | undefined)",
|
|
1353
|
+
value: input3.included_types
|
|
1354
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1355
|
+
path: _path2 + ".isleaf",
|
|
1356
|
+
expected: "(boolean | undefined)",
|
|
1357
|
+
value: input3.isleaf
|
|
1358
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1359
|
+
path: _path2 + ".values",
|
|
1360
|
+
expected: "(TermValues | undefined)",
|
|
1361
|
+
value: input3.values
|
|
1362
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1363
|
+
path: _path2 + ".values",
|
|
1364
|
+
expected: "(TermValues | undefined)",
|
|
1365
|
+
value: input3.values
|
|
1366
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1367
|
+
path: _path2 + ".skipValuesBuild",
|
|
1368
|
+
expected: "(boolean | undefined)",
|
|
1369
|
+
value: input3.skipValuesBuild
|
|
1370
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1371
|
+
path: _path2 + ".kind",
|
|
1372
|
+
expected: '"gene"',
|
|
1373
|
+
value: input3.kind
|
|
1374
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1375
|
+
path: _path2 + ".gene",
|
|
1376
|
+
expected: "string",
|
|
1377
|
+
value: input3.gene
|
|
1378
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1379
|
+
path: _path2 + ".chr",
|
|
1380
|
+
expected: "(string | undefined)",
|
|
1381
|
+
value: input3.chr
|
|
1382
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1383
|
+
path: _path2 + ".start",
|
|
1384
|
+
expected: "(number | undefined)",
|
|
1385
|
+
value: input3.start
|
|
1386
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1387
|
+
path: _path2 + ".stop",
|
|
1388
|
+
expected: "(number | undefined)",
|
|
1389
|
+
value: input3.stop
|
|
1390
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1391
|
+
path: _path2 + ".genes",
|
|
1392
|
+
expected: "Array<GvGeneTerm>",
|
|
1393
|
+
value: input3.genes
|
|
1394
|
+
})) && input3.genes.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1395
|
+
path: _path2 + ".genes[" + _index24 + "]",
|
|
1396
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1397
|
+
value: elem
|
|
1398
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index24 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1399
|
+
path: _path2 + ".genes[" + _index24 + "]",
|
|
1400
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1401
|
+
value: elem
|
|
1402
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1403
|
+
path: _path2 + ".genes",
|
|
1404
|
+
expected: "Array<GvGeneTerm>",
|
|
1405
|
+
value: input3.genes
|
|
1406
|
+
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1407
|
+
path: _path2 + ".groupsetting",
|
|
1408
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1409
|
+
value: input3.groupsetting
|
|
1410
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1411
|
+
path: _path2 + ".groupsetting",
|
|
1412
|
+
expected: "(TermGroupSetting | undefined)",
|
|
1413
|
+
value: input3.groupsetting
|
|
1414
|
+
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1415
|
+
path: _path2 + ".childTerms",
|
|
1416
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1417
|
+
value: input3.childTerms
|
|
1418
|
+
})) && input3.childTerms.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1419
|
+
path: _path2 + ".childTerms[" + _index25 + "]",
|
|
1420
|
+
expected: "DtTerm",
|
|
1421
|
+
value: elem
|
|
1422
|
+
})) && $vo28(elem, _path2 + ".childTerms[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1423
|
+
path: _path2 + ".childTerms[" + _index25 + "]",
|
|
1424
|
+
expected: "DtTerm",
|
|
1425
|
+
value: elem
|
|
1426
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1427
|
+
path: _path2 + ".childTerms",
|
|
1428
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1429
|
+
value: input3.childTerms
|
|
1430
|
+
})].every((flag) => flag);
|
|
1431
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1432
|
+
path: _path2 + ".id",
|
|
1433
|
+
expected: "string",
|
|
1434
|
+
value: input3.id
|
|
1435
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1436
|
+
path: _path2 + ".name",
|
|
1437
|
+
expected: "string",
|
|
1438
|
+
value: input3.name
|
|
1439
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1440
|
+
path: _path2 + ".type",
|
|
1441
|
+
expected: "string",
|
|
1442
|
+
value: input3.type
|
|
1443
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1444
|
+
path: _path2 + ".child_types",
|
|
1445
|
+
expected: "(Array<string> | undefined)",
|
|
1446
|
+
value: input3.child_types
|
|
1447
|
+
})) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1448
|
+
path: _path2 + ".child_types[" + _index26 + "]",
|
|
1170
1449
|
expected: "string",
|
|
1171
1450
|
value: elem
|
|
1172
1451
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1181,8 +1460,8 @@ var validPercentileRequest = (input) => {
|
|
|
1181
1460
|
path: _path2 + ".included_types",
|
|
1182
1461
|
expected: "(Array<string> | undefined)",
|
|
1183
1462
|
value: input3.included_types
|
|
1184
|
-
})) && input3.included_types.map((elem,
|
|
1185
|
-
path: _path2 + ".included_types[" +
|
|
1463
|
+
})) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1464
|
+
path: _path2 + ".included_types[" + _index27 + "]",
|
|
1186
1465
|
expected: "string",
|
|
1187
1466
|
value: elem
|
|
1188
1467
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1197,7 +1476,7 @@ var validPercentileRequest = (input) => {
|
|
|
1197
1476
|
path: _path2 + ".values",
|
|
1198
1477
|
expected: "(TermValues | undefined)",
|
|
1199
1478
|
value: input3.values
|
|
1200
|
-
})) && $
|
|
1479
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1201
1480
|
path: _path2 + ".values",
|
|
1202
1481
|
expected: "(TermValues | undefined)",
|
|
1203
1482
|
value: input3.values
|
|
@@ -1225,16 +1504,162 @@ var validPercentileRequest = (input) => {
|
|
|
1225
1504
|
path: _path2 + ".stop",
|
|
1226
1505
|
expected: "(number | undefined)",
|
|
1227
1506
|
value: input3.stop
|
|
1507
|
+
})].every((flag) => flag);
|
|
1508
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1509
|
+
path: _path2 + ".id",
|
|
1510
|
+
expected: "string",
|
|
1511
|
+
value: input3.id
|
|
1512
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1513
|
+
path: _path2 + ".name",
|
|
1514
|
+
expected: "string",
|
|
1515
|
+
value: input3.name
|
|
1516
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1517
|
+
path: _path2 + ".type",
|
|
1518
|
+
expected: "string",
|
|
1519
|
+
value: input3.type
|
|
1520
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1521
|
+
path: _path2 + ".child_types",
|
|
1522
|
+
expected: "(Array<string> | undefined)",
|
|
1523
|
+
value: input3.child_types
|
|
1524
|
+
})) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1525
|
+
path: _path2 + ".child_types[" + _index28 + "]",
|
|
1526
|
+
expected: "string",
|
|
1527
|
+
value: elem
|
|
1528
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1529
|
+
path: _path2 + ".child_types",
|
|
1530
|
+
expected: "(Array<string> | undefined)",
|
|
1531
|
+
value: input3.child_types
|
|
1532
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1533
|
+
path: _path2 + ".hashtmldetail",
|
|
1534
|
+
expected: "(boolean | undefined)",
|
|
1535
|
+
value: input3.hashtmldetail
|
|
1536
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1537
|
+
path: _path2 + ".included_types",
|
|
1538
|
+
expected: "(Array<string> | undefined)",
|
|
1539
|
+
value: input3.included_types
|
|
1540
|
+
})) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1541
|
+
path: _path2 + ".included_types[" + _index29 + "]",
|
|
1542
|
+
expected: "string",
|
|
1543
|
+
value: elem
|
|
1544
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1545
|
+
path: _path2 + ".included_types",
|
|
1546
|
+
expected: "(Array<string> | undefined)",
|
|
1547
|
+
value: input3.included_types
|
|
1548
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1549
|
+
path: _path2 + ".isleaf",
|
|
1550
|
+
expected: "(boolean | undefined)",
|
|
1551
|
+
value: input3.isleaf
|
|
1552
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1553
|
+
path: _path2 + ".values",
|
|
1554
|
+
expected: "(TermValues | undefined)",
|
|
1555
|
+
value: input3.values
|
|
1556
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1557
|
+
path: _path2 + ".values",
|
|
1558
|
+
expected: "(TermValues | undefined)",
|
|
1559
|
+
value: input3.values
|
|
1560
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1561
|
+
path: _path2 + ".skipValuesBuild",
|
|
1562
|
+
expected: "(boolean | undefined)",
|
|
1563
|
+
value: input3.skipValuesBuild
|
|
1564
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1565
|
+
path: _path2 + ".kind",
|
|
1566
|
+
expected: '"coord"',
|
|
1567
|
+
value: input3.kind
|
|
1568
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1569
|
+
path: _path2 + ".chr",
|
|
1570
|
+
expected: "string",
|
|
1571
|
+
value: input3.chr
|
|
1572
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1573
|
+
path: _path2 + ".start",
|
|
1574
|
+
expected: "number",
|
|
1575
|
+
value: input3.start
|
|
1576
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1577
|
+
path: _path2 + ".stop",
|
|
1578
|
+
expected: "number",
|
|
1579
|
+
value: input3.stop
|
|
1580
|
+
})].every((flag) => flag);
|
|
1581
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1582
|
+
path: _path2 + ".id",
|
|
1583
|
+
expected: "string",
|
|
1584
|
+
value: input3.id
|
|
1585
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1586
|
+
path: _path2 + ".name",
|
|
1587
|
+
expected: "string",
|
|
1588
|
+
value: input3.name
|
|
1589
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1590
|
+
path: _path2 + ".type",
|
|
1591
|
+
expected: '"geneVariant"',
|
|
1592
|
+
value: input3.type
|
|
1593
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1594
|
+
path: _path2 + ".child_types",
|
|
1595
|
+
expected: "(Array<string> | undefined)",
|
|
1596
|
+
value: input3.child_types
|
|
1597
|
+
})) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1598
|
+
path: _path2 + ".child_types[" + _index30 + "]",
|
|
1599
|
+
expected: "string",
|
|
1600
|
+
value: elem
|
|
1601
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1602
|
+
path: _path2 + ".child_types",
|
|
1603
|
+
expected: "(Array<string> | undefined)",
|
|
1604
|
+
value: input3.child_types
|
|
1605
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1606
|
+
path: _path2 + ".hashtmldetail",
|
|
1607
|
+
expected: "(boolean | undefined)",
|
|
1608
|
+
value: input3.hashtmldetail
|
|
1609
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1610
|
+
path: _path2 + ".included_types",
|
|
1611
|
+
expected: "(Array<string> | undefined)",
|
|
1612
|
+
value: input3.included_types
|
|
1613
|
+
})) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1614
|
+
path: _path2 + ".included_types[" + _index31 + "]",
|
|
1615
|
+
expected: "string",
|
|
1616
|
+
value: elem
|
|
1617
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1618
|
+
path: _path2 + ".included_types",
|
|
1619
|
+
expected: "(Array<string> | undefined)",
|
|
1620
|
+
value: input3.included_types
|
|
1621
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1622
|
+
path: _path2 + ".isleaf",
|
|
1623
|
+
expected: "(boolean | undefined)",
|
|
1624
|
+
value: input3.isleaf
|
|
1625
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1626
|
+
path: _path2 + ".values",
|
|
1627
|
+
expected: "(TermValues | undefined)",
|
|
1628
|
+
value: input3.values
|
|
1629
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1630
|
+
path: _path2 + ".values",
|
|
1631
|
+
expected: "(TermValues | undefined)",
|
|
1632
|
+
value: input3.values
|
|
1633
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1634
|
+
path: _path2 + ".skipValuesBuild",
|
|
1635
|
+
expected: "(boolean | undefined)",
|
|
1636
|
+
value: input3.skipValuesBuild
|
|
1637
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1638
|
+
path: _path2 + ".kind",
|
|
1639
|
+
expected: '"coord"',
|
|
1640
|
+
value: input3.kind
|
|
1641
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1642
|
+
path: _path2 + ".chr",
|
|
1643
|
+
expected: "string",
|
|
1644
|
+
value: input3.chr
|
|
1645
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1646
|
+
path: _path2 + ".start",
|
|
1647
|
+
expected: "number",
|
|
1648
|
+
value: input3.start
|
|
1649
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1650
|
+
path: _path2 + ".stop",
|
|
1651
|
+
expected: "number",
|
|
1652
|
+
value: input3.stop
|
|
1228
1653
|
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1229
1654
|
path: _path2 + ".genes",
|
|
1230
1655
|
expected: "Array<GvGeneTerm>",
|
|
1231
1656
|
value: input3.genes
|
|
1232
|
-
})) && input3.genes.map((elem,
|
|
1233
|
-
path: _path2 + ".genes[" +
|
|
1657
|
+
})) && input3.genes.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1658
|
+
path: _path2 + ".genes[" + _index32 + "]",
|
|
1234
1659
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1235
1660
|
value: elem
|
|
1236
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
1237
|
-
path: _path2 + ".genes[" +
|
|
1661
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1662
|
+
path: _path2 + ".genes[" + _index32 + "]",
|
|
1238
1663
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1239
1664
|
value: elem
|
|
1240
1665
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1245,7 +1670,7 @@ var validPercentileRequest = (input) => {
|
|
|
1245
1670
|
path: _path2 + ".groupsetting",
|
|
1246
1671
|
expected: "(TermGroupSetting | undefined)",
|
|
1247
1672
|
value: input3.groupsetting
|
|
1248
|
-
})) && $
|
|
1673
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1249
1674
|
path: _path2 + ".groupsetting",
|
|
1250
1675
|
expected: "(TermGroupSetting | undefined)",
|
|
1251
1676
|
value: input3.groupsetting
|
|
@@ -1253,20 +1678,288 @@ var validPercentileRequest = (input) => {
|
|
|
1253
1678
|
path: _path2 + ".childTerms",
|
|
1254
1679
|
expected: "(Array<DtTerm> | undefined)",
|
|
1255
1680
|
value: input3.childTerms
|
|
1256
|
-
})) && input3.childTerms.map((elem,
|
|
1257
|
-
path: _path2 + ".childTerms[" +
|
|
1681
|
+
})) && input3.childTerms.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1682
|
+
path: _path2 + ".childTerms[" + _index33 + "]",
|
|
1683
|
+
expected: "DtTerm",
|
|
1684
|
+
value: elem
|
|
1685
|
+
})) && $vo28(elem, _path2 + ".childTerms[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1686
|
+
path: _path2 + ".childTerms[" + _index33 + "]",
|
|
1687
|
+
expected: "DtTerm",
|
|
1688
|
+
value: elem
|
|
1689
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1690
|
+
path: _path2 + ".childTerms",
|
|
1691
|
+
expected: "(Array<DtTerm> | undefined)",
|
|
1692
|
+
value: input3.childTerms
|
|
1693
|
+
})].every((flag) => flag);
|
|
1694
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1695
|
+
path: _path2 + ".key",
|
|
1696
|
+
expected: "string",
|
|
1697
|
+
value: input3.key
|
|
1698
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1699
|
+
path: _path2 + ".label",
|
|
1700
|
+
expected: "string",
|
|
1701
|
+
value: input3.label
|
|
1702
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
1703
|
+
path: _path2 + ".value",
|
|
1704
|
+
expected: "string",
|
|
1705
|
+
value: input3.value
|
|
1706
|
+
})].every((flag) => flag);
|
|
1707
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1708
|
+
path: _path2 + ".id",
|
|
1709
|
+
expected: "string",
|
|
1710
|
+
value: input3.id
|
|
1711
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1712
|
+
path: _path2 + ".name",
|
|
1713
|
+
expected: "string",
|
|
1714
|
+
value: input3.name
|
|
1715
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1716
|
+
path: _path2 + ".type",
|
|
1717
|
+
expected: '"geneVariant"',
|
|
1718
|
+
value: input3.type
|
|
1719
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1720
|
+
path: _path2 + ".child_types",
|
|
1721
|
+
expected: "(Array<string> | undefined)",
|
|
1722
|
+
value: input3.child_types
|
|
1723
|
+
})) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1724
|
+
path: _path2 + ".child_types[" + _index34 + "]",
|
|
1725
|
+
expected: "string",
|
|
1726
|
+
value: elem
|
|
1727
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1728
|
+
path: _path2 + ".child_types",
|
|
1729
|
+
expected: "(Array<string> | undefined)",
|
|
1730
|
+
value: input3.child_types
|
|
1731
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1732
|
+
path: _path2 + ".hashtmldetail",
|
|
1733
|
+
expected: "(boolean | undefined)",
|
|
1734
|
+
value: input3.hashtmldetail
|
|
1735
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1736
|
+
path: _path2 + ".included_types",
|
|
1737
|
+
expected: "(Array<string> | undefined)",
|
|
1738
|
+
value: input3.included_types
|
|
1739
|
+
})) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1740
|
+
path: _path2 + ".included_types[" + _index35 + "]",
|
|
1741
|
+
expected: "string",
|
|
1742
|
+
value: elem
|
|
1743
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1744
|
+
path: _path2 + ".included_types",
|
|
1745
|
+
expected: "(Array<string> | undefined)",
|
|
1746
|
+
value: input3.included_types
|
|
1747
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1748
|
+
path: _path2 + ".isleaf",
|
|
1749
|
+
expected: "(boolean | undefined)",
|
|
1750
|
+
value: input3.isleaf
|
|
1751
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1752
|
+
path: _path2 + ".values",
|
|
1753
|
+
expected: "(TermValues | undefined)",
|
|
1754
|
+
value: input3.values
|
|
1755
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1756
|
+
path: _path2 + ".values",
|
|
1757
|
+
expected: "(TermValues | undefined)",
|
|
1758
|
+
value: input3.values
|
|
1759
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1760
|
+
path: _path2 + ".skipValuesBuild",
|
|
1761
|
+
expected: "(boolean | undefined)",
|
|
1762
|
+
value: input3.skipValuesBuild
|
|
1763
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1764
|
+
path: _path2 + ".kind",
|
|
1765
|
+
expected: '"coord"',
|
|
1766
|
+
value: input3.kind
|
|
1767
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1768
|
+
path: _path2 + ".chr",
|
|
1769
|
+
expected: "string",
|
|
1770
|
+
value: input3.chr
|
|
1771
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1772
|
+
path: _path2 + ".start",
|
|
1773
|
+
expected: "number",
|
|
1774
|
+
value: input3.start
|
|
1775
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1776
|
+
path: _path2 + ".stop",
|
|
1777
|
+
expected: "number",
|
|
1778
|
+
value: input3.stop
|
|
1779
|
+
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1780
|
+
path: _path2 + ".genes",
|
|
1781
|
+
expected: "Array<GvGeneTerm>",
|
|
1782
|
+
value: input3.genes
|
|
1783
|
+
})) && input3.genes.map((elem, _index36) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1784
|
+
path: _path2 + ".genes[" + _index36 + "]",
|
|
1785
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1786
|
+
value: elem
|
|
1787
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1788
|
+
path: _path2 + ".genes[" + _index36 + "]",
|
|
1789
|
+
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1790
|
+
value: elem
|
|
1791
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1792
|
+
path: _path2 + ".genes",
|
|
1793
|
+
expected: "Array<GvGeneTerm>",
|
|
1794
|
+
value: input3.genes
|
|
1795
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1796
|
+
path: _path2 + ".groupsetting",
|
|
1797
|
+
expected: "TermGroupSetting",
|
|
1798
|
+
value: input3.groupsetting
|
|
1799
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1800
|
+
path: _path2 + ".groupsetting",
|
|
1801
|
+
expected: "TermGroupSetting",
|
|
1802
|
+
value: input3.groupsetting
|
|
1803
|
+
}), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1804
|
+
path: _path2 + ".childTerms",
|
|
1805
|
+
expected: "Array<DtTerm>",
|
|
1806
|
+
value: input3.childTerms
|
|
1807
|
+
})) && input3.childTerms.map((elem, _index37) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1808
|
+
path: _path2 + ".childTerms[" + _index37 + "]",
|
|
1258
1809
|
expected: "DtTerm",
|
|
1259
1810
|
value: elem
|
|
1260
|
-
})) && $
|
|
1261
|
-
path: _path2 + ".childTerms[" +
|
|
1811
|
+
})) && $vo28(elem, _path2 + ".childTerms[" + _index37 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1812
|
+
path: _path2 + ".childTerms[" + _index37 + "]",
|
|
1262
1813
|
expected: "DtTerm",
|
|
1263
1814
|
value: elem
|
|
1264
1815
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1265
|
-
path: _path2 + ".childTerms",
|
|
1266
|
-
expected: "
|
|
1267
|
-
value: input3.childTerms
|
|
1816
|
+
path: _path2 + ".childTerms",
|
|
1817
|
+
expected: "Array<DtTerm>",
|
|
1818
|
+
value: input3.childTerms
|
|
1819
|
+
})].every((flag) => flag);
|
|
1820
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1821
|
+
path: _path2 + ".id",
|
|
1822
|
+
expected: "string",
|
|
1823
|
+
value: input3.id
|
|
1824
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1825
|
+
path: _path2 + ".name",
|
|
1826
|
+
expected: "string",
|
|
1827
|
+
value: input3.name
|
|
1828
|
+
}), "categorical" === input3.type || $report(_exceptionable2, {
|
|
1829
|
+
path: _path2 + ".type",
|
|
1830
|
+
expected: '"categorical"',
|
|
1831
|
+
value: input3.type
|
|
1832
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1833
|
+
path: _path2 + ".child_types",
|
|
1834
|
+
expected: "(Array<string> | undefined)",
|
|
1835
|
+
value: input3.child_types
|
|
1836
|
+
})) && input3.child_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1837
|
+
path: _path2 + ".child_types[" + _index38 + "]",
|
|
1838
|
+
expected: "string",
|
|
1839
|
+
value: elem
|
|
1840
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1841
|
+
path: _path2 + ".child_types",
|
|
1842
|
+
expected: "(Array<string> | undefined)",
|
|
1843
|
+
value: input3.child_types
|
|
1844
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1845
|
+
path: _path2 + ".hashtmldetail",
|
|
1846
|
+
expected: "(boolean | undefined)",
|
|
1847
|
+
value: input3.hashtmldetail
|
|
1848
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1849
|
+
path: _path2 + ".included_types",
|
|
1850
|
+
expected: "(Array<string> | undefined)",
|
|
1851
|
+
value: input3.included_types
|
|
1852
|
+
})) && input3.included_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1853
|
+
path: _path2 + ".included_types[" + _index39 + "]",
|
|
1854
|
+
expected: "string",
|
|
1855
|
+
value: elem
|
|
1856
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1857
|
+
path: _path2 + ".included_types",
|
|
1858
|
+
expected: "(Array<string> | undefined)",
|
|
1859
|
+
value: input3.included_types
|
|
1860
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1861
|
+
path: _path2 + ".isleaf",
|
|
1862
|
+
expected: "(boolean | undefined)",
|
|
1863
|
+
value: input3.isleaf
|
|
1864
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1865
|
+
path: _path2 + ".values",
|
|
1866
|
+
expected: "(TermValues | undefined)",
|
|
1867
|
+
value: input3.values
|
|
1868
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1869
|
+
path: _path2 + ".values",
|
|
1870
|
+
expected: "(TermValues | undefined)",
|
|
1871
|
+
value: input3.values
|
|
1872
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1873
|
+
path: _path2 + ".skipValuesBuild",
|
|
1874
|
+
expected: "(boolean | undefined)",
|
|
1875
|
+
value: input3.skipValuesBuild
|
|
1876
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1877
|
+
path: _path2 + ".groupsetting",
|
|
1878
|
+
expected: "TermGroupSetting",
|
|
1879
|
+
value: input3.groupsetting
|
|
1880
|
+
})) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1881
|
+
path: _path2 + ".groupsetting",
|
|
1882
|
+
expected: "TermGroupSetting",
|
|
1883
|
+
value: input3.groupsetting
|
|
1884
|
+
})].every((flag) => flag);
|
|
1885
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1886
|
+
path: _path2 + ".id",
|
|
1887
|
+
expected: "string",
|
|
1888
|
+
value: input3.id
|
|
1889
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1890
|
+
path: _path2 + ".name",
|
|
1891
|
+
expected: "string",
|
|
1892
|
+
value: input3.name
|
|
1893
|
+
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || "ssGSEA" === input3.type || $report(_exceptionable2, {
|
|
1894
|
+
path: _path2 + ".type",
|
|
1895
|
+
expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity" | "ssGSEA")',
|
|
1896
|
+
value: input3.type
|
|
1897
|
+
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1898
|
+
path: _path2 + ".child_types",
|
|
1899
|
+
expected: "(Array<string> | undefined)",
|
|
1900
|
+
value: input3.child_types
|
|
1901
|
+
})) && input3.child_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1902
|
+
path: _path2 + ".child_types[" + _index40 + "]",
|
|
1903
|
+
expected: "string",
|
|
1904
|
+
value: elem
|
|
1905
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1906
|
+
path: _path2 + ".child_types",
|
|
1907
|
+
expected: "(Array<string> | undefined)",
|
|
1908
|
+
value: input3.child_types
|
|
1909
|
+
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1910
|
+
path: _path2 + ".hashtmldetail",
|
|
1911
|
+
expected: "(boolean | undefined)",
|
|
1912
|
+
value: input3.hashtmldetail
|
|
1913
|
+
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1914
|
+
path: _path2 + ".included_types",
|
|
1915
|
+
expected: "(Array<string> | undefined)",
|
|
1916
|
+
value: input3.included_types
|
|
1917
|
+
})) && input3.included_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1918
|
+
path: _path2 + ".included_types[" + _index41 + "]",
|
|
1919
|
+
expected: "string",
|
|
1920
|
+
value: elem
|
|
1921
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1922
|
+
path: _path2 + ".included_types",
|
|
1923
|
+
expected: "(Array<string> | undefined)",
|
|
1924
|
+
value: input3.included_types
|
|
1925
|
+
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1926
|
+
path: _path2 + ".isleaf",
|
|
1927
|
+
expected: "(boolean | undefined)",
|
|
1928
|
+
value: input3.isleaf
|
|
1929
|
+
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1930
|
+
path: _path2 + ".values",
|
|
1931
|
+
expected: "(TermValues | undefined)",
|
|
1932
|
+
value: input3.values
|
|
1933
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1934
|
+
path: _path2 + ".values",
|
|
1935
|
+
expected: "(TermValues | undefined)",
|
|
1936
|
+
value: input3.values
|
|
1937
|
+
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1938
|
+
path: _path2 + ".skipValuesBuild",
|
|
1939
|
+
expected: "(boolean | undefined)",
|
|
1940
|
+
value: input3.skipValuesBuild
|
|
1941
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
1942
|
+
path: _path2 + ".bins",
|
|
1943
|
+
expected: "PresetNumericBins",
|
|
1944
|
+
value: input3.bins
|
|
1945
|
+
})) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1946
|
+
path: _path2 + ".bins",
|
|
1947
|
+
expected: "PresetNumericBins",
|
|
1948
|
+
value: input3.bins
|
|
1949
|
+
}), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
|
|
1950
|
+
path: _path2 + ".unit",
|
|
1951
|
+
expected: "(string | undefined)",
|
|
1952
|
+
value: input3.unit
|
|
1953
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1954
|
+
path: _path2 + ".continuousColorScale",
|
|
1955
|
+
expected: "(__type.o2 | undefined)",
|
|
1956
|
+
value: input3.continuousColorScale
|
|
1957
|
+
})) && $vo22(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1958
|
+
path: _path2 + ".continuousColorScale",
|
|
1959
|
+
expected: "(__type.o2 | undefined)",
|
|
1960
|
+
value: input3.continuousColorScale
|
|
1268
1961
|
})].every((flag) => flag);
|
|
1269
|
-
const $
|
|
1962
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1270
1963
|
path: _path2 + ".id",
|
|
1271
1964
|
expected: "string",
|
|
1272
1965
|
value: input3.id
|
|
@@ -1274,16 +1967,16 @@ var validPercentileRequest = (input) => {
|
|
|
1274
1967
|
path: _path2 + ".name",
|
|
1275
1968
|
expected: "string",
|
|
1276
1969
|
value: input3.name
|
|
1277
|
-
}), "
|
|
1970
|
+
}), "condition" === input3.type || $report(_exceptionable2, {
|
|
1278
1971
|
path: _path2 + ".type",
|
|
1279
|
-
expected: "
|
|
1972
|
+
expected: '"condition"',
|
|
1280
1973
|
value: input3.type
|
|
1281
1974
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1282
1975
|
path: _path2 + ".child_types",
|
|
1283
1976
|
expected: "(Array<string> | undefined)",
|
|
1284
1977
|
value: input3.child_types
|
|
1285
|
-
})) && input3.child_types.map((elem,
|
|
1286
|
-
path: _path2 + ".child_types[" +
|
|
1978
|
+
})) && input3.child_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1979
|
+
path: _path2 + ".child_types[" + _index42 + "]",
|
|
1287
1980
|
expected: "string",
|
|
1288
1981
|
value: elem
|
|
1289
1982
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1298,8 +1991,8 @@ var validPercentileRequest = (input) => {
|
|
|
1298
1991
|
path: _path2 + ".included_types",
|
|
1299
1992
|
expected: "(Array<string> | undefined)",
|
|
1300
1993
|
value: input3.included_types
|
|
1301
|
-
})) && input3.included_types.map((elem,
|
|
1302
|
-
path: _path2 + ".included_types[" +
|
|
1994
|
+
})) && input3.included_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1995
|
+
path: _path2 + ".included_types[" + _index43 + "]",
|
|
1303
1996
|
expected: "string",
|
|
1304
1997
|
value: elem
|
|
1305
1998
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1314,7 +2007,7 @@ var validPercentileRequest = (input) => {
|
|
|
1314
2007
|
path: _path2 + ".values",
|
|
1315
2008
|
expected: "(TermValues | undefined)",
|
|
1316
2009
|
value: input3.values
|
|
1317
|
-
})) && $
|
|
2010
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1318
2011
|
path: _path2 + ".values",
|
|
1319
2012
|
expected: "(TermValues | undefined)",
|
|
1320
2013
|
value: input3.values
|
|
@@ -1322,28 +2015,8 @@ var validPercentileRequest = (input) => {
|
|
|
1322
2015
|
path: _path2 + ".skipValuesBuild",
|
|
1323
2016
|
expected: "(boolean | undefined)",
|
|
1324
2017
|
value: input3.skipValuesBuild
|
|
1325
|
-
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1326
|
-
path: _path2 + ".kind",
|
|
1327
|
-
expected: '"gene"',
|
|
1328
|
-
value: input3.kind
|
|
1329
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1330
|
-
path: _path2 + ".gene",
|
|
1331
|
-
expected: "string",
|
|
1332
|
-
value: input3.gene
|
|
1333
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1334
|
-
path: _path2 + ".chr",
|
|
1335
|
-
expected: "(string | undefined)",
|
|
1336
|
-
value: input3.chr
|
|
1337
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1338
|
-
path: _path2 + ".start",
|
|
1339
|
-
expected: "(number | undefined)",
|
|
1340
|
-
value: input3.start
|
|
1341
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1342
|
-
path: _path2 + ".stop",
|
|
1343
|
-
expected: "(number | undefined)",
|
|
1344
|
-
value: input3.stop
|
|
1345
2018
|
})].every((flag) => flag);
|
|
1346
|
-
const $
|
|
2019
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1347
2020
|
path: _path2 + ".id",
|
|
1348
2021
|
expected: "string",
|
|
1349
2022
|
value: input3.id
|
|
@@ -1359,8 +2032,8 @@ var validPercentileRequest = (input) => {
|
|
|
1359
2032
|
path: _path2 + ".child_types",
|
|
1360
2033
|
expected: "(Array<string> | undefined)",
|
|
1361
2034
|
value: input3.child_types
|
|
1362
|
-
})) && input3.child_types.map((elem,
|
|
1363
|
-
path: _path2 + ".child_types[" +
|
|
2035
|
+
})) && input3.child_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2036
|
+
path: _path2 + ".child_types[" + _index44 + "]",
|
|
1364
2037
|
expected: "string",
|
|
1365
2038
|
value: elem
|
|
1366
2039
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1375,8 +2048,8 @@ var validPercentileRequest = (input) => {
|
|
|
1375
2048
|
path: _path2 + ".included_types",
|
|
1376
2049
|
expected: "(Array<string> | undefined)",
|
|
1377
2050
|
value: input3.included_types
|
|
1378
|
-
})) && input3.included_types.map((elem,
|
|
1379
|
-
path: _path2 + ".included_types[" +
|
|
2051
|
+
})) && input3.included_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2052
|
+
path: _path2 + ".included_types[" + _index45 + "]",
|
|
1380
2053
|
expected: "string",
|
|
1381
2054
|
value: elem
|
|
1382
2055
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1391,7 +2064,7 @@ var validPercentileRequest = (input) => {
|
|
|
1391
2064
|
path: _path2 + ".values",
|
|
1392
2065
|
expected: "(TermValues | undefined)",
|
|
1393
2066
|
value: input3.values
|
|
1394
|
-
})) && $
|
|
2067
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1395
2068
|
path: _path2 + ".values",
|
|
1396
2069
|
expected: "(TermValues | undefined)",
|
|
1397
2070
|
value: input3.values
|
|
@@ -1399,24 +2072,115 @@ var validPercentileRequest = (input) => {
|
|
|
1399
2072
|
path: _path2 + ".skipValuesBuild",
|
|
1400
2073
|
expected: "(boolean | undefined)",
|
|
1401
2074
|
value: input3.skipValuesBuild
|
|
1402
|
-
}), "
|
|
1403
|
-
path: _path2 + ".
|
|
1404
|
-
expected:
|
|
1405
|
-
value: input3.
|
|
1406
|
-
}),
|
|
1407
|
-
path: _path2 + ".
|
|
2075
|
+
}), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
|
|
2076
|
+
path: _path2 + ".reachedVariantLimit",
|
|
2077
|
+
expected: "(boolean | undefined)",
|
|
2078
|
+
value: input3.reachedVariantLimit
|
|
2079
|
+
}), void 0 === input3.snps || (Array.isArray(input3.snps) || $report(_exceptionable2, {
|
|
2080
|
+
path: _path2 + ".snps",
|
|
2081
|
+
expected: "(Array<SnpsEntry> | undefined)",
|
|
2082
|
+
value: input3.snps
|
|
2083
|
+
})) && input3.snps.map((elem, _index46) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2084
|
+
path: _path2 + ".snps[" + _index46 + "]",
|
|
2085
|
+
expected: "SnpsEntry",
|
|
2086
|
+
value: elem
|
|
2087
|
+
})) && $vo39(elem, _path2 + ".snps[" + _index46 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2088
|
+
path: _path2 + ".snps[" + _index46 + "]",
|
|
2089
|
+
expected: "SnpsEntry",
|
|
2090
|
+
value: elem
|
|
2091
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2092
|
+
path: _path2 + ".snps",
|
|
2093
|
+
expected: "(Array<SnpsEntry> | undefined)",
|
|
2094
|
+
value: input3.snps
|
|
2095
|
+
})].every((flag) => flag);
|
|
2096
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
2097
|
+
path: _path2 + ".altAlleles",
|
|
2098
|
+
expected: "(Array<string> | undefined)",
|
|
2099
|
+
value: input3.altAlleles
|
|
2100
|
+
})) && input3.altAlleles.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2101
|
+
path: _path2 + ".altAlleles[" + _index47 + "]",
|
|
2102
|
+
expected: "string",
|
|
2103
|
+
value: elem
|
|
2104
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2105
|
+
path: _path2 + ".altAlleles",
|
|
2106
|
+
expected: "(Array<string> | undefined)",
|
|
2107
|
+
value: input3.altAlleles
|
|
2108
|
+
}), void 0 === input3.alleles || (Array.isArray(input3.alleles) || $report(_exceptionable2, {
|
|
2109
|
+
path: _path2 + ".alleles",
|
|
2110
|
+
expected: "(Array<AllelesEntry> | undefined)",
|
|
2111
|
+
value: input3.alleles
|
|
2112
|
+
})) && input3.alleles.map((elem, _index48) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2113
|
+
path: _path2 + ".alleles[" + _index48 + "]",
|
|
2114
|
+
expected: "AllelesEntry",
|
|
2115
|
+
value: elem
|
|
2116
|
+
})) && $vo40(elem, _path2 + ".alleles[" + _index48 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2117
|
+
path: _path2 + ".alleles[" + _index48 + "]",
|
|
2118
|
+
expected: "AllelesEntry",
|
|
2119
|
+
value: elem
|
|
2120
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2121
|
+
path: _path2 + ".alleles",
|
|
2122
|
+
expected: "(Array<AllelesEntry> | undefined)",
|
|
2123
|
+
value: input3.alleles
|
|
2124
|
+
}), "boolean" === typeof input3.effectAllele || $report(_exceptionable2, {
|
|
2125
|
+
path: _path2 + ".effectAllele",
|
|
2126
|
+
expected: "boolean",
|
|
2127
|
+
value: input3.effectAllele
|
|
2128
|
+
}), void 0 === input3.gt2count || ("object" === typeof input3.gt2count && null !== input3.gt2count || $report(_exceptionable2, {
|
|
2129
|
+
path: _path2 + ".gt2count",
|
|
2130
|
+
expected: "(__type.o5 | undefined)",
|
|
2131
|
+
value: input3.gt2count
|
|
2132
|
+
})) && $vo41(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
2133
|
+
path: _path2 + ".gt2count",
|
|
2134
|
+
expected: "(__type.o5 | undefined)",
|
|
2135
|
+
value: input3.gt2count
|
|
2136
|
+
}), void 0 === input3.invalid || "boolean" === typeof input3.invalid || $report(_exceptionable2, {
|
|
2137
|
+
path: _path2 + ".invalid",
|
|
2138
|
+
expected: "(boolean | undefined)",
|
|
2139
|
+
value: input3.invalid
|
|
2140
|
+
}), void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele || $report(_exceptionable2, {
|
|
2141
|
+
path: _path2 + ".referenceAllele",
|
|
2142
|
+
expected: "(string | undefined)",
|
|
2143
|
+
value: input3.referenceAllele
|
|
2144
|
+
}), "string" === typeof input3.rsid || $report(_exceptionable2, {
|
|
2145
|
+
path: _path2 + ".rsid",
|
|
2146
|
+
expected: "string",
|
|
2147
|
+
value: input3.rsid
|
|
2148
|
+
}), "string" === typeof input3.snpid || $report(_exceptionable2, {
|
|
2149
|
+
path: _path2 + ".snpid",
|
|
1408
2150
|
expected: "string",
|
|
2151
|
+
value: input3.snpid
|
|
2152
|
+
}), true, void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2153
|
+
path: _path2 + ".chr",
|
|
2154
|
+
expected: "(string | undefined)",
|
|
1409
2155
|
value: input3.chr
|
|
1410
|
-
}), "number" === typeof input3.
|
|
1411
|
-
path: _path2 + ".
|
|
1412
|
-
expected: "number",
|
|
1413
|
-
value: input3.
|
|
1414
|
-
})
|
|
1415
|
-
|
|
2156
|
+
}), void 0 === input3.pos || "number" === typeof input3.pos || $report(_exceptionable2, {
|
|
2157
|
+
path: _path2 + ".pos",
|
|
2158
|
+
expected: "(number | undefined)",
|
|
2159
|
+
value: input3.pos
|
|
2160
|
+
})].every((flag) => flag);
|
|
2161
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
2162
|
+
path: _path2 + ".allele",
|
|
2163
|
+
expected: "string",
|
|
2164
|
+
value: input3.allele
|
|
2165
|
+
}), "number" === typeof input3.count || $report(_exceptionable2, {
|
|
2166
|
+
path: _path2 + ".count",
|
|
1416
2167
|
expected: "number",
|
|
1417
|
-
value: input3.
|
|
2168
|
+
value: input3.count
|
|
2169
|
+
}), "boolean" === typeof input3.isRef || $report(_exceptionable2, {
|
|
2170
|
+
path: _path2 + ".isRef",
|
|
2171
|
+
expected: "boolean",
|
|
2172
|
+
value: input3.isRef
|
|
1418
2173
|
})].every((flag) => flag);
|
|
1419
|
-
const $
|
|
2174
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
2175
|
+
path: _path2 + ".k",
|
|
2176
|
+
expected: "string",
|
|
2177
|
+
value: input3.k
|
|
2178
|
+
}), "string" === typeof input3.v || "number" === typeof input3.v || $report(_exceptionable2, {
|
|
2179
|
+
path: _path2 + ".v",
|
|
2180
|
+
expected: "(number | string)",
|
|
2181
|
+
value: input3.v
|
|
2182
|
+
})].every((flag) => flag);
|
|
2183
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1420
2184
|
path: _path2 + ".id",
|
|
1421
2185
|
expected: "string",
|
|
1422
2186
|
value: input3.id
|
|
@@ -1424,16 +2188,16 @@ var validPercentileRequest = (input) => {
|
|
|
1424
2188
|
path: _path2 + ".name",
|
|
1425
2189
|
expected: "string",
|
|
1426
2190
|
value: input3.name
|
|
1427
|
-
}), "
|
|
2191
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1428
2192
|
path: _path2 + ".type",
|
|
1429
|
-
expected:
|
|
2193
|
+
expected: "string",
|
|
1430
2194
|
value: input3.type
|
|
1431
2195
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1432
2196
|
path: _path2 + ".child_types",
|
|
1433
2197
|
expected: "(Array<string> | undefined)",
|
|
1434
2198
|
value: input3.child_types
|
|
1435
|
-
})) && input3.child_types.map((elem,
|
|
1436
|
-
path: _path2 + ".child_types[" +
|
|
2199
|
+
})) && input3.child_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2200
|
+
path: _path2 + ".child_types[" + _index49 + "]",
|
|
1437
2201
|
expected: "string",
|
|
1438
2202
|
value: elem
|
|
1439
2203
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1448,8 +2212,8 @@ var validPercentileRequest = (input) => {
|
|
|
1448
2212
|
path: _path2 + ".included_types",
|
|
1449
2213
|
expected: "(Array<string> | undefined)",
|
|
1450
2214
|
value: input3.included_types
|
|
1451
|
-
})) && input3.included_types.map((elem,
|
|
1452
|
-
path: _path2 + ".included_types[" +
|
|
2215
|
+
})) && input3.included_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2216
|
+
path: _path2 + ".included_types[" + _index50 + "]",
|
|
1453
2217
|
expected: "string",
|
|
1454
2218
|
value: elem
|
|
1455
2219
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1462,91 +2226,114 @@ var validPercentileRequest = (input) => {
|
|
|
1462
2226
|
value: input3.isleaf
|
|
1463
2227
|
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1464
2228
|
path: _path2 + ".values",
|
|
1465
|
-
expected: "(TermValues | undefined)",
|
|
2229
|
+
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
1466
2230
|
value: input3.values
|
|
1467
|
-
})) && $
|
|
2231
|
+
})) && $vo43(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1468
2232
|
path: _path2 + ".values",
|
|
1469
|
-
expected: "(TermValues | undefined)",
|
|
2233
|
+
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
1470
2234
|
value: input3.values
|
|
1471
2235
|
}), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
|
|
1472
2236
|
path: _path2 + ".skipValuesBuild",
|
|
1473
2237
|
expected: "(boolean | undefined)",
|
|
1474
2238
|
value: input3.skipValuesBuild
|
|
1475
|
-
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1476
|
-
path: _path2 + ".kind",
|
|
1477
|
-
expected: '"coord"',
|
|
1478
|
-
value: input3.kind
|
|
1479
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1480
|
-
path: _path2 + ".chr",
|
|
1481
|
-
expected: "string",
|
|
1482
|
-
value: input3.chr
|
|
1483
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1484
|
-
path: _path2 + ".start",
|
|
1485
|
-
expected: "number",
|
|
1486
|
-
value: input3.start
|
|
1487
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1488
|
-
path: _path2 + ".stop",
|
|
1489
|
-
expected: "number",
|
|
1490
|
-
value: input3.stop
|
|
1491
|
-
}), (Array.isArray(input3.genes) || $report(_exceptionable2, {
|
|
1492
|
-
path: _path2 + ".genes",
|
|
1493
|
-
expected: "Array<GvGeneTerm>",
|
|
1494
|
-
value: input3.genes
|
|
1495
|
-
})) && input3.genes.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1496
|
-
path: _path2 + ".genes[" + _index28 + "]",
|
|
1497
|
-
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1498
|
-
value: elem
|
|
1499
|
-
})) && $vu3(elem, _path2 + ".genes[" + _index28 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1500
|
-
path: _path2 + ".genes[" + _index28 + "]",
|
|
1501
|
-
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
1502
|
-
value: elem
|
|
1503
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1504
|
-
path: _path2 + ".genes",
|
|
1505
|
-
expected: "Array<GvGeneTerm>",
|
|
1506
|
-
value: input3.genes
|
|
1507
|
-
}), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1508
|
-
path: _path2 + ".groupsetting",
|
|
1509
|
-
expected: "(TermGroupSetting | undefined)",
|
|
1510
|
-
value: input3.groupsetting
|
|
1511
|
-
})) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1512
|
-
path: _path2 + ".groupsetting",
|
|
1513
|
-
expected: "(TermGroupSetting | undefined)",
|
|
1514
|
-
value: input3.groupsetting
|
|
1515
|
-
}), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
|
|
1516
|
-
path: _path2 + ".childTerms",
|
|
1517
|
-
expected: "(Array<DtTerm> | undefined)",
|
|
1518
|
-
value: input3.childTerms
|
|
1519
|
-
})) && input3.childTerms.map((elem, _index29) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1520
|
-
path: _path2 + ".childTerms[" + _index29 + "]",
|
|
1521
|
-
expected: "DtTerm",
|
|
1522
|
-
value: elem
|
|
1523
|
-
})) && $vo27(elem, _path2 + ".childTerms[" + _index29 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1524
|
-
path: _path2 + ".childTerms[" + _index29 + "]",
|
|
1525
|
-
expected: "DtTerm",
|
|
1526
|
-
value: elem
|
|
1527
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1528
|
-
path: _path2 + ".childTerms",
|
|
1529
|
-
expected: "(Array<DtTerm> | undefined)",
|
|
1530
|
-
value: input3.childTerms
|
|
1531
2239
|
})].every((flag) => flag);
|
|
1532
|
-
const $
|
|
2240
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2241
|
+
const value = input3[key];
|
|
2242
|
+
if (void 0 === value)
|
|
2243
|
+
return true;
|
|
2244
|
+
if (RegExp(/(.*)/).test(key))
|
|
2245
|
+
return ("object" === typeof value && null !== value || $report(_exceptionable2, {
|
|
2246
|
+
path: _path2 + $join(key),
|
|
2247
|
+
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2248
|
+
value
|
|
2249
|
+
})) && $vo44(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2250
|
+
path: _path2 + $join(key),
|
|
2251
|
+
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2252
|
+
value
|
|
2253
|
+
});
|
|
2254
|
+
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
2255
|
+
return ("object" === typeof value && null !== value || $report(_exceptionable2, {
|
|
2256
|
+
path: _path2 + $join(key),
|
|
2257
|
+
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2258
|
+
value
|
|
2259
|
+
})) && $vo44(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2260
|
+
path: _path2 + $join(key),
|
|
2261
|
+
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
2262
|
+
value
|
|
2263
|
+
});
|
|
2264
|
+
return true;
|
|
2265
|
+
}).every((flag) => flag)].every((flag) => flag);
|
|
2266
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
1533
2267
|
path: _path2 + ".key",
|
|
1534
|
-
expected: "string",
|
|
2268
|
+
expected: "(string | undefined)",
|
|
1535
2269
|
value: input3.key
|
|
1536
|
-
}), "
|
|
2270
|
+
}), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
2271
|
+
path: _path2 + ".uncomputable",
|
|
2272
|
+
expected: "(boolean | undefined)",
|
|
2273
|
+
value: input3.uncomputable
|
|
2274
|
+
}), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
|
|
1537
2275
|
path: _path2 + ".label",
|
|
1538
|
-
expected: "string",
|
|
2276
|
+
expected: "(number | string | undefined)",
|
|
1539
2277
|
value: input3.label
|
|
1540
|
-
}), "string" === typeof input3.
|
|
1541
|
-
path: _path2 + ".
|
|
2278
|
+
}), void 0 === input3.order || "string" === typeof input3.order || $report(_exceptionable2, {
|
|
2279
|
+
path: _path2 + ".order",
|
|
2280
|
+
expected: "(string | undefined)",
|
|
2281
|
+
value: input3.order
|
|
2282
|
+
}), void 0 === input3.color || "string" === typeof input3.color || $report(_exceptionable2, {
|
|
2283
|
+
path: _path2 + ".color",
|
|
2284
|
+
expected: "(string | undefined)",
|
|
2285
|
+
value: input3.color
|
|
2286
|
+
}), void 0 === input3.group || "number" === typeof input3.group || $report(_exceptionable2, {
|
|
2287
|
+
path: _path2 + ".group",
|
|
2288
|
+
expected: "(number | undefined)",
|
|
2289
|
+
value: input3.group
|
|
2290
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2291
|
+
path: _path2 + ".filter",
|
|
2292
|
+
expected: "(Filter | undefined)",
|
|
2293
|
+
value: input3.filter
|
|
2294
|
+
})) && $vo4(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2295
|
+
path: _path2 + ".filter",
|
|
2296
|
+
expected: "(Filter | undefined)",
|
|
2297
|
+
value: input3.filter
|
|
2298
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2299
|
+
path: _path2 + ".name",
|
|
1542
2300
|
expected: "string",
|
|
1543
|
-
value: input3.
|
|
2301
|
+
value: input3.name
|
|
2302
|
+
}), "boolean" === typeof input3.inuse || $report(_exceptionable2, {
|
|
2303
|
+
path: _path2 + ".inuse",
|
|
2304
|
+
expected: "boolean",
|
|
2305
|
+
value: input3.inuse
|
|
2306
|
+
}), (Array.isArray(input3.list) || $report(_exceptionable2, {
|
|
2307
|
+
path: _path2 + ".list",
|
|
2308
|
+
expected: "Array<__type>.o3",
|
|
2309
|
+
value: input3.list
|
|
2310
|
+
})) && input3.list.map((elem, _index51) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2311
|
+
path: _path2 + ".list[" + _index51 + "]",
|
|
2312
|
+
expected: "__type.o6",
|
|
2313
|
+
value: elem
|
|
2314
|
+
})) && $vo45(elem, _path2 + ".list[" + _index51 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2315
|
+
path: _path2 + ".list[" + _index51 + "]",
|
|
2316
|
+
expected: "__type.o6",
|
|
2317
|
+
value: elem
|
|
2318
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2319
|
+
path: _path2 + ".list",
|
|
2320
|
+
expected: "Array<__type>.o3",
|
|
2321
|
+
value: input3.list
|
|
2322
|
+
}), true].every((flag) => flag);
|
|
2323
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
2324
|
+
path: _path2 + ".sampleId",
|
|
2325
|
+
expected: "string",
|
|
2326
|
+
value: input3.sampleId
|
|
2327
|
+
}), "string" === typeof input3.sample || $report(_exceptionable2, {
|
|
2328
|
+
path: _path2 + ".sample",
|
|
2329
|
+
expected: "string",
|
|
2330
|
+
value: input3.sample
|
|
1544
2331
|
})].every((flag) => flag);
|
|
1545
2332
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1546
2333
|
if ("tvslst" === input3.type)
|
|
1547
|
-
return $
|
|
2334
|
+
return $vo4(input3, _path2, _exceptionable2);
|
|
1548
2335
|
if ("tvs" === input3.type)
|
|
1549
|
-
return $
|
|
2336
|
+
return $vo5(input3, _path2, _exceptionable2);
|
|
1550
2337
|
return $report(_exceptionable2, {
|
|
1551
2338
|
path: _path2,
|
|
1552
2339
|
expected: "(Filter | __type)",
|
|
@@ -1555,9 +2342,9 @@ var validPercentileRequest = (input) => {
|
|
|
1555
2342
|
})();
|
|
1556
2343
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1557
2344
|
if ("string" === typeof input3.type)
|
|
1558
|
-
return $
|
|
2345
|
+
return $vo10(input3, _path2, _exceptionable2);
|
|
1559
2346
|
if ("filter" === input3.type)
|
|
1560
|
-
return $
|
|
2347
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
1561
2348
|
return $report(_exceptionable2, {
|
|
1562
2349
|
path: _path2,
|
|
1563
2350
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -1566,16 +2353,16 @@ var validPercentileRequest = (input) => {
|
|
|
1566
2353
|
})();
|
|
1567
2354
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1568
2355
|
if (true === input3.startunbounded)
|
|
1569
|
-
return $
|
|
2356
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
1570
2357
|
if (true === input3.stopunbounded)
|
|
1571
|
-
return $
|
|
1572
|
-
return $
|
|
2358
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
2359
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1573
2360
|
})();
|
|
1574
2361
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1575
2362
|
if ("gene" === input3.kind)
|
|
1576
|
-
return $vo29(input3, _path2, _exceptionable2);
|
|
1577
|
-
if ("coord" === input3.kind)
|
|
1578
2363
|
return $vo30(input3, _path2, _exceptionable2);
|
|
2364
|
+
if ("coord" === input3.kind)
|
|
2365
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
1579
2366
|
return $report(_exceptionable2, {
|
|
1580
2367
|
path: _path2,
|
|
1581
2368
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -1583,48 +2370,61 @@ var validPercentileRequest = (input) => {
|
|
|
1583
2370
|
});
|
|
1584
2371
|
})();
|
|
1585
2372
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1586
|
-
if (
|
|
1587
|
-
return $
|
|
1588
|
-
|
|
2373
|
+
if ("gene" === input3.kind)
|
|
2374
|
+
return $vo1(input3, _path2, _exceptionable2);
|
|
2375
|
+
if ("coord" === input3.kind)
|
|
2376
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
2377
|
+
if ("categorical" === input3.type)
|
|
2378
|
+
return $vo35(input3, _path2, _exceptionable2);
|
|
2379
|
+
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || "ssGSEA" === input3.type)
|
|
2380
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
2381
|
+
if ("condition" === input3.type)
|
|
2382
|
+
return $vo37(input3, _path2, _exceptionable2);
|
|
2383
|
+
return $vo38(input3, _path2, false) || $vo42(input3, _path2, false);
|
|
1589
2384
|
})();
|
|
1590
2385
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2386
|
+
if (void 0 !== input3.ranges)
|
|
2387
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
2388
|
+
return $vo6(input3, _path2, false) || $vo24(input3, _path2, false) || $vo27(input3, _path2, false);
|
|
2389
|
+
})();
|
|
2390
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1591
2391
|
if ("regular-bin" === input3.type)
|
|
1592
|
-
return $
|
|
2392
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
1593
2393
|
if ("custom-bin" === input3.type)
|
|
1594
|
-
return $
|
|
2394
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
1595
2395
|
return $report(_exceptionable2, {
|
|
1596
2396
|
path: _path2,
|
|
1597
2397
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
1598
2398
|
value: input3
|
|
1599
2399
|
});
|
|
1600
2400
|
})();
|
|
1601
|
-
const $
|
|
2401
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1602
2402
|
if (true === input3.startunbounded)
|
|
1603
|
-
return $vo17(input3, _path2, _exceptionable2);
|
|
1604
|
-
if (void 0 !== input3.start)
|
|
1605
2403
|
return $vo18(input3, _path2, _exceptionable2);
|
|
2404
|
+
if (void 0 !== input3.start)
|
|
2405
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
1606
2406
|
return $report(_exceptionable2, {
|
|
1607
2407
|
path: _path2,
|
|
1608
2408
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
1609
2409
|
value: input3
|
|
1610
2410
|
});
|
|
1611
2411
|
})();
|
|
1612
|
-
const $
|
|
2412
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1613
2413
|
if (void 0 !== input3.stop)
|
|
1614
|
-
return $vo18(input3, _path2, _exceptionable2);
|
|
1615
|
-
if (true === input3.stopunbounded)
|
|
1616
2414
|
return $vo19(input3, _path2, _exceptionable2);
|
|
2415
|
+
if (true === input3.stopunbounded)
|
|
2416
|
+
return $vo20(input3, _path2, _exceptionable2);
|
|
1617
2417
|
return $report(_exceptionable2, {
|
|
1618
2418
|
path: _path2,
|
|
1619
2419
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1620
2420
|
value: input3
|
|
1621
2421
|
});
|
|
1622
2422
|
})();
|
|
1623
|
-
const $
|
|
2423
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1624
2424
|
if ("gene" === input3.kind)
|
|
1625
|
-
return $
|
|
2425
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
1626
2426
|
if ("coord" === input3.kind)
|
|
1627
|
-
return $
|
|
2427
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
1628
2428
|
return $report(_exceptionable2, {
|
|
1629
2429
|
path: _path2,
|
|
1630
2430
|
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; })',
|