@sjcrh/proteinpaint-types 2.178.1-0 → 2.179.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-3A5JG2RU.js → chunk-FQLGK65A.js} +474 -416
- package/dist/index.js +1 -1
- package/dist/termdb.dmr.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +28 -8
- package/src/routes/termdb.dmr.ts +17 -2
|
@@ -21,35 +21,36 @@ var validTermdbDmrRequest = (input) => {
|
|
|
21
21
|
const errors = [];
|
|
22
22
|
const __is = (input2) => {
|
|
23
23
|
const $join = import_typia.createValidate.join;
|
|
24
|
-
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (Array.isArray(input3.group1) && input3.group1.every((elem) => "object" === typeof elem && null !== elem && $io1(elem))) && (Array.isArray(input3.group2) && input3.group2.every((elem) => "object" === typeof elem && null !== elem && $io1(elem))) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $
|
|
24
|
+
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (Array.isArray(input3.group1) && input3.group1.every((elem) => "object" === typeof elem && null !== elem && $io1(elem))) && (Array.isArray(input3.group2) && input3.group2.every((elem) => "object" === typeof elem && null !== elem && $io1(elem))) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.annotations || Array.isArray(input3.annotations) && input3.annotations.every((elem) => "object" === typeof elem && null !== elem && $io2(elem))) && (void 0 === input3.nan_threshold || "number" === typeof input3.nan_threshold) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io3(input3.filter)) && true;
|
|
25
25
|
const $io1 = (input3) => ("string" === typeof input3.sampleId || "number" === typeof input3.sampleId) && "string" === typeof input3.sample;
|
|
26
|
-
const $io2 = (input3) => "
|
|
27
|
-
const $io3 = (input3) => "
|
|
28
|
-
const $io4 = (input3) =>
|
|
29
|
-
const $io5 = (input3) =>
|
|
30
|
-
const $io6 = (input3) =>
|
|
26
|
+
const $io2 = (input3) => "string" === typeof input3.name && "number" === typeof input3.start && "number" === typeof input3.end && (void 0 === input3.base_methylation || "number" === typeof input3.base_methylation) && (void 0 === input3.length_scale_bp || "number" === typeof input3.length_scale_bp);
|
|
27
|
+
const $io3 = (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))) && (void 0 === input3.$id || "string" === typeof input3.$id);
|
|
28
|
+
const $io4 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu5(input3.tvs));
|
|
29
|
+
const $io5 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $io6(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) && $io8(elem))) && (void 0 === input3.valueset || input3.valueset instanceof Set);
|
|
30
|
+
const $io6 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io10(input3.groupsetting));
|
|
31
|
+
const $io7 = (input3) => Object.keys(input3).every((key) => {
|
|
31
32
|
const value = input3[key];
|
|
32
33
|
if (void 0 === value)
|
|
33
34
|
return true;
|
|
34
35
|
if (RegExp(/(.*)/).test(key))
|
|
35
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
36
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io8(value);
|
|
36
37
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
37
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
38
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io8(value);
|
|
38
39
|
return true;
|
|
39
40
|
});
|
|
40
|
-
const $
|
|
41
|
-
const $
|
|
42
|
-
const $
|
|
43
|
-
const $
|
|
44
|
-
const $
|
|
45
|
-
const $
|
|
46
|
-
const $
|
|
47
|
-
const $
|
|
48
|
-
const $
|
|
49
|
-
const $
|
|
50
|
-
const $
|
|
51
|
-
const $
|
|
52
|
-
const $
|
|
41
|
+
const $io8 = (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 && $io3(input3.filter));
|
|
42
|
+
const $io9 = (input3) => "string" === typeof input3.fromUnit && "string" === typeof input3.toUnit && "string" === typeof input3.scaleFactor;
|
|
43
|
+
const $io10 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io11(elem)));
|
|
44
|
+
const $io11 = (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)));
|
|
45
|
+
const $io12 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io13(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
46
|
+
const $io13 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
47
|
+
const $io14 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io3(input3.filter)) && "string" === typeof input3.color;
|
|
48
|
+
const $io15 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $iu6(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (void 0 === input3.values || Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
|
|
49
|
+
const $io16 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins));
|
|
50
|
+
const $io17 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
51
|
+
const $io18 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu7(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu7(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);
|
|
52
|
+
const $io19 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io20(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 && $iu8(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu9(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset);
|
|
53
|
+
const $io20 = (input3) => Object.keys(input3).every((key) => {
|
|
53
54
|
const value = input3[key];
|
|
54
55
|
if (void 0 === value)
|
|
55
56
|
return true;
|
|
@@ -57,25 +58,25 @@ var validTermdbDmrRequest = (input) => {
|
|
|
57
58
|
return "number" === typeof value;
|
|
58
59
|
return true;
|
|
59
60
|
});
|
|
60
|
-
const $
|
|
61
|
-
const $
|
|
62
|
-
const $
|
|
63
|
-
const $
|
|
64
|
-
const $
|
|
65
|
-
const $
|
|
66
|
-
const $
|
|
67
|
-
const $
|
|
68
|
-
const $
|
|
69
|
-
const $
|
|
70
|
-
const $
|
|
71
|
-
const $
|
|
72
|
-
const $
|
|
73
|
-
const $
|
|
74
|
-
const $
|
|
75
|
-
const $
|
|
76
|
-
const $
|
|
77
|
-
const $
|
|
78
|
-
const $
|
|
61
|
+
const $io21 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
62
|
+
const $io22 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
63
|
+
const $io23 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
|
|
64
|
+
const $io24 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io20(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] && $iu4(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu4(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins) && (void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset);
|
|
65
|
+
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
66
|
+
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
67
|
+
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins));
|
|
68
|
+
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "wholeProteomeAbundance" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins));
|
|
69
|
+
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins));
|
|
70
|
+
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins));
|
|
71
|
+
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins));
|
|
72
|
+
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
73
|
+
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
74
|
+
const $io34 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
|
|
75
|
+
const $io35 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
76
|
+
const $io36 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $io37(input3.term)) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io38(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
77
|
+
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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion));
|
|
78
|
+
const $io38 = (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;
|
|
79
|
+
const $io39 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label) && Object.keys(input3).every((key) => {
|
|
79
80
|
if (["key", "label"].some((prop) => key === prop))
|
|
80
81
|
return true;
|
|
81
82
|
const value = input3[key];
|
|
@@ -85,25 +86,25 @@ var validTermdbDmrRequest = (input) => {
|
|
|
85
86
|
return true;
|
|
86
87
|
return true;
|
|
87
88
|
});
|
|
88
|
-
const $
|
|
89
|
-
const $
|
|
90
|
-
const $
|
|
91
|
-
const $
|
|
92
|
-
const $
|
|
93
|
-
const $
|
|
94
|
-
const $
|
|
95
|
-
const $
|
|
96
|
-
const $
|
|
97
|
-
const $
|
|
98
|
-
const $
|
|
89
|
+
const $io40 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $io41(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io46(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName) && (void 0 === input3.genotype || "variant" === input3.genotype || "nt" === input3.genotype || "wt" === input3.genotype) && (void 0 === input3.mcount || "any" === input3.mcount || "single" === input3.mcount || "multiple" === input3.mcount || "all" === input3.mcount) && (void 0 === input3.continuousCnv || "boolean" === typeof input3.continuousCnv) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvWT || "boolean" === typeof input3.cnvWT) && (void 0 === input3.fractionOverlap || "number" === typeof input3.fractionOverlap);
|
|
90
|
+
const $io41 = (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 && $iu10(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) && $io7(input3.values));
|
|
91
|
+
const $io42 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io10(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io41(elem)));
|
|
92
|
+
const $io43 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
93
|
+
const $io44 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
94
|
+
const $io45 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io10(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io41(elem)));
|
|
95
|
+
const $io46 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.value || "string" === typeof input3.value) && (void 0 === input3.dt || "number" === typeof input3.dt) && (void 0 === input3.mclasslst || Array.isArray(input3.mclasslst) && input3.mclasslst.every((elem) => "string" === typeof elem)) && (void 0 === input3.mclassExcludeLst || Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "string" === typeof elem)) && (void 0 === input3.origin || "string" === typeof input3.origin);
|
|
96
|
+
const $io47 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $iu11(input3.term)) && "number" === typeof input3.ratio;
|
|
97
|
+
const $io48 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io49(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io50(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem));
|
|
98
|
+
const $io49 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion));
|
|
99
|
+
const $io50 = (input3) => Object.keys(input3).every((key) => {
|
|
99
100
|
const value = input3[key];
|
|
100
101
|
if (void 0 === value)
|
|
101
102
|
return true;
|
|
102
103
|
if (RegExp(/(.*)/).test(key))
|
|
103
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
104
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io51(value);
|
|
104
105
|
return true;
|
|
105
106
|
});
|
|
106
|
-
const $
|
|
107
|
+
const $io51 = (input3) => Object.keys(input3).every((key) => {
|
|
107
108
|
const value = input3[key];
|
|
108
109
|
if (void 0 === value)
|
|
109
110
|
return true;
|
|
@@ -111,118 +112,118 @@ var validTermdbDmrRequest = (input) => {
|
|
|
111
112
|
return true;
|
|
112
113
|
return true;
|
|
113
114
|
});
|
|
114
|
-
const $
|
|
115
|
-
const $
|
|
115
|
+
const $io52 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io49(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io50(input3.propsByTermId)) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io53(elem)));
|
|
116
|
+
const $io53 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
116
117
|
const $iu0 = (input3) => (() => {
|
|
117
118
|
if ("tvslst" === input3.type)
|
|
118
|
-
return $io2(input3);
|
|
119
|
-
if ("tvs" === input3.type)
|
|
120
119
|
return $io3(input3);
|
|
120
|
+
if ("tvs" === input3.type)
|
|
121
|
+
return $io4(input3);
|
|
121
122
|
return false;
|
|
122
123
|
})();
|
|
123
124
|
const $iu1 = (input3) => (() => {
|
|
124
125
|
if ("string" === typeof input3.type)
|
|
125
|
-
return $
|
|
126
|
+
return $io12(input3);
|
|
126
127
|
if ("filter" === input3.type)
|
|
127
|
-
return $
|
|
128
|
+
return $io14(input3);
|
|
128
129
|
return false;
|
|
129
130
|
})();
|
|
130
131
|
const $iu2 = (input3) => (() => {
|
|
131
132
|
if (true === input3.startunbounded)
|
|
132
|
-
return $
|
|
133
|
+
return $io21(input3);
|
|
133
134
|
if (true === input3.stopunbounded)
|
|
134
|
-
return $
|
|
135
|
+
return $io23(input3);
|
|
135
136
|
if (void 0 !== input3.value)
|
|
136
|
-
return $
|
|
137
|
-
return $
|
|
137
|
+
return $io34(input3);
|
|
138
|
+
return $io22(input3);
|
|
138
139
|
})();
|
|
139
140
|
const $iu3 = (input3) => (() => {
|
|
140
141
|
if ("gene" === input3.kind)
|
|
141
|
-
return $io42(input3);
|
|
142
|
-
if ("coord" === input3.kind)
|
|
143
142
|
return $io43(input3);
|
|
143
|
+
if ("coord" === input3.kind)
|
|
144
|
+
return $io44(input3);
|
|
144
145
|
return false;
|
|
145
146
|
})();
|
|
146
147
|
const $iu4 = (input3) => (() => {
|
|
147
148
|
if (true === input3.startunbounded)
|
|
148
|
-
return $
|
|
149
|
+
return $io21(input3);
|
|
149
150
|
if (true === input3.stopunbounded)
|
|
150
|
-
return $
|
|
151
|
-
return $
|
|
151
|
+
return $io23(input3);
|
|
152
|
+
return $io22(input3);
|
|
152
153
|
})();
|
|
153
154
|
const $iu5 = (input3) => (() => {
|
|
154
155
|
if (void 0 !== input3.ranges)
|
|
155
|
-
return $
|
|
156
|
+
return $io15(input3);
|
|
156
157
|
if (void 0 !== input3.ratio)
|
|
157
|
-
return $
|
|
158
|
+
return $io47(input3);
|
|
158
159
|
return (() => {
|
|
159
|
-
if ($
|
|
160
|
-
return $
|
|
161
|
-
if ($
|
|
162
|
-
return $
|
|
163
|
-
if ($
|
|
164
|
-
return $
|
|
160
|
+
if ($io5(input3))
|
|
161
|
+
return $io5(input3);
|
|
162
|
+
if ($io36(input3))
|
|
163
|
+
return $io36(input3);
|
|
164
|
+
if ($io40(input3))
|
|
165
|
+
return $io40(input3);
|
|
165
166
|
return false;
|
|
166
167
|
})();
|
|
167
168
|
})();
|
|
168
169
|
const $iu6 = (input3) => (() => {
|
|
169
170
|
if ("integer" === input3.type || "float" === input3.type)
|
|
170
|
-
return $
|
|
171
|
+
return $io16(input3);
|
|
171
172
|
if ("metaboliteIntensity" === input3.type)
|
|
172
|
-
return $io26(input3);
|
|
173
|
-
if ("wholeProteomeAbundance" === input3.type)
|
|
174
173
|
return $io27(input3);
|
|
175
|
-
if ("
|
|
174
|
+
if ("wholeProteomeAbundance" === input3.type)
|
|
176
175
|
return $io28(input3);
|
|
177
|
-
if ("
|
|
176
|
+
if ("date" === input3.type)
|
|
178
177
|
return $io29(input3);
|
|
179
|
-
if ("
|
|
178
|
+
if ("ssGSEA" === input3.type)
|
|
180
179
|
return $io30(input3);
|
|
180
|
+
if ("dnaMethylation" === input3.type)
|
|
181
|
+
return $io31(input3);
|
|
181
182
|
return (() => {
|
|
183
|
+
if ($io26(input3))
|
|
184
|
+
return $io26(input3);
|
|
182
185
|
if ($io25(input3))
|
|
183
186
|
return $io25(input3);
|
|
184
|
-
if ($
|
|
185
|
-
return $
|
|
187
|
+
if ($io33(input3))
|
|
188
|
+
return $io33(input3);
|
|
186
189
|
if ($io32(input3))
|
|
187
190
|
return $io32(input3);
|
|
188
|
-
if ($io31(input3))
|
|
189
|
-
return $io31(input3);
|
|
190
191
|
return false;
|
|
191
192
|
})();
|
|
192
193
|
})();
|
|
193
194
|
const $iu7 = (input3) => (() => {
|
|
194
195
|
if ("regular-bin" === input3.type)
|
|
195
|
-
return $
|
|
196
|
+
return $io19(input3);
|
|
196
197
|
if ("custom-bin" === input3.type)
|
|
197
|
-
return $
|
|
198
|
+
return $io24(input3);
|
|
198
199
|
return false;
|
|
199
200
|
})();
|
|
200
201
|
const $iu8 = (input3) => (() => {
|
|
201
202
|
if (true === input3.startunbounded)
|
|
202
|
-
return $io20(input3);
|
|
203
|
-
if (void 0 !== input3.start)
|
|
204
203
|
return $io21(input3);
|
|
204
|
+
if (void 0 !== input3.start)
|
|
205
|
+
return $io22(input3);
|
|
205
206
|
return false;
|
|
206
207
|
})();
|
|
207
208
|
const $iu9 = (input3) => (() => {
|
|
208
209
|
if (void 0 !== input3.stop)
|
|
209
|
-
return $io21(input3);
|
|
210
|
-
if (true === input3.stopunbounded)
|
|
211
210
|
return $io22(input3);
|
|
211
|
+
if (true === input3.stopunbounded)
|
|
212
|
+
return $io23(input3);
|
|
212
213
|
return false;
|
|
213
214
|
})();
|
|
214
215
|
const $iu10 = (input3) => (() => {
|
|
215
216
|
if ("gene" === input3.kind)
|
|
216
|
-
return $
|
|
217
|
+
return $io42(input3);
|
|
217
218
|
if ("coord" === input3.kind)
|
|
218
|
-
return $
|
|
219
|
+
return $io45(input3);
|
|
219
220
|
return false;
|
|
220
221
|
})();
|
|
221
222
|
const $iu11 = (input3) => (() => {
|
|
222
223
|
if ("numeric" === input3.memberType)
|
|
223
|
-
return $
|
|
224
|
+
return $io48(input3);
|
|
224
225
|
if ("categorical" === input3.memberType)
|
|
225
|
-
return $
|
|
226
|
+
return $io52(input3);
|
|
226
227
|
return false;
|
|
227
228
|
})();
|
|
228
229
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -283,11 +284,31 @@ var validTermdbDmrRequest = (input) => {
|
|
|
283
284
|
path: _path2 + ".stop",
|
|
284
285
|
expected: "number",
|
|
285
286
|
value: input3.stop
|
|
287
|
+
}), void 0 === input3.annotations || (Array.isArray(input3.annotations) || $report(_exceptionable2, {
|
|
288
|
+
path: _path2 + ".annotations",
|
|
289
|
+
expected: "(Array<DmrAnnotation> | undefined)",
|
|
290
|
+
value: input3.annotations
|
|
291
|
+
})) && input3.annotations.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
292
|
+
path: _path2 + ".annotations[" + _index3 + "]",
|
|
293
|
+
expected: "DmrAnnotation",
|
|
294
|
+
value: elem
|
|
295
|
+
})) && $vo2(elem, _path2 + ".annotations[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
296
|
+
path: _path2 + ".annotations[" + _index3 + "]",
|
|
297
|
+
expected: "DmrAnnotation",
|
|
298
|
+
value: elem
|
|
299
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
300
|
+
path: _path2 + ".annotations",
|
|
301
|
+
expected: "(Array<DmrAnnotation> | undefined)",
|
|
302
|
+
value: input3.annotations
|
|
303
|
+
}), void 0 === input3.nan_threshold || "number" === typeof input3.nan_threshold || $report(_exceptionable2, {
|
|
304
|
+
path: _path2 + ".nan_threshold",
|
|
305
|
+
expected: "(number | undefined)",
|
|
306
|
+
value: input3.nan_threshold
|
|
286
307
|
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
287
308
|
path: _path2 + ".filter",
|
|
288
309
|
expected: "(Filter | undefined)",
|
|
289
310
|
value: input3.filter
|
|
290
|
-
})) && $
|
|
311
|
+
})) && $vo3(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
291
312
|
path: _path2 + ".filter",
|
|
292
313
|
expected: "(Filter | undefined)",
|
|
293
314
|
value: input3.filter
|
|
@@ -301,7 +322,28 @@ var validTermdbDmrRequest = (input) => {
|
|
|
301
322
|
expected: "string",
|
|
302
323
|
value: input3.sample
|
|
303
324
|
})].every((flag) => flag);
|
|
304
|
-
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["
|
|
325
|
+
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
326
|
+
path: _path2 + ".name",
|
|
327
|
+
expected: "string",
|
|
328
|
+
value: input3.name
|
|
329
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
330
|
+
path: _path2 + ".start",
|
|
331
|
+
expected: "number",
|
|
332
|
+
value: input3.start
|
|
333
|
+
}), "number" === typeof input3.end || $report(_exceptionable2, {
|
|
334
|
+
path: _path2 + ".end",
|
|
335
|
+
expected: "number",
|
|
336
|
+
value: input3.end
|
|
337
|
+
}), void 0 === input3.base_methylation || "number" === typeof input3.base_methylation || $report(_exceptionable2, {
|
|
338
|
+
path: _path2 + ".base_methylation",
|
|
339
|
+
expected: "(number | undefined)",
|
|
340
|
+
value: input3.base_methylation
|
|
341
|
+
}), void 0 === input3.length_scale_bp || "number" === typeof input3.length_scale_bp || $report(_exceptionable2, {
|
|
342
|
+
path: _path2 + ".length_scale_bp",
|
|
343
|
+
expected: "(number | undefined)",
|
|
344
|
+
value: input3.length_scale_bp
|
|
345
|
+
})].every((flag) => flag);
|
|
346
|
+
const $vo3 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
305
347
|
path: _path2 + ".type",
|
|
306
348
|
expected: '"tvslst"',
|
|
307
349
|
value: input3.type
|
|
@@ -321,12 +363,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
321
363
|
path: _path2 + ".lst",
|
|
322
364
|
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
323
365
|
value: input3.lst
|
|
324
|
-
})) && input3.lst.map((elem,
|
|
325
|
-
path: _path2 + ".lst[" +
|
|
366
|
+
})) && input3.lst.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
367
|
+
path: _path2 + ".lst[" + _index4 + "]",
|
|
326
368
|
expected: "(Filter | __type)",
|
|
327
369
|
value: elem
|
|
328
|
-
})) && $vu0(elem, _path2 + ".lst[" +
|
|
329
|
-
path: _path2 + ".lst[" +
|
|
370
|
+
})) && $vu0(elem, _path2 + ".lst[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
371
|
+
path: _path2 + ".lst[" + _index4 + "]",
|
|
330
372
|
expected: "(Filter | __type)",
|
|
331
373
|
value: elem
|
|
332
374
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -338,7 +380,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
338
380
|
expected: "(string | undefined)",
|
|
339
381
|
value: input3.$id
|
|
340
382
|
})].every((flag) => flag);
|
|
341
|
-
const $
|
|
383
|
+
const $vo4 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
342
384
|
path: _path2 + ".type",
|
|
343
385
|
expected: '"tvs"',
|
|
344
386
|
value: input3.type
|
|
@@ -351,7 +393,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
351
393
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
|
|
352
394
|
value: input3.tvs
|
|
353
395
|
})].every((flag) => flag);
|
|
354
|
-
const $
|
|
396
|
+
const $vo5 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
355
397
|
path: _path2 + ".join",
|
|
356
398
|
expected: "(string | undefined)",
|
|
357
399
|
value: input3.join
|
|
@@ -383,7 +425,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
383
425
|
path: _path2 + ".term",
|
|
384
426
|
expected: "CategoricalTerm",
|
|
385
427
|
value: input3.term
|
|
386
|
-
})) && $
|
|
428
|
+
})) && $vo6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
387
429
|
path: _path2 + ".term",
|
|
388
430
|
expected: "CategoricalTerm",
|
|
389
431
|
value: input3.term
|
|
@@ -395,12 +437,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
395
437
|
path: _path2 + ".values",
|
|
396
438
|
expected: "Array<BaseValue>",
|
|
397
439
|
value: input3.values
|
|
398
|
-
})) && input3.values.map((elem,
|
|
399
|
-
path: _path2 + ".values[" +
|
|
440
|
+
})) && input3.values.map((elem, _index5) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
441
|
+
path: _path2 + ".values[" + _index5 + "]",
|
|
400
442
|
expected: "BaseValue",
|
|
401
443
|
value: elem
|
|
402
|
-
})) && $
|
|
403
|
-
path: _path2 + ".values[" +
|
|
444
|
+
})) && $vo8(elem, _path2 + ".values[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
445
|
+
path: _path2 + ".values[" + _index5 + "]",
|
|
404
446
|
expected: "BaseValue",
|
|
405
447
|
value: elem
|
|
406
448
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -412,7 +454,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
412
454
|
expected: "(Set<any> | undefined)",
|
|
413
455
|
value: input3.valueset
|
|
414
456
|
})].every((flag) => flag);
|
|
415
|
-
const $
|
|
457
|
+
const $vo6 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
416
458
|
path: _path2 + ".id",
|
|
417
459
|
expected: "string",
|
|
418
460
|
value: input3.id
|
|
@@ -428,8 +470,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
428
470
|
path: _path2 + ".child_types",
|
|
429
471
|
expected: "(Array<string> | undefined)",
|
|
430
472
|
value: input3.child_types
|
|
431
|
-
})) && input3.child_types.map((elem,
|
|
432
|
-
path: _path2 + ".child_types[" +
|
|
473
|
+
})) && input3.child_types.map((elem, _index6) => "string" === typeof elem || $report(_exceptionable2, {
|
|
474
|
+
path: _path2 + ".child_types[" + _index6 + "]",
|
|
433
475
|
expected: "string",
|
|
434
476
|
value: elem
|
|
435
477
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -444,8 +486,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
444
486
|
path: _path2 + ".included_types",
|
|
445
487
|
expected: "(Array<string> | undefined)",
|
|
446
488
|
value: input3.included_types
|
|
447
|
-
})) && input3.included_types.map((elem,
|
|
448
|
-
path: _path2 + ".included_types[" +
|
|
489
|
+
})) && input3.included_types.map((elem, _index7) => "string" === typeof elem || $report(_exceptionable2, {
|
|
490
|
+
path: _path2 + ".included_types[" + _index7 + "]",
|
|
449
491
|
expected: "string",
|
|
450
492
|
value: elem
|
|
451
493
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -460,7 +502,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
460
502
|
path: _path2 + ".values",
|
|
461
503
|
expected: "(TermValues | undefined)",
|
|
462
504
|
value: input3.values
|
|
463
|
-
})) && $
|
|
505
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
464
506
|
path: _path2 + ".values",
|
|
465
507
|
expected: "(TermValues | undefined)",
|
|
466
508
|
value: input3.values
|
|
@@ -472,7 +514,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
472
514
|
path: _path2 + ".valueConversion",
|
|
473
515
|
expected: "(__type.o1 | undefined)",
|
|
474
516
|
value: input3.valueConversion
|
|
475
|
-
})) && $
|
|
517
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
476
518
|
path: _path2 + ".valueConversion",
|
|
477
519
|
expected: "(__type.o1 | undefined)",
|
|
478
520
|
value: input3.valueConversion
|
|
@@ -480,12 +522,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
480
522
|
path: _path2 + ".groupsetting",
|
|
481
523
|
expected: "TermGroupSetting",
|
|
482
524
|
value: input3.groupsetting
|
|
483
|
-
})) && $
|
|
525
|
+
})) && $vo10(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
484
526
|
path: _path2 + ".groupsetting",
|
|
485
527
|
expected: "TermGroupSetting",
|
|
486
528
|
value: input3.groupsetting
|
|
487
529
|
})].every((flag) => flag);
|
|
488
|
-
const $
|
|
530
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
489
531
|
const value = input3[key];
|
|
490
532
|
if (void 0 === value)
|
|
491
533
|
return true;
|
|
@@ -494,7 +536,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
494
536
|
path: _path2 + $join(key),
|
|
495
537
|
expected: "BaseValue",
|
|
496
538
|
value
|
|
497
|
-
})) && $
|
|
539
|
+
})) && $vo8(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
498
540
|
path: _path2 + $join(key),
|
|
499
541
|
expected: "BaseValue",
|
|
500
542
|
value
|
|
@@ -504,14 +546,14 @@ var validTermdbDmrRequest = (input) => {
|
|
|
504
546
|
path: _path2 + $join(key),
|
|
505
547
|
expected: "BaseValue",
|
|
506
548
|
value
|
|
507
|
-
})) && $
|
|
549
|
+
})) && $vo8(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
508
550
|
path: _path2 + $join(key),
|
|
509
551
|
expected: "BaseValue",
|
|
510
552
|
value
|
|
511
553
|
});
|
|
512
554
|
return true;
|
|
513
555
|
}).every((flag) => flag)].every((flag) => flag);
|
|
514
|
-
const $
|
|
556
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
515
557
|
path: _path2 + ".key",
|
|
516
558
|
expected: "(string | undefined)",
|
|
517
559
|
value: input3.key
|
|
@@ -539,12 +581,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
539
581
|
path: _path2 + ".filter",
|
|
540
582
|
expected: "(Filter | undefined)",
|
|
541
583
|
value: input3.filter
|
|
542
|
-
})) && $
|
|
584
|
+
})) && $vo3(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
543
585
|
path: _path2 + ".filter",
|
|
544
586
|
expected: "(Filter | undefined)",
|
|
545
587
|
value: input3.filter
|
|
546
588
|
})].every((flag) => flag);
|
|
547
|
-
const $
|
|
589
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.fromUnit || $report(_exceptionable2, {
|
|
548
590
|
path: _path2 + ".fromUnit",
|
|
549
591
|
expected: "string",
|
|
550
592
|
value: input3.fromUnit
|
|
@@ -557,7 +599,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
557
599
|
expected: "string",
|
|
558
600
|
value: input3.scaleFactor
|
|
559
601
|
})].every((flag) => flag);
|
|
560
|
-
const $
|
|
602
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
561
603
|
path: _path2 + ".disabled",
|
|
562
604
|
expected: "boolean",
|
|
563
605
|
value: input3.disabled
|
|
@@ -565,12 +607,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
565
607
|
path: _path2 + ".lst",
|
|
566
608
|
expected: "(Array<Groupset> | undefined)",
|
|
567
609
|
value: input3.lst
|
|
568
|
-
})) && input3.lst.map((elem,
|
|
569
|
-
path: _path2 + ".lst[" +
|
|
610
|
+
})) && input3.lst.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
611
|
+
path: _path2 + ".lst[" + _index8 + "]",
|
|
570
612
|
expected: "Groupset",
|
|
571
613
|
value: elem
|
|
572
|
-
})) && $
|
|
573
|
-
path: _path2 + ".lst[" +
|
|
614
|
+
})) && $vo11(elem, _path2 + ".lst[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
615
|
+
path: _path2 + ".lst[" + _index8 + "]",
|
|
574
616
|
expected: "Groupset",
|
|
575
617
|
value: elem
|
|
576
618
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -578,7 +620,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
578
620
|
expected: "(Array<Groupset> | undefined)",
|
|
579
621
|
value: input3.lst
|
|
580
622
|
})].every((flag) => flag);
|
|
581
|
-
const $
|
|
623
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
582
624
|
path: _path2 + ".name",
|
|
583
625
|
expected: "string",
|
|
584
626
|
value: input3.name
|
|
@@ -598,12 +640,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
598
640
|
path: _path2 + ".groups",
|
|
599
641
|
expected: "Array<GroupEntry>",
|
|
600
642
|
value: input3.groups
|
|
601
|
-
})) && input3.groups.map((elem,
|
|
602
|
-
path: _path2 + ".groups[" +
|
|
643
|
+
})) && input3.groups.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
644
|
+
path: _path2 + ".groups[" + _index9 + "]",
|
|
603
645
|
expected: "(FilterGroup | ValuesGroup)",
|
|
604
646
|
value: elem
|
|
605
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
606
|
-
path: _path2 + ".groups[" +
|
|
647
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
648
|
+
path: _path2 + ".groups[" + _index9 + "]",
|
|
607
649
|
expected: "(FilterGroup | ValuesGroup)",
|
|
608
650
|
value: elem
|
|
609
651
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -611,7 +653,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
611
653
|
expected: "Array<GroupEntry>",
|
|
612
654
|
value: input3.groups
|
|
613
655
|
})].every((flag) => flag);
|
|
614
|
-
const $
|
|
656
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
615
657
|
path: _path2 + ".name",
|
|
616
658
|
expected: "string",
|
|
617
659
|
value: input3.name
|
|
@@ -623,12 +665,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
623
665
|
path: _path2 + ".values",
|
|
624
666
|
expected: "Array<__type>",
|
|
625
667
|
value: input3.values
|
|
626
|
-
})) && input3.values.map((elem,
|
|
627
|
-
path: _path2 + ".values[" +
|
|
668
|
+
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
669
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
628
670
|
expected: "__type.o2",
|
|
629
671
|
value: elem
|
|
630
|
-
})) && $
|
|
631
|
-
path: _path2 + ".values[" +
|
|
672
|
+
})) && $vo13(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
673
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
632
674
|
expected: "__type.o2",
|
|
633
675
|
value: elem
|
|
634
676
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -640,7 +682,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
640
682
|
expected: "(boolean | undefined)",
|
|
641
683
|
value: input3.uncomputable
|
|
642
684
|
})].every((flag) => flag);
|
|
643
|
-
const $
|
|
685
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
644
686
|
path: _path2 + ".key",
|
|
645
687
|
expected: "(number | string)",
|
|
646
688
|
value: input3.key
|
|
@@ -649,7 +691,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
649
691
|
expected: "string",
|
|
650
692
|
value: input3.label
|
|
651
693
|
})].every((flag) => flag);
|
|
652
|
-
const $
|
|
694
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
653
695
|
path: _path2 + ".name",
|
|
654
696
|
expected: "string",
|
|
655
697
|
value: input3.name
|
|
@@ -661,7 +703,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
661
703
|
path: _path2 + ".filter",
|
|
662
704
|
expected: "Filter",
|
|
663
705
|
value: input3.filter
|
|
664
|
-
})) && $
|
|
706
|
+
})) && $vo3(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
665
707
|
path: _path2 + ".filter",
|
|
666
708
|
expected: "Filter",
|
|
667
709
|
value: input3.filter
|
|
@@ -670,7 +712,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
670
712
|
expected: "string",
|
|
671
713
|
value: input3.color
|
|
672
714
|
})].every((flag) => flag);
|
|
673
|
-
const $
|
|
715
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
674
716
|
path: _path2 + ".join",
|
|
675
717
|
expected: "(string | undefined)",
|
|
676
718
|
value: input3.join
|
|
@@ -710,12 +752,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
710
752
|
path: _path2 + ".ranges",
|
|
711
753
|
expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
|
|
712
754
|
value: input3.ranges
|
|
713
|
-
})) && input3.ranges.map((elem,
|
|
714
|
-
path: _path2 + ".ranges[" +
|
|
755
|
+
})) && input3.ranges.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
756
|
+
path: _path2 + ".ranges[" + _index11 + "]",
|
|
715
757
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
|
|
716
758
|
value: elem
|
|
717
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
718
|
-
path: _path2 + ".ranges[" +
|
|
759
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
760
|
+
path: _path2 + ".ranges[" + _index11 + "]",
|
|
719
761
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
|
|
720
762
|
value: elem
|
|
721
763
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -726,12 +768,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
726
768
|
path: _path2 + ".values",
|
|
727
769
|
expected: "(Array<__type>.o1 | undefined)",
|
|
728
770
|
value: input3.values
|
|
729
|
-
})) && input3.values.map((elem,
|
|
730
|
-
path: _path2 + ".values[" +
|
|
771
|
+
})) && input3.values.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
772
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
731
773
|
expected: "__type.o5",
|
|
732
774
|
value: elem
|
|
733
|
-
})) && $
|
|
734
|
-
path: _path2 + ".values[" +
|
|
775
|
+
})) && $vo35(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
776
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
735
777
|
expected: "__type.o5",
|
|
736
778
|
value: elem
|
|
737
779
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -739,7 +781,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
739
781
|
expected: "(Array<__type>.o1 | undefined)",
|
|
740
782
|
value: input3.values
|
|
741
783
|
})].every((flag) => flag);
|
|
742
|
-
const $
|
|
784
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
743
785
|
path: _path2 + ".id",
|
|
744
786
|
expected: "string",
|
|
745
787
|
value: input3.id
|
|
@@ -755,8 +797,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
755
797
|
path: _path2 + ".child_types",
|
|
756
798
|
expected: "(Array<string> | undefined)",
|
|
757
799
|
value: input3.child_types
|
|
758
|
-
})) && input3.child_types.map((elem,
|
|
759
|
-
path: _path2 + ".child_types[" +
|
|
800
|
+
})) && input3.child_types.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable2, {
|
|
801
|
+
path: _path2 + ".child_types[" + _index13 + "]",
|
|
760
802
|
expected: "string",
|
|
761
803
|
value: elem
|
|
762
804
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -771,8 +813,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
771
813
|
path: _path2 + ".included_types",
|
|
772
814
|
expected: "(Array<string> | undefined)",
|
|
773
815
|
value: input3.included_types
|
|
774
|
-
})) && input3.included_types.map((elem,
|
|
775
|
-
path: _path2 + ".included_types[" +
|
|
816
|
+
})) && input3.included_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
817
|
+
path: _path2 + ".included_types[" + _index14 + "]",
|
|
776
818
|
expected: "string",
|
|
777
819
|
value: elem
|
|
778
820
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -787,7 +829,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
787
829
|
path: _path2 + ".values",
|
|
788
830
|
expected: "(TermValues | undefined)",
|
|
789
831
|
value: input3.values
|
|
790
|
-
})) && $
|
|
832
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
791
833
|
path: _path2 + ".values",
|
|
792
834
|
expected: "(TermValues | undefined)",
|
|
793
835
|
value: input3.values
|
|
@@ -799,7 +841,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
799
841
|
path: _path2 + ".valueConversion",
|
|
800
842
|
expected: "(__type.o1 | undefined)",
|
|
801
843
|
value: input3.valueConversion
|
|
802
|
-
})) && $
|
|
844
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
803
845
|
path: _path2 + ".valueConversion",
|
|
804
846
|
expected: "(__type.o1 | undefined)",
|
|
805
847
|
value: input3.valueConversion
|
|
@@ -807,7 +849,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
807
849
|
path: _path2 + ".continuousColorScale",
|
|
808
850
|
expected: "(__type.o3 | undefined)",
|
|
809
851
|
value: input3.continuousColorScale
|
|
810
|
-
})) && $
|
|
852
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
811
853
|
path: _path2 + ".continuousColorScale",
|
|
812
854
|
expected: "(__type.o3 | undefined)",
|
|
813
855
|
value: input3.continuousColorScale
|
|
@@ -819,12 +861,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
819
861
|
path: _path2 + ".bins",
|
|
820
862
|
expected: "PresetNumericBins",
|
|
821
863
|
value: input3.bins
|
|
822
|
-
})) && $
|
|
864
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
823
865
|
path: _path2 + ".bins",
|
|
824
866
|
expected: "PresetNumericBins",
|
|
825
867
|
value: input3.bins
|
|
826
868
|
})].every((flag) => flag);
|
|
827
|
-
const $
|
|
869
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
828
870
|
path: _path2 + ".minColor",
|
|
829
871
|
expected: "string",
|
|
830
872
|
value: input3.minColor
|
|
@@ -833,7 +875,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
833
875
|
expected: "string",
|
|
834
876
|
value: input3.maxColor
|
|
835
877
|
})].every((flag) => flag);
|
|
836
|
-
const $
|
|
878
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
837
879
|
path: _path2 + '["default"]',
|
|
838
880
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
839
881
|
value: input3["default"]
|
|
@@ -870,11 +912,11 @@ var validTermdbDmrRequest = (input) => {
|
|
|
870
912
|
expected: "(number | undefined)",
|
|
871
913
|
value: input3.max
|
|
872
914
|
})].every((flag) => flag);
|
|
873
|
-
const $
|
|
915
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
874
916
|
path: _path2 + ".hiddenValues",
|
|
875
917
|
expected: "(HiddenValues | undefined)",
|
|
876
918
|
value: input3.hiddenValues
|
|
877
|
-
})) && $
|
|
919
|
+
})) && $vo20(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
878
920
|
path: _path2 + ".hiddenValues",
|
|
879
921
|
expected: "(HiddenValues | undefined)",
|
|
880
922
|
value: input3.hiddenValues
|
|
@@ -939,7 +981,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
939
981
|
expected: "(boolean | undefined)",
|
|
940
982
|
value: input3.isDummyPreset
|
|
941
983
|
})].every((flag) => flag);
|
|
942
|
-
const $
|
|
984
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
943
985
|
const value = input3[key];
|
|
944
986
|
if (void 0 === value)
|
|
945
987
|
return true;
|
|
@@ -951,7 +993,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
951
993
|
});
|
|
952
994
|
return true;
|
|
953
995
|
}).every((flag) => flag)].every((flag) => flag);
|
|
954
|
-
const $
|
|
996
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
955
997
|
path: _path2 + ".startunbounded",
|
|
956
998
|
expected: "true",
|
|
957
999
|
value: input3.startunbounded
|
|
@@ -980,7 +1022,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
980
1022
|
expected: "(string | undefined)",
|
|
981
1023
|
value: input3.range
|
|
982
1024
|
})].every((flag) => flag);
|
|
983
|
-
const $
|
|
1025
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
984
1026
|
path: _path2 + ".startunbounded",
|
|
985
1027
|
expected: "(false | undefined)",
|
|
986
1028
|
value: input3.startunbounded
|
|
@@ -1013,7 +1055,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1013
1055
|
expected: "(string | undefined)",
|
|
1014
1056
|
value: input3.range
|
|
1015
1057
|
})].every((flag) => flag);
|
|
1016
|
-
const $
|
|
1058
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
1017
1059
|
path: _path2 + ".start",
|
|
1018
1060
|
expected: "number",
|
|
1019
1061
|
value: input3.start
|
|
@@ -1042,11 +1084,11 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1042
1084
|
expected: "(string | undefined)",
|
|
1043
1085
|
value: input3.range
|
|
1044
1086
|
})].every((flag) => flag);
|
|
1045
|
-
const $
|
|
1087
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
1046
1088
|
path: _path2 + ".hiddenValues",
|
|
1047
1089
|
expected: "(HiddenValues | undefined)",
|
|
1048
1090
|
value: input3.hiddenValues
|
|
1049
|
-
})) && $
|
|
1091
|
+
})) && $vo20(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
1050
1092
|
path: _path2 + ".hiddenValues",
|
|
1051
1093
|
expected: "(HiddenValues | undefined)",
|
|
1052
1094
|
value: input3.hiddenValues
|
|
@@ -1088,12 +1130,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1088
1130
|
path: _path2 + ".lst",
|
|
1089
1131
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1090
1132
|
value: input3.lst.slice(1)
|
|
1091
|
-
})) && input3.lst.slice(1).map((elem,
|
|
1092
|
-
path: _path2 + ".lst[" + (1 +
|
|
1133
|
+
})) && input3.lst.slice(1).map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1134
|
+
path: _path2 + ".lst[" + (1 + _index15) + "]",
|
|
1093
1135
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1094
1136
|
value: elem
|
|
1095
|
-
})) && $vu4(elem, _path2 + ".lst[" + (1 +
|
|
1096
|
-
path: _path2 + ".lst[" + (1 +
|
|
1137
|
+
})) && $vu4(elem, _path2 + ".lst[" + (1 + _index15) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1138
|
+
path: _path2 + ".lst[" + (1 + _index15) + "]",
|
|
1097
1139
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1098
1140
|
value: elem
|
|
1099
1141
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1113,7 +1155,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1113
1155
|
expected: "(boolean | undefined)",
|
|
1114
1156
|
value: input3.isDummyPreset
|
|
1115
1157
|
})].every((flag) => flag);
|
|
1116
|
-
const $
|
|
1158
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1117
1159
|
path: _path2 + ".id",
|
|
1118
1160
|
expected: "string",
|
|
1119
1161
|
value: input3.id
|
|
@@ -1129,8 +1171,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1129
1171
|
path: _path2 + ".child_types",
|
|
1130
1172
|
expected: "(Array<string> | undefined)",
|
|
1131
1173
|
value: input3.child_types
|
|
1132
|
-
})) && input3.child_types.map((elem,
|
|
1133
|
-
path: _path2 + ".child_types[" +
|
|
1174
|
+
})) && input3.child_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1175
|
+
path: _path2 + ".child_types[" + _index16 + "]",
|
|
1134
1176
|
expected: "string",
|
|
1135
1177
|
value: elem
|
|
1136
1178
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1145,8 +1187,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1145
1187
|
path: _path2 + ".included_types",
|
|
1146
1188
|
expected: "(Array<string> | undefined)",
|
|
1147
1189
|
value: input3.included_types
|
|
1148
|
-
})) && input3.included_types.map((elem,
|
|
1149
|
-
path: _path2 + ".included_types[" +
|
|
1190
|
+
})) && input3.included_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1191
|
+
path: _path2 + ".included_types[" + _index17 + "]",
|
|
1150
1192
|
expected: "string",
|
|
1151
1193
|
value: elem
|
|
1152
1194
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1161,7 +1203,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1161
1203
|
path: _path2 + ".values",
|
|
1162
1204
|
expected: "(TermValues | undefined)",
|
|
1163
1205
|
value: input3.values
|
|
1164
|
-
})) && $
|
|
1206
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1165
1207
|
path: _path2 + ".values",
|
|
1166
1208
|
expected: "(TermValues | undefined)",
|
|
1167
1209
|
value: input3.values
|
|
@@ -1173,7 +1215,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1173
1215
|
path: _path2 + ".valueConversion",
|
|
1174
1216
|
expected: "(__type.o1 | undefined)",
|
|
1175
1217
|
value: input3.valueConversion
|
|
1176
|
-
})) && $
|
|
1218
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1177
1219
|
path: _path2 + ".valueConversion",
|
|
1178
1220
|
expected: "(__type.o1 | undefined)",
|
|
1179
1221
|
value: input3.valueConversion
|
|
@@ -1181,7 +1223,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1181
1223
|
path: _path2 + ".continuousColorScale",
|
|
1182
1224
|
expected: "(__type.o3 | undefined)",
|
|
1183
1225
|
value: input3.continuousColorScale
|
|
1184
|
-
})) && $
|
|
1226
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1185
1227
|
path: _path2 + ".continuousColorScale",
|
|
1186
1228
|
expected: "(__type.o3 | undefined)",
|
|
1187
1229
|
value: input3.continuousColorScale
|
|
@@ -1193,7 +1235,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1193
1235
|
path: _path2 + ".bins",
|
|
1194
1236
|
expected: "(PresetNumericBins | undefined)",
|
|
1195
1237
|
value: input3.bins
|
|
1196
|
-
})) && $
|
|
1238
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1197
1239
|
path: _path2 + ".bins",
|
|
1198
1240
|
expected: "(PresetNumericBins | undefined)",
|
|
1199
1241
|
value: input3.bins
|
|
@@ -1218,7 +1260,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1218
1260
|
expected: "(number | undefined)",
|
|
1219
1261
|
value: input3.stop
|
|
1220
1262
|
})].every((flag) => flag);
|
|
1221
|
-
const $
|
|
1263
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1222
1264
|
path: _path2 + ".id",
|
|
1223
1265
|
expected: "string",
|
|
1224
1266
|
value: input3.id
|
|
@@ -1234,8 +1276,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1234
1276
|
path: _path2 + ".child_types",
|
|
1235
1277
|
expected: "(Array<string> | undefined)",
|
|
1236
1278
|
value: input3.child_types
|
|
1237
|
-
})) && input3.child_types.map((elem,
|
|
1238
|
-
path: _path2 + ".child_types[" +
|
|
1279
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1280
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
1239
1281
|
expected: "string",
|
|
1240
1282
|
value: elem
|
|
1241
1283
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1250,8 +1292,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1250
1292
|
path: _path2 + ".included_types",
|
|
1251
1293
|
expected: "(Array<string> | undefined)",
|
|
1252
1294
|
value: input3.included_types
|
|
1253
|
-
})) && input3.included_types.map((elem,
|
|
1254
|
-
path: _path2 + ".included_types[" +
|
|
1295
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1296
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1255
1297
|
expected: "string",
|
|
1256
1298
|
value: elem
|
|
1257
1299
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1266,7 +1308,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1266
1308
|
path: _path2 + ".values",
|
|
1267
1309
|
expected: "(TermValues | undefined)",
|
|
1268
1310
|
value: input3.values
|
|
1269
|
-
})) && $
|
|
1311
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1270
1312
|
path: _path2 + ".values",
|
|
1271
1313
|
expected: "(TermValues | undefined)",
|
|
1272
1314
|
value: input3.values
|
|
@@ -1278,7 +1320,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1278
1320
|
path: _path2 + ".valueConversion",
|
|
1279
1321
|
expected: "(__type.o1 | undefined)",
|
|
1280
1322
|
value: input3.valueConversion
|
|
1281
|
-
})) && $
|
|
1323
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1282
1324
|
path: _path2 + ".valueConversion",
|
|
1283
1325
|
expected: "(__type.o1 | undefined)",
|
|
1284
1326
|
value: input3.valueConversion
|
|
@@ -1286,7 +1328,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1286
1328
|
path: _path2 + ".continuousColorScale",
|
|
1287
1329
|
expected: "(__type.o3 | undefined)",
|
|
1288
1330
|
value: input3.continuousColorScale
|
|
1289
|
-
})) && $
|
|
1331
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1290
1332
|
path: _path2 + ".continuousColorScale",
|
|
1291
1333
|
expected: "(__type.o3 | undefined)",
|
|
1292
1334
|
value: input3.continuousColorScale
|
|
@@ -1298,7 +1340,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1298
1340
|
path: _path2 + ".bins",
|
|
1299
1341
|
expected: "(PresetNumericBins | undefined)",
|
|
1300
1342
|
value: input3.bins
|
|
1301
|
-
})) && $
|
|
1343
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1302
1344
|
path: _path2 + ".bins",
|
|
1303
1345
|
expected: "(PresetNumericBins | undefined)",
|
|
1304
1346
|
value: input3.bins
|
|
@@ -1323,7 +1365,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1323
1365
|
expected: "number",
|
|
1324
1366
|
value: input3.stop
|
|
1325
1367
|
})].every((flag) => flag);
|
|
1326
|
-
const $
|
|
1368
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1327
1369
|
path: _path2 + ".id",
|
|
1328
1370
|
expected: "string",
|
|
1329
1371
|
value: input3.id
|
|
@@ -1339,8 +1381,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1339
1381
|
path: _path2 + ".child_types",
|
|
1340
1382
|
expected: "(Array<string> | undefined)",
|
|
1341
1383
|
value: input3.child_types
|
|
1342
|
-
})) && input3.child_types.map((elem,
|
|
1343
|
-
path: _path2 + ".child_types[" +
|
|
1384
|
+
})) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1385
|
+
path: _path2 + ".child_types[" + _index20 + "]",
|
|
1344
1386
|
expected: "string",
|
|
1345
1387
|
value: elem
|
|
1346
1388
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1355,8 +1397,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1355
1397
|
path: _path2 + ".included_types",
|
|
1356
1398
|
expected: "(Array<string> | undefined)",
|
|
1357
1399
|
value: input3.included_types
|
|
1358
|
-
})) && input3.included_types.map((elem,
|
|
1359
|
-
path: _path2 + ".included_types[" +
|
|
1400
|
+
})) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1401
|
+
path: _path2 + ".included_types[" + _index21 + "]",
|
|
1360
1402
|
expected: "string",
|
|
1361
1403
|
value: elem
|
|
1362
1404
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1371,7 +1413,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1371
1413
|
path: _path2 + ".values",
|
|
1372
1414
|
expected: "(TermValues | undefined)",
|
|
1373
1415
|
value: input3.values
|
|
1374
|
-
})) && $
|
|
1416
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1375
1417
|
path: _path2 + ".values",
|
|
1376
1418
|
expected: "(TermValues | undefined)",
|
|
1377
1419
|
value: input3.values
|
|
@@ -1383,7 +1425,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1383
1425
|
path: _path2 + ".valueConversion",
|
|
1384
1426
|
expected: "(__type.o1 | undefined)",
|
|
1385
1427
|
value: input3.valueConversion
|
|
1386
|
-
})) && $
|
|
1428
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1387
1429
|
path: _path2 + ".valueConversion",
|
|
1388
1430
|
expected: "(__type.o1 | undefined)",
|
|
1389
1431
|
value: input3.valueConversion
|
|
@@ -1391,7 +1433,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1391
1433
|
path: _path2 + ".continuousColorScale",
|
|
1392
1434
|
expected: "(__type.o3 | undefined)",
|
|
1393
1435
|
value: input3.continuousColorScale
|
|
1394
|
-
})) && $
|
|
1436
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1395
1437
|
path: _path2 + ".continuousColorScale",
|
|
1396
1438
|
expected: "(__type.o3 | undefined)",
|
|
1397
1439
|
value: input3.continuousColorScale
|
|
@@ -1407,12 +1449,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1407
1449
|
path: _path2 + ".bins",
|
|
1408
1450
|
expected: "(PresetNumericBins | undefined)",
|
|
1409
1451
|
value: input3.bins
|
|
1410
|
-
})) && $
|
|
1452
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1411
1453
|
path: _path2 + ".bins",
|
|
1412
1454
|
expected: "(PresetNumericBins | undefined)",
|
|
1413
1455
|
value: input3.bins
|
|
1414
1456
|
})].every((flag) => flag);
|
|
1415
|
-
const $
|
|
1457
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1416
1458
|
path: _path2 + ".id",
|
|
1417
1459
|
expected: "string",
|
|
1418
1460
|
value: input3.id
|
|
@@ -1428,8 +1470,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1428
1470
|
path: _path2 + ".child_types",
|
|
1429
1471
|
expected: "(Array<string> | undefined)",
|
|
1430
1472
|
value: input3.child_types
|
|
1431
|
-
})) && input3.child_types.map((elem,
|
|
1432
|
-
path: _path2 + ".child_types[" +
|
|
1473
|
+
})) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1474
|
+
path: _path2 + ".child_types[" + _index22 + "]",
|
|
1433
1475
|
expected: "string",
|
|
1434
1476
|
value: elem
|
|
1435
1477
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1444,8 +1486,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1444
1486
|
path: _path2 + ".included_types",
|
|
1445
1487
|
expected: "(Array<string> | undefined)",
|
|
1446
1488
|
value: input3.included_types
|
|
1447
|
-
})) && input3.included_types.map((elem,
|
|
1448
|
-
path: _path2 + ".included_types[" +
|
|
1489
|
+
})) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1490
|
+
path: _path2 + ".included_types[" + _index23 + "]",
|
|
1449
1491
|
expected: "string",
|
|
1450
1492
|
value: elem
|
|
1451
1493
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1460,7 +1502,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1460
1502
|
path: _path2 + ".values",
|
|
1461
1503
|
expected: "(TermValues | undefined)",
|
|
1462
1504
|
value: input3.values
|
|
1463
|
-
})) && $
|
|
1505
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1464
1506
|
path: _path2 + ".values",
|
|
1465
1507
|
expected: "(TermValues | undefined)",
|
|
1466
1508
|
value: input3.values
|
|
@@ -1472,7 +1514,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1472
1514
|
path: _path2 + ".valueConversion",
|
|
1473
1515
|
expected: "(__type.o1 | undefined)",
|
|
1474
1516
|
value: input3.valueConversion
|
|
1475
|
-
})) && $
|
|
1517
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1476
1518
|
path: _path2 + ".valueConversion",
|
|
1477
1519
|
expected: "(__type.o1 | undefined)",
|
|
1478
1520
|
value: input3.valueConversion
|
|
@@ -1480,7 +1522,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1480
1522
|
path: _path2 + ".continuousColorScale",
|
|
1481
1523
|
expected: "(__type.o3 | undefined)",
|
|
1482
1524
|
value: input3.continuousColorScale
|
|
1483
|
-
})) && $
|
|
1525
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1484
1526
|
path: _path2 + ".continuousColorScale",
|
|
1485
1527
|
expected: "(__type.o3 | undefined)",
|
|
1486
1528
|
value: input3.continuousColorScale
|
|
@@ -1496,12 +1538,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1496
1538
|
path: _path2 + ".bins",
|
|
1497
1539
|
expected: "(PresetNumericBins | undefined)",
|
|
1498
1540
|
value: input3.bins
|
|
1499
|
-
})) && $
|
|
1541
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1500
1542
|
path: _path2 + ".bins",
|
|
1501
1543
|
expected: "(PresetNumericBins | undefined)",
|
|
1502
1544
|
value: input3.bins
|
|
1503
1545
|
})].every((flag) => flag);
|
|
1504
|
-
const $
|
|
1546
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1505
1547
|
path: _path2 + ".id",
|
|
1506
1548
|
expected: "string",
|
|
1507
1549
|
value: input3.id
|
|
@@ -1517,8 +1559,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1517
1559
|
path: _path2 + ".child_types",
|
|
1518
1560
|
expected: "(Array<string> | undefined)",
|
|
1519
1561
|
value: input3.child_types
|
|
1520
|
-
})) && input3.child_types.map((elem,
|
|
1521
|
-
path: _path2 + ".child_types[" +
|
|
1562
|
+
})) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1563
|
+
path: _path2 + ".child_types[" + _index24 + "]",
|
|
1522
1564
|
expected: "string",
|
|
1523
1565
|
value: elem
|
|
1524
1566
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1533,8 +1575,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1533
1575
|
path: _path2 + ".included_types",
|
|
1534
1576
|
expected: "(Array<string> | undefined)",
|
|
1535
1577
|
value: input3.included_types
|
|
1536
|
-
})) && input3.included_types.map((elem,
|
|
1537
|
-
path: _path2 + ".included_types[" +
|
|
1578
|
+
})) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1579
|
+
path: _path2 + ".included_types[" + _index25 + "]",
|
|
1538
1580
|
expected: "string",
|
|
1539
1581
|
value: elem
|
|
1540
1582
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1549,7 +1591,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1549
1591
|
path: _path2 + ".values",
|
|
1550
1592
|
expected: "(TermValues | undefined)",
|
|
1551
1593
|
value: input3.values
|
|
1552
|
-
})) && $
|
|
1594
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1553
1595
|
path: _path2 + ".values",
|
|
1554
1596
|
expected: "(TermValues | undefined)",
|
|
1555
1597
|
value: input3.values
|
|
@@ -1561,7 +1603,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1561
1603
|
path: _path2 + ".valueConversion",
|
|
1562
1604
|
expected: "(__type.o1 | undefined)",
|
|
1563
1605
|
value: input3.valueConversion
|
|
1564
|
-
})) && $
|
|
1606
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1565
1607
|
path: _path2 + ".valueConversion",
|
|
1566
1608
|
expected: "(__type.o1 | undefined)",
|
|
1567
1609
|
value: input3.valueConversion
|
|
@@ -1569,7 +1611,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1569
1611
|
path: _path2 + ".continuousColorScale",
|
|
1570
1612
|
expected: "(__type.o3 | undefined)",
|
|
1571
1613
|
value: input3.continuousColorScale
|
|
1572
|
-
})) && $
|
|
1614
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1573
1615
|
path: _path2 + ".continuousColorScale",
|
|
1574
1616
|
expected: "(__type.o3 | undefined)",
|
|
1575
1617
|
value: input3.continuousColorScale
|
|
@@ -1581,12 +1623,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1581
1623
|
path: _path2 + ".bins",
|
|
1582
1624
|
expected: "(PresetNumericBins | undefined)",
|
|
1583
1625
|
value: input3.bins
|
|
1584
|
-
})) && $
|
|
1626
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1585
1627
|
path: _path2 + ".bins",
|
|
1586
1628
|
expected: "(PresetNumericBins | undefined)",
|
|
1587
1629
|
value: input3.bins
|
|
1588
1630
|
})].every((flag) => flag);
|
|
1589
|
-
const $
|
|
1631
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1590
1632
|
path: _path2 + ".id",
|
|
1591
1633
|
expected: "string",
|
|
1592
1634
|
value: input3.id
|
|
@@ -1602,8 +1644,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1602
1644
|
path: _path2 + ".child_types",
|
|
1603
1645
|
expected: "(Array<string> | undefined)",
|
|
1604
1646
|
value: input3.child_types
|
|
1605
|
-
})) && input3.child_types.map((elem,
|
|
1606
|
-
path: _path2 + ".child_types[" +
|
|
1647
|
+
})) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1648
|
+
path: _path2 + ".child_types[" + _index26 + "]",
|
|
1607
1649
|
expected: "string",
|
|
1608
1650
|
value: elem
|
|
1609
1651
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1618,8 +1660,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1618
1660
|
path: _path2 + ".included_types",
|
|
1619
1661
|
expected: "(Array<string> | undefined)",
|
|
1620
1662
|
value: input3.included_types
|
|
1621
|
-
})) && input3.included_types.map((elem,
|
|
1622
|
-
path: _path2 + ".included_types[" +
|
|
1663
|
+
})) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1664
|
+
path: _path2 + ".included_types[" + _index27 + "]",
|
|
1623
1665
|
expected: "string",
|
|
1624
1666
|
value: elem
|
|
1625
1667
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1634,7 +1676,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1634
1676
|
path: _path2 + ".values",
|
|
1635
1677
|
expected: "(TermValues | undefined)",
|
|
1636
1678
|
value: input3.values
|
|
1637
|
-
})) && $
|
|
1679
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1638
1680
|
path: _path2 + ".values",
|
|
1639
1681
|
expected: "(TermValues | undefined)",
|
|
1640
1682
|
value: input3.values
|
|
@@ -1646,7 +1688,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1646
1688
|
path: _path2 + ".valueConversion",
|
|
1647
1689
|
expected: "(__type.o1 | undefined)",
|
|
1648
1690
|
value: input3.valueConversion
|
|
1649
|
-
})) && $
|
|
1691
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1650
1692
|
path: _path2 + ".valueConversion",
|
|
1651
1693
|
expected: "(__type.o1 | undefined)",
|
|
1652
1694
|
value: input3.valueConversion
|
|
@@ -1654,7 +1696,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1654
1696
|
path: _path2 + ".continuousColorScale",
|
|
1655
1697
|
expected: "(__type.o3 | undefined)",
|
|
1656
1698
|
value: input3.continuousColorScale
|
|
1657
|
-
})) && $
|
|
1699
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1658
1700
|
path: _path2 + ".continuousColorScale",
|
|
1659
1701
|
expected: "(__type.o3 | undefined)",
|
|
1660
1702
|
value: input3.continuousColorScale
|
|
@@ -1666,8 +1708,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1666
1708
|
path: _path2 + ".genes",
|
|
1667
1709
|
expected: "(Array<string> | undefined)",
|
|
1668
1710
|
value: input3.genes
|
|
1669
|
-
})) && input3.genes.map((elem,
|
|
1670
|
-
path: _path2 + ".genes[" +
|
|
1711
|
+
})) && input3.genes.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1712
|
+
path: _path2 + ".genes[" + _index28 + "]",
|
|
1671
1713
|
expected: "string",
|
|
1672
1714
|
value: elem
|
|
1673
1715
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1678,12 +1720,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1678
1720
|
path: _path2 + ".bins",
|
|
1679
1721
|
expected: "(PresetNumericBins | undefined)",
|
|
1680
1722
|
value: input3.bins
|
|
1681
|
-
})) && $
|
|
1723
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1682
1724
|
path: _path2 + ".bins",
|
|
1683
1725
|
expected: "(PresetNumericBins | undefined)",
|
|
1684
1726
|
value: input3.bins
|
|
1685
1727
|
})].every((flag) => flag);
|
|
1686
|
-
const $
|
|
1728
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1687
1729
|
path: _path2 + ".id",
|
|
1688
1730
|
expected: "string",
|
|
1689
1731
|
value: input3.id
|
|
@@ -1699,8 +1741,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1699
1741
|
path: _path2 + ".child_types",
|
|
1700
1742
|
expected: "(Array<string> | undefined)",
|
|
1701
1743
|
value: input3.child_types
|
|
1702
|
-
})) && input3.child_types.map((elem,
|
|
1703
|
-
path: _path2 + ".child_types[" +
|
|
1744
|
+
})) && input3.child_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1745
|
+
path: _path2 + ".child_types[" + _index29 + "]",
|
|
1704
1746
|
expected: "string",
|
|
1705
1747
|
value: elem
|
|
1706
1748
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1715,8 +1757,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1715
1757
|
path: _path2 + ".included_types",
|
|
1716
1758
|
expected: "(Array<string> | undefined)",
|
|
1717
1759
|
value: input3.included_types
|
|
1718
|
-
})) && input3.included_types.map((elem,
|
|
1719
|
-
path: _path2 + ".included_types[" +
|
|
1760
|
+
})) && input3.included_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1761
|
+
path: _path2 + ".included_types[" + _index30 + "]",
|
|
1720
1762
|
expected: "string",
|
|
1721
1763
|
value: elem
|
|
1722
1764
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1731,7 +1773,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1731
1773
|
path: _path2 + ".values",
|
|
1732
1774
|
expected: "(TermValues | undefined)",
|
|
1733
1775
|
value: input3.values
|
|
1734
|
-
})) && $
|
|
1776
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1735
1777
|
path: _path2 + ".values",
|
|
1736
1778
|
expected: "(TermValues | undefined)",
|
|
1737
1779
|
value: input3.values
|
|
@@ -1743,7 +1785,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1743
1785
|
path: _path2 + ".valueConversion",
|
|
1744
1786
|
expected: "(__type.o1 | undefined)",
|
|
1745
1787
|
value: input3.valueConversion
|
|
1746
|
-
})) && $
|
|
1788
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1747
1789
|
path: _path2 + ".valueConversion",
|
|
1748
1790
|
expected: "(__type.o1 | undefined)",
|
|
1749
1791
|
value: input3.valueConversion
|
|
@@ -1751,7 +1793,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1751
1793
|
path: _path2 + ".continuousColorScale",
|
|
1752
1794
|
expected: "(__type.o3 | undefined)",
|
|
1753
1795
|
value: input3.continuousColorScale
|
|
1754
|
-
})) && $
|
|
1796
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1755
1797
|
path: _path2 + ".continuousColorScale",
|
|
1756
1798
|
expected: "(__type.o3 | undefined)",
|
|
1757
1799
|
value: input3.continuousColorScale
|
|
@@ -1775,12 +1817,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1775
1817
|
path: _path2 + ".bins",
|
|
1776
1818
|
expected: "(PresetNumericBins | undefined)",
|
|
1777
1819
|
value: input3.bins
|
|
1778
|
-
})) && $
|
|
1820
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1779
1821
|
path: _path2 + ".bins",
|
|
1780
1822
|
expected: "(PresetNumericBins | undefined)",
|
|
1781
1823
|
value: input3.bins
|
|
1782
1824
|
})].every((flag) => flag);
|
|
1783
|
-
const $
|
|
1825
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1784
1826
|
path: _path2 + ".id",
|
|
1785
1827
|
expected: "string",
|
|
1786
1828
|
value: input3.id
|
|
@@ -1796,8 +1838,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1796
1838
|
path: _path2 + ".child_types",
|
|
1797
1839
|
expected: "(Array<string> | undefined)",
|
|
1798
1840
|
value: input3.child_types
|
|
1799
|
-
})) && input3.child_types.map((elem,
|
|
1800
|
-
path: _path2 + ".child_types[" +
|
|
1841
|
+
})) && input3.child_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1842
|
+
path: _path2 + ".child_types[" + _index31 + "]",
|
|
1801
1843
|
expected: "string",
|
|
1802
1844
|
value: elem
|
|
1803
1845
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1812,8 +1854,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1812
1854
|
path: _path2 + ".included_types",
|
|
1813
1855
|
expected: "(Array<string> | undefined)",
|
|
1814
1856
|
value: input3.included_types
|
|
1815
|
-
})) && input3.included_types.map((elem,
|
|
1816
|
-
path: _path2 + ".included_types[" +
|
|
1857
|
+
})) && input3.included_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1858
|
+
path: _path2 + ".included_types[" + _index32 + "]",
|
|
1817
1859
|
expected: "string",
|
|
1818
1860
|
value: elem
|
|
1819
1861
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1828,7 +1870,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1828
1870
|
path: _path2 + ".values",
|
|
1829
1871
|
expected: "(TermValues | undefined)",
|
|
1830
1872
|
value: input3.values
|
|
1831
|
-
})) && $
|
|
1873
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1832
1874
|
path: _path2 + ".values",
|
|
1833
1875
|
expected: "(TermValues | undefined)",
|
|
1834
1876
|
value: input3.values
|
|
@@ -1840,7 +1882,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1840
1882
|
path: _path2 + ".valueConversion",
|
|
1841
1883
|
expected: "(__type.o1 | undefined)",
|
|
1842
1884
|
value: input3.valueConversion
|
|
1843
|
-
})) && $
|
|
1885
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1844
1886
|
path: _path2 + ".valueConversion",
|
|
1845
1887
|
expected: "(__type.o1 | undefined)",
|
|
1846
1888
|
value: input3.valueConversion
|
|
@@ -1848,7 +1890,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1848
1890
|
path: _path2 + ".continuousColorScale",
|
|
1849
1891
|
expected: "(__type.o3 | undefined)",
|
|
1850
1892
|
value: input3.continuousColorScale
|
|
1851
|
-
})) && $
|
|
1893
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1852
1894
|
path: _path2 + ".continuousColorScale",
|
|
1853
1895
|
expected: "(__type.o3 | undefined)",
|
|
1854
1896
|
value: input3.continuousColorScale
|
|
@@ -1868,7 +1910,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1868
1910
|
path: _path2 + ".bins",
|
|
1869
1911
|
expected: "(PresetNumericBins | undefined)",
|
|
1870
1912
|
value: input3.bins
|
|
1871
|
-
})) && $
|
|
1913
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1872
1914
|
path: _path2 + ".bins",
|
|
1873
1915
|
expected: "(PresetNumericBins | undefined)",
|
|
1874
1916
|
value: input3.bins
|
|
@@ -1889,7 +1931,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1889
1931
|
expected: "(number | undefined)",
|
|
1890
1932
|
value: input3.stop
|
|
1891
1933
|
})].every((flag) => flag);
|
|
1892
|
-
const $
|
|
1934
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1893
1935
|
path: _path2 + ".id",
|
|
1894
1936
|
expected: "string",
|
|
1895
1937
|
value: input3.id
|
|
@@ -1905,8 +1947,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1905
1947
|
path: _path2 + ".child_types",
|
|
1906
1948
|
expected: "(Array<string> | undefined)",
|
|
1907
1949
|
value: input3.child_types
|
|
1908
|
-
})) && input3.child_types.map((elem,
|
|
1909
|
-
path: _path2 + ".child_types[" +
|
|
1950
|
+
})) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1951
|
+
path: _path2 + ".child_types[" + _index33 + "]",
|
|
1910
1952
|
expected: "string",
|
|
1911
1953
|
value: elem
|
|
1912
1954
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1921,8 +1963,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1921
1963
|
path: _path2 + ".included_types",
|
|
1922
1964
|
expected: "(Array<string> | undefined)",
|
|
1923
1965
|
value: input3.included_types
|
|
1924
|
-
})) && input3.included_types.map((elem,
|
|
1925
|
-
path: _path2 + ".included_types[" +
|
|
1966
|
+
})) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1967
|
+
path: _path2 + ".included_types[" + _index34 + "]",
|
|
1926
1968
|
expected: "string",
|
|
1927
1969
|
value: elem
|
|
1928
1970
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1937,7 +1979,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1937
1979
|
path: _path2 + ".values",
|
|
1938
1980
|
expected: "(TermValues | undefined)",
|
|
1939
1981
|
value: input3.values
|
|
1940
|
-
})) && $
|
|
1982
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1941
1983
|
path: _path2 + ".values",
|
|
1942
1984
|
expected: "(TermValues | undefined)",
|
|
1943
1985
|
value: input3.values
|
|
@@ -1949,7 +1991,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1949
1991
|
path: _path2 + ".valueConversion",
|
|
1950
1992
|
expected: "(__type.o1 | undefined)",
|
|
1951
1993
|
value: input3.valueConversion
|
|
1952
|
-
})) && $
|
|
1994
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1953
1995
|
path: _path2 + ".valueConversion",
|
|
1954
1996
|
expected: "(__type.o1 | undefined)",
|
|
1955
1997
|
value: input3.valueConversion
|
|
@@ -1957,7 +1999,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1957
1999
|
path: _path2 + ".continuousColorScale",
|
|
1958
2000
|
expected: "(__type.o3 | undefined)",
|
|
1959
2001
|
value: input3.continuousColorScale
|
|
1960
|
-
})) && $
|
|
2002
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1961
2003
|
path: _path2 + ".continuousColorScale",
|
|
1962
2004
|
expected: "(__type.o3 | undefined)",
|
|
1963
2005
|
value: input3.continuousColorScale
|
|
@@ -1977,7 +2019,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1977
2019
|
path: _path2 + ".bins",
|
|
1978
2020
|
expected: "(PresetNumericBins | undefined)",
|
|
1979
2021
|
value: input3.bins
|
|
1980
|
-
})) && $
|
|
2022
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1981
2023
|
path: _path2 + ".bins",
|
|
1982
2024
|
expected: "(PresetNumericBins | undefined)",
|
|
1983
2025
|
value: input3.bins
|
|
@@ -1998,7 +2040,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1998
2040
|
expected: "number",
|
|
1999
2041
|
value: input3.stop
|
|
2000
2042
|
})].every((flag) => flag);
|
|
2001
|
-
const $
|
|
2043
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
|
|
2002
2044
|
path: _path2 + ".value",
|
|
2003
2045
|
expected: "number",
|
|
2004
2046
|
value: input3.value
|
|
@@ -2011,7 +2053,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2011
2053
|
expected: "(string | undefined)",
|
|
2012
2054
|
value: input3.name
|
|
2013
2055
|
})].every((flag) => flag);
|
|
2014
|
-
const $
|
|
2056
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2015
2057
|
path: _path2 + ".key",
|
|
2016
2058
|
expected: "string",
|
|
2017
2059
|
value: input3.key
|
|
@@ -2028,7 +2070,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2028
2070
|
expected: "(string | undefined)",
|
|
2029
2071
|
value: input3.label
|
|
2030
2072
|
})].every((flag) => flag);
|
|
2031
|
-
const $
|
|
2073
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2032
2074
|
path: _path2 + ".join",
|
|
2033
2075
|
expected: "(string | undefined)",
|
|
2034
2076
|
value: input3.join
|
|
@@ -2060,7 +2102,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2060
2102
|
path: _path2 + ".term",
|
|
2061
2103
|
expected: "ConditionTerm",
|
|
2062
2104
|
value: input3.term
|
|
2063
|
-
})) && $
|
|
2105
|
+
})) && $vo37(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2064
2106
|
path: _path2 + ".term",
|
|
2065
2107
|
expected: "ConditionTerm",
|
|
2066
2108
|
value: input3.term
|
|
@@ -2068,12 +2110,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2068
2110
|
path: _path2 + ".grade_and_child",
|
|
2069
2111
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2070
2112
|
value: input3.grade_and_child
|
|
2071
|
-
})) && input3.grade_and_child.map((elem,
|
|
2072
|
-
path: _path2 + ".grade_and_child[" +
|
|
2113
|
+
})) && input3.grade_and_child.map((elem, _index35) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2114
|
+
path: _path2 + ".grade_and_child[" + _index35 + "]",
|
|
2073
2115
|
expected: "GradeAndChildEntry",
|
|
2074
2116
|
value: elem
|
|
2075
|
-
})) && $
|
|
2076
|
-
path: _path2 + ".grade_and_child[" +
|
|
2117
|
+
})) && $vo38(elem, _path2 + ".grade_and_child[" + _index35 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2118
|
+
path: _path2 + ".grade_and_child[" + _index35 + "]",
|
|
2077
2119
|
expected: "GradeAndChildEntry",
|
|
2078
2120
|
value: elem
|
|
2079
2121
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2084,12 +2126,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2084
2126
|
path: _path2 + ".values",
|
|
2085
2127
|
expected: "Array<__type>.o2",
|
|
2086
2128
|
value: input3.values
|
|
2087
|
-
})) && input3.values.map((elem,
|
|
2088
|
-
path: _path2 + ".values[" +
|
|
2129
|
+
})) && input3.values.map((elem, _index36) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2130
|
+
path: _path2 + ".values[" + _index36 + "]",
|
|
2089
2131
|
expected: "__type.o6",
|
|
2090
2132
|
value: elem
|
|
2091
|
-
})) && $
|
|
2092
|
-
path: _path2 + ".values[" +
|
|
2133
|
+
})) && $vo39(elem, _path2 + ".values[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2134
|
+
path: _path2 + ".values[" + _index36 + "]",
|
|
2093
2135
|
expected: "__type.o6",
|
|
2094
2136
|
value: elem
|
|
2095
2137
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2097,7 +2139,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2097
2139
|
expected: "Array<__type>.o2",
|
|
2098
2140
|
value: input3.values
|
|
2099
2141
|
})].every((flag) => flag);
|
|
2100
|
-
const $
|
|
2142
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2101
2143
|
path: _path2 + ".id",
|
|
2102
2144
|
expected: "string",
|
|
2103
2145
|
value: input3.id
|
|
@@ -2113,8 +2155,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2113
2155
|
path: _path2 + ".child_types",
|
|
2114
2156
|
expected: "(Array<string> | undefined)",
|
|
2115
2157
|
value: input3.child_types
|
|
2116
|
-
})) && input3.child_types.map((elem,
|
|
2117
|
-
path: _path2 + ".child_types[" +
|
|
2158
|
+
})) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2159
|
+
path: _path2 + ".child_types[" + _index37 + "]",
|
|
2118
2160
|
expected: "string",
|
|
2119
2161
|
value: elem
|
|
2120
2162
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2129,8 +2171,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2129
2171
|
path: _path2 + ".included_types",
|
|
2130
2172
|
expected: "(Array<string> | undefined)",
|
|
2131
2173
|
value: input3.included_types
|
|
2132
|
-
})) && input3.included_types.map((elem,
|
|
2133
|
-
path: _path2 + ".included_types[" +
|
|
2174
|
+
})) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2175
|
+
path: _path2 + ".included_types[" + _index38 + "]",
|
|
2134
2176
|
expected: "string",
|
|
2135
2177
|
value: elem
|
|
2136
2178
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2145,7 +2187,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2145
2187
|
path: _path2 + ".values",
|
|
2146
2188
|
expected: "(TermValues | undefined)",
|
|
2147
2189
|
value: input3.values
|
|
2148
|
-
})) && $
|
|
2190
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2149
2191
|
path: _path2 + ".values",
|
|
2150
2192
|
expected: "(TermValues | undefined)",
|
|
2151
2193
|
value: input3.values
|
|
@@ -2157,12 +2199,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2157
2199
|
path: _path2 + ".valueConversion",
|
|
2158
2200
|
expected: "(__type.o1 | undefined)",
|
|
2159
2201
|
value: input3.valueConversion
|
|
2160
|
-
})) && $
|
|
2202
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2161
2203
|
path: _path2 + ".valueConversion",
|
|
2162
2204
|
expected: "(__type.o1 | undefined)",
|
|
2163
2205
|
value: input3.valueConversion
|
|
2164
2206
|
})].every((flag) => flag);
|
|
2165
|
-
const $
|
|
2207
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
2166
2208
|
path: _path2 + ".grade",
|
|
2167
2209
|
expected: "number",
|
|
2168
2210
|
value: input3.grade
|
|
@@ -2179,7 +2221,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2179
2221
|
expected: "string",
|
|
2180
2222
|
value: input3.child_label
|
|
2181
2223
|
})].every((flag) => flag);
|
|
2182
|
-
const $
|
|
2224
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
2183
2225
|
path: _path2 + ".key",
|
|
2184
2226
|
expected: "(number | string)",
|
|
2185
2227
|
value: input3.key
|
|
@@ -2197,7 +2239,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2197
2239
|
return true;
|
|
2198
2240
|
return true;
|
|
2199
2241
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2200
|
-
const $
|
|
2242
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2201
2243
|
path: _path2 + ".join",
|
|
2202
2244
|
expected: "(string | undefined)",
|
|
2203
2245
|
value: input3.join
|
|
@@ -2229,7 +2271,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2229
2271
|
path: _path2 + ".term",
|
|
2230
2272
|
expected: "DtTerm",
|
|
2231
2273
|
value: input3.term
|
|
2232
|
-
})) && $
|
|
2274
|
+
})) && $vo41(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2233
2275
|
path: _path2 + ".term",
|
|
2234
2276
|
expected: "DtTerm",
|
|
2235
2277
|
value: input3.term
|
|
@@ -2237,12 +2279,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2237
2279
|
path: _path2 + ".values",
|
|
2238
2280
|
expected: "Array<GeneVariantValue>",
|
|
2239
2281
|
value: input3.values
|
|
2240
|
-
})) && input3.values.map((elem,
|
|
2241
|
-
path: _path2 + ".values[" +
|
|
2282
|
+
})) && input3.values.map((elem, _index39) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
2283
|
+
path: _path2 + ".values[" + _index39 + "]",
|
|
2242
2284
|
expected: "GeneVariantValue",
|
|
2243
2285
|
value: elem
|
|
2244
|
-
})) && $
|
|
2245
|
-
path: _path2 + ".values[" +
|
|
2286
|
+
})) && $vo46(elem, _path2 + ".values[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2287
|
+
path: _path2 + ".values[" + _index39 + "]",
|
|
2246
2288
|
expected: "GeneVariantValue",
|
|
2247
2289
|
value: elem
|
|
2248
2290
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2290,7 +2332,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2290
2332
|
expected: "(number | undefined)",
|
|
2291
2333
|
value: input3.fractionOverlap
|
|
2292
2334
|
})].every((flag) => flag);
|
|
2293
|
-
const $
|
|
2335
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2294
2336
|
path: _path2 + ".id",
|
|
2295
2337
|
expected: "string",
|
|
2296
2338
|
value: input3.id
|
|
@@ -2334,12 +2376,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2334
2376
|
path: _path2 + ".values",
|
|
2335
2377
|
expected: "TermValues",
|
|
2336
2378
|
value: input3.values
|
|
2337
|
-
})) && $
|
|
2379
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2338
2380
|
path: _path2 + ".values",
|
|
2339
2381
|
expected: "TermValues",
|
|
2340
2382
|
value: input3.values
|
|
2341
2383
|
})].every((flag) => flag);
|
|
2342
|
-
const $
|
|
2384
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2343
2385
|
path: _path2 + ".id",
|
|
2344
2386
|
expected: "string",
|
|
2345
2387
|
value: input3.id
|
|
@@ -2355,8 +2397,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2355
2397
|
path: _path2 + ".child_types",
|
|
2356
2398
|
expected: "(Array<string> | undefined)",
|
|
2357
2399
|
value: input3.child_types
|
|
2358
|
-
})) && input3.child_types.map((elem,
|
|
2359
|
-
path: _path2 + ".child_types[" +
|
|
2400
|
+
})) && input3.child_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2401
|
+
path: _path2 + ".child_types[" + _index40 + "]",
|
|
2360
2402
|
expected: "string",
|
|
2361
2403
|
value: elem
|
|
2362
2404
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2371,8 +2413,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2371
2413
|
path: _path2 + ".included_types",
|
|
2372
2414
|
expected: "(Array<string> | undefined)",
|
|
2373
2415
|
value: input3.included_types
|
|
2374
|
-
})) && input3.included_types.map((elem,
|
|
2375
|
-
path: _path2 + ".included_types[" +
|
|
2416
|
+
})) && input3.included_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2417
|
+
path: _path2 + ".included_types[" + _index41 + "]",
|
|
2376
2418
|
expected: "string",
|
|
2377
2419
|
value: elem
|
|
2378
2420
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2387,7 +2429,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2387
2429
|
path: _path2 + ".values",
|
|
2388
2430
|
expected: "(TermValues | undefined)",
|
|
2389
2431
|
value: input3.values
|
|
2390
|
-
})) && $
|
|
2432
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2391
2433
|
path: _path2 + ".values",
|
|
2392
2434
|
expected: "(TermValues | undefined)",
|
|
2393
2435
|
value: input3.values
|
|
@@ -2399,7 +2441,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2399
2441
|
path: _path2 + ".valueConversion",
|
|
2400
2442
|
expected: "(__type.o1 | undefined)",
|
|
2401
2443
|
value: input3.valueConversion
|
|
2402
|
-
})) && $
|
|
2444
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2403
2445
|
path: _path2 + ".valueConversion",
|
|
2404
2446
|
expected: "(__type.o1 | undefined)",
|
|
2405
2447
|
value: input3.valueConversion
|
|
@@ -2427,12 +2469,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2427
2469
|
path: _path2 + ".genes",
|
|
2428
2470
|
expected: "Array<GvGeneTerm>",
|
|
2429
2471
|
value: input3.genes
|
|
2430
|
-
})) && input3.genes.map((elem,
|
|
2431
|
-
path: _path2 + ".genes[" +
|
|
2472
|
+
})) && input3.genes.map((elem, _index42) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2473
|
+
path: _path2 + ".genes[" + _index42 + "]",
|
|
2432
2474
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2433
2475
|
value: elem
|
|
2434
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2435
|
-
path: _path2 + ".genes[" +
|
|
2476
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index42 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2477
|
+
path: _path2 + ".genes[" + _index42 + "]",
|
|
2436
2478
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2437
2479
|
value: elem
|
|
2438
2480
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2443,7 +2485,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2443
2485
|
path: _path2 + ".groupsetting",
|
|
2444
2486
|
expected: "(TermGroupSetting | undefined)",
|
|
2445
2487
|
value: input3.groupsetting
|
|
2446
|
-
})) && $
|
|
2488
|
+
})) && $vo10(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2447
2489
|
path: _path2 + ".groupsetting",
|
|
2448
2490
|
expected: "(TermGroupSetting | undefined)",
|
|
2449
2491
|
value: input3.groupsetting
|
|
@@ -2451,12 +2493,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2451
2493
|
path: _path2 + ".childTerms",
|
|
2452
2494
|
expected: "(Array<DtTerm> | undefined)",
|
|
2453
2495
|
value: input3.childTerms
|
|
2454
|
-
})) && input3.childTerms.map((elem,
|
|
2455
|
-
path: _path2 + ".childTerms[" +
|
|
2496
|
+
})) && input3.childTerms.map((elem, _index43) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2497
|
+
path: _path2 + ".childTerms[" + _index43 + "]",
|
|
2456
2498
|
expected: "DtTerm",
|
|
2457
2499
|
value: elem
|
|
2458
|
-
})) && $
|
|
2459
|
-
path: _path2 + ".childTerms[" +
|
|
2500
|
+
})) && $vo41(elem, _path2 + ".childTerms[" + _index43 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2501
|
+
path: _path2 + ".childTerms[" + _index43 + "]",
|
|
2460
2502
|
expected: "DtTerm",
|
|
2461
2503
|
value: elem
|
|
2462
2504
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2464,7 +2506,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2464
2506
|
expected: "(Array<DtTerm> | undefined)",
|
|
2465
2507
|
value: input3.childTerms
|
|
2466
2508
|
})].every((flag) => flag);
|
|
2467
|
-
const $
|
|
2509
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2468
2510
|
path: _path2 + ".id",
|
|
2469
2511
|
expected: "string",
|
|
2470
2512
|
value: input3.id
|
|
@@ -2480,8 +2522,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2480
2522
|
path: _path2 + ".child_types",
|
|
2481
2523
|
expected: "(Array<string> | undefined)",
|
|
2482
2524
|
value: input3.child_types
|
|
2483
|
-
})) && input3.child_types.map((elem,
|
|
2484
|
-
path: _path2 + ".child_types[" +
|
|
2525
|
+
})) && input3.child_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2526
|
+
path: _path2 + ".child_types[" + _index44 + "]",
|
|
2485
2527
|
expected: "string",
|
|
2486
2528
|
value: elem
|
|
2487
2529
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2496,8 +2538,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2496
2538
|
path: _path2 + ".included_types",
|
|
2497
2539
|
expected: "(Array<string> | undefined)",
|
|
2498
2540
|
value: input3.included_types
|
|
2499
|
-
})) && input3.included_types.map((elem,
|
|
2500
|
-
path: _path2 + ".included_types[" +
|
|
2541
|
+
})) && input3.included_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2542
|
+
path: _path2 + ".included_types[" + _index45 + "]",
|
|
2501
2543
|
expected: "string",
|
|
2502
2544
|
value: elem
|
|
2503
2545
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2512,7 +2554,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2512
2554
|
path: _path2 + ".values",
|
|
2513
2555
|
expected: "(TermValues | undefined)",
|
|
2514
2556
|
value: input3.values
|
|
2515
|
-
})) && $
|
|
2557
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2516
2558
|
path: _path2 + ".values",
|
|
2517
2559
|
expected: "(TermValues | undefined)",
|
|
2518
2560
|
value: input3.values
|
|
@@ -2524,7 +2566,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2524
2566
|
path: _path2 + ".valueConversion",
|
|
2525
2567
|
expected: "(__type.o1 | undefined)",
|
|
2526
2568
|
value: input3.valueConversion
|
|
2527
|
-
})) && $
|
|
2569
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2528
2570
|
path: _path2 + ".valueConversion",
|
|
2529
2571
|
expected: "(__type.o1 | undefined)",
|
|
2530
2572
|
value: input3.valueConversion
|
|
@@ -2549,7 +2591,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2549
2591
|
expected: "(number | undefined)",
|
|
2550
2592
|
value: input3.stop
|
|
2551
2593
|
})].every((flag) => flag);
|
|
2552
|
-
const $
|
|
2594
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2553
2595
|
path: _path2 + ".id",
|
|
2554
2596
|
expected: "string",
|
|
2555
2597
|
value: input3.id
|
|
@@ -2565,8 +2607,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2565
2607
|
path: _path2 + ".child_types",
|
|
2566
2608
|
expected: "(Array<string> | undefined)",
|
|
2567
2609
|
value: input3.child_types
|
|
2568
|
-
})) && input3.child_types.map((elem,
|
|
2569
|
-
path: _path2 + ".child_types[" +
|
|
2610
|
+
})) && input3.child_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2611
|
+
path: _path2 + ".child_types[" + _index46 + "]",
|
|
2570
2612
|
expected: "string",
|
|
2571
2613
|
value: elem
|
|
2572
2614
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2581,8 +2623,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2581
2623
|
path: _path2 + ".included_types",
|
|
2582
2624
|
expected: "(Array<string> | undefined)",
|
|
2583
2625
|
value: input3.included_types
|
|
2584
|
-
})) && input3.included_types.map((elem,
|
|
2585
|
-
path: _path2 + ".included_types[" +
|
|
2626
|
+
})) && input3.included_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2627
|
+
path: _path2 + ".included_types[" + _index47 + "]",
|
|
2586
2628
|
expected: "string",
|
|
2587
2629
|
value: elem
|
|
2588
2630
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2597,7 +2639,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2597
2639
|
path: _path2 + ".values",
|
|
2598
2640
|
expected: "(TermValues | undefined)",
|
|
2599
2641
|
value: input3.values
|
|
2600
|
-
})) && $
|
|
2642
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2601
2643
|
path: _path2 + ".values",
|
|
2602
2644
|
expected: "(TermValues | undefined)",
|
|
2603
2645
|
value: input3.values
|
|
@@ -2609,7 +2651,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2609
2651
|
path: _path2 + ".valueConversion",
|
|
2610
2652
|
expected: "(__type.o1 | undefined)",
|
|
2611
2653
|
value: input3.valueConversion
|
|
2612
|
-
})) && $
|
|
2654
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2613
2655
|
path: _path2 + ".valueConversion",
|
|
2614
2656
|
expected: "(__type.o1 | undefined)",
|
|
2615
2657
|
value: input3.valueConversion
|
|
@@ -2630,7 +2672,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2630
2672
|
expected: "number",
|
|
2631
2673
|
value: input3.stop
|
|
2632
2674
|
})].every((flag) => flag);
|
|
2633
|
-
const $
|
|
2675
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2634
2676
|
path: _path2 + ".id",
|
|
2635
2677
|
expected: "string",
|
|
2636
2678
|
value: input3.id
|
|
@@ -2646,8 +2688,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2646
2688
|
path: _path2 + ".child_types",
|
|
2647
2689
|
expected: "(Array<string> | undefined)",
|
|
2648
2690
|
value: input3.child_types
|
|
2649
|
-
})) && input3.child_types.map((elem,
|
|
2650
|
-
path: _path2 + ".child_types[" +
|
|
2691
|
+
})) && input3.child_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2692
|
+
path: _path2 + ".child_types[" + _index48 + "]",
|
|
2651
2693
|
expected: "string",
|
|
2652
2694
|
value: elem
|
|
2653
2695
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2662,8 +2704,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2662
2704
|
path: _path2 + ".included_types",
|
|
2663
2705
|
expected: "(Array<string> | undefined)",
|
|
2664
2706
|
value: input3.included_types
|
|
2665
|
-
})) && input3.included_types.map((elem,
|
|
2666
|
-
path: _path2 + ".included_types[" +
|
|
2707
|
+
})) && input3.included_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2708
|
+
path: _path2 + ".included_types[" + _index49 + "]",
|
|
2667
2709
|
expected: "string",
|
|
2668
2710
|
value: elem
|
|
2669
2711
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2678,7 +2720,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2678
2720
|
path: _path2 + ".values",
|
|
2679
2721
|
expected: "(TermValues | undefined)",
|
|
2680
2722
|
value: input3.values
|
|
2681
|
-
})) && $
|
|
2723
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2682
2724
|
path: _path2 + ".values",
|
|
2683
2725
|
expected: "(TermValues | undefined)",
|
|
2684
2726
|
value: input3.values
|
|
@@ -2690,7 +2732,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2690
2732
|
path: _path2 + ".valueConversion",
|
|
2691
2733
|
expected: "(__type.o1 | undefined)",
|
|
2692
2734
|
value: input3.valueConversion
|
|
2693
|
-
})) && $
|
|
2735
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2694
2736
|
path: _path2 + ".valueConversion",
|
|
2695
2737
|
expected: "(__type.o1 | undefined)",
|
|
2696
2738
|
value: input3.valueConversion
|
|
@@ -2714,12 +2756,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2714
2756
|
path: _path2 + ".genes",
|
|
2715
2757
|
expected: "Array<GvGeneTerm>",
|
|
2716
2758
|
value: input3.genes
|
|
2717
|
-
})) && input3.genes.map((elem,
|
|
2718
|
-
path: _path2 + ".genes[" +
|
|
2759
|
+
})) && input3.genes.map((elem, _index50) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2760
|
+
path: _path2 + ".genes[" + _index50 + "]",
|
|
2719
2761
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2720
2762
|
value: elem
|
|
2721
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2722
|
-
path: _path2 + ".genes[" +
|
|
2763
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index50 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2764
|
+
path: _path2 + ".genes[" + _index50 + "]",
|
|
2723
2765
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2724
2766
|
value: elem
|
|
2725
2767
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2730,7 +2772,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2730
2772
|
path: _path2 + ".groupsetting",
|
|
2731
2773
|
expected: "(TermGroupSetting | undefined)",
|
|
2732
2774
|
value: input3.groupsetting
|
|
2733
|
-
})) && $
|
|
2775
|
+
})) && $vo10(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2734
2776
|
path: _path2 + ".groupsetting",
|
|
2735
2777
|
expected: "(TermGroupSetting | undefined)",
|
|
2736
2778
|
value: input3.groupsetting
|
|
@@ -2738,12 +2780,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2738
2780
|
path: _path2 + ".childTerms",
|
|
2739
2781
|
expected: "(Array<DtTerm> | undefined)",
|
|
2740
2782
|
value: input3.childTerms
|
|
2741
|
-
})) && input3.childTerms.map((elem,
|
|
2742
|
-
path: _path2 + ".childTerms[" +
|
|
2783
|
+
})) && input3.childTerms.map((elem, _index51) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2784
|
+
path: _path2 + ".childTerms[" + _index51 + "]",
|
|
2743
2785
|
expected: "DtTerm",
|
|
2744
2786
|
value: elem
|
|
2745
|
-
})) && $
|
|
2746
|
-
path: _path2 + ".childTerms[" +
|
|
2787
|
+
})) && $vo41(elem, _path2 + ".childTerms[" + _index51 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2788
|
+
path: _path2 + ".childTerms[" + _index51 + "]",
|
|
2747
2789
|
expected: "DtTerm",
|
|
2748
2790
|
value: elem
|
|
2749
2791
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2751,7 +2793,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2751
2793
|
expected: "(Array<DtTerm> | undefined)",
|
|
2752
2794
|
value: input3.childTerms
|
|
2753
2795
|
})].every((flag) => flag);
|
|
2754
|
-
const $
|
|
2796
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
2755
2797
|
path: _path2 + ".key",
|
|
2756
2798
|
expected: "(string | undefined)",
|
|
2757
2799
|
value: input3.key
|
|
@@ -2771,8 +2813,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2771
2813
|
path: _path2 + ".mclasslst",
|
|
2772
2814
|
expected: "(Array<string> | undefined)",
|
|
2773
2815
|
value: input3.mclasslst
|
|
2774
|
-
})) && input3.mclasslst.map((elem,
|
|
2775
|
-
path: _path2 + ".mclasslst[" +
|
|
2816
|
+
})) && input3.mclasslst.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2817
|
+
path: _path2 + ".mclasslst[" + _index52 + "]",
|
|
2776
2818
|
expected: "string",
|
|
2777
2819
|
value: elem
|
|
2778
2820
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2783,8 +2825,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2783
2825
|
path: _path2 + ".mclassExcludeLst",
|
|
2784
2826
|
expected: "(Array<string> | undefined)",
|
|
2785
2827
|
value: input3.mclassExcludeLst
|
|
2786
|
-
})) && input3.mclassExcludeLst.map((elem,
|
|
2787
|
-
path: _path2 + ".mclassExcludeLst[" +
|
|
2828
|
+
})) && input3.mclassExcludeLst.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2829
|
+
path: _path2 + ".mclassExcludeLst[" + _index53 + "]",
|
|
2788
2830
|
expected: "string",
|
|
2789
2831
|
value: elem
|
|
2790
2832
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2796,7 +2838,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2796
2838
|
expected: "(string | undefined)",
|
|
2797
2839
|
value: input3.origin
|
|
2798
2840
|
})].every((flag) => flag);
|
|
2799
|
-
const $
|
|
2841
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2800
2842
|
path: _path2 + ".join",
|
|
2801
2843
|
expected: "(string | undefined)",
|
|
2802
2844
|
value: input3.join
|
|
@@ -2837,7 +2879,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2837
2879
|
expected: "number",
|
|
2838
2880
|
value: input3.ratio
|
|
2839
2881
|
})].every((flag) => flag);
|
|
2840
|
-
const $
|
|
2882
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2841
2883
|
path: _path2 + ".id",
|
|
2842
2884
|
expected: "string",
|
|
2843
2885
|
value: input3.id
|
|
@@ -2853,8 +2895,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2853
2895
|
path: _path2 + ".child_types",
|
|
2854
2896
|
expected: "(Array<string> | undefined)",
|
|
2855
2897
|
value: input3.child_types
|
|
2856
|
-
})) && input3.child_types.map((elem,
|
|
2857
|
-
path: _path2 + ".child_types[" +
|
|
2898
|
+
})) && input3.child_types.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2899
|
+
path: _path2 + ".child_types[" + _index54 + "]",
|
|
2858
2900
|
expected: "string",
|
|
2859
2901
|
value: elem
|
|
2860
2902
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2869,8 +2911,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2869
2911
|
path: _path2 + ".included_types",
|
|
2870
2912
|
expected: "(Array<string> | undefined)",
|
|
2871
2913
|
value: input3.included_types
|
|
2872
|
-
})) && input3.included_types.map((elem,
|
|
2873
|
-
path: _path2 + ".included_types[" +
|
|
2914
|
+
})) && input3.included_types.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2915
|
+
path: _path2 + ".included_types[" + _index55 + "]",
|
|
2874
2916
|
expected: "string",
|
|
2875
2917
|
value: elem
|
|
2876
2918
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2885,7 +2927,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2885
2927
|
path: _path2 + ".values",
|
|
2886
2928
|
expected: "(TermValues | undefined)",
|
|
2887
2929
|
value: input3.values
|
|
2888
|
-
})) && $
|
|
2930
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2889
2931
|
path: _path2 + ".values",
|
|
2890
2932
|
expected: "(TermValues | undefined)",
|
|
2891
2933
|
value: input3.values
|
|
@@ -2897,7 +2939,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2897
2939
|
path: _path2 + ".valueConversion",
|
|
2898
2940
|
expected: "(__type.o1 | undefined)",
|
|
2899
2941
|
value: input3.valueConversion
|
|
2900
|
-
})) && $
|
|
2942
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2901
2943
|
path: _path2 + ".valueConversion",
|
|
2902
2944
|
expected: "(__type.o1 | undefined)",
|
|
2903
2945
|
value: input3.valueConversion
|
|
@@ -2905,8 +2947,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2905
2947
|
path: _path2 + ".termIds",
|
|
2906
2948
|
expected: "(Array<string> | undefined)",
|
|
2907
2949
|
value: input3.termIds
|
|
2908
|
-
})) && input3.termIds.map((elem,
|
|
2909
|
-
path: _path2 + ".termIds[" +
|
|
2950
|
+
})) && input3.termIds.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2951
|
+
path: _path2 + ".termIds[" + _index56 + "]",
|
|
2910
2952
|
expected: "string",
|
|
2911
2953
|
value: elem
|
|
2912
2954
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2917,12 +2959,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2917
2959
|
path: _path2 + ".termlst",
|
|
2918
2960
|
expected: "Array<BaseTerm>",
|
|
2919
2961
|
value: input3.termlst
|
|
2920
|
-
})) && input3.termlst.map((elem,
|
|
2921
|
-
path: _path2 + ".termlst[" +
|
|
2962
|
+
})) && input3.termlst.map((elem, _index57) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2963
|
+
path: _path2 + ".termlst[" + _index57 + "]",
|
|
2922
2964
|
expected: "BaseTerm",
|
|
2923
2965
|
value: elem
|
|
2924
|
-
})) && $
|
|
2925
|
-
path: _path2 + ".termlst[" +
|
|
2966
|
+
})) && $vo49(elem, _path2 + ".termlst[" + _index57 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2967
|
+
path: _path2 + ".termlst[" + _index57 + "]",
|
|
2926
2968
|
expected: "BaseTerm",
|
|
2927
2969
|
value: elem
|
|
2928
2970
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2937,7 +2979,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2937
2979
|
path: _path2 + ".propsByTermId",
|
|
2938
2980
|
expected: "__type.o7",
|
|
2939
2981
|
value: input3.propsByTermId
|
|
2940
|
-
})) && $
|
|
2982
|
+
})) && $vo50(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2941
2983
|
path: _path2 + ".propsByTermId",
|
|
2942
2984
|
expected: "__type.o7",
|
|
2943
2985
|
value: input3.propsByTermId
|
|
@@ -2949,8 +2991,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2949
2991
|
path: _path2 + ".numerators",
|
|
2950
2992
|
expected: "(Array<string> | undefined)",
|
|
2951
2993
|
value: input3.numerators
|
|
2952
|
-
})) && input3.numerators.map((elem,
|
|
2953
|
-
path: _path2 + ".numerators[" +
|
|
2994
|
+
})) && input3.numerators.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2995
|
+
path: _path2 + ".numerators[" + _index58 + "]",
|
|
2954
2996
|
expected: "string",
|
|
2955
2997
|
value: elem
|
|
2956
2998
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2958,7 +3000,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2958
3000
|
expected: "(Array<string> | undefined)",
|
|
2959
3001
|
value: input3.numerators
|
|
2960
3002
|
})].every((flag) => flag);
|
|
2961
|
-
const $
|
|
3003
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2962
3004
|
path: _path2 + ".id",
|
|
2963
3005
|
expected: "string",
|
|
2964
3006
|
value: input3.id
|
|
@@ -2974,8 +3016,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2974
3016
|
path: _path2 + ".child_types",
|
|
2975
3017
|
expected: "(Array<string> | undefined)",
|
|
2976
3018
|
value: input3.child_types
|
|
2977
|
-
})) && input3.child_types.map((elem,
|
|
2978
|
-
path: _path2 + ".child_types[" +
|
|
3019
|
+
})) && input3.child_types.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3020
|
+
path: _path2 + ".child_types[" + _index59 + "]",
|
|
2979
3021
|
expected: "string",
|
|
2980
3022
|
value: elem
|
|
2981
3023
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2990,8 +3032,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2990
3032
|
path: _path2 + ".included_types",
|
|
2991
3033
|
expected: "(Array<string> | undefined)",
|
|
2992
3034
|
value: input3.included_types
|
|
2993
|
-
})) && input3.included_types.map((elem,
|
|
2994
|
-
path: _path2 + ".included_types[" +
|
|
3035
|
+
})) && input3.included_types.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3036
|
+
path: _path2 + ".included_types[" + _index60 + "]",
|
|
2995
3037
|
expected: "string",
|
|
2996
3038
|
value: elem
|
|
2997
3039
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3006,7 +3048,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3006
3048
|
path: _path2 + ".values",
|
|
3007
3049
|
expected: "(TermValues | undefined)",
|
|
3008
3050
|
value: input3.values
|
|
3009
|
-
})) && $
|
|
3051
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3010
3052
|
path: _path2 + ".values",
|
|
3011
3053
|
expected: "(TermValues | undefined)",
|
|
3012
3054
|
value: input3.values
|
|
@@ -3018,12 +3060,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3018
3060
|
path: _path2 + ".valueConversion",
|
|
3019
3061
|
expected: "(__type.o1 | undefined)",
|
|
3020
3062
|
value: input3.valueConversion
|
|
3021
|
-
})) && $
|
|
3063
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
3022
3064
|
path: _path2 + ".valueConversion",
|
|
3023
3065
|
expected: "(__type.o1 | undefined)",
|
|
3024
3066
|
value: input3.valueConversion
|
|
3025
3067
|
})].every((flag) => flag);
|
|
3026
|
-
const $
|
|
3068
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3027
3069
|
const value = input3[key];
|
|
3028
3070
|
if (void 0 === value)
|
|
3029
3071
|
return true;
|
|
@@ -3032,14 +3074,14 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3032
3074
|
path: _path2 + $join(key),
|
|
3033
3075
|
expected: "__type.o8",
|
|
3034
3076
|
value
|
|
3035
|
-
})) && $
|
|
3077
|
+
})) && $vo51(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3036
3078
|
path: _path2 + $join(key),
|
|
3037
3079
|
expected: "__type.o8",
|
|
3038
3080
|
value
|
|
3039
3081
|
});
|
|
3040
3082
|
return true;
|
|
3041
3083
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3042
|
-
const $
|
|
3084
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3043
3085
|
const value = input3[key];
|
|
3044
3086
|
if (void 0 === value)
|
|
3045
3087
|
return true;
|
|
@@ -3047,7 +3089,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3047
3089
|
return true;
|
|
3048
3090
|
return true;
|
|
3049
3091
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3050
|
-
const $
|
|
3092
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3051
3093
|
path: _path2 + ".id",
|
|
3052
3094
|
expected: "string",
|
|
3053
3095
|
value: input3.id
|
|
@@ -3063,8 +3105,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3063
3105
|
path: _path2 + ".child_types",
|
|
3064
3106
|
expected: "(Array<string> | undefined)",
|
|
3065
3107
|
value: input3.child_types
|
|
3066
|
-
})) && input3.child_types.map((elem,
|
|
3067
|
-
path: _path2 + ".child_types[" +
|
|
3108
|
+
})) && input3.child_types.map((elem, _index61) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3109
|
+
path: _path2 + ".child_types[" + _index61 + "]",
|
|
3068
3110
|
expected: "string",
|
|
3069
3111
|
value: elem
|
|
3070
3112
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3079,8 +3121,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3079
3121
|
path: _path2 + ".included_types",
|
|
3080
3122
|
expected: "(Array<string> | undefined)",
|
|
3081
3123
|
value: input3.included_types
|
|
3082
|
-
})) && input3.included_types.map((elem,
|
|
3083
|
-
path: _path2 + ".included_types[" +
|
|
3124
|
+
})) && input3.included_types.map((elem, _index62) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3125
|
+
path: _path2 + ".included_types[" + _index62 + "]",
|
|
3084
3126
|
expected: "string",
|
|
3085
3127
|
value: elem
|
|
3086
3128
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3095,7 +3137,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3095
3137
|
path: _path2 + ".values",
|
|
3096
3138
|
expected: "(TermValues | undefined)",
|
|
3097
3139
|
value: input3.values
|
|
3098
|
-
})) && $
|
|
3140
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3099
3141
|
path: _path2 + ".values",
|
|
3100
3142
|
expected: "(TermValues | undefined)",
|
|
3101
3143
|
value: input3.values
|
|
@@ -3107,7 +3149,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3107
3149
|
path: _path2 + ".valueConversion",
|
|
3108
3150
|
expected: "(__type.o1 | undefined)",
|
|
3109
3151
|
value: input3.valueConversion
|
|
3110
|
-
})) && $
|
|
3152
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
3111
3153
|
path: _path2 + ".valueConversion",
|
|
3112
3154
|
expected: "(__type.o1 | undefined)",
|
|
3113
3155
|
value: input3.valueConversion
|
|
@@ -3115,8 +3157,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3115
3157
|
path: _path2 + ".termIds",
|
|
3116
3158
|
expected: "(Array<string> | undefined)",
|
|
3117
3159
|
value: input3.termIds
|
|
3118
|
-
})) && input3.termIds.map((elem,
|
|
3119
|
-
path: _path2 + ".termIds[" +
|
|
3160
|
+
})) && input3.termIds.map((elem, _index63) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3161
|
+
path: _path2 + ".termIds[" + _index63 + "]",
|
|
3120
3162
|
expected: "string",
|
|
3121
3163
|
value: elem
|
|
3122
3164
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3127,12 +3169,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3127
3169
|
path: _path2 + ".termlst",
|
|
3128
3170
|
expected: "Array<BaseTerm>",
|
|
3129
3171
|
value: input3.termlst
|
|
3130
|
-
})) && input3.termlst.map((elem,
|
|
3131
|
-
path: _path2 + ".termlst[" +
|
|
3172
|
+
})) && input3.termlst.map((elem, _index64) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3173
|
+
path: _path2 + ".termlst[" + _index64 + "]",
|
|
3132
3174
|
expected: "BaseTerm",
|
|
3133
3175
|
value: elem
|
|
3134
|
-
})) && $
|
|
3135
|
-
path: _path2 + ".termlst[" +
|
|
3176
|
+
})) && $vo49(elem, _path2 + ".termlst[" + _index64 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3177
|
+
path: _path2 + ".termlst[" + _index64 + "]",
|
|
3136
3178
|
expected: "BaseTerm",
|
|
3137
3179
|
value: elem
|
|
3138
3180
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3147,7 +3189,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3147
3189
|
path: _path2 + ".propsByTermId",
|
|
3148
3190
|
expected: "__type.o7",
|
|
3149
3191
|
value: input3.propsByTermId
|
|
3150
|
-
})) && $
|
|
3192
|
+
})) && $vo50(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
3151
3193
|
path: _path2 + ".propsByTermId",
|
|
3152
3194
|
expected: "__type.o7",
|
|
3153
3195
|
value: input3.propsByTermId
|
|
@@ -3159,12 +3201,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3159
3201
|
path: _path2 + ".categoryKeys",
|
|
3160
3202
|
expected: "Array<CategoryKey>",
|
|
3161
3203
|
value: input3.categoryKeys
|
|
3162
|
-
})) && input3.categoryKeys.map((elem,
|
|
3163
|
-
path: _path2 + ".categoryKeys[" +
|
|
3204
|
+
})) && input3.categoryKeys.map((elem, _index65) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3205
|
+
path: _path2 + ".categoryKeys[" + _index65 + "]",
|
|
3164
3206
|
expected: "CategoryKey",
|
|
3165
3207
|
value: elem
|
|
3166
|
-
})) && $
|
|
3167
|
-
path: _path2 + ".categoryKeys[" +
|
|
3208
|
+
})) && $vo53(elem, _path2 + ".categoryKeys[" + _index65 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3209
|
+
path: _path2 + ".categoryKeys[" + _index65 + "]",
|
|
3168
3210
|
expected: "CategoryKey",
|
|
3169
3211
|
value: elem
|
|
3170
3212
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3172,7 +3214,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3172
3214
|
expected: "Array<CategoryKey>",
|
|
3173
3215
|
value: input3.categoryKeys
|
|
3174
3216
|
})].every((flag) => flag);
|
|
3175
|
-
const $
|
|
3217
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
3176
3218
|
path: _path2 + ".key",
|
|
3177
3219
|
expected: "string",
|
|
3178
3220
|
value: input3.key
|
|
@@ -3183,9 +3225,9 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3183
3225
|
})].every((flag) => flag);
|
|
3184
3226
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3185
3227
|
if ("tvslst" === input3.type)
|
|
3186
|
-
return $vo2(input3, _path2, _exceptionable2);
|
|
3187
|
-
if ("tvs" === input3.type)
|
|
3188
3228
|
return $vo3(input3, _path2, _exceptionable2);
|
|
3229
|
+
if ("tvs" === input3.type)
|
|
3230
|
+
return $vo4(input3, _path2, _exceptionable2);
|
|
3189
3231
|
return $report(_exceptionable2, {
|
|
3190
3232
|
path: _path2,
|
|
3191
3233
|
expected: "(Filter | __type)",
|
|
@@ -3194,9 +3236,9 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3194
3236
|
})();
|
|
3195
3237
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3196
3238
|
if ("string" === typeof input3.type)
|
|
3197
|
-
return $
|
|
3239
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
3198
3240
|
if ("filter" === input3.type)
|
|
3199
|
-
return $
|
|
3241
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
3200
3242
|
return $report(_exceptionable2, {
|
|
3201
3243
|
path: _path2,
|
|
3202
3244
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -3205,18 +3247,18 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3205
3247
|
})();
|
|
3206
3248
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3207
3249
|
if (true === input3.startunbounded)
|
|
3208
|
-
return $
|
|
3250
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
3209
3251
|
if (true === input3.stopunbounded)
|
|
3210
|
-
return $
|
|
3252
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
3211
3253
|
if (void 0 !== input3.value)
|
|
3212
|
-
return $
|
|
3213
|
-
return $
|
|
3254
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
3255
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
3214
3256
|
})();
|
|
3215
3257
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3216
3258
|
if ("gene" === input3.kind)
|
|
3217
|
-
return $vo42(input3, _path2, _exceptionable2);
|
|
3218
|
-
if ("coord" === input3.kind)
|
|
3219
3259
|
return $vo43(input3, _path2, _exceptionable2);
|
|
3260
|
+
if ("coord" === input3.kind)
|
|
3261
|
+
return $vo44(input3, _path2, _exceptionable2);
|
|
3220
3262
|
return $report(_exceptionable2, {
|
|
3221
3263
|
path: _path2,
|
|
3222
3264
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -3225,38 +3267,38 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3225
3267
|
})();
|
|
3226
3268
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3227
3269
|
if (true === input3.startunbounded)
|
|
3228
|
-
return $
|
|
3270
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
3229
3271
|
if (true === input3.stopunbounded)
|
|
3230
|
-
return $
|
|
3231
|
-
return $
|
|
3272
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
3273
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
3232
3274
|
})();
|
|
3233
3275
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3234
3276
|
if (void 0 !== input3.ranges)
|
|
3235
|
-
return $
|
|
3277
|
+
return $vo15(input3, _path2, _exceptionable2);
|
|
3236
3278
|
if (void 0 !== input3.ratio)
|
|
3237
|
-
return $
|
|
3238
|
-
return $
|
|
3279
|
+
return $vo47(input3, _path2, _exceptionable2);
|
|
3280
|
+
return $vo5(input3, _path2, false) || $vo36(input3, _path2, false) || $vo40(input3, _path2, false);
|
|
3239
3281
|
})();
|
|
3240
3282
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3241
3283
|
if ("integer" === input3.type || "float" === input3.type)
|
|
3242
|
-
return $
|
|
3284
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
3243
3285
|
if ("metaboliteIntensity" === input3.type)
|
|
3244
|
-
return $vo26(input3, _path2, _exceptionable2);
|
|
3245
|
-
if ("wholeProteomeAbundance" === input3.type)
|
|
3246
3286
|
return $vo27(input3, _path2, _exceptionable2);
|
|
3247
|
-
if ("
|
|
3287
|
+
if ("wholeProteomeAbundance" === input3.type)
|
|
3248
3288
|
return $vo28(input3, _path2, _exceptionable2);
|
|
3249
|
-
if ("
|
|
3289
|
+
if ("date" === input3.type)
|
|
3250
3290
|
return $vo29(input3, _path2, _exceptionable2);
|
|
3251
|
-
if ("
|
|
3291
|
+
if ("ssGSEA" === input3.type)
|
|
3252
3292
|
return $vo30(input3, _path2, _exceptionable2);
|
|
3253
|
-
|
|
3293
|
+
if ("dnaMethylation" === input3.type)
|
|
3294
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
3295
|
+
return $vo26(input3, _path2, false) || $vo25(input3, _path2, false) || $vo33(input3, _path2, false) || $vo32(input3, _path2, false);
|
|
3254
3296
|
})();
|
|
3255
3297
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3256
3298
|
if ("regular-bin" === input3.type)
|
|
3257
|
-
return $
|
|
3299
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
3258
3300
|
if ("custom-bin" === input3.type)
|
|
3259
|
-
return $
|
|
3301
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
3260
3302
|
return $report(_exceptionable2, {
|
|
3261
3303
|
path: _path2,
|
|
3262
3304
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
@@ -3265,9 +3307,9 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3265
3307
|
})();
|
|
3266
3308
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3267
3309
|
if (true === input3.startunbounded)
|
|
3268
|
-
return $vo20(input3, _path2, _exceptionable2);
|
|
3269
|
-
if (void 0 !== input3.start)
|
|
3270
3310
|
return $vo21(input3, _path2, _exceptionable2);
|
|
3311
|
+
if (void 0 !== input3.start)
|
|
3312
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
3271
3313
|
return $report(_exceptionable2, {
|
|
3272
3314
|
path: _path2,
|
|
3273
3315
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
@@ -3276,9 +3318,9 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3276
3318
|
})();
|
|
3277
3319
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3278
3320
|
if (void 0 !== input3.stop)
|
|
3279
|
-
return $vo21(input3, _path2, _exceptionable2);
|
|
3280
|
-
if (true === input3.stopunbounded)
|
|
3281
3321
|
return $vo22(input3, _path2, _exceptionable2);
|
|
3322
|
+
if (true === input3.stopunbounded)
|
|
3323
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
3282
3324
|
return $report(_exceptionable2, {
|
|
3283
3325
|
path: _path2,
|
|
3284
3326
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
@@ -3287,9 +3329,9 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3287
3329
|
})();
|
|
3288
3330
|
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3289
3331
|
if ("gene" === input3.kind)
|
|
3290
|
-
return $
|
|
3332
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
3291
3333
|
if ("coord" === input3.kind)
|
|
3292
|
-
return $
|
|
3334
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
3293
3335
|
return $report(_exceptionable2, {
|
|
3294
3336
|
path: _path2,
|
|
3295
3337
|
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; })',
|
|
@@ -3298,9 +3340,9 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3298
3340
|
})();
|
|
3299
3341
|
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3300
3342
|
if ("numeric" === input3.memberType)
|
|
3301
|
-
return $
|
|
3343
|
+
return $vo48(input3, _path2, _exceptionable2);
|
|
3302
3344
|
if ("categorical" === input3.memberType)
|
|
3303
|
-
return $
|
|
3345
|
+
return $vo52(input3, _path2, _exceptionable2);
|
|
3304
3346
|
return $report(_exceptionable2, {
|
|
3305
3347
|
path: _path2,
|
|
3306
3348
|
expected: "(NumericTermCollection | CategoricalTermCollection)",
|
|
@@ -3329,7 +3371,7 @@ var validTermdbDmrResponse = (input) => {
|
|
|
3329
3371
|
const errors = [];
|
|
3330
3372
|
const __is = (input2) => {
|
|
3331
3373
|
const $io0 = (input3) => "ok" === input3.status && (Array.isArray(input3.dmrs) && input3.dmrs.every((elem) => "object" === typeof elem && null !== elem && $io1(elem)));
|
|
3332
|
-
const $io1 = (input3) => "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
3374
|
+
const $io1 = (input3) => "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && "number" === typeof input3.width && "number" === typeof input3.max_delta_beta && ("hyper" === input3.direction || "hypo" === input3.direction) && "number" === typeof input3.probability;
|
|
3333
3375
|
const $io2 = (input3) => "string" === typeof input3.error;
|
|
3334
3376
|
const $iu0 = (input3) => (() => {
|
|
3335
3377
|
if (void 0 !== input3.status)
|
|
@@ -3376,6 +3418,22 @@ var validTermdbDmrResponse = (input) => {
|
|
|
3376
3418
|
path: _path2 + ".stop",
|
|
3377
3419
|
expected: "number",
|
|
3378
3420
|
value: input3.stop
|
|
3421
|
+
}), "number" === typeof input3.width || $report(_exceptionable2, {
|
|
3422
|
+
path: _path2 + ".width",
|
|
3423
|
+
expected: "number",
|
|
3424
|
+
value: input3.width
|
|
3425
|
+
}), "number" === typeof input3.max_delta_beta || $report(_exceptionable2, {
|
|
3426
|
+
path: _path2 + ".max_delta_beta",
|
|
3427
|
+
expected: "number",
|
|
3428
|
+
value: input3.max_delta_beta
|
|
3429
|
+
}), "hyper" === input3.direction || "hypo" === input3.direction || $report(_exceptionable2, {
|
|
3430
|
+
path: _path2 + ".direction",
|
|
3431
|
+
expected: '("hyper" | "hypo")',
|
|
3432
|
+
value: input3.direction
|
|
3433
|
+
}), "number" === typeof input3.probability || $report(_exceptionable2, {
|
|
3434
|
+
path: _path2 + ".probability",
|
|
3435
|
+
expected: "number",
|
|
3436
|
+
value: input3.probability
|
|
3379
3437
|
})].every((flag) => flag);
|
|
3380
3438
|
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.error || $report(_exceptionable2, {
|
|
3381
3439
|
path: _path2 + ".error",
|