@sjcrh/proteinpaint-types 2.178.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/brainImaging.js +1 -1
- package/dist/{chunk-GAYJUXNZ.js → chunk-4J5BPYYR.js} +429 -201
- package/dist/{chunk-WXCXZRKP.js → chunk-6DWX22RA.js} +707 -479
- package/dist/{chunk-UWAVSKMD.js → chunk-7V7USAKJ.js} +705 -477
- package/dist/{chunk-2XQJCZEO.js → chunk-A2FMYVMI.js} +520 -292
- package/dist/{chunk-FQYNRDHB.js → chunk-CC4IBTKW.js} +429 -201
- package/dist/{chunk-2Y7WE3JU.js → chunk-CSK3ZCDF.js} +705 -477
- package/dist/{chunk-UFYKXOY2.js → chunk-DUFHC6EI.js} +1073 -625
- package/dist/{chunk-NRV6MPRM.js → chunk-E2O4N7OC.js} +1346 -898
- package/dist/{chunk-CYQDO4FX.js → chunk-FQLGK65A.js} +742 -456
- package/dist/{chunk-HZEV7D5E.js → chunk-JTZQYNIT.js} +705 -477
- package/dist/{chunk-CX2Y673E.js → chunk-MKM4A5NU.js} +429 -201
- package/dist/{chunk-26UKKPK2.js → chunk-QQNDJ6BY.js} +713 -485
- package/dist/{chunk-PHRILOVX.js → chunk-RANWGPF7.js} +429 -201
- package/dist/{chunk-VBNF7BRI.js → chunk-XAHE4RNZ.js} +452 -224
- package/dist/{chunk-YHKFJCXG.js → chunk-YI63CW7Y.js} +646 -426
- package/dist/correlationVolcano.js +1 -1
- package/dist/grin2.js +1 -1
- package/dist/index.js +15 -15
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.chat.js +429 -201
- package/dist/termdb.chat2.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.dmr.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +28 -8
- package/src/filter.ts +33 -4
- package/src/routes/termdb.chat2.ts +13 -2
- package/src/routes/termdb.dmr.ts +17 -2
- package/src/terms/termCollection.ts +0 -3
|
@@ -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,42 +58,53 @@ 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 $
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
const $io41 = (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) && $io6(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
82
|
-
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) && $io6(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(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 && $io9(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
|
|
83
|
-
const $io43 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
84
|
-
const $io44 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && "number" === typeof input3.ratio;
|
|
85
|
-
const $io45 = (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) && $io6(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion)) && (void 0 === input3.collectionId || "string" === typeof input3.collectionId) && (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 && $io46(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io47(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem));
|
|
86
|
-
const $io46 = (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) && $io6(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io8(input3.valueConversion));
|
|
87
|
-
const $io47 = (input3) => Object.keys(input3).every((key) => {
|
|
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) => {
|
|
80
|
+
if (["key", "label"].some((prop) => key === prop))
|
|
81
|
+
return true;
|
|
88
82
|
const value = input3[key];
|
|
89
83
|
if (void 0 === value)
|
|
90
84
|
return true;
|
|
91
85
|
if (RegExp(/(.*)/).test(key))
|
|
92
|
-
return
|
|
86
|
+
return true;
|
|
93
87
|
return true;
|
|
94
88
|
});
|
|
95
|
-
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) => {
|
|
100
|
+
const value = input3[key];
|
|
101
|
+
if (void 0 === value)
|
|
102
|
+
return true;
|
|
103
|
+
if (RegExp(/(.*)/).test(key))
|
|
104
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io51(value);
|
|
105
|
+
return true;
|
|
106
|
+
});
|
|
107
|
+
const $io51 = (input3) => Object.keys(input3).every((key) => {
|
|
96
108
|
const value = input3[key];
|
|
97
109
|
if (void 0 === value)
|
|
98
110
|
return true;
|
|
@@ -100,109 +112,118 @@ var validTermdbDmrRequest = (input) => {
|
|
|
100
112
|
return true;
|
|
101
113
|
return true;
|
|
102
114
|
});
|
|
103
|
-
const $
|
|
104
|
-
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;
|
|
105
117
|
const $iu0 = (input3) => (() => {
|
|
106
118
|
if ("tvslst" === input3.type)
|
|
107
|
-
return $io2(input3);
|
|
108
|
-
if ("tvs" === input3.type)
|
|
109
119
|
return $io3(input3);
|
|
120
|
+
if ("tvs" === input3.type)
|
|
121
|
+
return $io4(input3);
|
|
110
122
|
return false;
|
|
111
123
|
})();
|
|
112
124
|
const $iu1 = (input3) => (() => {
|
|
113
125
|
if ("string" === typeof input3.type)
|
|
114
|
-
return $
|
|
126
|
+
return $io12(input3);
|
|
115
127
|
if ("filter" === input3.type)
|
|
116
|
-
return $
|
|
128
|
+
return $io14(input3);
|
|
117
129
|
return false;
|
|
118
130
|
})();
|
|
119
131
|
const $iu2 = (input3) => (() => {
|
|
120
132
|
if (true === input3.startunbounded)
|
|
121
|
-
return $
|
|
133
|
+
return $io21(input3);
|
|
122
134
|
if (true === input3.stopunbounded)
|
|
123
|
-
return $
|
|
124
|
-
|
|
135
|
+
return $io23(input3);
|
|
136
|
+
if (void 0 !== input3.value)
|
|
137
|
+
return $io34(input3);
|
|
138
|
+
return $io22(input3);
|
|
125
139
|
})();
|
|
126
140
|
const $iu3 = (input3) => (() => {
|
|
127
141
|
if ("gene" === input3.kind)
|
|
128
|
-
return $
|
|
142
|
+
return $io43(input3);
|
|
129
143
|
if ("coord" === input3.kind)
|
|
130
|
-
return $
|
|
144
|
+
return $io44(input3);
|
|
131
145
|
return false;
|
|
132
146
|
})();
|
|
133
147
|
const $iu4 = (input3) => (() => {
|
|
148
|
+
if (true === input3.startunbounded)
|
|
149
|
+
return $io21(input3);
|
|
150
|
+
if (true === input3.stopunbounded)
|
|
151
|
+
return $io23(input3);
|
|
152
|
+
return $io22(input3);
|
|
153
|
+
})();
|
|
154
|
+
const $iu5 = (input3) => (() => {
|
|
134
155
|
if (void 0 !== input3.ranges)
|
|
135
|
-
return $
|
|
156
|
+
return $io15(input3);
|
|
136
157
|
if (void 0 !== input3.ratio)
|
|
137
|
-
return $
|
|
158
|
+
return $io47(input3);
|
|
138
159
|
return (() => {
|
|
139
|
-
if ($
|
|
140
|
-
return $
|
|
141
|
-
if ($
|
|
142
|
-
return $
|
|
143
|
-
if ($
|
|
144
|
-
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);
|
|
145
166
|
return false;
|
|
146
167
|
})();
|
|
147
168
|
})();
|
|
148
|
-
const $
|
|
169
|
+
const $iu6 = (input3) => (() => {
|
|
149
170
|
if ("integer" === input3.type || "float" === input3.type)
|
|
150
|
-
return $
|
|
171
|
+
return $io16(input3);
|
|
151
172
|
if ("metaboliteIntensity" === input3.type)
|
|
152
|
-
return $io26(input3);
|
|
153
|
-
if ("wholeProteomeAbundance" === input3.type)
|
|
154
173
|
return $io27(input3);
|
|
155
|
-
if ("
|
|
174
|
+
if ("wholeProteomeAbundance" === input3.type)
|
|
156
175
|
return $io28(input3);
|
|
157
|
-
if ("
|
|
176
|
+
if ("date" === input3.type)
|
|
158
177
|
return $io29(input3);
|
|
159
|
-
if ("
|
|
178
|
+
if ("ssGSEA" === input3.type)
|
|
160
179
|
return $io30(input3);
|
|
180
|
+
if ("dnaMethylation" === input3.type)
|
|
181
|
+
return $io31(input3);
|
|
161
182
|
return (() => {
|
|
183
|
+
if ($io26(input3))
|
|
184
|
+
return $io26(input3);
|
|
162
185
|
if ($io25(input3))
|
|
163
186
|
return $io25(input3);
|
|
164
|
-
if ($
|
|
165
|
-
return $
|
|
187
|
+
if ($io33(input3))
|
|
188
|
+
return $io33(input3);
|
|
166
189
|
if ($io32(input3))
|
|
167
190
|
return $io32(input3);
|
|
168
|
-
if ($io31(input3))
|
|
169
|
-
return $io31(input3);
|
|
170
191
|
return false;
|
|
171
192
|
})();
|
|
172
193
|
})();
|
|
173
|
-
const $
|
|
194
|
+
const $iu7 = (input3) => (() => {
|
|
174
195
|
if ("regular-bin" === input3.type)
|
|
175
|
-
return $
|
|
196
|
+
return $io19(input3);
|
|
176
197
|
if ("custom-bin" === input3.type)
|
|
177
|
-
return $
|
|
198
|
+
return $io24(input3);
|
|
178
199
|
return false;
|
|
179
200
|
})();
|
|
180
|
-
const $
|
|
201
|
+
const $iu8 = (input3) => (() => {
|
|
181
202
|
if (true === input3.startunbounded)
|
|
182
|
-
return $io20(input3);
|
|
183
|
-
if (void 0 !== input3.start)
|
|
184
203
|
return $io21(input3);
|
|
204
|
+
if (void 0 !== input3.start)
|
|
205
|
+
return $io22(input3);
|
|
185
206
|
return false;
|
|
186
207
|
})();
|
|
187
|
-
const $
|
|
208
|
+
const $iu9 = (input3) => (() => {
|
|
188
209
|
if (void 0 !== input3.stop)
|
|
189
|
-
return $io21(input3);
|
|
190
|
-
if (true === input3.stopunbounded)
|
|
191
210
|
return $io22(input3);
|
|
211
|
+
if (true === input3.stopunbounded)
|
|
212
|
+
return $io23(input3);
|
|
192
213
|
return false;
|
|
193
214
|
})();
|
|
194
|
-
const $
|
|
215
|
+
const $iu10 = (input3) => (() => {
|
|
195
216
|
if ("gene" === input3.kind)
|
|
196
|
-
return $io39(input3);
|
|
197
|
-
if ("coord" === input3.kind)
|
|
198
217
|
return $io42(input3);
|
|
218
|
+
if ("coord" === input3.kind)
|
|
219
|
+
return $io45(input3);
|
|
199
220
|
return false;
|
|
200
221
|
})();
|
|
201
|
-
const $
|
|
222
|
+
const $iu11 = (input3) => (() => {
|
|
202
223
|
if ("numeric" === input3.memberType)
|
|
203
|
-
return $
|
|
224
|
+
return $io48(input3);
|
|
204
225
|
if ("categorical" === input3.memberType)
|
|
205
|
-
return $
|
|
226
|
+
return $io52(input3);
|
|
206
227
|
return false;
|
|
207
228
|
})();
|
|
208
229
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -263,11 +284,31 @@ var validTermdbDmrRequest = (input) => {
|
|
|
263
284
|
path: _path2 + ".stop",
|
|
264
285
|
expected: "number",
|
|
265
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
|
|
266
307
|
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
267
308
|
path: _path2 + ".filter",
|
|
268
309
|
expected: "(Filter | undefined)",
|
|
269
310
|
value: input3.filter
|
|
270
|
-
})) && $
|
|
311
|
+
})) && $vo3(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
271
312
|
path: _path2 + ".filter",
|
|
272
313
|
expected: "(Filter | undefined)",
|
|
273
314
|
value: input3.filter
|
|
@@ -281,7 +322,28 @@ var validTermdbDmrRequest = (input) => {
|
|
|
281
322
|
expected: "string",
|
|
282
323
|
value: input3.sample
|
|
283
324
|
})].every((flag) => flag);
|
|
284
|
-
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, {
|
|
285
347
|
path: _path2 + ".type",
|
|
286
348
|
expected: '"tvslst"',
|
|
287
349
|
value: input3.type
|
|
@@ -301,20 +363,24 @@ var validTermdbDmrRequest = (input) => {
|
|
|
301
363
|
path: _path2 + ".lst",
|
|
302
364
|
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
303
365
|
value: input3.lst
|
|
304
|
-
})) && input3.lst.map((elem,
|
|
305
|
-
path: _path2 + ".lst[" +
|
|
366
|
+
})) && input3.lst.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
367
|
+
path: _path2 + ".lst[" + _index4 + "]",
|
|
306
368
|
expected: "(Filter | __type)",
|
|
307
369
|
value: elem
|
|
308
|
-
})) && $vu0(elem, _path2 + ".lst[" +
|
|
309
|
-
path: _path2 + ".lst[" +
|
|
370
|
+
})) && $vu0(elem, _path2 + ".lst[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
371
|
+
path: _path2 + ".lst[" + _index4 + "]",
|
|
310
372
|
expected: "(Filter | __type)",
|
|
311
373
|
value: elem
|
|
312
374
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
313
375
|
path: _path2 + ".lst",
|
|
314
376
|
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
315
377
|
value: input3.lst
|
|
378
|
+
}), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
|
|
379
|
+
path: _path2 + ".$id",
|
|
380
|
+
expected: "(string | undefined)",
|
|
381
|
+
value: input3.$id
|
|
316
382
|
})].every((flag) => flag);
|
|
317
|
-
const $
|
|
383
|
+
const $vo4 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
318
384
|
path: _path2 + ".type",
|
|
319
385
|
expected: '"tvs"',
|
|
320
386
|
value: input3.type
|
|
@@ -322,12 +388,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
322
388
|
path: _path2 + ".tvs",
|
|
323
389
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
|
|
324
390
|
value: input3.tvs
|
|
325
|
-
})) && $
|
|
391
|
+
})) && $vu5(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
326
392
|
path: _path2 + ".tvs",
|
|
327
393
|
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
|
|
328
394
|
value: input3.tvs
|
|
329
395
|
})].every((flag) => flag);
|
|
330
|
-
const $
|
|
396
|
+
const $vo5 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
331
397
|
path: _path2 + ".join",
|
|
332
398
|
expected: "(string | undefined)",
|
|
333
399
|
value: input3.join
|
|
@@ -335,11 +401,31 @@ var validTermdbDmrRequest = (input) => {
|
|
|
335
401
|
path: _path2 + ".isnot",
|
|
336
402
|
expected: "(boolean | undefined)",
|
|
337
403
|
value: input3.isnot
|
|
404
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
405
|
+
path: _path2 + ".bar_by_grade",
|
|
406
|
+
expected: "(boolean | undefined)",
|
|
407
|
+
value: input3.bar_by_grade
|
|
408
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
409
|
+
path: _path2 + ".bar_by_children",
|
|
410
|
+
expected: "(boolean | undefined)",
|
|
411
|
+
value: input3.bar_by_children
|
|
412
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
413
|
+
path: _path2 + ".value_by_max_grade",
|
|
414
|
+
expected: "(boolean | undefined)",
|
|
415
|
+
value: input3.value_by_max_grade
|
|
416
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
417
|
+
path: _path2 + ".value_by_most_recent",
|
|
418
|
+
expected: "(boolean | undefined)",
|
|
419
|
+
value: input3.value_by_most_recent
|
|
420
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
421
|
+
path: _path2 + ".value_by_computable_grade",
|
|
422
|
+
expected: "(boolean | undefined)",
|
|
423
|
+
value: input3.value_by_computable_grade
|
|
338
424
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
339
425
|
path: _path2 + ".term",
|
|
340
426
|
expected: "CategoricalTerm",
|
|
341
427
|
value: input3.term
|
|
342
|
-
})) && $
|
|
428
|
+
})) && $vo6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
343
429
|
path: _path2 + ".term",
|
|
344
430
|
expected: "CategoricalTerm",
|
|
345
431
|
value: input3.term
|
|
@@ -351,20 +437,24 @@ var validTermdbDmrRequest = (input) => {
|
|
|
351
437
|
path: _path2 + ".values",
|
|
352
438
|
expected: "Array<BaseValue>",
|
|
353
439
|
value: input3.values
|
|
354
|
-
})) && input3.values.map((elem,
|
|
355
|
-
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 + "]",
|
|
356
442
|
expected: "BaseValue",
|
|
357
443
|
value: elem
|
|
358
|
-
})) && $
|
|
359
|
-
path: _path2 + ".values[" +
|
|
444
|
+
})) && $vo8(elem, _path2 + ".values[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
445
|
+
path: _path2 + ".values[" + _index5 + "]",
|
|
360
446
|
expected: "BaseValue",
|
|
361
447
|
value: elem
|
|
362
448
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
363
449
|
path: _path2 + ".values",
|
|
364
450
|
expected: "Array<BaseValue>",
|
|
365
451
|
value: input3.values
|
|
452
|
+
}), void 0 === input3.valueset || input3.valueset instanceof Set || $report(_exceptionable2, {
|
|
453
|
+
path: _path2 + ".valueset",
|
|
454
|
+
expected: "(Set<any> | undefined)",
|
|
455
|
+
value: input3.valueset
|
|
366
456
|
})].every((flag) => flag);
|
|
367
|
-
const $
|
|
457
|
+
const $vo6 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
368
458
|
path: _path2 + ".id",
|
|
369
459
|
expected: "string",
|
|
370
460
|
value: input3.id
|
|
@@ -380,8 +470,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
380
470
|
path: _path2 + ".child_types",
|
|
381
471
|
expected: "(Array<string> | undefined)",
|
|
382
472
|
value: input3.child_types
|
|
383
|
-
})) && input3.child_types.map((elem,
|
|
384
|
-
path: _path2 + ".child_types[" +
|
|
473
|
+
})) && input3.child_types.map((elem, _index6) => "string" === typeof elem || $report(_exceptionable2, {
|
|
474
|
+
path: _path2 + ".child_types[" + _index6 + "]",
|
|
385
475
|
expected: "string",
|
|
386
476
|
value: elem
|
|
387
477
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -396,8 +486,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
396
486
|
path: _path2 + ".included_types",
|
|
397
487
|
expected: "(Array<string> | undefined)",
|
|
398
488
|
value: input3.included_types
|
|
399
|
-
})) && input3.included_types.map((elem,
|
|
400
|
-
path: _path2 + ".included_types[" +
|
|
489
|
+
})) && input3.included_types.map((elem, _index7) => "string" === typeof elem || $report(_exceptionable2, {
|
|
490
|
+
path: _path2 + ".included_types[" + _index7 + "]",
|
|
401
491
|
expected: "string",
|
|
402
492
|
value: elem
|
|
403
493
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -412,7 +502,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
412
502
|
path: _path2 + ".values",
|
|
413
503
|
expected: "(TermValues | undefined)",
|
|
414
504
|
value: input3.values
|
|
415
|
-
})) && $
|
|
505
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
416
506
|
path: _path2 + ".values",
|
|
417
507
|
expected: "(TermValues | undefined)",
|
|
418
508
|
value: input3.values
|
|
@@ -424,7 +514,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
424
514
|
path: _path2 + ".valueConversion",
|
|
425
515
|
expected: "(__type.o1 | undefined)",
|
|
426
516
|
value: input3.valueConversion
|
|
427
|
-
})) && $
|
|
517
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
428
518
|
path: _path2 + ".valueConversion",
|
|
429
519
|
expected: "(__type.o1 | undefined)",
|
|
430
520
|
value: input3.valueConversion
|
|
@@ -432,12 +522,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
432
522
|
path: _path2 + ".groupsetting",
|
|
433
523
|
expected: "TermGroupSetting",
|
|
434
524
|
value: input3.groupsetting
|
|
435
|
-
})) && $
|
|
525
|
+
})) && $vo10(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
436
526
|
path: _path2 + ".groupsetting",
|
|
437
527
|
expected: "TermGroupSetting",
|
|
438
528
|
value: input3.groupsetting
|
|
439
529
|
})].every((flag) => flag);
|
|
440
|
-
const $
|
|
530
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
441
531
|
const value = input3[key];
|
|
442
532
|
if (void 0 === value)
|
|
443
533
|
return true;
|
|
@@ -446,7 +536,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
446
536
|
path: _path2 + $join(key),
|
|
447
537
|
expected: "BaseValue",
|
|
448
538
|
value
|
|
449
|
-
})) && $
|
|
539
|
+
})) && $vo8(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
450
540
|
path: _path2 + $join(key),
|
|
451
541
|
expected: "BaseValue",
|
|
452
542
|
value
|
|
@@ -456,14 +546,14 @@ var validTermdbDmrRequest = (input) => {
|
|
|
456
546
|
path: _path2 + $join(key),
|
|
457
547
|
expected: "BaseValue",
|
|
458
548
|
value
|
|
459
|
-
})) && $
|
|
549
|
+
})) && $vo8(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
460
550
|
path: _path2 + $join(key),
|
|
461
551
|
expected: "BaseValue",
|
|
462
552
|
value
|
|
463
553
|
});
|
|
464
554
|
return true;
|
|
465
555
|
}).every((flag) => flag)].every((flag) => flag);
|
|
466
|
-
const $
|
|
556
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
467
557
|
path: _path2 + ".key",
|
|
468
558
|
expected: "(string | undefined)",
|
|
469
559
|
value: input3.key
|
|
@@ -491,12 +581,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
491
581
|
path: _path2 + ".filter",
|
|
492
582
|
expected: "(Filter | undefined)",
|
|
493
583
|
value: input3.filter
|
|
494
|
-
})) && $
|
|
584
|
+
})) && $vo3(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
495
585
|
path: _path2 + ".filter",
|
|
496
586
|
expected: "(Filter | undefined)",
|
|
497
587
|
value: input3.filter
|
|
498
588
|
})].every((flag) => flag);
|
|
499
|
-
const $
|
|
589
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.fromUnit || $report(_exceptionable2, {
|
|
500
590
|
path: _path2 + ".fromUnit",
|
|
501
591
|
expected: "string",
|
|
502
592
|
value: input3.fromUnit
|
|
@@ -509,7 +599,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
509
599
|
expected: "string",
|
|
510
600
|
value: input3.scaleFactor
|
|
511
601
|
})].every((flag) => flag);
|
|
512
|
-
const $
|
|
602
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
513
603
|
path: _path2 + ".disabled",
|
|
514
604
|
expected: "boolean",
|
|
515
605
|
value: input3.disabled
|
|
@@ -517,12 +607,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
517
607
|
path: _path2 + ".lst",
|
|
518
608
|
expected: "(Array<Groupset> | undefined)",
|
|
519
609
|
value: input3.lst
|
|
520
|
-
})) && input3.lst.map((elem,
|
|
521
|
-
path: _path2 + ".lst[" +
|
|
610
|
+
})) && input3.lst.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
611
|
+
path: _path2 + ".lst[" + _index8 + "]",
|
|
522
612
|
expected: "Groupset",
|
|
523
613
|
value: elem
|
|
524
|
-
})) && $
|
|
525
|
-
path: _path2 + ".lst[" +
|
|
614
|
+
})) && $vo11(elem, _path2 + ".lst[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
615
|
+
path: _path2 + ".lst[" + _index8 + "]",
|
|
526
616
|
expected: "Groupset",
|
|
527
617
|
value: elem
|
|
528
618
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -530,7 +620,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
530
620
|
expected: "(Array<Groupset> | undefined)",
|
|
531
621
|
value: input3.lst
|
|
532
622
|
})].every((flag) => flag);
|
|
533
|
-
const $
|
|
623
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
534
624
|
path: _path2 + ".name",
|
|
535
625
|
expected: "string",
|
|
536
626
|
value: input3.name
|
|
@@ -550,12 +640,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
550
640
|
path: _path2 + ".groups",
|
|
551
641
|
expected: "Array<GroupEntry>",
|
|
552
642
|
value: input3.groups
|
|
553
|
-
})) && input3.groups.map((elem,
|
|
554
|
-
path: _path2 + ".groups[" +
|
|
643
|
+
})) && input3.groups.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
644
|
+
path: _path2 + ".groups[" + _index9 + "]",
|
|
555
645
|
expected: "(FilterGroup | ValuesGroup)",
|
|
556
646
|
value: elem
|
|
557
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
558
|
-
path: _path2 + ".groups[" +
|
|
647
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
648
|
+
path: _path2 + ".groups[" + _index9 + "]",
|
|
559
649
|
expected: "(FilterGroup | ValuesGroup)",
|
|
560
650
|
value: elem
|
|
561
651
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -563,7 +653,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
563
653
|
expected: "Array<GroupEntry>",
|
|
564
654
|
value: input3.groups
|
|
565
655
|
})].every((flag) => flag);
|
|
566
|
-
const $
|
|
656
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
567
657
|
path: _path2 + ".name",
|
|
568
658
|
expected: "string",
|
|
569
659
|
value: input3.name
|
|
@@ -575,12 +665,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
575
665
|
path: _path2 + ".values",
|
|
576
666
|
expected: "Array<__type>",
|
|
577
667
|
value: input3.values
|
|
578
|
-
})) && input3.values.map((elem,
|
|
579
|
-
path: _path2 + ".values[" +
|
|
668
|
+
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
669
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
580
670
|
expected: "__type.o2",
|
|
581
671
|
value: elem
|
|
582
|
-
})) && $
|
|
583
|
-
path: _path2 + ".values[" +
|
|
672
|
+
})) && $vo13(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
673
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
584
674
|
expected: "__type.o2",
|
|
585
675
|
value: elem
|
|
586
676
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -592,7 +682,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
592
682
|
expected: "(boolean | undefined)",
|
|
593
683
|
value: input3.uncomputable
|
|
594
684
|
})].every((flag) => flag);
|
|
595
|
-
const $
|
|
685
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
596
686
|
path: _path2 + ".key",
|
|
597
687
|
expected: "(number | string)",
|
|
598
688
|
value: input3.key
|
|
@@ -601,7 +691,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
601
691
|
expected: "string",
|
|
602
692
|
value: input3.label
|
|
603
693
|
})].every((flag) => flag);
|
|
604
|
-
const $
|
|
694
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
605
695
|
path: _path2 + ".name",
|
|
606
696
|
expected: "string",
|
|
607
697
|
value: input3.name
|
|
@@ -613,7 +703,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
613
703
|
path: _path2 + ".filter",
|
|
614
704
|
expected: "Filter",
|
|
615
705
|
value: input3.filter
|
|
616
|
-
})) && $
|
|
706
|
+
})) && $vo3(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
617
707
|
path: _path2 + ".filter",
|
|
618
708
|
expected: "Filter",
|
|
619
709
|
value: input3.filter
|
|
@@ -622,7 +712,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
622
712
|
expected: "string",
|
|
623
713
|
value: input3.color
|
|
624
714
|
})].every((flag) => flag);
|
|
625
|
-
const $
|
|
715
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
626
716
|
path: _path2 + ".join",
|
|
627
717
|
expected: "(string | undefined)",
|
|
628
718
|
value: input3.join
|
|
@@ -630,48 +720,68 @@ var validTermdbDmrRequest = (input) => {
|
|
|
630
720
|
path: _path2 + ".isnot",
|
|
631
721
|
expected: "(boolean | undefined)",
|
|
632
722
|
value: input3.isnot
|
|
723
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
724
|
+
path: _path2 + ".bar_by_grade",
|
|
725
|
+
expected: "(boolean | undefined)",
|
|
726
|
+
value: input3.bar_by_grade
|
|
727
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
728
|
+
path: _path2 + ".bar_by_children",
|
|
729
|
+
expected: "(boolean | undefined)",
|
|
730
|
+
value: input3.bar_by_children
|
|
731
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
732
|
+
path: _path2 + ".value_by_max_grade",
|
|
733
|
+
expected: "(boolean | undefined)",
|
|
734
|
+
value: input3.value_by_max_grade
|
|
735
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
736
|
+
path: _path2 + ".value_by_most_recent",
|
|
737
|
+
expected: "(boolean | undefined)",
|
|
738
|
+
value: input3.value_by_most_recent
|
|
739
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
740
|
+
path: _path2 + ".value_by_computable_grade",
|
|
741
|
+
expected: "(boolean | undefined)",
|
|
742
|
+
value: input3.value_by_computable_grade
|
|
633
743
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
634
744
|
path: _path2 + ".term",
|
|
635
745
|
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | DnaMethylationTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm | WholeProteomeAbundanceTerm)',
|
|
636
746
|
value: input3.term
|
|
637
|
-
})) && $
|
|
747
|
+
})) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
638
748
|
path: _path2 + ".term",
|
|
639
749
|
expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | DnaMethylationTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm | WholeProteomeAbundanceTerm)',
|
|
640
750
|
value: input3.term
|
|
641
751
|
}), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
|
|
642
752
|
path: _path2 + ".ranges",
|
|
643
|
-
expected: "Array<NumericBin>",
|
|
753
|
+
expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
|
|
644
754
|
value: input3.ranges
|
|
645
|
-
})) && input3.ranges.map((elem,
|
|
646
|
-
path: _path2 + ".ranges[" +
|
|
647
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
755
|
+
})) && input3.ranges.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
756
|
+
path: _path2 + ".ranges[" + _index11 + "]",
|
|
757
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
|
|
648
758
|
value: elem
|
|
649
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
650
|
-
path: _path2 + ".ranges[" +
|
|
651
|
-
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
759
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
760
|
+
path: _path2 + ".ranges[" + _index11 + "]",
|
|
761
|
+
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
|
|
652
762
|
value: elem
|
|
653
763
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
654
764
|
path: _path2 + ".ranges",
|
|
655
|
-
expected: "Array<NumericBin>",
|
|
765
|
+
expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
|
|
656
766
|
value: input3.ranges
|
|
657
|
-
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
767
|
+
}), void 0 === input3.values || (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
658
768
|
path: _path2 + ".values",
|
|
659
|
-
expected: "Array<__type>.o1",
|
|
769
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
660
770
|
value: input3.values
|
|
661
|
-
})) && input3.values.map((elem,
|
|
662
|
-
path: _path2 + ".values[" +
|
|
663
|
-
expected: "__type.
|
|
771
|
+
})) && input3.values.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
772
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
773
|
+
expected: "__type.o5",
|
|
664
774
|
value: elem
|
|
665
|
-
})) && $
|
|
666
|
-
path: _path2 + ".values[" +
|
|
667
|
-
expected: "__type.
|
|
775
|
+
})) && $vo35(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
776
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
777
|
+
expected: "__type.o5",
|
|
668
778
|
value: elem
|
|
669
779
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
670
780
|
path: _path2 + ".values",
|
|
671
|
-
expected: "Array<__type>.o1",
|
|
781
|
+
expected: "(Array<__type>.o1 | undefined)",
|
|
672
782
|
value: input3.values
|
|
673
783
|
})].every((flag) => flag);
|
|
674
|
-
const $
|
|
784
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
675
785
|
path: _path2 + ".id",
|
|
676
786
|
expected: "string",
|
|
677
787
|
value: input3.id
|
|
@@ -687,8 +797,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
687
797
|
path: _path2 + ".child_types",
|
|
688
798
|
expected: "(Array<string> | undefined)",
|
|
689
799
|
value: input3.child_types
|
|
690
|
-
})) && input3.child_types.map((elem,
|
|
691
|
-
path: _path2 + ".child_types[" +
|
|
800
|
+
})) && input3.child_types.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable2, {
|
|
801
|
+
path: _path2 + ".child_types[" + _index13 + "]",
|
|
692
802
|
expected: "string",
|
|
693
803
|
value: elem
|
|
694
804
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -703,8 +813,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
703
813
|
path: _path2 + ".included_types",
|
|
704
814
|
expected: "(Array<string> | undefined)",
|
|
705
815
|
value: input3.included_types
|
|
706
|
-
})) && input3.included_types.map((elem,
|
|
707
|
-
path: _path2 + ".included_types[" +
|
|
816
|
+
})) && input3.included_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
817
|
+
path: _path2 + ".included_types[" + _index14 + "]",
|
|
708
818
|
expected: "string",
|
|
709
819
|
value: elem
|
|
710
820
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -719,7 +829,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
719
829
|
path: _path2 + ".values",
|
|
720
830
|
expected: "(TermValues | undefined)",
|
|
721
831
|
value: input3.values
|
|
722
|
-
})) && $
|
|
832
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
723
833
|
path: _path2 + ".values",
|
|
724
834
|
expected: "(TermValues | undefined)",
|
|
725
835
|
value: input3.values
|
|
@@ -731,7 +841,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
731
841
|
path: _path2 + ".valueConversion",
|
|
732
842
|
expected: "(__type.o1 | undefined)",
|
|
733
843
|
value: input3.valueConversion
|
|
734
|
-
})) && $
|
|
844
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
735
845
|
path: _path2 + ".valueConversion",
|
|
736
846
|
expected: "(__type.o1 | undefined)",
|
|
737
847
|
value: input3.valueConversion
|
|
@@ -739,7 +849,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
739
849
|
path: _path2 + ".continuousColorScale",
|
|
740
850
|
expected: "(__type.o3 | undefined)",
|
|
741
851
|
value: input3.continuousColorScale
|
|
742
|
-
})) && $
|
|
852
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
743
853
|
path: _path2 + ".continuousColorScale",
|
|
744
854
|
expected: "(__type.o3 | undefined)",
|
|
745
855
|
value: input3.continuousColorScale
|
|
@@ -751,12 +861,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
751
861
|
path: _path2 + ".bins",
|
|
752
862
|
expected: "PresetNumericBins",
|
|
753
863
|
value: input3.bins
|
|
754
|
-
})) && $
|
|
864
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
755
865
|
path: _path2 + ".bins",
|
|
756
866
|
expected: "PresetNumericBins",
|
|
757
867
|
value: input3.bins
|
|
758
868
|
})].every((flag) => flag);
|
|
759
|
-
const $
|
|
869
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
760
870
|
path: _path2 + ".minColor",
|
|
761
871
|
expected: "string",
|
|
762
872
|
value: input3.minColor
|
|
@@ -765,11 +875,11 @@ var validTermdbDmrRequest = (input) => {
|
|
|
765
875
|
expected: "string",
|
|
766
876
|
value: input3.maxColor
|
|
767
877
|
})].every((flag) => flag);
|
|
768
|
-
const $
|
|
878
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
769
879
|
path: _path2 + '["default"]',
|
|
770
880
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
771
881
|
value: input3["default"]
|
|
772
|
-
})) && $
|
|
882
|
+
})) && $vu7(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
|
|
773
883
|
path: _path2 + '["default"]',
|
|
774
884
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
775
885
|
value: input3["default"]
|
|
@@ -777,7 +887,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
777
887
|
path: _path2 + ".less",
|
|
778
888
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
779
889
|
value: input3.less
|
|
780
|
-
})) && $
|
|
890
|
+
})) && $vu7(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
|
|
781
891
|
path: _path2 + ".less",
|
|
782
892
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
783
893
|
value: input3.less
|
|
@@ -802,11 +912,11 @@ var validTermdbDmrRequest = (input) => {
|
|
|
802
912
|
expected: "(number | undefined)",
|
|
803
913
|
value: input3.max
|
|
804
914
|
})].every((flag) => flag);
|
|
805
|
-
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, {
|
|
806
916
|
path: _path2 + ".hiddenValues",
|
|
807
917
|
expected: "(HiddenValues | undefined)",
|
|
808
918
|
value: input3.hiddenValues
|
|
809
|
-
})) && $
|
|
919
|
+
})) && $vo20(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
810
920
|
path: _path2 + ".hiddenValues",
|
|
811
921
|
expected: "(HiddenValues | undefined)",
|
|
812
922
|
value: input3.hiddenValues
|
|
@@ -838,7 +948,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
838
948
|
path: _path2 + ".first_bin",
|
|
839
949
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
840
950
|
value: input3.first_bin
|
|
841
|
-
})) && $
|
|
951
|
+
})) && $vu8(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
842
952
|
path: _path2 + ".first_bin",
|
|
843
953
|
expected: "(FullyBoundedBin | StartUnboundedBin)",
|
|
844
954
|
value: input3.first_bin
|
|
@@ -846,7 +956,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
846
956
|
path: _path2 + ".last_bin",
|
|
847
957
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
848
958
|
value: input3.last_bin
|
|
849
|
-
})) && $
|
|
959
|
+
})) && $vu9(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
|
|
850
960
|
path: _path2 + ".last_bin",
|
|
851
961
|
expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
|
|
852
962
|
value: input3.last_bin
|
|
@@ -871,7 +981,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
871
981
|
expected: "(boolean | undefined)",
|
|
872
982
|
value: input3.isDummyPreset
|
|
873
983
|
})].every((flag) => flag);
|
|
874
|
-
const $
|
|
984
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
875
985
|
const value = input3[key];
|
|
876
986
|
if (void 0 === value)
|
|
877
987
|
return true;
|
|
@@ -883,7 +993,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
883
993
|
});
|
|
884
994
|
return true;
|
|
885
995
|
}).every((flag) => flag)].every((flag) => flag);
|
|
886
|
-
const $
|
|
996
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
887
997
|
path: _path2 + ".startunbounded",
|
|
888
998
|
expected: "true",
|
|
889
999
|
value: input3.startunbounded
|
|
@@ -912,7 +1022,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
912
1022
|
expected: "(string | undefined)",
|
|
913
1023
|
value: input3.range
|
|
914
1024
|
})].every((flag) => flag);
|
|
915
|
-
const $
|
|
1025
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
916
1026
|
path: _path2 + ".startunbounded",
|
|
917
1027
|
expected: "(false | undefined)",
|
|
918
1028
|
value: input3.startunbounded
|
|
@@ -945,7 +1055,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
945
1055
|
expected: "(string | undefined)",
|
|
946
1056
|
value: input3.range
|
|
947
1057
|
})].every((flag) => flag);
|
|
948
|
-
const $
|
|
1058
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
949
1059
|
path: _path2 + ".start",
|
|
950
1060
|
expected: "number",
|
|
951
1061
|
value: input3.start
|
|
@@ -974,11 +1084,11 @@ var validTermdbDmrRequest = (input) => {
|
|
|
974
1084
|
expected: "(string | undefined)",
|
|
975
1085
|
value: input3.range
|
|
976
1086
|
})].every((flag) => flag);
|
|
977
|
-
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, {
|
|
978
1088
|
path: _path2 + ".hiddenValues",
|
|
979
1089
|
expected: "(HiddenValues | undefined)",
|
|
980
1090
|
value: input3.hiddenValues
|
|
981
|
-
})) && $
|
|
1091
|
+
})) && $vo20(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
982
1092
|
path: _path2 + ".hiddenValues",
|
|
983
1093
|
expected: "(HiddenValues | undefined)",
|
|
984
1094
|
value: input3.hiddenValues
|
|
@@ -1011,7 +1121,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1011
1121
|
path: _path2 + ".lst[0]",
|
|
1012
1122
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1013
1123
|
value: input3.lst[0]
|
|
1014
|
-
})) && $
|
|
1124
|
+
})) && $vu4(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
|
|
1015
1125
|
path: _path2 + ".lst[0]",
|
|
1016
1126
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1017
1127
|
value: input3.lst[0]
|
|
@@ -1020,12 +1130,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1020
1130
|
path: _path2 + ".lst",
|
|
1021
1131
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1022
1132
|
value: input3.lst.slice(1)
|
|
1023
|
-
})) && input3.lst.slice(1).map((elem,
|
|
1024
|
-
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) + "]",
|
|
1025
1135
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1026
1136
|
value: elem
|
|
1027
|
-
})) && $
|
|
1028
|
-
path: _path2 + ".lst[" + (1 +
|
|
1137
|
+
})) && $vu4(elem, _path2 + ".lst[" + (1 + _index15) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1138
|
+
path: _path2 + ".lst[" + (1 + _index15) + "]",
|
|
1029
1139
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
1030
1140
|
value: elem
|
|
1031
1141
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1045,7 +1155,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1045
1155
|
expected: "(boolean | undefined)",
|
|
1046
1156
|
value: input3.isDummyPreset
|
|
1047
1157
|
})].every((flag) => flag);
|
|
1048
|
-
const $
|
|
1158
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1049
1159
|
path: _path2 + ".id",
|
|
1050
1160
|
expected: "string",
|
|
1051
1161
|
value: input3.id
|
|
@@ -1061,8 +1171,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1061
1171
|
path: _path2 + ".child_types",
|
|
1062
1172
|
expected: "(Array<string> | undefined)",
|
|
1063
1173
|
value: input3.child_types
|
|
1064
|
-
})) && input3.child_types.map((elem,
|
|
1065
|
-
path: _path2 + ".child_types[" +
|
|
1174
|
+
})) && input3.child_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1175
|
+
path: _path2 + ".child_types[" + _index16 + "]",
|
|
1066
1176
|
expected: "string",
|
|
1067
1177
|
value: elem
|
|
1068
1178
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1077,8 +1187,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1077
1187
|
path: _path2 + ".included_types",
|
|
1078
1188
|
expected: "(Array<string> | undefined)",
|
|
1079
1189
|
value: input3.included_types
|
|
1080
|
-
})) && input3.included_types.map((elem,
|
|
1081
|
-
path: _path2 + ".included_types[" +
|
|
1190
|
+
})) && input3.included_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1191
|
+
path: _path2 + ".included_types[" + _index17 + "]",
|
|
1082
1192
|
expected: "string",
|
|
1083
1193
|
value: elem
|
|
1084
1194
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1093,7 +1203,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1093
1203
|
path: _path2 + ".values",
|
|
1094
1204
|
expected: "(TermValues | undefined)",
|
|
1095
1205
|
value: input3.values
|
|
1096
|
-
})) && $
|
|
1206
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1097
1207
|
path: _path2 + ".values",
|
|
1098
1208
|
expected: "(TermValues | undefined)",
|
|
1099
1209
|
value: input3.values
|
|
@@ -1105,7 +1215,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1105
1215
|
path: _path2 + ".valueConversion",
|
|
1106
1216
|
expected: "(__type.o1 | undefined)",
|
|
1107
1217
|
value: input3.valueConversion
|
|
1108
|
-
})) && $
|
|
1218
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1109
1219
|
path: _path2 + ".valueConversion",
|
|
1110
1220
|
expected: "(__type.o1 | undefined)",
|
|
1111
1221
|
value: input3.valueConversion
|
|
@@ -1113,7 +1223,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1113
1223
|
path: _path2 + ".continuousColorScale",
|
|
1114
1224
|
expected: "(__type.o3 | undefined)",
|
|
1115
1225
|
value: input3.continuousColorScale
|
|
1116
|
-
})) && $
|
|
1226
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1117
1227
|
path: _path2 + ".continuousColorScale",
|
|
1118
1228
|
expected: "(__type.o3 | undefined)",
|
|
1119
1229
|
value: input3.continuousColorScale
|
|
@@ -1125,7 +1235,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1125
1235
|
path: _path2 + ".bins",
|
|
1126
1236
|
expected: "(PresetNumericBins | undefined)",
|
|
1127
1237
|
value: input3.bins
|
|
1128
|
-
})) && $
|
|
1238
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1129
1239
|
path: _path2 + ".bins",
|
|
1130
1240
|
expected: "(PresetNumericBins | undefined)",
|
|
1131
1241
|
value: input3.bins
|
|
@@ -1150,7 +1260,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1150
1260
|
expected: "(number | undefined)",
|
|
1151
1261
|
value: input3.stop
|
|
1152
1262
|
})].every((flag) => flag);
|
|
1153
|
-
const $
|
|
1263
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1154
1264
|
path: _path2 + ".id",
|
|
1155
1265
|
expected: "string",
|
|
1156
1266
|
value: input3.id
|
|
@@ -1166,8 +1276,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1166
1276
|
path: _path2 + ".child_types",
|
|
1167
1277
|
expected: "(Array<string> | undefined)",
|
|
1168
1278
|
value: input3.child_types
|
|
1169
|
-
})) && input3.child_types.map((elem,
|
|
1170
|
-
path: _path2 + ".child_types[" +
|
|
1279
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1280
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
1171
1281
|
expected: "string",
|
|
1172
1282
|
value: elem
|
|
1173
1283
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1182,8 +1292,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1182
1292
|
path: _path2 + ".included_types",
|
|
1183
1293
|
expected: "(Array<string> | undefined)",
|
|
1184
1294
|
value: input3.included_types
|
|
1185
|
-
})) && input3.included_types.map((elem,
|
|
1186
|
-
path: _path2 + ".included_types[" +
|
|
1295
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1296
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1187
1297
|
expected: "string",
|
|
1188
1298
|
value: elem
|
|
1189
1299
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1198,7 +1308,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1198
1308
|
path: _path2 + ".values",
|
|
1199
1309
|
expected: "(TermValues | undefined)",
|
|
1200
1310
|
value: input3.values
|
|
1201
|
-
})) && $
|
|
1311
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1202
1312
|
path: _path2 + ".values",
|
|
1203
1313
|
expected: "(TermValues | undefined)",
|
|
1204
1314
|
value: input3.values
|
|
@@ -1210,7 +1320,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1210
1320
|
path: _path2 + ".valueConversion",
|
|
1211
1321
|
expected: "(__type.o1 | undefined)",
|
|
1212
1322
|
value: input3.valueConversion
|
|
1213
|
-
})) && $
|
|
1323
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1214
1324
|
path: _path2 + ".valueConversion",
|
|
1215
1325
|
expected: "(__type.o1 | undefined)",
|
|
1216
1326
|
value: input3.valueConversion
|
|
@@ -1218,7 +1328,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1218
1328
|
path: _path2 + ".continuousColorScale",
|
|
1219
1329
|
expected: "(__type.o3 | undefined)",
|
|
1220
1330
|
value: input3.continuousColorScale
|
|
1221
|
-
})) && $
|
|
1331
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1222
1332
|
path: _path2 + ".continuousColorScale",
|
|
1223
1333
|
expected: "(__type.o3 | undefined)",
|
|
1224
1334
|
value: input3.continuousColorScale
|
|
@@ -1230,7 +1340,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1230
1340
|
path: _path2 + ".bins",
|
|
1231
1341
|
expected: "(PresetNumericBins | undefined)",
|
|
1232
1342
|
value: input3.bins
|
|
1233
|
-
})) && $
|
|
1343
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1234
1344
|
path: _path2 + ".bins",
|
|
1235
1345
|
expected: "(PresetNumericBins | undefined)",
|
|
1236
1346
|
value: input3.bins
|
|
@@ -1255,7 +1365,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1255
1365
|
expected: "number",
|
|
1256
1366
|
value: input3.stop
|
|
1257
1367
|
})].every((flag) => flag);
|
|
1258
|
-
const $
|
|
1368
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1259
1369
|
path: _path2 + ".id",
|
|
1260
1370
|
expected: "string",
|
|
1261
1371
|
value: input3.id
|
|
@@ -1271,8 +1381,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1271
1381
|
path: _path2 + ".child_types",
|
|
1272
1382
|
expected: "(Array<string> | undefined)",
|
|
1273
1383
|
value: input3.child_types
|
|
1274
|
-
})) && input3.child_types.map((elem,
|
|
1275
|
-
path: _path2 + ".child_types[" +
|
|
1384
|
+
})) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1385
|
+
path: _path2 + ".child_types[" + _index20 + "]",
|
|
1276
1386
|
expected: "string",
|
|
1277
1387
|
value: elem
|
|
1278
1388
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1287,8 +1397,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1287
1397
|
path: _path2 + ".included_types",
|
|
1288
1398
|
expected: "(Array<string> | undefined)",
|
|
1289
1399
|
value: input3.included_types
|
|
1290
|
-
})) && input3.included_types.map((elem,
|
|
1291
|
-
path: _path2 + ".included_types[" +
|
|
1400
|
+
})) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1401
|
+
path: _path2 + ".included_types[" + _index21 + "]",
|
|
1292
1402
|
expected: "string",
|
|
1293
1403
|
value: elem
|
|
1294
1404
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1303,7 +1413,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1303
1413
|
path: _path2 + ".values",
|
|
1304
1414
|
expected: "(TermValues | undefined)",
|
|
1305
1415
|
value: input3.values
|
|
1306
|
-
})) && $
|
|
1416
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1307
1417
|
path: _path2 + ".values",
|
|
1308
1418
|
expected: "(TermValues | undefined)",
|
|
1309
1419
|
value: input3.values
|
|
@@ -1315,7 +1425,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1315
1425
|
path: _path2 + ".valueConversion",
|
|
1316
1426
|
expected: "(__type.o1 | undefined)",
|
|
1317
1427
|
value: input3.valueConversion
|
|
1318
|
-
})) && $
|
|
1428
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1319
1429
|
path: _path2 + ".valueConversion",
|
|
1320
1430
|
expected: "(__type.o1 | undefined)",
|
|
1321
1431
|
value: input3.valueConversion
|
|
@@ -1323,7 +1433,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1323
1433
|
path: _path2 + ".continuousColorScale",
|
|
1324
1434
|
expected: "(__type.o3 | undefined)",
|
|
1325
1435
|
value: input3.continuousColorScale
|
|
1326
|
-
})) && $
|
|
1436
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1327
1437
|
path: _path2 + ".continuousColorScale",
|
|
1328
1438
|
expected: "(__type.o3 | undefined)",
|
|
1329
1439
|
value: input3.continuousColorScale
|
|
@@ -1339,12 +1449,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1339
1449
|
path: _path2 + ".bins",
|
|
1340
1450
|
expected: "(PresetNumericBins | undefined)",
|
|
1341
1451
|
value: input3.bins
|
|
1342
|
-
})) && $
|
|
1452
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1343
1453
|
path: _path2 + ".bins",
|
|
1344
1454
|
expected: "(PresetNumericBins | undefined)",
|
|
1345
1455
|
value: input3.bins
|
|
1346
1456
|
})].every((flag) => flag);
|
|
1347
|
-
const $
|
|
1457
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1348
1458
|
path: _path2 + ".id",
|
|
1349
1459
|
expected: "string",
|
|
1350
1460
|
value: input3.id
|
|
@@ -1360,8 +1470,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1360
1470
|
path: _path2 + ".child_types",
|
|
1361
1471
|
expected: "(Array<string> | undefined)",
|
|
1362
1472
|
value: input3.child_types
|
|
1363
|
-
})) && input3.child_types.map((elem,
|
|
1364
|
-
path: _path2 + ".child_types[" +
|
|
1473
|
+
})) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1474
|
+
path: _path2 + ".child_types[" + _index22 + "]",
|
|
1365
1475
|
expected: "string",
|
|
1366
1476
|
value: elem
|
|
1367
1477
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1376,8 +1486,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1376
1486
|
path: _path2 + ".included_types",
|
|
1377
1487
|
expected: "(Array<string> | undefined)",
|
|
1378
1488
|
value: input3.included_types
|
|
1379
|
-
})) && input3.included_types.map((elem,
|
|
1380
|
-
path: _path2 + ".included_types[" +
|
|
1489
|
+
})) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1490
|
+
path: _path2 + ".included_types[" + _index23 + "]",
|
|
1381
1491
|
expected: "string",
|
|
1382
1492
|
value: elem
|
|
1383
1493
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1392,7 +1502,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1392
1502
|
path: _path2 + ".values",
|
|
1393
1503
|
expected: "(TermValues | undefined)",
|
|
1394
1504
|
value: input3.values
|
|
1395
|
-
})) && $
|
|
1505
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1396
1506
|
path: _path2 + ".values",
|
|
1397
1507
|
expected: "(TermValues | undefined)",
|
|
1398
1508
|
value: input3.values
|
|
@@ -1404,7 +1514,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1404
1514
|
path: _path2 + ".valueConversion",
|
|
1405
1515
|
expected: "(__type.o1 | undefined)",
|
|
1406
1516
|
value: input3.valueConversion
|
|
1407
|
-
})) && $
|
|
1517
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1408
1518
|
path: _path2 + ".valueConversion",
|
|
1409
1519
|
expected: "(__type.o1 | undefined)",
|
|
1410
1520
|
value: input3.valueConversion
|
|
@@ -1412,7 +1522,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1412
1522
|
path: _path2 + ".continuousColorScale",
|
|
1413
1523
|
expected: "(__type.o3 | undefined)",
|
|
1414
1524
|
value: input3.continuousColorScale
|
|
1415
|
-
})) && $
|
|
1525
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1416
1526
|
path: _path2 + ".continuousColorScale",
|
|
1417
1527
|
expected: "(__type.o3 | undefined)",
|
|
1418
1528
|
value: input3.continuousColorScale
|
|
@@ -1428,12 +1538,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1428
1538
|
path: _path2 + ".bins",
|
|
1429
1539
|
expected: "(PresetNumericBins | undefined)",
|
|
1430
1540
|
value: input3.bins
|
|
1431
|
-
})) && $
|
|
1541
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1432
1542
|
path: _path2 + ".bins",
|
|
1433
1543
|
expected: "(PresetNumericBins | undefined)",
|
|
1434
1544
|
value: input3.bins
|
|
1435
1545
|
})].every((flag) => flag);
|
|
1436
|
-
const $
|
|
1546
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1437
1547
|
path: _path2 + ".id",
|
|
1438
1548
|
expected: "string",
|
|
1439
1549
|
value: input3.id
|
|
@@ -1449,8 +1559,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1449
1559
|
path: _path2 + ".child_types",
|
|
1450
1560
|
expected: "(Array<string> | undefined)",
|
|
1451
1561
|
value: input3.child_types
|
|
1452
|
-
})) && input3.child_types.map((elem,
|
|
1453
|
-
path: _path2 + ".child_types[" +
|
|
1562
|
+
})) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1563
|
+
path: _path2 + ".child_types[" + _index24 + "]",
|
|
1454
1564
|
expected: "string",
|
|
1455
1565
|
value: elem
|
|
1456
1566
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1465,8 +1575,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1465
1575
|
path: _path2 + ".included_types",
|
|
1466
1576
|
expected: "(Array<string> | undefined)",
|
|
1467
1577
|
value: input3.included_types
|
|
1468
|
-
})) && input3.included_types.map((elem,
|
|
1469
|
-
path: _path2 + ".included_types[" +
|
|
1578
|
+
})) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1579
|
+
path: _path2 + ".included_types[" + _index25 + "]",
|
|
1470
1580
|
expected: "string",
|
|
1471
1581
|
value: elem
|
|
1472
1582
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1481,7 +1591,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1481
1591
|
path: _path2 + ".values",
|
|
1482
1592
|
expected: "(TermValues | undefined)",
|
|
1483
1593
|
value: input3.values
|
|
1484
|
-
})) && $
|
|
1594
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1485
1595
|
path: _path2 + ".values",
|
|
1486
1596
|
expected: "(TermValues | undefined)",
|
|
1487
1597
|
value: input3.values
|
|
@@ -1493,7 +1603,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1493
1603
|
path: _path2 + ".valueConversion",
|
|
1494
1604
|
expected: "(__type.o1 | undefined)",
|
|
1495
1605
|
value: input3.valueConversion
|
|
1496
|
-
})) && $
|
|
1606
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1497
1607
|
path: _path2 + ".valueConversion",
|
|
1498
1608
|
expected: "(__type.o1 | undefined)",
|
|
1499
1609
|
value: input3.valueConversion
|
|
@@ -1501,7 +1611,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1501
1611
|
path: _path2 + ".continuousColorScale",
|
|
1502
1612
|
expected: "(__type.o3 | undefined)",
|
|
1503
1613
|
value: input3.continuousColorScale
|
|
1504
|
-
})) && $
|
|
1614
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1505
1615
|
path: _path2 + ".continuousColorScale",
|
|
1506
1616
|
expected: "(__type.o3 | undefined)",
|
|
1507
1617
|
value: input3.continuousColorScale
|
|
@@ -1513,12 +1623,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1513
1623
|
path: _path2 + ".bins",
|
|
1514
1624
|
expected: "(PresetNumericBins | undefined)",
|
|
1515
1625
|
value: input3.bins
|
|
1516
|
-
})) && $
|
|
1626
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1517
1627
|
path: _path2 + ".bins",
|
|
1518
1628
|
expected: "(PresetNumericBins | undefined)",
|
|
1519
1629
|
value: input3.bins
|
|
1520
1630
|
})].every((flag) => flag);
|
|
1521
|
-
const $
|
|
1631
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1522
1632
|
path: _path2 + ".id",
|
|
1523
1633
|
expected: "string",
|
|
1524
1634
|
value: input3.id
|
|
@@ -1534,8 +1644,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1534
1644
|
path: _path2 + ".child_types",
|
|
1535
1645
|
expected: "(Array<string> | undefined)",
|
|
1536
1646
|
value: input3.child_types
|
|
1537
|
-
})) && input3.child_types.map((elem,
|
|
1538
|
-
path: _path2 + ".child_types[" +
|
|
1647
|
+
})) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1648
|
+
path: _path2 + ".child_types[" + _index26 + "]",
|
|
1539
1649
|
expected: "string",
|
|
1540
1650
|
value: elem
|
|
1541
1651
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1550,8 +1660,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1550
1660
|
path: _path2 + ".included_types",
|
|
1551
1661
|
expected: "(Array<string> | undefined)",
|
|
1552
1662
|
value: input3.included_types
|
|
1553
|
-
})) && input3.included_types.map((elem,
|
|
1554
|
-
path: _path2 + ".included_types[" +
|
|
1663
|
+
})) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1664
|
+
path: _path2 + ".included_types[" + _index27 + "]",
|
|
1555
1665
|
expected: "string",
|
|
1556
1666
|
value: elem
|
|
1557
1667
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1566,7 +1676,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1566
1676
|
path: _path2 + ".values",
|
|
1567
1677
|
expected: "(TermValues | undefined)",
|
|
1568
1678
|
value: input3.values
|
|
1569
|
-
})) && $
|
|
1679
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1570
1680
|
path: _path2 + ".values",
|
|
1571
1681
|
expected: "(TermValues | undefined)",
|
|
1572
1682
|
value: input3.values
|
|
@@ -1578,7 +1688,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1578
1688
|
path: _path2 + ".valueConversion",
|
|
1579
1689
|
expected: "(__type.o1 | undefined)",
|
|
1580
1690
|
value: input3.valueConversion
|
|
1581
|
-
})) && $
|
|
1691
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1582
1692
|
path: _path2 + ".valueConversion",
|
|
1583
1693
|
expected: "(__type.o1 | undefined)",
|
|
1584
1694
|
value: input3.valueConversion
|
|
@@ -1586,7 +1696,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1586
1696
|
path: _path2 + ".continuousColorScale",
|
|
1587
1697
|
expected: "(__type.o3 | undefined)",
|
|
1588
1698
|
value: input3.continuousColorScale
|
|
1589
|
-
})) && $
|
|
1699
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1590
1700
|
path: _path2 + ".continuousColorScale",
|
|
1591
1701
|
expected: "(__type.o3 | undefined)",
|
|
1592
1702
|
value: input3.continuousColorScale
|
|
@@ -1598,8 +1708,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1598
1708
|
path: _path2 + ".genes",
|
|
1599
1709
|
expected: "(Array<string> | undefined)",
|
|
1600
1710
|
value: input3.genes
|
|
1601
|
-
})) && input3.genes.map((elem,
|
|
1602
|
-
path: _path2 + ".genes[" +
|
|
1711
|
+
})) && input3.genes.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1712
|
+
path: _path2 + ".genes[" + _index28 + "]",
|
|
1603
1713
|
expected: "string",
|
|
1604
1714
|
value: elem
|
|
1605
1715
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1610,12 +1720,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1610
1720
|
path: _path2 + ".bins",
|
|
1611
1721
|
expected: "(PresetNumericBins | undefined)",
|
|
1612
1722
|
value: input3.bins
|
|
1613
|
-
})) && $
|
|
1723
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1614
1724
|
path: _path2 + ".bins",
|
|
1615
1725
|
expected: "(PresetNumericBins | undefined)",
|
|
1616
1726
|
value: input3.bins
|
|
1617
1727
|
})].every((flag) => flag);
|
|
1618
|
-
const $
|
|
1728
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1619
1729
|
path: _path2 + ".id",
|
|
1620
1730
|
expected: "string",
|
|
1621
1731
|
value: input3.id
|
|
@@ -1631,8 +1741,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1631
1741
|
path: _path2 + ".child_types",
|
|
1632
1742
|
expected: "(Array<string> | undefined)",
|
|
1633
1743
|
value: input3.child_types
|
|
1634
|
-
})) && input3.child_types.map((elem,
|
|
1635
|
-
path: _path2 + ".child_types[" +
|
|
1744
|
+
})) && input3.child_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1745
|
+
path: _path2 + ".child_types[" + _index29 + "]",
|
|
1636
1746
|
expected: "string",
|
|
1637
1747
|
value: elem
|
|
1638
1748
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1647,8 +1757,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1647
1757
|
path: _path2 + ".included_types",
|
|
1648
1758
|
expected: "(Array<string> | undefined)",
|
|
1649
1759
|
value: input3.included_types
|
|
1650
|
-
})) && input3.included_types.map((elem,
|
|
1651
|
-
path: _path2 + ".included_types[" +
|
|
1760
|
+
})) && input3.included_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1761
|
+
path: _path2 + ".included_types[" + _index30 + "]",
|
|
1652
1762
|
expected: "string",
|
|
1653
1763
|
value: elem
|
|
1654
1764
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1663,7 +1773,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1663
1773
|
path: _path2 + ".values",
|
|
1664
1774
|
expected: "(TermValues | undefined)",
|
|
1665
1775
|
value: input3.values
|
|
1666
|
-
})) && $
|
|
1776
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1667
1777
|
path: _path2 + ".values",
|
|
1668
1778
|
expected: "(TermValues | undefined)",
|
|
1669
1779
|
value: input3.values
|
|
@@ -1675,7 +1785,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1675
1785
|
path: _path2 + ".valueConversion",
|
|
1676
1786
|
expected: "(__type.o1 | undefined)",
|
|
1677
1787
|
value: input3.valueConversion
|
|
1678
|
-
})) && $
|
|
1788
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1679
1789
|
path: _path2 + ".valueConversion",
|
|
1680
1790
|
expected: "(__type.o1 | undefined)",
|
|
1681
1791
|
value: input3.valueConversion
|
|
@@ -1683,7 +1793,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1683
1793
|
path: _path2 + ".continuousColorScale",
|
|
1684
1794
|
expected: "(__type.o3 | undefined)",
|
|
1685
1795
|
value: input3.continuousColorScale
|
|
1686
|
-
})) && $
|
|
1796
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1687
1797
|
path: _path2 + ".continuousColorScale",
|
|
1688
1798
|
expected: "(__type.o3 | undefined)",
|
|
1689
1799
|
value: input3.continuousColorScale
|
|
@@ -1707,12 +1817,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1707
1817
|
path: _path2 + ".bins",
|
|
1708
1818
|
expected: "(PresetNumericBins | undefined)",
|
|
1709
1819
|
value: input3.bins
|
|
1710
|
-
})) && $
|
|
1820
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1711
1821
|
path: _path2 + ".bins",
|
|
1712
1822
|
expected: "(PresetNumericBins | undefined)",
|
|
1713
1823
|
value: input3.bins
|
|
1714
1824
|
})].every((flag) => flag);
|
|
1715
|
-
const $
|
|
1825
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1716
1826
|
path: _path2 + ".id",
|
|
1717
1827
|
expected: "string",
|
|
1718
1828
|
value: input3.id
|
|
@@ -1728,8 +1838,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1728
1838
|
path: _path2 + ".child_types",
|
|
1729
1839
|
expected: "(Array<string> | undefined)",
|
|
1730
1840
|
value: input3.child_types
|
|
1731
|
-
})) && input3.child_types.map((elem,
|
|
1732
|
-
path: _path2 + ".child_types[" +
|
|
1841
|
+
})) && input3.child_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1842
|
+
path: _path2 + ".child_types[" + _index31 + "]",
|
|
1733
1843
|
expected: "string",
|
|
1734
1844
|
value: elem
|
|
1735
1845
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1744,8 +1854,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1744
1854
|
path: _path2 + ".included_types",
|
|
1745
1855
|
expected: "(Array<string> | undefined)",
|
|
1746
1856
|
value: input3.included_types
|
|
1747
|
-
})) && input3.included_types.map((elem,
|
|
1748
|
-
path: _path2 + ".included_types[" +
|
|
1857
|
+
})) && input3.included_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1858
|
+
path: _path2 + ".included_types[" + _index32 + "]",
|
|
1749
1859
|
expected: "string",
|
|
1750
1860
|
value: elem
|
|
1751
1861
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1760,7 +1870,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1760
1870
|
path: _path2 + ".values",
|
|
1761
1871
|
expected: "(TermValues | undefined)",
|
|
1762
1872
|
value: input3.values
|
|
1763
|
-
})) && $
|
|
1873
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1764
1874
|
path: _path2 + ".values",
|
|
1765
1875
|
expected: "(TermValues | undefined)",
|
|
1766
1876
|
value: input3.values
|
|
@@ -1772,7 +1882,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1772
1882
|
path: _path2 + ".valueConversion",
|
|
1773
1883
|
expected: "(__type.o1 | undefined)",
|
|
1774
1884
|
value: input3.valueConversion
|
|
1775
|
-
})) && $
|
|
1885
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1776
1886
|
path: _path2 + ".valueConversion",
|
|
1777
1887
|
expected: "(__type.o1 | undefined)",
|
|
1778
1888
|
value: input3.valueConversion
|
|
@@ -1780,7 +1890,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1780
1890
|
path: _path2 + ".continuousColorScale",
|
|
1781
1891
|
expected: "(__type.o3 | undefined)",
|
|
1782
1892
|
value: input3.continuousColorScale
|
|
1783
|
-
})) && $
|
|
1893
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1784
1894
|
path: _path2 + ".continuousColorScale",
|
|
1785
1895
|
expected: "(__type.o3 | undefined)",
|
|
1786
1896
|
value: input3.continuousColorScale
|
|
@@ -1800,7 +1910,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1800
1910
|
path: _path2 + ".bins",
|
|
1801
1911
|
expected: "(PresetNumericBins | undefined)",
|
|
1802
1912
|
value: input3.bins
|
|
1803
|
-
})) && $
|
|
1913
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1804
1914
|
path: _path2 + ".bins",
|
|
1805
1915
|
expected: "(PresetNumericBins | undefined)",
|
|
1806
1916
|
value: input3.bins
|
|
@@ -1821,7 +1931,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1821
1931
|
expected: "(number | undefined)",
|
|
1822
1932
|
value: input3.stop
|
|
1823
1933
|
})].every((flag) => flag);
|
|
1824
|
-
const $
|
|
1934
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1825
1935
|
path: _path2 + ".id",
|
|
1826
1936
|
expected: "string",
|
|
1827
1937
|
value: input3.id
|
|
@@ -1837,8 +1947,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1837
1947
|
path: _path2 + ".child_types",
|
|
1838
1948
|
expected: "(Array<string> | undefined)",
|
|
1839
1949
|
value: input3.child_types
|
|
1840
|
-
})) && input3.child_types.map((elem,
|
|
1841
|
-
path: _path2 + ".child_types[" +
|
|
1950
|
+
})) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1951
|
+
path: _path2 + ".child_types[" + _index33 + "]",
|
|
1842
1952
|
expected: "string",
|
|
1843
1953
|
value: elem
|
|
1844
1954
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1853,8 +1963,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1853
1963
|
path: _path2 + ".included_types",
|
|
1854
1964
|
expected: "(Array<string> | undefined)",
|
|
1855
1965
|
value: input3.included_types
|
|
1856
|
-
})) && input3.included_types.map((elem,
|
|
1857
|
-
path: _path2 + ".included_types[" +
|
|
1966
|
+
})) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1967
|
+
path: _path2 + ".included_types[" + _index34 + "]",
|
|
1858
1968
|
expected: "string",
|
|
1859
1969
|
value: elem
|
|
1860
1970
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1869,7 +1979,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1869
1979
|
path: _path2 + ".values",
|
|
1870
1980
|
expected: "(TermValues | undefined)",
|
|
1871
1981
|
value: input3.values
|
|
1872
|
-
})) && $
|
|
1982
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1873
1983
|
path: _path2 + ".values",
|
|
1874
1984
|
expected: "(TermValues | undefined)",
|
|
1875
1985
|
value: input3.values
|
|
@@ -1881,7 +1991,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1881
1991
|
path: _path2 + ".valueConversion",
|
|
1882
1992
|
expected: "(__type.o1 | undefined)",
|
|
1883
1993
|
value: input3.valueConversion
|
|
1884
|
-
})) && $
|
|
1994
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
1885
1995
|
path: _path2 + ".valueConversion",
|
|
1886
1996
|
expected: "(__type.o1 | undefined)",
|
|
1887
1997
|
value: input3.valueConversion
|
|
@@ -1889,7 +1999,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1889
1999
|
path: _path2 + ".continuousColorScale",
|
|
1890
2000
|
expected: "(__type.o3 | undefined)",
|
|
1891
2001
|
value: input3.continuousColorScale
|
|
1892
|
-
})) && $
|
|
2002
|
+
})) && $vo17(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1893
2003
|
path: _path2 + ".continuousColorScale",
|
|
1894
2004
|
expected: "(__type.o3 | undefined)",
|
|
1895
2005
|
value: input3.continuousColorScale
|
|
@@ -1909,7 +2019,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1909
2019
|
path: _path2 + ".bins",
|
|
1910
2020
|
expected: "(PresetNumericBins | undefined)",
|
|
1911
2021
|
value: input3.bins
|
|
1912
|
-
})) && $
|
|
2022
|
+
})) && $vo18(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
1913
2023
|
path: _path2 + ".bins",
|
|
1914
2024
|
expected: "(PresetNumericBins | undefined)",
|
|
1915
2025
|
value: input3.bins
|
|
@@ -1930,7 +2040,20 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1930
2040
|
expected: "number",
|
|
1931
2041
|
value: input3.stop
|
|
1932
2042
|
})].every((flag) => flag);
|
|
1933
|
-
const $
|
|
2043
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
|
|
2044
|
+
path: _path2 + ".value",
|
|
2045
|
+
expected: "number",
|
|
2046
|
+
value: input3.value
|
|
2047
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2048
|
+
path: _path2 + ".label",
|
|
2049
|
+
expected: "(string | undefined)",
|
|
2050
|
+
value: input3.label
|
|
2051
|
+
}), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
|
|
2052
|
+
path: _path2 + ".name",
|
|
2053
|
+
expected: "(string | undefined)",
|
|
2054
|
+
value: input3.name
|
|
2055
|
+
})].every((flag) => flag);
|
|
2056
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1934
2057
|
path: _path2 + ".key",
|
|
1935
2058
|
expected: "string",
|
|
1936
2059
|
value: input3.key
|
|
@@ -1947,7 +2070,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1947
2070
|
expected: "(string | undefined)",
|
|
1948
2071
|
value: input3.label
|
|
1949
2072
|
})].every((flag) => flag);
|
|
1950
|
-
const $
|
|
2073
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1951
2074
|
path: _path2 + ".join",
|
|
1952
2075
|
expected: "(string | undefined)",
|
|
1953
2076
|
value: input3.join
|
|
@@ -1955,14 +2078,14 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1955
2078
|
path: _path2 + ".isnot",
|
|
1956
2079
|
expected: "(boolean | undefined)",
|
|
1957
2080
|
value: input3.isnot
|
|
1958
|
-
}),
|
|
1959
|
-
path: _path2 + ".
|
|
1960
|
-
expected: "
|
|
1961
|
-
value: input3.
|
|
1962
|
-
})
|
|
1963
|
-
path: _path2 + ".
|
|
1964
|
-
expected: "
|
|
1965
|
-
value: input3.
|
|
2081
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
2082
|
+
path: _path2 + ".bar_by_grade",
|
|
2083
|
+
expected: "(boolean | undefined)",
|
|
2084
|
+
value: input3.bar_by_grade
|
|
2085
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
2086
|
+
path: _path2 + ".bar_by_children",
|
|
2087
|
+
expected: "(boolean | undefined)",
|
|
2088
|
+
value: input3.bar_by_children
|
|
1966
2089
|
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
1967
2090
|
path: _path2 + ".value_by_max_grade",
|
|
1968
2091
|
expected: "(boolean | undefined)",
|
|
@@ -1975,24 +2098,48 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1975
2098
|
path: _path2 + ".value_by_computable_grade",
|
|
1976
2099
|
expected: "(boolean | undefined)",
|
|
1977
2100
|
value: input3.value_by_computable_grade
|
|
2101
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2102
|
+
path: _path2 + ".term",
|
|
2103
|
+
expected: "ConditionTerm",
|
|
2104
|
+
value: input3.term
|
|
2105
|
+
})) && $vo37(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2106
|
+
path: _path2 + ".term",
|
|
2107
|
+
expected: "ConditionTerm",
|
|
2108
|
+
value: input3.term
|
|
1978
2109
|
}), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
|
|
1979
2110
|
path: _path2 + ".grade_and_child",
|
|
1980
2111
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1981
2112
|
value: input3.grade_and_child
|
|
1982
|
-
})) && input3.grade_and_child.map((elem,
|
|
1983
|
-
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 + "]",
|
|
1984
2115
|
expected: "GradeAndChildEntry",
|
|
1985
2116
|
value: elem
|
|
1986
|
-
})) && $
|
|
1987
|
-
path: _path2 + ".grade_and_child[" +
|
|
2117
|
+
})) && $vo38(elem, _path2 + ".grade_and_child[" + _index35 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2118
|
+
path: _path2 + ".grade_and_child[" + _index35 + "]",
|
|
1988
2119
|
expected: "GradeAndChildEntry",
|
|
1989
2120
|
value: elem
|
|
1990
2121
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1991
2122
|
path: _path2 + ".grade_and_child",
|
|
1992
2123
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1993
2124
|
value: input3.grade_and_child
|
|
2125
|
+
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2126
|
+
path: _path2 + ".values",
|
|
2127
|
+
expected: "Array<__type>.o2",
|
|
2128
|
+
value: input3.values
|
|
2129
|
+
})) && input3.values.map((elem, _index36) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2130
|
+
path: _path2 + ".values[" + _index36 + "]",
|
|
2131
|
+
expected: "__type.o6",
|
|
2132
|
+
value: elem
|
|
2133
|
+
})) && $vo39(elem, _path2 + ".values[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2134
|
+
path: _path2 + ".values[" + _index36 + "]",
|
|
2135
|
+
expected: "__type.o6",
|
|
2136
|
+
value: elem
|
|
2137
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2138
|
+
path: _path2 + ".values",
|
|
2139
|
+
expected: "Array<__type>.o2",
|
|
2140
|
+
value: input3.values
|
|
1994
2141
|
})].every((flag) => flag);
|
|
1995
|
-
const $
|
|
2142
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1996
2143
|
path: _path2 + ".id",
|
|
1997
2144
|
expected: "string",
|
|
1998
2145
|
value: input3.id
|
|
@@ -2008,8 +2155,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2008
2155
|
path: _path2 + ".child_types",
|
|
2009
2156
|
expected: "(Array<string> | undefined)",
|
|
2010
2157
|
value: input3.child_types
|
|
2011
|
-
})) && input3.child_types.map((elem,
|
|
2012
|
-
path: _path2 + ".child_types[" +
|
|
2158
|
+
})) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2159
|
+
path: _path2 + ".child_types[" + _index37 + "]",
|
|
2013
2160
|
expected: "string",
|
|
2014
2161
|
value: elem
|
|
2015
2162
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2024,8 +2171,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2024
2171
|
path: _path2 + ".included_types",
|
|
2025
2172
|
expected: "(Array<string> | undefined)",
|
|
2026
2173
|
value: input3.included_types
|
|
2027
|
-
})) && input3.included_types.map((elem,
|
|
2028
|
-
path: _path2 + ".included_types[" +
|
|
2174
|
+
})) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2175
|
+
path: _path2 + ".included_types[" + _index38 + "]",
|
|
2029
2176
|
expected: "string",
|
|
2030
2177
|
value: elem
|
|
2031
2178
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2040,7 +2187,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2040
2187
|
path: _path2 + ".values",
|
|
2041
2188
|
expected: "(TermValues | undefined)",
|
|
2042
2189
|
value: input3.values
|
|
2043
|
-
})) && $
|
|
2190
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2044
2191
|
path: _path2 + ".values",
|
|
2045
2192
|
expected: "(TermValues | undefined)",
|
|
2046
2193
|
value: input3.values
|
|
@@ -2052,12 +2199,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2052
2199
|
path: _path2 + ".valueConversion",
|
|
2053
2200
|
expected: "(__type.o1 | undefined)",
|
|
2054
2201
|
value: input3.valueConversion
|
|
2055
|
-
})) && $
|
|
2202
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2056
2203
|
path: _path2 + ".valueConversion",
|
|
2057
2204
|
expected: "(__type.o1 | undefined)",
|
|
2058
2205
|
value: input3.valueConversion
|
|
2059
2206
|
})].every((flag) => flag);
|
|
2060
|
-
const $
|
|
2207
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
2061
2208
|
path: _path2 + ".grade",
|
|
2062
2209
|
expected: "number",
|
|
2063
2210
|
value: input3.grade
|
|
@@ -2074,7 +2221,25 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2074
2221
|
expected: "string",
|
|
2075
2222
|
value: input3.child_label
|
|
2076
2223
|
})].every((flag) => flag);
|
|
2077
|
-
const $
|
|
2224
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
2225
|
+
path: _path2 + ".key",
|
|
2226
|
+
expected: "(number | string)",
|
|
2227
|
+
value: input3.key
|
|
2228
|
+
}), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2229
|
+
path: _path2 + ".label",
|
|
2230
|
+
expected: "(string | undefined)",
|
|
2231
|
+
value: input3.label
|
|
2232
|
+
}), false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2233
|
+
if (["key", "label"].some((prop) => key === prop))
|
|
2234
|
+
return true;
|
|
2235
|
+
const value = input3[key];
|
|
2236
|
+
if (void 0 === value)
|
|
2237
|
+
return true;
|
|
2238
|
+
if (RegExp(/(.*)/).test(key))
|
|
2239
|
+
return true;
|
|
2240
|
+
return true;
|
|
2241
|
+
}).every((flag) => flag)].every((flag) => flag);
|
|
2242
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2078
2243
|
path: _path2 + ".join",
|
|
2079
2244
|
expected: "(string | undefined)",
|
|
2080
2245
|
value: input3.join
|
|
@@ -2082,29 +2247,49 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2082
2247
|
path: _path2 + ".isnot",
|
|
2083
2248
|
expected: "(boolean | undefined)",
|
|
2084
2249
|
value: input3.isnot
|
|
2250
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
2251
|
+
path: _path2 + ".bar_by_grade",
|
|
2252
|
+
expected: "(boolean | undefined)",
|
|
2253
|
+
value: input3.bar_by_grade
|
|
2254
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
2255
|
+
path: _path2 + ".bar_by_children",
|
|
2256
|
+
expected: "(boolean | undefined)",
|
|
2257
|
+
value: input3.bar_by_children
|
|
2258
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
2259
|
+
path: _path2 + ".value_by_max_grade",
|
|
2260
|
+
expected: "(boolean | undefined)",
|
|
2261
|
+
value: input3.value_by_max_grade
|
|
2262
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
2263
|
+
path: _path2 + ".value_by_most_recent",
|
|
2264
|
+
expected: "(boolean | undefined)",
|
|
2265
|
+
value: input3.value_by_most_recent
|
|
2266
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
2267
|
+
path: _path2 + ".value_by_computable_grade",
|
|
2268
|
+
expected: "(boolean | undefined)",
|
|
2269
|
+
value: input3.value_by_computable_grade
|
|
2085
2270
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2086
2271
|
path: _path2 + ".term",
|
|
2087
2272
|
expected: "DtTerm",
|
|
2088
2273
|
value: input3.term
|
|
2089
|
-
})) && $
|
|
2274
|
+
})) && $vo41(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2090
2275
|
path: _path2 + ".term",
|
|
2091
2276
|
expected: "DtTerm",
|
|
2092
2277
|
value: input3.term
|
|
2093
2278
|
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2094
2279
|
path: _path2 + ".values",
|
|
2095
|
-
expected: "Array<
|
|
2280
|
+
expected: "Array<GeneVariantValue>",
|
|
2096
2281
|
value: input3.values
|
|
2097
|
-
})) && input3.values.map((elem,
|
|
2098
|
-
path: _path2 + ".values[" +
|
|
2099
|
-
expected: "
|
|
2282
|
+
})) && input3.values.map((elem, _index39) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
|
|
2283
|
+
path: _path2 + ".values[" + _index39 + "]",
|
|
2284
|
+
expected: "GeneVariantValue",
|
|
2100
2285
|
value: elem
|
|
2101
|
-
})) && $
|
|
2102
|
-
path: _path2 + ".values[" +
|
|
2103
|
-
expected: "
|
|
2286
|
+
})) && $vo46(elem, _path2 + ".values[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2287
|
+
path: _path2 + ".values[" + _index39 + "]",
|
|
2288
|
+
expected: "GeneVariantValue",
|
|
2104
2289
|
value: elem
|
|
2105
2290
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2106
2291
|
path: _path2 + ".values",
|
|
2107
|
-
expected: "Array<
|
|
2292
|
+
expected: "Array<GeneVariantValue>",
|
|
2108
2293
|
value: input3.values
|
|
2109
2294
|
}), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
|
|
2110
2295
|
path: _path2 + ".includeNotTested",
|
|
@@ -2114,8 +2299,40 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2114
2299
|
path: _path2 + ".excludeGeneName",
|
|
2115
2300
|
expected: "(boolean | undefined)",
|
|
2116
2301
|
value: input3.excludeGeneName
|
|
2302
|
+
}), void 0 === input3.genotype || "variant" === input3.genotype || "nt" === input3.genotype || "wt" === input3.genotype || $report(_exceptionable2, {
|
|
2303
|
+
path: _path2 + ".genotype",
|
|
2304
|
+
expected: '("nt" | "variant" | "wt" | undefined)',
|
|
2305
|
+
value: input3.genotype
|
|
2306
|
+
}), void 0 === input3.mcount || "any" === input3.mcount || "single" === input3.mcount || "multiple" === input3.mcount || "all" === input3.mcount || $report(_exceptionable2, {
|
|
2307
|
+
path: _path2 + ".mcount",
|
|
2308
|
+
expected: '("all" | "any" | "multiple" | "single" | undefined)',
|
|
2309
|
+
value: input3.mcount
|
|
2310
|
+
}), void 0 === input3.continuousCnv || "boolean" === typeof input3.continuousCnv || $report(_exceptionable2, {
|
|
2311
|
+
path: _path2 + ".continuousCnv",
|
|
2312
|
+
expected: "(boolean | undefined)",
|
|
2313
|
+
value: input3.continuousCnv
|
|
2314
|
+
}), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
|
|
2315
|
+
path: _path2 + ".cnvLossCutoff",
|
|
2316
|
+
expected: "(number | undefined)",
|
|
2317
|
+
value: input3.cnvLossCutoff
|
|
2318
|
+
}), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
|
|
2319
|
+
path: _path2 + ".cnvGainCutoff",
|
|
2320
|
+
expected: "(number | undefined)",
|
|
2321
|
+
value: input3.cnvGainCutoff
|
|
2322
|
+
}), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
|
|
2323
|
+
path: _path2 + ".cnvMaxLength",
|
|
2324
|
+
expected: "(number | undefined)",
|
|
2325
|
+
value: input3.cnvMaxLength
|
|
2326
|
+
}), void 0 === input3.cnvWT || "boolean" === typeof input3.cnvWT || $report(_exceptionable2, {
|
|
2327
|
+
path: _path2 + ".cnvWT",
|
|
2328
|
+
expected: "(boolean | undefined)",
|
|
2329
|
+
value: input3.cnvWT
|
|
2330
|
+
}), void 0 === input3.fractionOverlap || "number" === typeof input3.fractionOverlap || $report(_exceptionable2, {
|
|
2331
|
+
path: _path2 + ".fractionOverlap",
|
|
2332
|
+
expected: "(number | undefined)",
|
|
2333
|
+
value: input3.fractionOverlap
|
|
2117
2334
|
})].every((flag) => flag);
|
|
2118
|
-
const $
|
|
2335
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2119
2336
|
path: _path2 + ".id",
|
|
2120
2337
|
expected: "string",
|
|
2121
2338
|
value: input3.id
|
|
@@ -2135,7 +2352,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2135
2352
|
path: _path2 + ".parentTerm",
|
|
2136
2353
|
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
2137
2354
|
value: input3.parentTerm
|
|
2138
|
-
})) && $
|
|
2355
|
+
})) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
|
|
2139
2356
|
path: _path2 + ".parentTerm",
|
|
2140
2357
|
expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
|
|
2141
2358
|
value: input3.parentTerm
|
|
@@ -2159,12 +2376,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2159
2376
|
path: _path2 + ".values",
|
|
2160
2377
|
expected: "TermValues",
|
|
2161
2378
|
value: input3.values
|
|
2162
|
-
})) && $
|
|
2379
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2163
2380
|
path: _path2 + ".values",
|
|
2164
2381
|
expected: "TermValues",
|
|
2165
2382
|
value: input3.values
|
|
2166
2383
|
})].every((flag) => flag);
|
|
2167
|
-
const $
|
|
2384
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2168
2385
|
path: _path2 + ".id",
|
|
2169
2386
|
expected: "string",
|
|
2170
2387
|
value: input3.id
|
|
@@ -2180,8 +2397,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2180
2397
|
path: _path2 + ".child_types",
|
|
2181
2398
|
expected: "(Array<string> | undefined)",
|
|
2182
2399
|
value: input3.child_types
|
|
2183
|
-
})) && input3.child_types.map((elem,
|
|
2184
|
-
path: _path2 + ".child_types[" +
|
|
2400
|
+
})) && input3.child_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2401
|
+
path: _path2 + ".child_types[" + _index40 + "]",
|
|
2185
2402
|
expected: "string",
|
|
2186
2403
|
value: elem
|
|
2187
2404
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2196,8 +2413,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2196
2413
|
path: _path2 + ".included_types",
|
|
2197
2414
|
expected: "(Array<string> | undefined)",
|
|
2198
2415
|
value: input3.included_types
|
|
2199
|
-
})) && input3.included_types.map((elem,
|
|
2200
|
-
path: _path2 + ".included_types[" +
|
|
2416
|
+
})) && input3.included_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2417
|
+
path: _path2 + ".included_types[" + _index41 + "]",
|
|
2201
2418
|
expected: "string",
|
|
2202
2419
|
value: elem
|
|
2203
2420
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2212,7 +2429,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2212
2429
|
path: _path2 + ".values",
|
|
2213
2430
|
expected: "(TermValues | undefined)",
|
|
2214
2431
|
value: input3.values
|
|
2215
|
-
})) && $
|
|
2432
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2216
2433
|
path: _path2 + ".values",
|
|
2217
2434
|
expected: "(TermValues | undefined)",
|
|
2218
2435
|
value: input3.values
|
|
@@ -2224,7 +2441,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2224
2441
|
path: _path2 + ".valueConversion",
|
|
2225
2442
|
expected: "(__type.o1 | undefined)",
|
|
2226
2443
|
value: input3.valueConversion
|
|
2227
|
-
})) && $
|
|
2444
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2228
2445
|
path: _path2 + ".valueConversion",
|
|
2229
2446
|
expected: "(__type.o1 | undefined)",
|
|
2230
2447
|
value: input3.valueConversion
|
|
@@ -2252,12 +2469,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2252
2469
|
path: _path2 + ".genes",
|
|
2253
2470
|
expected: "Array<GvGeneTerm>",
|
|
2254
2471
|
value: input3.genes
|
|
2255
|
-
})) && input3.genes.map((elem,
|
|
2256
|
-
path: _path2 + ".genes[" +
|
|
2472
|
+
})) && input3.genes.map((elem, _index42) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2473
|
+
path: _path2 + ".genes[" + _index42 + "]",
|
|
2257
2474
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2258
2475
|
value: elem
|
|
2259
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2260
|
-
path: _path2 + ".genes[" +
|
|
2476
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index42 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2477
|
+
path: _path2 + ".genes[" + _index42 + "]",
|
|
2261
2478
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2262
2479
|
value: elem
|
|
2263
2480
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2268,7 +2485,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2268
2485
|
path: _path2 + ".groupsetting",
|
|
2269
2486
|
expected: "(TermGroupSetting | undefined)",
|
|
2270
2487
|
value: input3.groupsetting
|
|
2271
|
-
})) && $
|
|
2488
|
+
})) && $vo10(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2272
2489
|
path: _path2 + ".groupsetting",
|
|
2273
2490
|
expected: "(TermGroupSetting | undefined)",
|
|
2274
2491
|
value: input3.groupsetting
|
|
@@ -2276,12 +2493,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2276
2493
|
path: _path2 + ".childTerms",
|
|
2277
2494
|
expected: "(Array<DtTerm> | undefined)",
|
|
2278
2495
|
value: input3.childTerms
|
|
2279
|
-
})) && input3.childTerms.map((elem,
|
|
2280
|
-
path: _path2 + ".childTerms[" +
|
|
2496
|
+
})) && input3.childTerms.map((elem, _index43) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2497
|
+
path: _path2 + ".childTerms[" + _index43 + "]",
|
|
2281
2498
|
expected: "DtTerm",
|
|
2282
2499
|
value: elem
|
|
2283
|
-
})) && $
|
|
2284
|
-
path: _path2 + ".childTerms[" +
|
|
2500
|
+
})) && $vo41(elem, _path2 + ".childTerms[" + _index43 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2501
|
+
path: _path2 + ".childTerms[" + _index43 + "]",
|
|
2285
2502
|
expected: "DtTerm",
|
|
2286
2503
|
value: elem
|
|
2287
2504
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2289,7 +2506,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2289
2506
|
expected: "(Array<DtTerm> | undefined)",
|
|
2290
2507
|
value: input3.childTerms
|
|
2291
2508
|
})].every((flag) => flag);
|
|
2292
|
-
const $
|
|
2509
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2293
2510
|
path: _path2 + ".id",
|
|
2294
2511
|
expected: "string",
|
|
2295
2512
|
value: input3.id
|
|
@@ -2305,8 +2522,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2305
2522
|
path: _path2 + ".child_types",
|
|
2306
2523
|
expected: "(Array<string> | undefined)",
|
|
2307
2524
|
value: input3.child_types
|
|
2308
|
-
})) && input3.child_types.map((elem,
|
|
2309
|
-
path: _path2 + ".child_types[" +
|
|
2525
|
+
})) && input3.child_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2526
|
+
path: _path2 + ".child_types[" + _index44 + "]",
|
|
2310
2527
|
expected: "string",
|
|
2311
2528
|
value: elem
|
|
2312
2529
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2321,8 +2538,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2321
2538
|
path: _path2 + ".included_types",
|
|
2322
2539
|
expected: "(Array<string> | undefined)",
|
|
2323
2540
|
value: input3.included_types
|
|
2324
|
-
})) && input3.included_types.map((elem,
|
|
2325
|
-
path: _path2 + ".included_types[" +
|
|
2541
|
+
})) && input3.included_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2542
|
+
path: _path2 + ".included_types[" + _index45 + "]",
|
|
2326
2543
|
expected: "string",
|
|
2327
2544
|
value: elem
|
|
2328
2545
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2337,7 +2554,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2337
2554
|
path: _path2 + ".values",
|
|
2338
2555
|
expected: "(TermValues | undefined)",
|
|
2339
2556
|
value: input3.values
|
|
2340
|
-
})) && $
|
|
2557
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2341
2558
|
path: _path2 + ".values",
|
|
2342
2559
|
expected: "(TermValues | undefined)",
|
|
2343
2560
|
value: input3.values
|
|
@@ -2349,7 +2566,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2349
2566
|
path: _path2 + ".valueConversion",
|
|
2350
2567
|
expected: "(__type.o1 | undefined)",
|
|
2351
2568
|
value: input3.valueConversion
|
|
2352
|
-
})) && $
|
|
2569
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2353
2570
|
path: _path2 + ".valueConversion",
|
|
2354
2571
|
expected: "(__type.o1 | undefined)",
|
|
2355
2572
|
value: input3.valueConversion
|
|
@@ -2374,7 +2591,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2374
2591
|
expected: "(number | undefined)",
|
|
2375
2592
|
value: input3.stop
|
|
2376
2593
|
})].every((flag) => flag);
|
|
2377
|
-
const $
|
|
2594
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2378
2595
|
path: _path2 + ".id",
|
|
2379
2596
|
expected: "string",
|
|
2380
2597
|
value: input3.id
|
|
@@ -2390,8 +2607,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2390
2607
|
path: _path2 + ".child_types",
|
|
2391
2608
|
expected: "(Array<string> | undefined)",
|
|
2392
2609
|
value: input3.child_types
|
|
2393
|
-
})) && input3.child_types.map((elem,
|
|
2394
|
-
path: _path2 + ".child_types[" +
|
|
2610
|
+
})) && input3.child_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2611
|
+
path: _path2 + ".child_types[" + _index46 + "]",
|
|
2395
2612
|
expected: "string",
|
|
2396
2613
|
value: elem
|
|
2397
2614
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2406,8 +2623,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2406
2623
|
path: _path2 + ".included_types",
|
|
2407
2624
|
expected: "(Array<string> | undefined)",
|
|
2408
2625
|
value: input3.included_types
|
|
2409
|
-
})) && input3.included_types.map((elem,
|
|
2410
|
-
path: _path2 + ".included_types[" +
|
|
2626
|
+
})) && input3.included_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2627
|
+
path: _path2 + ".included_types[" + _index47 + "]",
|
|
2411
2628
|
expected: "string",
|
|
2412
2629
|
value: elem
|
|
2413
2630
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2422,7 +2639,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2422
2639
|
path: _path2 + ".values",
|
|
2423
2640
|
expected: "(TermValues | undefined)",
|
|
2424
2641
|
value: input3.values
|
|
2425
|
-
})) && $
|
|
2642
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2426
2643
|
path: _path2 + ".values",
|
|
2427
2644
|
expected: "(TermValues | undefined)",
|
|
2428
2645
|
value: input3.values
|
|
@@ -2434,7 +2651,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2434
2651
|
path: _path2 + ".valueConversion",
|
|
2435
2652
|
expected: "(__type.o1 | undefined)",
|
|
2436
2653
|
value: input3.valueConversion
|
|
2437
|
-
})) && $
|
|
2654
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2438
2655
|
path: _path2 + ".valueConversion",
|
|
2439
2656
|
expected: "(__type.o1 | undefined)",
|
|
2440
2657
|
value: input3.valueConversion
|
|
@@ -2455,7 +2672,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2455
2672
|
expected: "number",
|
|
2456
2673
|
value: input3.stop
|
|
2457
2674
|
})].every((flag) => flag);
|
|
2458
|
-
const $
|
|
2675
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2459
2676
|
path: _path2 + ".id",
|
|
2460
2677
|
expected: "string",
|
|
2461
2678
|
value: input3.id
|
|
@@ -2471,8 +2688,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2471
2688
|
path: _path2 + ".child_types",
|
|
2472
2689
|
expected: "(Array<string> | undefined)",
|
|
2473
2690
|
value: input3.child_types
|
|
2474
|
-
})) && input3.child_types.map((elem,
|
|
2475
|
-
path: _path2 + ".child_types[" +
|
|
2691
|
+
})) && input3.child_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2692
|
+
path: _path2 + ".child_types[" + _index48 + "]",
|
|
2476
2693
|
expected: "string",
|
|
2477
2694
|
value: elem
|
|
2478
2695
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2487,8 +2704,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2487
2704
|
path: _path2 + ".included_types",
|
|
2488
2705
|
expected: "(Array<string> | undefined)",
|
|
2489
2706
|
value: input3.included_types
|
|
2490
|
-
})) && input3.included_types.map((elem,
|
|
2491
|
-
path: _path2 + ".included_types[" +
|
|
2707
|
+
})) && input3.included_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2708
|
+
path: _path2 + ".included_types[" + _index49 + "]",
|
|
2492
2709
|
expected: "string",
|
|
2493
2710
|
value: elem
|
|
2494
2711
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2503,7 +2720,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2503
2720
|
path: _path2 + ".values",
|
|
2504
2721
|
expected: "(TermValues | undefined)",
|
|
2505
2722
|
value: input3.values
|
|
2506
|
-
})) && $
|
|
2723
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2507
2724
|
path: _path2 + ".values",
|
|
2508
2725
|
expected: "(TermValues | undefined)",
|
|
2509
2726
|
value: input3.values
|
|
@@ -2515,7 +2732,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2515
2732
|
path: _path2 + ".valueConversion",
|
|
2516
2733
|
expected: "(__type.o1 | undefined)",
|
|
2517
2734
|
value: input3.valueConversion
|
|
2518
|
-
})) && $
|
|
2735
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2519
2736
|
path: _path2 + ".valueConversion",
|
|
2520
2737
|
expected: "(__type.o1 | undefined)",
|
|
2521
2738
|
value: input3.valueConversion
|
|
@@ -2539,12 +2756,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2539
2756
|
path: _path2 + ".genes",
|
|
2540
2757
|
expected: "Array<GvGeneTerm>",
|
|
2541
2758
|
value: input3.genes
|
|
2542
|
-
})) && input3.genes.map((elem,
|
|
2543
|
-
path: _path2 + ".genes[" +
|
|
2759
|
+
})) && input3.genes.map((elem, _index50) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2760
|
+
path: _path2 + ".genes[" + _index50 + "]",
|
|
2544
2761
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2545
2762
|
value: elem
|
|
2546
|
-
})) && $vu3(elem, _path2 + ".genes[" +
|
|
2547
|
-
path: _path2 + ".genes[" +
|
|
2763
|
+
})) && $vu3(elem, _path2 + ".genes[" + _index50 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2764
|
+
path: _path2 + ".genes[" + _index50 + "]",
|
|
2548
2765
|
expected: "(BaseTerm & Coord | BaseTerm & Gene)",
|
|
2549
2766
|
value: elem
|
|
2550
2767
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2555,7 +2772,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2555
2772
|
path: _path2 + ".groupsetting",
|
|
2556
2773
|
expected: "(TermGroupSetting | undefined)",
|
|
2557
2774
|
value: input3.groupsetting
|
|
2558
|
-
})) && $
|
|
2775
|
+
})) && $vo10(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2559
2776
|
path: _path2 + ".groupsetting",
|
|
2560
2777
|
expected: "(TermGroupSetting | undefined)",
|
|
2561
2778
|
value: input3.groupsetting
|
|
@@ -2563,12 +2780,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2563
2780
|
path: _path2 + ".childTerms",
|
|
2564
2781
|
expected: "(Array<DtTerm> | undefined)",
|
|
2565
2782
|
value: input3.childTerms
|
|
2566
|
-
})) && input3.childTerms.map((elem,
|
|
2567
|
-
path: _path2 + ".childTerms[" +
|
|
2783
|
+
})) && input3.childTerms.map((elem, _index51) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2784
|
+
path: _path2 + ".childTerms[" + _index51 + "]",
|
|
2568
2785
|
expected: "DtTerm",
|
|
2569
2786
|
value: elem
|
|
2570
|
-
})) && $
|
|
2571
|
-
path: _path2 + ".childTerms[" +
|
|
2787
|
+
})) && $vo41(elem, _path2 + ".childTerms[" + _index51 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2788
|
+
path: _path2 + ".childTerms[" + _index51 + "]",
|
|
2572
2789
|
expected: "DtTerm",
|
|
2573
2790
|
value: elem
|
|
2574
2791
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2576,20 +2793,52 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2576
2793
|
expected: "(Array<DtTerm> | undefined)",
|
|
2577
2794
|
value: input3.childTerms
|
|
2578
2795
|
})].every((flag) => flag);
|
|
2579
|
-
const $
|
|
2796
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
2580
2797
|
path: _path2 + ".key",
|
|
2581
|
-
expected: "string",
|
|
2798
|
+
expected: "(string | undefined)",
|
|
2582
2799
|
value: input3.key
|
|
2583
|
-
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2800
|
+
}), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
|
|
2584
2801
|
path: _path2 + ".label",
|
|
2585
|
-
expected: "string",
|
|
2802
|
+
expected: "(number | string | undefined)",
|
|
2586
2803
|
value: input3.label
|
|
2587
|
-
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
2804
|
+
}), void 0 === input3.value || "string" === typeof input3.value || $report(_exceptionable2, {
|
|
2588
2805
|
path: _path2 + ".value",
|
|
2589
|
-
expected: "string",
|
|
2806
|
+
expected: "(string | undefined)",
|
|
2590
2807
|
value: input3.value
|
|
2808
|
+
}), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
2809
|
+
path: _path2 + ".dt",
|
|
2810
|
+
expected: "(number | undefined)",
|
|
2811
|
+
value: input3.dt
|
|
2812
|
+
}), void 0 === input3.mclasslst || (Array.isArray(input3.mclasslst) || $report(_exceptionable2, {
|
|
2813
|
+
path: _path2 + ".mclasslst",
|
|
2814
|
+
expected: "(Array<string> | undefined)",
|
|
2815
|
+
value: input3.mclasslst
|
|
2816
|
+
})) && input3.mclasslst.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2817
|
+
path: _path2 + ".mclasslst[" + _index52 + "]",
|
|
2818
|
+
expected: "string",
|
|
2819
|
+
value: elem
|
|
2820
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2821
|
+
path: _path2 + ".mclasslst",
|
|
2822
|
+
expected: "(Array<string> | undefined)",
|
|
2823
|
+
value: input3.mclasslst
|
|
2824
|
+
}), void 0 === input3.mclassExcludeLst || (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
2825
|
+
path: _path2 + ".mclassExcludeLst",
|
|
2826
|
+
expected: "(Array<string> | undefined)",
|
|
2827
|
+
value: input3.mclassExcludeLst
|
|
2828
|
+
})) && input3.mclassExcludeLst.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2829
|
+
path: _path2 + ".mclassExcludeLst[" + _index53 + "]",
|
|
2830
|
+
expected: "string",
|
|
2831
|
+
value: elem
|
|
2832
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2833
|
+
path: _path2 + ".mclassExcludeLst",
|
|
2834
|
+
expected: "(Array<string> | undefined)",
|
|
2835
|
+
value: input3.mclassExcludeLst
|
|
2836
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
2837
|
+
path: _path2 + ".origin",
|
|
2838
|
+
expected: "(string | undefined)",
|
|
2839
|
+
value: input3.origin
|
|
2591
2840
|
})].every((flag) => flag);
|
|
2592
|
-
const $
|
|
2841
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2593
2842
|
path: _path2 + ".join",
|
|
2594
2843
|
expected: "(string | undefined)",
|
|
2595
2844
|
value: input3.join
|
|
@@ -2597,11 +2846,31 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2597
2846
|
path: _path2 + ".isnot",
|
|
2598
2847
|
expected: "(boolean | undefined)",
|
|
2599
2848
|
value: input3.isnot
|
|
2849
|
+
}), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
|
|
2850
|
+
path: _path2 + ".bar_by_grade",
|
|
2851
|
+
expected: "(boolean | undefined)",
|
|
2852
|
+
value: input3.bar_by_grade
|
|
2853
|
+
}), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
|
|
2854
|
+
path: _path2 + ".bar_by_children",
|
|
2855
|
+
expected: "(boolean | undefined)",
|
|
2856
|
+
value: input3.bar_by_children
|
|
2857
|
+
}), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
|
|
2858
|
+
path: _path2 + ".value_by_max_grade",
|
|
2859
|
+
expected: "(boolean | undefined)",
|
|
2860
|
+
value: input3.value_by_max_grade
|
|
2861
|
+
}), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
|
|
2862
|
+
path: _path2 + ".value_by_most_recent",
|
|
2863
|
+
expected: "(boolean | undefined)",
|
|
2864
|
+
value: input3.value_by_most_recent
|
|
2865
|
+
}), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
|
|
2866
|
+
path: _path2 + ".value_by_computable_grade",
|
|
2867
|
+
expected: "(boolean | undefined)",
|
|
2868
|
+
value: input3.value_by_computable_grade
|
|
2600
2869
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2601
2870
|
path: _path2 + ".term",
|
|
2602
2871
|
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2603
2872
|
value: input3.term
|
|
2604
|
-
})) && $
|
|
2873
|
+
})) && $vu11(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2605
2874
|
path: _path2 + ".term",
|
|
2606
2875
|
expected: "(CategoricalTermCollection | NumericTermCollection)",
|
|
2607
2876
|
value: input3.term
|
|
@@ -2610,7 +2879,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2610
2879
|
expected: "number",
|
|
2611
2880
|
value: input3.ratio
|
|
2612
2881
|
})].every((flag) => flag);
|
|
2613
|
-
const $
|
|
2882
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2614
2883
|
path: _path2 + ".id",
|
|
2615
2884
|
expected: "string",
|
|
2616
2885
|
value: input3.id
|
|
@@ -2626,8 +2895,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2626
2895
|
path: _path2 + ".child_types",
|
|
2627
2896
|
expected: "(Array<string> | undefined)",
|
|
2628
2897
|
value: input3.child_types
|
|
2629
|
-
})) && input3.child_types.map((elem,
|
|
2630
|
-
path: _path2 + ".child_types[" +
|
|
2898
|
+
})) && input3.child_types.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2899
|
+
path: _path2 + ".child_types[" + _index54 + "]",
|
|
2631
2900
|
expected: "string",
|
|
2632
2901
|
value: elem
|
|
2633
2902
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2642,8 +2911,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2642
2911
|
path: _path2 + ".included_types",
|
|
2643
2912
|
expected: "(Array<string> | undefined)",
|
|
2644
2913
|
value: input3.included_types
|
|
2645
|
-
})) && input3.included_types.map((elem,
|
|
2646
|
-
path: _path2 + ".included_types[" +
|
|
2914
|
+
})) && input3.included_types.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2915
|
+
path: _path2 + ".included_types[" + _index55 + "]",
|
|
2647
2916
|
expected: "string",
|
|
2648
2917
|
value: elem
|
|
2649
2918
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2658,7 +2927,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2658
2927
|
path: _path2 + ".values",
|
|
2659
2928
|
expected: "(TermValues | undefined)",
|
|
2660
2929
|
value: input3.values
|
|
2661
|
-
})) && $
|
|
2930
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2662
2931
|
path: _path2 + ".values",
|
|
2663
2932
|
expected: "(TermValues | undefined)",
|
|
2664
2933
|
value: input3.values
|
|
@@ -2670,20 +2939,16 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2670
2939
|
path: _path2 + ".valueConversion",
|
|
2671
2940
|
expected: "(__type.o1 | undefined)",
|
|
2672
2941
|
value: input3.valueConversion
|
|
2673
|
-
})) && $
|
|
2942
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2674
2943
|
path: _path2 + ".valueConversion",
|
|
2675
2944
|
expected: "(__type.o1 | undefined)",
|
|
2676
2945
|
value: input3.valueConversion
|
|
2677
|
-
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
2678
|
-
path: _path2 + ".collectionId",
|
|
2679
|
-
expected: "(string | undefined)",
|
|
2680
|
-
value: input3.collectionId
|
|
2681
2946
|
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2682
2947
|
path: _path2 + ".termIds",
|
|
2683
2948
|
expected: "(Array<string> | undefined)",
|
|
2684
2949
|
value: input3.termIds
|
|
2685
|
-
})) && input3.termIds.map((elem,
|
|
2686
|
-
path: _path2 + ".termIds[" +
|
|
2950
|
+
})) && input3.termIds.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2951
|
+
path: _path2 + ".termIds[" + _index56 + "]",
|
|
2687
2952
|
expected: "string",
|
|
2688
2953
|
value: elem
|
|
2689
2954
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2694,12 +2959,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2694
2959
|
path: _path2 + ".termlst",
|
|
2695
2960
|
expected: "Array<BaseTerm>",
|
|
2696
2961
|
value: input3.termlst
|
|
2697
|
-
})) && input3.termlst.map((elem,
|
|
2698
|
-
path: _path2 + ".termlst[" +
|
|
2962
|
+
})) && input3.termlst.map((elem, _index57) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2963
|
+
path: _path2 + ".termlst[" + _index57 + "]",
|
|
2699
2964
|
expected: "BaseTerm",
|
|
2700
2965
|
value: elem
|
|
2701
|
-
})) && $
|
|
2702
|
-
path: _path2 + ".termlst[" +
|
|
2966
|
+
})) && $vo49(elem, _path2 + ".termlst[" + _index57 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2967
|
+
path: _path2 + ".termlst[" + _index57 + "]",
|
|
2703
2968
|
expected: "BaseTerm",
|
|
2704
2969
|
value: elem
|
|
2705
2970
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2712,11 +2977,11 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2712
2977
|
value: input3.newTvs
|
|
2713
2978
|
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
2714
2979
|
path: _path2 + ".propsByTermId",
|
|
2715
|
-
expected: "__type.
|
|
2980
|
+
expected: "__type.o7",
|
|
2716
2981
|
value: input3.propsByTermId
|
|
2717
|
-
})) && $
|
|
2982
|
+
})) && $vo50(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2718
2983
|
path: _path2 + ".propsByTermId",
|
|
2719
|
-
expected: "__type.
|
|
2984
|
+
expected: "__type.o7",
|
|
2720
2985
|
value: input3.propsByTermId
|
|
2721
2986
|
}), "numeric" === input3.memberType || $report(_exceptionable2, {
|
|
2722
2987
|
path: _path2 + ".memberType",
|
|
@@ -2726,8 +2991,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2726
2991
|
path: _path2 + ".numerators",
|
|
2727
2992
|
expected: "(Array<string> | undefined)",
|
|
2728
2993
|
value: input3.numerators
|
|
2729
|
-
})) && input3.numerators.map((elem,
|
|
2730
|
-
path: _path2 + ".numerators[" +
|
|
2994
|
+
})) && input3.numerators.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2995
|
+
path: _path2 + ".numerators[" + _index58 + "]",
|
|
2731
2996
|
expected: "string",
|
|
2732
2997
|
value: elem
|
|
2733
2998
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2735,7 +3000,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2735
3000
|
expected: "(Array<string> | undefined)",
|
|
2736
3001
|
value: input3.numerators
|
|
2737
3002
|
})].every((flag) => flag);
|
|
2738
|
-
const $
|
|
3003
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2739
3004
|
path: _path2 + ".id",
|
|
2740
3005
|
expected: "string",
|
|
2741
3006
|
value: input3.id
|
|
@@ -2751,8 +3016,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2751
3016
|
path: _path2 + ".child_types",
|
|
2752
3017
|
expected: "(Array<string> | undefined)",
|
|
2753
3018
|
value: input3.child_types
|
|
2754
|
-
})) && input3.child_types.map((elem,
|
|
2755
|
-
path: _path2 + ".child_types[" +
|
|
3019
|
+
})) && input3.child_types.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3020
|
+
path: _path2 + ".child_types[" + _index59 + "]",
|
|
2756
3021
|
expected: "string",
|
|
2757
3022
|
value: elem
|
|
2758
3023
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2767,8 +3032,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2767
3032
|
path: _path2 + ".included_types",
|
|
2768
3033
|
expected: "(Array<string> | undefined)",
|
|
2769
3034
|
value: input3.included_types
|
|
2770
|
-
})) && input3.included_types.map((elem,
|
|
2771
|
-
path: _path2 + ".included_types[" +
|
|
3035
|
+
})) && input3.included_types.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3036
|
+
path: _path2 + ".included_types[" + _index60 + "]",
|
|
2772
3037
|
expected: "string",
|
|
2773
3038
|
value: elem
|
|
2774
3039
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2783,7 +3048,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2783
3048
|
path: _path2 + ".values",
|
|
2784
3049
|
expected: "(TermValues | undefined)",
|
|
2785
3050
|
value: input3.values
|
|
2786
|
-
})) && $
|
|
3051
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2787
3052
|
path: _path2 + ".values",
|
|
2788
3053
|
expected: "(TermValues | undefined)",
|
|
2789
3054
|
value: input3.values
|
|
@@ -2795,28 +3060,28 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2795
3060
|
path: _path2 + ".valueConversion",
|
|
2796
3061
|
expected: "(__type.o1 | undefined)",
|
|
2797
3062
|
value: input3.valueConversion
|
|
2798
|
-
})) && $
|
|
3063
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2799
3064
|
path: _path2 + ".valueConversion",
|
|
2800
3065
|
expected: "(__type.o1 | undefined)",
|
|
2801
3066
|
value: input3.valueConversion
|
|
2802
3067
|
})].every((flag) => flag);
|
|
2803
|
-
const $
|
|
3068
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2804
3069
|
const value = input3[key];
|
|
2805
3070
|
if (void 0 === value)
|
|
2806
3071
|
return true;
|
|
2807
3072
|
if (RegExp(/(.*)/).test(key))
|
|
2808
3073
|
return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
|
|
2809
3074
|
path: _path2 + $join(key),
|
|
2810
|
-
expected: "__type.
|
|
3075
|
+
expected: "__type.o8",
|
|
2811
3076
|
value
|
|
2812
|
-
})) && $
|
|
3077
|
+
})) && $vo51(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
2813
3078
|
path: _path2 + $join(key),
|
|
2814
|
-
expected: "__type.
|
|
3079
|
+
expected: "__type.o8",
|
|
2815
3080
|
value
|
|
2816
3081
|
});
|
|
2817
3082
|
return true;
|
|
2818
3083
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2819
|
-
const $
|
|
3084
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2820
3085
|
const value = input3[key];
|
|
2821
3086
|
if (void 0 === value)
|
|
2822
3087
|
return true;
|
|
@@ -2824,7 +3089,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2824
3089
|
return true;
|
|
2825
3090
|
return true;
|
|
2826
3091
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2827
|
-
const $
|
|
3092
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2828
3093
|
path: _path2 + ".id",
|
|
2829
3094
|
expected: "string",
|
|
2830
3095
|
value: input3.id
|
|
@@ -2840,8 +3105,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2840
3105
|
path: _path2 + ".child_types",
|
|
2841
3106
|
expected: "(Array<string> | undefined)",
|
|
2842
3107
|
value: input3.child_types
|
|
2843
|
-
})) && input3.child_types.map((elem,
|
|
2844
|
-
path: _path2 + ".child_types[" +
|
|
3108
|
+
})) && input3.child_types.map((elem, _index61) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3109
|
+
path: _path2 + ".child_types[" + _index61 + "]",
|
|
2845
3110
|
expected: "string",
|
|
2846
3111
|
value: elem
|
|
2847
3112
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2856,8 +3121,8 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2856
3121
|
path: _path2 + ".included_types",
|
|
2857
3122
|
expected: "(Array<string> | undefined)",
|
|
2858
3123
|
value: input3.included_types
|
|
2859
|
-
})) && input3.included_types.map((elem,
|
|
2860
|
-
path: _path2 + ".included_types[" +
|
|
3124
|
+
})) && input3.included_types.map((elem, _index62) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3125
|
+
path: _path2 + ".included_types[" + _index62 + "]",
|
|
2861
3126
|
expected: "string",
|
|
2862
3127
|
value: elem
|
|
2863
3128
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2872,7 +3137,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2872
3137
|
path: _path2 + ".values",
|
|
2873
3138
|
expected: "(TermValues | undefined)",
|
|
2874
3139
|
value: input3.values
|
|
2875
|
-
})) && $
|
|
3140
|
+
})) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2876
3141
|
path: _path2 + ".values",
|
|
2877
3142
|
expected: "(TermValues | undefined)",
|
|
2878
3143
|
value: input3.values
|
|
@@ -2884,20 +3149,16 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2884
3149
|
path: _path2 + ".valueConversion",
|
|
2885
3150
|
expected: "(__type.o1 | undefined)",
|
|
2886
3151
|
value: input3.valueConversion
|
|
2887
|
-
})) && $
|
|
3152
|
+
})) && $vo9(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
|
|
2888
3153
|
path: _path2 + ".valueConversion",
|
|
2889
3154
|
expected: "(__type.o1 | undefined)",
|
|
2890
3155
|
value: input3.valueConversion
|
|
2891
|
-
}), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
|
|
2892
|
-
path: _path2 + ".collectionId",
|
|
2893
|
-
expected: "(string | undefined)",
|
|
2894
|
-
value: input3.collectionId
|
|
2895
3156
|
}), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
|
|
2896
3157
|
path: _path2 + ".termIds",
|
|
2897
3158
|
expected: "(Array<string> | undefined)",
|
|
2898
3159
|
value: input3.termIds
|
|
2899
|
-
})) && input3.termIds.map((elem,
|
|
2900
|
-
path: _path2 + ".termIds[" +
|
|
3160
|
+
})) && input3.termIds.map((elem, _index63) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3161
|
+
path: _path2 + ".termIds[" + _index63 + "]",
|
|
2901
3162
|
expected: "string",
|
|
2902
3163
|
value: elem
|
|
2903
3164
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2908,12 +3169,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2908
3169
|
path: _path2 + ".termlst",
|
|
2909
3170
|
expected: "Array<BaseTerm>",
|
|
2910
3171
|
value: input3.termlst
|
|
2911
|
-
})) && input3.termlst.map((elem,
|
|
2912
|
-
path: _path2 + ".termlst[" +
|
|
3172
|
+
})) && input3.termlst.map((elem, _index64) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3173
|
+
path: _path2 + ".termlst[" + _index64 + "]",
|
|
2913
3174
|
expected: "BaseTerm",
|
|
2914
3175
|
value: elem
|
|
2915
|
-
})) && $
|
|
2916
|
-
path: _path2 + ".termlst[" +
|
|
3176
|
+
})) && $vo49(elem, _path2 + ".termlst[" + _index64 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3177
|
+
path: _path2 + ".termlst[" + _index64 + "]",
|
|
2917
3178
|
expected: "BaseTerm",
|
|
2918
3179
|
value: elem
|
|
2919
3180
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2926,11 +3187,11 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2926
3187
|
value: input3.newTvs
|
|
2927
3188
|
}), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
|
|
2928
3189
|
path: _path2 + ".propsByTermId",
|
|
2929
|
-
expected: "__type.
|
|
3190
|
+
expected: "__type.o7",
|
|
2930
3191
|
value: input3.propsByTermId
|
|
2931
|
-
})) && $
|
|
3192
|
+
})) && $vo50(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
|
|
2932
3193
|
path: _path2 + ".propsByTermId",
|
|
2933
|
-
expected: "__type.
|
|
3194
|
+
expected: "__type.o7",
|
|
2934
3195
|
value: input3.propsByTermId
|
|
2935
3196
|
}), "categorical" === input3.memberType || $report(_exceptionable2, {
|
|
2936
3197
|
path: _path2 + ".memberType",
|
|
@@ -2940,12 +3201,12 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2940
3201
|
path: _path2 + ".categoryKeys",
|
|
2941
3202
|
expected: "Array<CategoryKey>",
|
|
2942
3203
|
value: input3.categoryKeys
|
|
2943
|
-
})) && input3.categoryKeys.map((elem,
|
|
2944
|
-
path: _path2 + ".categoryKeys[" +
|
|
3204
|
+
})) && input3.categoryKeys.map((elem, _index65) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3205
|
+
path: _path2 + ".categoryKeys[" + _index65 + "]",
|
|
2945
3206
|
expected: "CategoryKey",
|
|
2946
3207
|
value: elem
|
|
2947
|
-
})) && $
|
|
2948
|
-
path: _path2 + ".categoryKeys[" +
|
|
3208
|
+
})) && $vo53(elem, _path2 + ".categoryKeys[" + _index65 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3209
|
+
path: _path2 + ".categoryKeys[" + _index65 + "]",
|
|
2949
3210
|
expected: "CategoryKey",
|
|
2950
3211
|
value: elem
|
|
2951
3212
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2953,7 +3214,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2953
3214
|
expected: "Array<CategoryKey>",
|
|
2954
3215
|
value: input3.categoryKeys
|
|
2955
3216
|
})].every((flag) => flag);
|
|
2956
|
-
const $
|
|
3217
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2957
3218
|
path: _path2 + ".key",
|
|
2958
3219
|
expected: "string",
|
|
2959
3220
|
value: input3.key
|
|
@@ -2964,9 +3225,9 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2964
3225
|
})].every((flag) => flag);
|
|
2965
3226
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2966
3227
|
if ("tvslst" === input3.type)
|
|
2967
|
-
return $vo2(input3, _path2, _exceptionable2);
|
|
2968
|
-
if ("tvs" === input3.type)
|
|
2969
3228
|
return $vo3(input3, _path2, _exceptionable2);
|
|
3229
|
+
if ("tvs" === input3.type)
|
|
3230
|
+
return $vo4(input3, _path2, _exceptionable2);
|
|
2970
3231
|
return $report(_exceptionable2, {
|
|
2971
3232
|
path: _path2,
|
|
2972
3233
|
expected: "(Filter | __type)",
|
|
@@ -2975,9 +3236,9 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2975
3236
|
})();
|
|
2976
3237
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2977
3238
|
if ("string" === typeof input3.type)
|
|
2978
|
-
return $
|
|
3239
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
2979
3240
|
if ("filter" === input3.type)
|
|
2980
|
-
return $
|
|
3241
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
2981
3242
|
return $report(_exceptionable2, {
|
|
2982
3243
|
path: _path2,
|
|
2983
3244
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -2986,16 +3247,18 @@ var validTermdbDmrRequest = (input) => {
|
|
|
2986
3247
|
})();
|
|
2987
3248
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2988
3249
|
if (true === input3.startunbounded)
|
|
2989
|
-
return $
|
|
3250
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
2990
3251
|
if (true === input3.stopunbounded)
|
|
2991
|
-
return $
|
|
2992
|
-
|
|
3252
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
3253
|
+
if (void 0 !== input3.value)
|
|
3254
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
3255
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
2993
3256
|
})();
|
|
2994
3257
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
2995
3258
|
if ("gene" === input3.kind)
|
|
2996
|
-
return $
|
|
3259
|
+
return $vo43(input3, _path2, _exceptionable2);
|
|
2997
3260
|
if ("coord" === input3.kind)
|
|
2998
|
-
return $
|
|
3261
|
+
return $vo44(input3, _path2, _exceptionable2);
|
|
2999
3262
|
return $report(_exceptionable2, {
|
|
3000
3263
|
path: _path2,
|
|
3001
3264
|
expected: "(BaseTerm & Gene | BaseTerm & Coord)",
|
|
@@ -3003,76 +3266,83 @@ var validTermdbDmrRequest = (input) => {
|
|
|
3003
3266
|
});
|
|
3004
3267
|
})();
|
|
3005
3268
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3269
|
+
if (true === input3.startunbounded)
|
|
3270
|
+
return $vo21(input3, _path2, _exceptionable2);
|
|
3271
|
+
if (true === input3.stopunbounded)
|
|
3272
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
3273
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
3274
|
+
})();
|
|
3275
|
+
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3006
3276
|
if (void 0 !== input3.ranges)
|
|
3007
|
-
return $
|
|
3277
|
+
return $vo15(input3, _path2, _exceptionable2);
|
|
3008
3278
|
if (void 0 !== input3.ratio)
|
|
3009
|
-
return $
|
|
3010
|
-
return $
|
|
3279
|
+
return $vo47(input3, _path2, _exceptionable2);
|
|
3280
|
+
return $vo5(input3, _path2, false) || $vo36(input3, _path2, false) || $vo40(input3, _path2, false);
|
|
3011
3281
|
})();
|
|
3012
|
-
const $
|
|
3282
|
+
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3013
3283
|
if ("integer" === input3.type || "float" === input3.type)
|
|
3014
|
-
return $
|
|
3284
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
3015
3285
|
if ("metaboliteIntensity" === input3.type)
|
|
3016
|
-
return $vo26(input3, _path2, _exceptionable2);
|
|
3017
|
-
if ("wholeProteomeAbundance" === input3.type)
|
|
3018
3286
|
return $vo27(input3, _path2, _exceptionable2);
|
|
3019
|
-
if ("
|
|
3287
|
+
if ("wholeProteomeAbundance" === input3.type)
|
|
3020
3288
|
return $vo28(input3, _path2, _exceptionable2);
|
|
3021
|
-
if ("
|
|
3289
|
+
if ("date" === input3.type)
|
|
3022
3290
|
return $vo29(input3, _path2, _exceptionable2);
|
|
3023
|
-
if ("
|
|
3291
|
+
if ("ssGSEA" === input3.type)
|
|
3024
3292
|
return $vo30(input3, _path2, _exceptionable2);
|
|
3025
|
-
|
|
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);
|
|
3026
3296
|
})();
|
|
3027
|
-
const $
|
|
3297
|
+
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3028
3298
|
if ("regular-bin" === input3.type)
|
|
3029
|
-
return $
|
|
3299
|
+
return $vo19(input3, _path2, _exceptionable2);
|
|
3030
3300
|
if ("custom-bin" === input3.type)
|
|
3031
|
-
return $
|
|
3301
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
3032
3302
|
return $report(_exceptionable2, {
|
|
3033
3303
|
path: _path2,
|
|
3034
3304
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
3035
3305
|
value: input3
|
|
3036
3306
|
});
|
|
3037
3307
|
})();
|
|
3038
|
-
const $
|
|
3308
|
+
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3039
3309
|
if (true === input3.startunbounded)
|
|
3040
|
-
return $vo20(input3, _path2, _exceptionable2);
|
|
3041
|
-
if (void 0 !== input3.start)
|
|
3042
3310
|
return $vo21(input3, _path2, _exceptionable2);
|
|
3311
|
+
if (void 0 !== input3.start)
|
|
3312
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
3043
3313
|
return $report(_exceptionable2, {
|
|
3044
3314
|
path: _path2,
|
|
3045
3315
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
3046
3316
|
value: input3
|
|
3047
3317
|
});
|
|
3048
3318
|
})();
|
|
3049
|
-
const $
|
|
3319
|
+
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3050
3320
|
if (void 0 !== input3.stop)
|
|
3051
|
-
return $vo21(input3, _path2, _exceptionable2);
|
|
3052
|
-
if (true === input3.stopunbounded)
|
|
3053
3321
|
return $vo22(input3, _path2, _exceptionable2);
|
|
3322
|
+
if (true === input3.stopunbounded)
|
|
3323
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
3054
3324
|
return $report(_exceptionable2, {
|
|
3055
3325
|
path: _path2,
|
|
3056
3326
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
3057
3327
|
value: input3
|
|
3058
3328
|
});
|
|
3059
3329
|
})();
|
|
3060
|
-
const $
|
|
3330
|
+
const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3061
3331
|
if ("gene" === input3.kind)
|
|
3062
|
-
return $vo39(input3, _path2, _exceptionable2);
|
|
3063
|
-
if ("coord" === input3.kind)
|
|
3064
3332
|
return $vo42(input3, _path2, _exceptionable2);
|
|
3333
|
+
if ("coord" === input3.kind)
|
|
3334
|
+
return $vo45(input3, _path2, _exceptionable2);
|
|
3065
3335
|
return $report(_exceptionable2, {
|
|
3066
3336
|
path: _path2,
|
|
3067
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; })',
|
|
3068
3338
|
value: input3
|
|
3069
3339
|
});
|
|
3070
3340
|
})();
|
|
3071
|
-
const $
|
|
3341
|
+
const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3072
3342
|
if ("numeric" === input3.memberType)
|
|
3073
|
-
return $
|
|
3343
|
+
return $vo48(input3, _path2, _exceptionable2);
|
|
3074
3344
|
if ("categorical" === input3.memberType)
|
|
3075
|
-
return $
|
|
3345
|
+
return $vo52(input3, _path2, _exceptionable2);
|
|
3076
3346
|
return $report(_exceptionable2, {
|
|
3077
3347
|
path: _path2,
|
|
3078
3348
|
expected: "(NumericTermCollection | CategoricalTermCollection)",
|
|
@@ -3101,7 +3371,7 @@ var validTermdbDmrResponse = (input) => {
|
|
|
3101
3371
|
const errors = [];
|
|
3102
3372
|
const __is = (input2) => {
|
|
3103
3373
|
const $io0 = (input3) => "ok" === input3.status && (Array.isArray(input3.dmrs) && input3.dmrs.every((elem) => "object" === typeof elem && null !== elem && $io1(elem)));
|
|
3104
|
-
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;
|
|
3105
3375
|
const $io2 = (input3) => "string" === typeof input3.error;
|
|
3106
3376
|
const $iu0 = (input3) => (() => {
|
|
3107
3377
|
if (void 0 !== input3.status)
|
|
@@ -3148,6 +3418,22 @@ var validTermdbDmrResponse = (input) => {
|
|
|
3148
3418
|
path: _path2 + ".stop",
|
|
3149
3419
|
expected: "number",
|
|
3150
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
|
|
3151
3437
|
})].every((flag) => flag);
|
|
3152
3438
|
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.error || $report(_exceptionable2, {
|
|
3153
3439
|
path: _path2 + ".error",
|