@sjcrh/proteinpaint-types 2.119.0 → 2.121.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-T2CSA2MC.js → chunk-3ZT4UCFM.js} +366 -512
- package/dist/{chunk-4V46EBDF.js → chunk-5XRJ5ATE.js} +916 -1264
- package/dist/{chunk-BM3JLR6T.js → chunk-AGSW7G4T.js} +905 -1253
- package/dist/{chunk-J6SJ4M3S.js → chunk-F64WJMRL.js} +1094 -1306
- package/dist/{chunk-YURGGHZI.js → chunk-K7P6C6KU.js} +731 -1079
- package/dist/{chunk-GI4NNB34.js → chunk-LBGUOJR3.js} +366 -512
- package/dist/{chunk-OL4OMJSP.js → chunk-NCFUZ5VV.js} +903 -1139
- package/dist/{chunk-GD3KAF6V.js → chunk-QMWUUGEK.js} +457 -603
- package/dist/{chunk-DL4UYYVE.js → chunk-RX5EB2HL.js} +366 -512
- package/dist/{chunk-ROPNHRVV.js → chunk-SQBZAOWB.js} +366 -512
- package/dist/{chunk-7NNYHDAK.js → chunk-XPOHYEAY.js} +917 -1265
- package/dist/{chunk-UVOO2LBD.js → chunk-ZMOSABYP.js} +916 -1264
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +12 -12
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/filter.ts +12 -67
- package/src/genome.ts +1 -1
- package/src/routes/hicgenome.ts +1 -1
- package/src/routes/isoformlst.ts +1 -1
- package/src/routes/termdb.cohorts.ts +1 -1
- package/src/routes/termdb.singlecellData.ts +1 -1
- package/src/terms/categorical.ts +3 -3
- package/src/terms/condition.ts +2 -2
- package/src/terms/geneExpression.ts +3 -3
- package/src/terms/geneVariant.ts +58 -19
- package/src/terms/metaboliteIntensity.ts +4 -4
- package/src/terms/q.ts +1 -1
- package/src/terms/samplelst.ts +3 -3
- package/src/terms/singleCellCellType.ts +2 -2
- package/src/terms/singleCellGeneExpression.ts +4 -5
- package/src/terms/snp.ts +3 -3
- package/src/terms/snps.ts +4 -4
- package/src/terms/term.ts +14 -8
- package/src/terms/tw.ts +7 -8
- package/src/terms/updated-types.ts +5 -4
- package/src/termsetting.ts +4 -4
- package/src/test/numeric.type.spec.ts +2 -2
|
@@ -23,31 +23,36 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
23
23
|
const __is = (input2) => {
|
|
24
24
|
const $join = import_typia.createValidate.join;
|
|
25
25
|
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && "string" === typeof input3.tid && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter));
|
|
26
|
-
const $io1 = (input3) => "
|
|
27
|
-
const $io2 = (input3) =>
|
|
28
|
-
const $io3 = (input3) =>
|
|
29
|
-
const $io4 = (input3) =>
|
|
26
|
+
const $io1 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
27
|
+
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu3(input3.tvs));
|
|
28
|
+
const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io4(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io6(elem)));
|
|
29
|
+
const $io4 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
30
|
+
const $io5 = (input3) => Object.keys(input3).every((key) => {
|
|
30
31
|
const value = input3[key];
|
|
31
32
|
if (void 0 === value)
|
|
32
33
|
return true;
|
|
33
34
|
if (RegExp(/(.*)/).test(key))
|
|
34
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
35
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
|
|
35
36
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
36
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
37
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
|
|
37
38
|
return true;
|
|
38
39
|
});
|
|
39
|
-
const $
|
|
40
|
-
const $
|
|
41
|
-
const $
|
|
42
|
-
const $
|
|
43
|
-
const $
|
|
44
|
-
const $
|
|
45
|
-
const $
|
|
46
|
-
const $
|
|
47
|
-
const $
|
|
48
|
-
const $
|
|
49
|
-
const $
|
|
50
|
-
const $
|
|
40
|
+
const $io6 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter));
|
|
41
|
+
const $io7 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io8(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io9(elem)));
|
|
42
|
+
const $io8 = (input3) => Array.isArray(input3.joinWith) && input3.joinWith.every((elem) => "string" === typeof elem);
|
|
43
|
+
const $io9 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
|
|
44
|
+
const $io10 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io11(elem)));
|
|
45
|
+
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.id || "string" === typeof input3.id) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
46
|
+
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);
|
|
47
|
+
const $io13 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
48
|
+
const $io14 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io15(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
49
|
+
const $io15 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io8(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io9(elem))) && ("object" === typeof input3.active && null !== input3.active && $io1(input3.active)) && "number" === typeof input3.group;
|
|
50
|
+
const $io16 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
51
|
+
const $io17 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io18(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io27(elem)));
|
|
52
|
+
const $io18 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io19(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io26(input3.continuousColorScale));
|
|
53
|
+
const $io19 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu5(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu5(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);
|
|
54
|
+
const $io20 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io21(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 && $iu6(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu7(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
55
|
+
const $io21 = (input3) => Object.keys(input3).every((key) => {
|
|
51
56
|
const value = input3[key];
|
|
52
57
|
if (void 0 === value)
|
|
53
58
|
return true;
|
|
@@ -55,93 +60,75 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
55
60
|
return "number" === typeof value;
|
|
56
61
|
return true;
|
|
57
62
|
});
|
|
58
|
-
const $
|
|
59
|
-
const $
|
|
60
|
-
const $
|
|
61
|
-
const $
|
|
62
|
-
const $
|
|
63
|
-
const $
|
|
64
|
-
const $
|
|
65
|
-
const $
|
|
66
|
-
const $
|
|
67
|
-
const $
|
|
68
|
-
const $
|
|
69
|
-
const $io28 = (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) && $io4(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
70
|
-
const $io29 = (input3) => 1 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
71
|
-
const $io30 = (input3) => 4 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
72
|
-
const $io31 = (input3) => 5 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
73
|
-
const $io32 = (input3) => 2 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
63
|
+
const $io22 = (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);
|
|
64
|
+
const $io23 = (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);
|
|
65
|
+
const $io24 = (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);
|
|
66
|
+
const $io25 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io21(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
67
|
+
const $io26 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
68
|
+
const $io27 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
69
|
+
const $io28 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io29(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
|
|
70
|
+
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter));
|
|
71
|
+
const $io30 = (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;
|
|
72
|
+
const $io31 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io9(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
73
|
+
const $io32 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
74
74
|
const $iu0 = (input3) => (() => {
|
|
75
|
-
if (
|
|
75
|
+
if ("tvslst" === input3.type)
|
|
76
76
|
return $io1(input3);
|
|
77
|
-
if (
|
|
78
|
-
return $
|
|
79
|
-
return
|
|
80
|
-
if ($io2(input3))
|
|
81
|
-
return $io2(input3);
|
|
82
|
-
if ($io23(input3))
|
|
83
|
-
return $io23(input3);
|
|
84
|
-
if ($io26(input3))
|
|
85
|
-
return $io26(input3);
|
|
86
|
-
return false;
|
|
87
|
-
})();
|
|
77
|
+
if ("tvs" === input3.type)
|
|
78
|
+
return $io2(input3);
|
|
79
|
+
return false;
|
|
88
80
|
})();
|
|
89
81
|
const $iu1 = (input3) => (() => {
|
|
90
82
|
if ("string" === typeof input3.type)
|
|
91
|
-
return $
|
|
83
|
+
return $io12(input3);
|
|
92
84
|
if ("filter" === input3.type)
|
|
93
|
-
return $
|
|
85
|
+
return $io14(input3);
|
|
94
86
|
return false;
|
|
95
87
|
})();
|
|
96
88
|
const $iu2 = (input3) => (() => {
|
|
97
89
|
if (true === input3.startunbounded)
|
|
98
|
-
return $
|
|
90
|
+
return $io22(input3);
|
|
99
91
|
if (true === input3.stopunbounded)
|
|
100
|
-
return $
|
|
101
|
-
return $
|
|
92
|
+
return $io24(input3);
|
|
93
|
+
return $io23(input3);
|
|
102
94
|
})();
|
|
103
95
|
const $iu3 = (input3) => (() => {
|
|
104
|
-
if (
|
|
105
|
-
return $
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
96
|
+
if (void 0 !== input3.ranges)
|
|
97
|
+
return $io17(input3);
|
|
98
|
+
return (() => {
|
|
99
|
+
if ($io3(input3))
|
|
100
|
+
return $io3(input3);
|
|
101
|
+
if ($io28(input3))
|
|
102
|
+
return $io28(input3);
|
|
103
|
+
if ($io31(input3))
|
|
104
|
+
return $io31(input3);
|
|
105
|
+
return false;
|
|
106
|
+
})();
|
|
113
107
|
})();
|
|
114
108
|
const $iu4 = (input3) => (() => {
|
|
115
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $
|
|
116
|
-
return $
|
|
117
|
-
return $
|
|
109
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io11(elem)))
|
|
110
|
+
return $io10(input3);
|
|
111
|
+
return $io16(input3);
|
|
118
112
|
})();
|
|
119
113
|
const $iu5 = (input3) => (() => {
|
|
120
114
|
if ("regular-bin" === input3.type)
|
|
121
|
-
return $io15(input3);
|
|
122
|
-
if ("custom-bin" === input3.type)
|
|
123
115
|
return $io20(input3);
|
|
116
|
+
if ("custom-bin" === input3.type)
|
|
117
|
+
return $io25(input3);
|
|
124
118
|
return false;
|
|
125
119
|
})();
|
|
126
120
|
const $iu6 = (input3) => (() => {
|
|
127
121
|
if (true === input3.startunbounded)
|
|
128
|
-
return $
|
|
122
|
+
return $io22(input3);
|
|
129
123
|
if (void 0 !== input3.start)
|
|
130
|
-
return $
|
|
124
|
+
return $io23(input3);
|
|
131
125
|
return false;
|
|
132
126
|
})();
|
|
133
127
|
const $iu7 = (input3) => (() => {
|
|
134
128
|
if (void 0 !== input3.stop)
|
|
135
|
-
return $
|
|
129
|
+
return $io23(input3);
|
|
136
130
|
if (true === input3.stopunbounded)
|
|
137
|
-
return $
|
|
138
|
-
return false;
|
|
139
|
-
})();
|
|
140
|
-
const $iu8 = (input3) => (() => {
|
|
141
|
-
if ("gene" === input3.kind)
|
|
142
|
-
return $io27(input3);
|
|
143
|
-
if ("coord" === input3.kind)
|
|
144
|
-
return $io28(input3);
|
|
131
|
+
return $io24(input3);
|
|
145
132
|
return false;
|
|
146
133
|
})();
|
|
147
134
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -175,17 +162,17 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
175
162
|
expected: "(Filter | undefined)",
|
|
176
163
|
value: input3.filter
|
|
177
164
|
})].every((flag) => flag);
|
|
178
|
-
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["
|
|
165
|
+
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
179
166
|
path: _path2 + ".type",
|
|
180
|
-
expected: '"
|
|
167
|
+
expected: '"tvslst"',
|
|
181
168
|
value: input3.type
|
|
182
|
-
}),
|
|
169
|
+
}), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
183
170
|
path: _path2 + '["in"]',
|
|
184
|
-
expected: "
|
|
171
|
+
expected: "boolean",
|
|
185
172
|
value: input3["in"]
|
|
186
|
-
}), "
|
|
173
|
+
}), "string" === typeof input3.join || $report(_exceptionable2, {
|
|
187
174
|
path: _path2 + ".join",
|
|
188
|
-
expected:
|
|
175
|
+
expected: "string",
|
|
189
176
|
value: input3.join
|
|
190
177
|
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
191
178
|
path: _path2 + ".tag",
|
|
@@ -193,22 +180,35 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
193
180
|
value: input3.tag
|
|
194
181
|
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
195
182
|
path: _path2 + ".lst",
|
|
196
|
-
expected:
|
|
183
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
197
184
|
value: input3.lst
|
|
198
185
|
})) && input3.lst.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
199
186
|
path: _path2 + ".lst[" + _index1 + "]",
|
|
200
|
-
expected: "(
|
|
187
|
+
expected: "(Filter | __type)",
|
|
201
188
|
value: elem
|
|
202
189
|
})) && $vu0(elem, _path2 + ".lst[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
203
190
|
path: _path2 + ".lst[" + _index1 + "]",
|
|
204
|
-
expected: "(
|
|
191
|
+
expected: "(Filter | __type)",
|
|
205
192
|
value: elem
|
|
206
193
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
207
194
|
path: _path2 + ".lst",
|
|
208
|
-
expected:
|
|
195
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
209
196
|
value: input3.lst
|
|
210
197
|
})].every((flag) => flag);
|
|
211
|
-
const $vo2 = (input3, _path2, _exceptionable2 = true) => [
|
|
198
|
+
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
199
|
+
path: _path2 + ".type",
|
|
200
|
+
expected: '"tvs"',
|
|
201
|
+
value: input3.type
|
|
202
|
+
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
203
|
+
path: _path2 + ".tvs",
|
|
204
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
205
|
+
value: input3.tvs
|
|
206
|
+
})) && $vu3(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
207
|
+
path: _path2 + ".tvs",
|
|
208
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
209
|
+
value: input3.tvs
|
|
210
|
+
})].every((flag) => flag);
|
|
211
|
+
const $vo3 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
212
212
|
path: _path2 + ".join",
|
|
213
213
|
expected: "(string | undefined)",
|
|
214
214
|
value: input3.join
|
|
@@ -220,7 +220,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
220
220
|
path: _path2 + ".term",
|
|
221
221
|
expected: "CategoricalTerm",
|
|
222
222
|
value: input3.term
|
|
223
|
-
})) && $
|
|
223
|
+
})) && $vo4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
224
224
|
path: _path2 + ".term",
|
|
225
225
|
expected: "CategoricalTerm",
|
|
226
226
|
value: input3.term
|
|
@@ -236,7 +236,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
236
236
|
path: _path2 + ".values[" + _index2 + "]",
|
|
237
237
|
expected: "BaseValue",
|
|
238
238
|
value: elem
|
|
239
|
-
})) && $
|
|
239
|
+
})) && $vo6(elem, _path2 + ".values[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
240
240
|
path: _path2 + ".values[" + _index2 + "]",
|
|
241
241
|
expected: "BaseValue",
|
|
242
242
|
value: elem
|
|
@@ -245,7 +245,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
245
245
|
expected: "Array<BaseValue>",
|
|
246
246
|
value: input3.values
|
|
247
247
|
})].every((flag) => flag);
|
|
248
|
-
const $
|
|
248
|
+
const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
249
249
|
path: _path2 + ".id",
|
|
250
250
|
expected: "string",
|
|
251
251
|
value: input3.id
|
|
@@ -293,20 +293,28 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
293
293
|
path: _path2 + ".values",
|
|
294
294
|
expected: "(TermValues | undefined)",
|
|
295
295
|
value: input3.values
|
|
296
|
-
})) && $
|
|
296
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
297
297
|
path: _path2 + ".values",
|
|
298
298
|
expected: "(TermValues | undefined)",
|
|
299
299
|
value: input3.values
|
|
300
|
-
}),
|
|
300
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
301
|
+
path: _path2 + ".filter",
|
|
302
|
+
expected: "(TermFilter | undefined)",
|
|
303
|
+
value: input3.filter
|
|
304
|
+
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
305
|
+
path: _path2 + ".filter",
|
|
306
|
+
expected: "(TermFilter | undefined)",
|
|
307
|
+
value: input3.filter
|
|
308
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
301
309
|
path: _path2 + ".groupsetting",
|
|
302
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
310
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
303
311
|
value: input3.groupsetting
|
|
304
312
|
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
305
313
|
path: _path2 + ".groupsetting",
|
|
306
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
314
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
307
315
|
value: input3.groupsetting
|
|
308
316
|
})].every((flag) => flag);
|
|
309
|
-
const $
|
|
317
|
+
const $vo5 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
310
318
|
const value = input3[key];
|
|
311
319
|
if (void 0 === value)
|
|
312
320
|
return true;
|
|
@@ -315,7 +323,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
315
323
|
path: _path2 + $join(key),
|
|
316
324
|
expected: "BaseValue",
|
|
317
325
|
value
|
|
318
|
-
})) && $
|
|
326
|
+
})) && $vo6(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
319
327
|
path: _path2 + $join(key),
|
|
320
328
|
expected: "BaseValue",
|
|
321
329
|
value
|
|
@@ -325,14 +333,14 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
325
333
|
path: _path2 + $join(key),
|
|
326
334
|
expected: "BaseValue",
|
|
327
335
|
value
|
|
328
|
-
})) && $
|
|
336
|
+
})) && $vo6(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
329
337
|
path: _path2 + $join(key),
|
|
330
338
|
expected: "BaseValue",
|
|
331
339
|
value
|
|
332
340
|
});
|
|
333
341
|
return true;
|
|
334
342
|
}).every((flag) => flag)].every((flag) => flag);
|
|
335
|
-
const $
|
|
343
|
+
const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
336
344
|
path: _path2 + ".key",
|
|
337
345
|
expected: "(string | undefined)",
|
|
338
346
|
value: input3.key
|
|
@@ -365,7 +373,86 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
365
373
|
expected: "(Filter | undefined)",
|
|
366
374
|
value: input3.filter
|
|
367
375
|
})].every((flag) => flag);
|
|
368
|
-
const $
|
|
376
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
377
|
+
path: _path2 + ".opts",
|
|
378
|
+
expected: "__type.o1",
|
|
379
|
+
value: input3.opts
|
|
380
|
+
})) && $vo8(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
381
|
+
path: _path2 + ".opts",
|
|
382
|
+
expected: "__type.o1",
|
|
383
|
+
value: input3.opts
|
|
384
|
+
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
385
|
+
path: _path2 + ".terms",
|
|
386
|
+
expected: "Array<DtTerm>",
|
|
387
|
+
value: input3.terms
|
|
388
|
+
})) && input3.terms.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
389
|
+
path: _path2 + ".terms[" + _index5 + "]",
|
|
390
|
+
expected: "DtTerm",
|
|
391
|
+
value: elem
|
|
392
|
+
})) && $vo9(elem, _path2 + ".terms[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
393
|
+
path: _path2 + ".terms[" + _index5 + "]",
|
|
394
|
+
expected: "DtTerm",
|
|
395
|
+
value: elem
|
|
396
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
397
|
+
path: _path2 + ".terms",
|
|
398
|
+
expected: "Array<DtTerm>",
|
|
399
|
+
value: input3.terms
|
|
400
|
+
})].every((flag) => flag);
|
|
401
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.joinWith) || $report(_exceptionable2, {
|
|
402
|
+
path: _path2 + ".joinWith",
|
|
403
|
+
expected: "Array<string>",
|
|
404
|
+
value: input3.joinWith
|
|
405
|
+
})) && input3.joinWith.map((elem, _index6) => "string" === typeof elem || $report(_exceptionable2, {
|
|
406
|
+
path: _path2 + ".joinWith[" + _index6 + "]",
|
|
407
|
+
expected: "string",
|
|
408
|
+
value: elem
|
|
409
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
410
|
+
path: _path2 + ".joinWith",
|
|
411
|
+
expected: "Array<string>",
|
|
412
|
+
value: input3.joinWith
|
|
413
|
+
})].every((flag) => flag);
|
|
414
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
415
|
+
path: _path2 + ".id",
|
|
416
|
+
expected: "string",
|
|
417
|
+
value: input3.id
|
|
418
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
419
|
+
path: _path2 + ".query",
|
|
420
|
+
expected: "string",
|
|
421
|
+
value: input3.query
|
|
422
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
423
|
+
path: _path2 + ".name",
|
|
424
|
+
expected: "string",
|
|
425
|
+
value: input3.name
|
|
426
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
427
|
+
path: _path2 + ".name_noOrigin",
|
|
428
|
+
expected: "string",
|
|
429
|
+
value: input3.name_noOrigin
|
|
430
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
431
|
+
path: _path2 + ".isleaf",
|
|
432
|
+
expected: "boolean",
|
|
433
|
+
value: input3.isleaf
|
|
434
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
435
|
+
path: _path2 + ".type",
|
|
436
|
+
expected: "string",
|
|
437
|
+
value: input3.type
|
|
438
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
439
|
+
path: _path2 + ".dt",
|
|
440
|
+
expected: "number",
|
|
441
|
+
value: input3.dt
|
|
442
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
443
|
+
path: _path2 + ".origin",
|
|
444
|
+
expected: "(string | undefined)",
|
|
445
|
+
value: input3.origin
|
|
446
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
447
|
+
path: _path2 + ".values",
|
|
448
|
+
expected: "TermValues",
|
|
449
|
+
value: input3.values
|
|
450
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
451
|
+
path: _path2 + ".values",
|
|
452
|
+
expected: "TermValues",
|
|
453
|
+
value: input3.values
|
|
454
|
+
})].every((flag) => flag);
|
|
455
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
369
456
|
path: _path2 + ".disabled",
|
|
370
457
|
expected: "(boolean | undefined)",
|
|
371
458
|
value: input3.disabled
|
|
@@ -373,12 +460,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
373
460
|
path: _path2 + ".lst",
|
|
374
461
|
expected: "Array<Groupset>",
|
|
375
462
|
value: input3.lst
|
|
376
|
-
})) && input3.lst.map((elem,
|
|
377
|
-
path: _path2 + ".lst[" +
|
|
463
|
+
})) && input3.lst.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
464
|
+
path: _path2 + ".lst[" + _index7 + "]",
|
|
378
465
|
expected: "Groupset",
|
|
379
466
|
value: elem
|
|
380
|
-
})) && $
|
|
381
|
-
path: _path2 + ".lst[" +
|
|
467
|
+
})) && $vo11(elem, _path2 + ".lst[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
468
|
+
path: _path2 + ".lst[" + _index7 + "]",
|
|
382
469
|
expected: "Groupset",
|
|
383
470
|
value: elem
|
|
384
471
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -386,7 +473,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
386
473
|
expected: "Array<Groupset>",
|
|
387
474
|
value: input3.lst
|
|
388
475
|
})].every((flag) => flag);
|
|
389
|
-
const $
|
|
476
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
390
477
|
path: _path2 + ".name",
|
|
391
478
|
expected: "string",
|
|
392
479
|
value: input3.name
|
|
@@ -406,12 +493,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
406
493
|
path: _path2 + ".groups",
|
|
407
494
|
expected: "Array<GroupEntry>",
|
|
408
495
|
value: input3.groups
|
|
409
|
-
})) && input3.groups.map((elem,
|
|
410
|
-
path: _path2 + ".groups[" +
|
|
496
|
+
})) && input3.groups.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
497
|
+
path: _path2 + ".groups[" + _index8 + "]",
|
|
411
498
|
expected: "(FilterGroup | ValuesGroup)",
|
|
412
499
|
value: elem
|
|
413
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
414
|
-
path: _path2 + ".groups[" +
|
|
500
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
501
|
+
path: _path2 + ".groups[" + _index8 + "]",
|
|
415
502
|
expected: "(FilterGroup | ValuesGroup)",
|
|
416
503
|
value: elem
|
|
417
504
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -419,7 +506,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
419
506
|
expected: "Array<GroupEntry>",
|
|
420
507
|
value: input3.groups
|
|
421
508
|
})].every((flag) => flag);
|
|
422
|
-
const $
|
|
509
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
423
510
|
path: _path2 + ".name",
|
|
424
511
|
expected: "string",
|
|
425
512
|
value: input3.name
|
|
@@ -431,13 +518,13 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
431
518
|
path: _path2 + ".values",
|
|
432
519
|
expected: "Array<__type>",
|
|
433
520
|
value: input3.values
|
|
434
|
-
})) && input3.values.map((elem,
|
|
435
|
-
path: _path2 + ".values[" +
|
|
436
|
-
expected: "__type",
|
|
521
|
+
})) && input3.values.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
522
|
+
path: _path2 + ".values[" + _index9 + "]",
|
|
523
|
+
expected: "__type.o2",
|
|
437
524
|
value: elem
|
|
438
|
-
})) && $
|
|
439
|
-
path: _path2 + ".values[" +
|
|
440
|
-
expected: "__type",
|
|
525
|
+
})) && $vo13(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
526
|
+
path: _path2 + ".values[" + _index9 + "]",
|
|
527
|
+
expected: "__type.o2",
|
|
441
528
|
value: elem
|
|
442
529
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
443
530
|
path: _path2 + ".values",
|
|
@@ -448,7 +535,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
448
535
|
expected: "(boolean | undefined)",
|
|
449
536
|
value: input3.uncomputable
|
|
450
537
|
})].every((flag) => flag);
|
|
451
|
-
const $
|
|
538
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
452
539
|
path: _path2 + ".key",
|
|
453
540
|
expected: "(number | string)",
|
|
454
541
|
value: input3.key
|
|
@@ -457,7 +544,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
457
544
|
expected: "string",
|
|
458
545
|
value: input3.label
|
|
459
546
|
})].every((flag) => flag);
|
|
460
|
-
const $
|
|
547
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
461
548
|
path: _path2 + ".name",
|
|
462
549
|
expected: "string",
|
|
463
550
|
value: input3.name
|
|
@@ -465,12 +552,57 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
465
552
|
path: _path2 + ".type",
|
|
466
553
|
expected: '"filter"',
|
|
467
554
|
value: input3.type
|
|
468
|
-
}),
|
|
555
|
+
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
556
|
+
path: _path2 + ".filter",
|
|
557
|
+
expected: "TermFilter & { active: Filter; group: number; }",
|
|
558
|
+
value: input3.filter
|
|
559
|
+
})) && $vo15(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
560
|
+
path: _path2 + ".filter",
|
|
561
|
+
expected: "TermFilter & { active: Filter; group: number; }",
|
|
562
|
+
value: input3.filter
|
|
563
|
+
}), "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
469
564
|
path: _path2 + ".uncomputable",
|
|
470
|
-
expected: "
|
|
565
|
+
expected: "boolean",
|
|
471
566
|
value: input3.uncomputable
|
|
472
567
|
})].every((flag) => flag);
|
|
473
|
-
const $
|
|
568
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
569
|
+
path: _path2 + ".opts",
|
|
570
|
+
expected: "__type.o1",
|
|
571
|
+
value: input3.opts
|
|
572
|
+
})) && $vo8(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
573
|
+
path: _path2 + ".opts",
|
|
574
|
+
expected: "__type.o1",
|
|
575
|
+
value: input3.opts
|
|
576
|
+
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
577
|
+
path: _path2 + ".terms",
|
|
578
|
+
expected: "Array<DtTerm>",
|
|
579
|
+
value: input3.terms
|
|
580
|
+
})) && input3.terms.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
581
|
+
path: _path2 + ".terms[" + _index10 + "]",
|
|
582
|
+
expected: "DtTerm",
|
|
583
|
+
value: elem
|
|
584
|
+
})) && $vo9(elem, _path2 + ".terms[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
585
|
+
path: _path2 + ".terms[" + _index10 + "]",
|
|
586
|
+
expected: "DtTerm",
|
|
587
|
+
value: elem
|
|
588
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
589
|
+
path: _path2 + ".terms",
|
|
590
|
+
expected: "Array<DtTerm>",
|
|
591
|
+
value: input3.terms
|
|
592
|
+
}), ("object" === typeof input3.active && null !== input3.active || $report(_exceptionable2, {
|
|
593
|
+
path: _path2 + ".active",
|
|
594
|
+
expected: "Filter",
|
|
595
|
+
value: input3.active
|
|
596
|
+
})) && $vo1(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
|
|
597
|
+
path: _path2 + ".active",
|
|
598
|
+
expected: "Filter",
|
|
599
|
+
value: input3.active
|
|
600
|
+
}), "number" === typeof input3.group || $report(_exceptionable2, {
|
|
601
|
+
path: _path2 + ".group",
|
|
602
|
+
expected: "number",
|
|
603
|
+
value: input3.group
|
|
604
|
+
})].every((flag) => flag);
|
|
605
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
474
606
|
path: _path2 + ".disabled",
|
|
475
607
|
expected: "boolean",
|
|
476
608
|
value: input3.disabled
|
|
@@ -487,7 +619,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
487
619
|
expected: "([] | undefined)",
|
|
488
620
|
value: input3.lst
|
|
489
621
|
})].every((flag) => flag);
|
|
490
|
-
const $
|
|
622
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
491
623
|
path: _path2 + ".join",
|
|
492
624
|
expected: "(string | undefined)",
|
|
493
625
|
value: input3.join
|
|
@@ -499,7 +631,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
499
631
|
path: _path2 + ".term",
|
|
500
632
|
expected: "NumericTerm",
|
|
501
633
|
value: input3.term
|
|
502
|
-
})) && $
|
|
634
|
+
})) && $vo18(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
503
635
|
path: _path2 + ".term",
|
|
504
636
|
expected: "NumericTerm",
|
|
505
637
|
value: input3.term
|
|
@@ -507,12 +639,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
507
639
|
path: _path2 + ".ranges",
|
|
508
640
|
expected: "Array<NumericBin>",
|
|
509
641
|
value: input3.ranges
|
|
510
|
-
})) && input3.ranges.map((elem,
|
|
511
|
-
path: _path2 + ".ranges[" +
|
|
642
|
+
})) && input3.ranges.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
643
|
+
path: _path2 + ".ranges[" + _index11 + "]",
|
|
512
644
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
513
645
|
value: elem
|
|
514
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
515
|
-
path: _path2 + ".ranges[" +
|
|
646
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
647
|
+
path: _path2 + ".ranges[" + _index11 + "]",
|
|
516
648
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
517
649
|
value: elem
|
|
518
650
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -523,20 +655,20 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
523
655
|
path: _path2 + ".values",
|
|
524
656
|
expected: "Array<__type>.o1",
|
|
525
657
|
value: input3.values
|
|
526
|
-
})) && input3.values.map((elem,
|
|
527
|
-
path: _path2 + ".values[" +
|
|
528
|
-
expected: "__type.
|
|
658
|
+
})) && input3.values.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
659
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
660
|
+
expected: "__type.o5",
|
|
529
661
|
value: elem
|
|
530
|
-
})) && $
|
|
531
|
-
path: _path2 + ".values[" +
|
|
532
|
-
expected: "__type.
|
|
662
|
+
})) && $vo27(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
663
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
664
|
+
expected: "__type.o5",
|
|
533
665
|
value: elem
|
|
534
666
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
535
667
|
path: _path2 + ".values",
|
|
536
668
|
expected: "Array<__type>.o1",
|
|
537
669
|
value: input3.values
|
|
538
670
|
})].every((flag) => flag);
|
|
539
|
-
const $
|
|
671
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
540
672
|
path: _path2 + ".id",
|
|
541
673
|
expected: "string",
|
|
542
674
|
value: input3.id
|
|
@@ -552,8 +684,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
552
684
|
path: _path2 + ".child_types",
|
|
553
685
|
expected: "(Array<string> | undefined)",
|
|
554
686
|
value: input3.child_types
|
|
555
|
-
})) && input3.child_types.map((elem,
|
|
556
|
-
path: _path2 + ".child_types[" +
|
|
687
|
+
})) && input3.child_types.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable2, {
|
|
688
|
+
path: _path2 + ".child_types[" + _index13 + "]",
|
|
557
689
|
expected: "string",
|
|
558
690
|
value: elem
|
|
559
691
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -568,8 +700,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
568
700
|
path: _path2 + ".included_types",
|
|
569
701
|
expected: "(Array<string> | undefined)",
|
|
570
702
|
value: input3.included_types
|
|
571
|
-
})) && input3.included_types.map((elem,
|
|
572
|
-
path: _path2 + ".included_types[" +
|
|
703
|
+
})) && input3.included_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
704
|
+
path: _path2 + ".included_types[" + _index14 + "]",
|
|
573
705
|
expected: "string",
|
|
574
706
|
value: elem
|
|
575
707
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -584,15 +716,23 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
584
716
|
path: _path2 + ".values",
|
|
585
717
|
expected: "(TermValues | undefined)",
|
|
586
718
|
value: input3.values
|
|
587
|
-
})) && $
|
|
719
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
588
720
|
path: _path2 + ".values",
|
|
589
721
|
expected: "(TermValues | undefined)",
|
|
590
722
|
value: input3.values
|
|
591
|
-
}),
|
|
723
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
724
|
+
path: _path2 + ".filter",
|
|
725
|
+
expected: "(TermFilter | undefined)",
|
|
726
|
+
value: input3.filter
|
|
727
|
+
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
728
|
+
path: _path2 + ".filter",
|
|
729
|
+
expected: "(TermFilter | undefined)",
|
|
730
|
+
value: input3.filter
|
|
731
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
592
732
|
path: _path2 + ".bins",
|
|
593
733
|
expected: "PresetNumericBins",
|
|
594
734
|
value: input3.bins
|
|
595
|
-
})) && $
|
|
735
|
+
})) && $vo19(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
596
736
|
path: _path2 + ".bins",
|
|
597
737
|
expected: "PresetNumericBins",
|
|
598
738
|
value: input3.bins
|
|
@@ -602,14 +742,14 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
602
742
|
value: input3.unit
|
|
603
743
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
604
744
|
path: _path2 + ".continuousColorScale",
|
|
605
|
-
expected: "(__type.
|
|
745
|
+
expected: "(__type.o4 | undefined)",
|
|
606
746
|
value: input3.continuousColorScale
|
|
607
|
-
})) && $
|
|
747
|
+
})) && $vo26(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
608
748
|
path: _path2 + ".continuousColorScale",
|
|
609
|
-
expected: "(__type.
|
|
749
|
+
expected: "(__type.o4 | undefined)",
|
|
610
750
|
value: input3.continuousColorScale
|
|
611
751
|
})].every((flag) => flag);
|
|
612
|
-
const $
|
|
752
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
613
753
|
path: _path2 + '["default"]',
|
|
614
754
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
615
755
|
value: input3["default"]
|
|
@@ -646,11 +786,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
646
786
|
expected: "(number | undefined)",
|
|
647
787
|
value: input3.max
|
|
648
788
|
})].every((flag) => flag);
|
|
649
|
-
const $
|
|
789
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
650
790
|
path: _path2 + ".hiddenValues",
|
|
651
791
|
expected: "(HiddenValues | undefined)",
|
|
652
792
|
value: input3.hiddenValues
|
|
653
|
-
})) && $
|
|
793
|
+
})) && $vo21(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
654
794
|
path: _path2 + ".hiddenValues",
|
|
655
795
|
expected: "(HiddenValues | undefined)",
|
|
656
796
|
value: input3.hiddenValues
|
|
@@ -699,7 +839,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
699
839
|
expected: "(number | undefined)",
|
|
700
840
|
value: input3.label_offset
|
|
701
841
|
})].every((flag) => flag);
|
|
702
|
-
const $
|
|
842
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
703
843
|
const value = input3[key];
|
|
704
844
|
if (void 0 === value)
|
|
705
845
|
return true;
|
|
@@ -711,7 +851,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
711
851
|
});
|
|
712
852
|
return true;
|
|
713
853
|
}).every((flag) => flag)].every((flag) => flag);
|
|
714
|
-
const $
|
|
854
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
715
855
|
path: _path2 + ".startunbounded",
|
|
716
856
|
expected: "true",
|
|
717
857
|
value: input3.startunbounded
|
|
@@ -736,7 +876,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
736
876
|
expected: "(string | undefined)",
|
|
737
877
|
value: input3.label
|
|
738
878
|
})].every((flag) => flag);
|
|
739
|
-
const $
|
|
879
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
740
880
|
path: _path2 + ".startunbounded",
|
|
741
881
|
expected: "(false | undefined)",
|
|
742
882
|
value: input3.startunbounded
|
|
@@ -765,7 +905,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
765
905
|
expected: "(string | undefined)",
|
|
766
906
|
value: input3.label
|
|
767
907
|
})].every((flag) => flag);
|
|
768
|
-
const $
|
|
908
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
769
909
|
path: _path2 + ".start",
|
|
770
910
|
expected: "number",
|
|
771
911
|
value: input3.start
|
|
@@ -790,11 +930,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
790
930
|
expected: "(string | undefined)",
|
|
791
931
|
value: input3.label
|
|
792
932
|
})].every((flag) => flag);
|
|
793
|
-
const $
|
|
933
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
794
934
|
path: _path2 + ".hiddenValues",
|
|
795
935
|
expected: "(HiddenValues | undefined)",
|
|
796
936
|
value: input3.hiddenValues
|
|
797
|
-
})) && $
|
|
937
|
+
})) && $vo21(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
798
938
|
path: _path2 + ".hiddenValues",
|
|
799
939
|
expected: "(HiddenValues | undefined)",
|
|
800
940
|
value: input3.hiddenValues
|
|
@@ -836,12 +976,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
836
976
|
path: _path2 + ".lst",
|
|
837
977
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
838
978
|
value: input3.lst.slice(1)
|
|
839
|
-
})) && input3.lst.slice(1).map((elem,
|
|
840
|
-
path: _path2 + ".lst[" + (1 +
|
|
979
|
+
})) && input3.lst.slice(1).map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
980
|
+
path: _path2 + ".lst[" + (1 + _index15) + "]",
|
|
841
981
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
842
982
|
value: elem
|
|
843
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
844
|
-
path: _path2 + ".lst[" + (1 +
|
|
983
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index15) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
984
|
+
path: _path2 + ".lst[" + (1 + _index15) + "]",
|
|
845
985
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
846
986
|
value: elem
|
|
847
987
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -857,7 +997,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
857
997
|
expected: '("median" | undefined)',
|
|
858
998
|
value: input3.preferredBins
|
|
859
999
|
})].every((flag) => flag);
|
|
860
|
-
const $
|
|
1000
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
861
1001
|
path: _path2 + ".minColor",
|
|
862
1002
|
expected: "string",
|
|
863
1003
|
value: input3.minColor
|
|
@@ -866,7 +1006,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
866
1006
|
expected: "string",
|
|
867
1007
|
value: input3.maxColor
|
|
868
1008
|
})].every((flag) => flag);
|
|
869
|
-
const $
|
|
1009
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
870
1010
|
path: _path2 + ".key",
|
|
871
1011
|
expected: "string",
|
|
872
1012
|
value: input3.key
|
|
@@ -883,7 +1023,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
883
1023
|
expected: "(string | undefined)",
|
|
884
1024
|
value: input3.label
|
|
885
1025
|
})].every((flag) => flag);
|
|
886
|
-
const $
|
|
1026
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
887
1027
|
path: _path2 + ".join",
|
|
888
1028
|
expected: "(string | undefined)",
|
|
889
1029
|
value: input3.join
|
|
@@ -895,7 +1035,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
895
1035
|
path: _path2 + ".term",
|
|
896
1036
|
expected: "ConditionTerm",
|
|
897
1037
|
value: input3.term
|
|
898
|
-
})) && $
|
|
1038
|
+
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
899
1039
|
path: _path2 + ".term",
|
|
900
1040
|
expected: "ConditionTerm",
|
|
901
1041
|
value: input3.term
|
|
@@ -915,12 +1055,12 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
915
1055
|
path: _path2 + ".grade_and_child",
|
|
916
1056
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
917
1057
|
value: input3.grade_and_child
|
|
918
|
-
})) && input3.grade_and_child.map((elem,
|
|
919
|
-
path: _path2 + ".grade_and_child[" +
|
|
1058
|
+
})) && input3.grade_and_child.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1059
|
+
path: _path2 + ".grade_and_child[" + _index16 + "]",
|
|
920
1060
|
expected: "GradeAndChildEntry",
|
|
921
1061
|
value: elem
|
|
922
|
-
})) && $
|
|
923
|
-
path: _path2 + ".grade_and_child[" +
|
|
1062
|
+
})) && $vo30(elem, _path2 + ".grade_and_child[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1063
|
+
path: _path2 + ".grade_and_child[" + _index16 + "]",
|
|
924
1064
|
expected: "GradeAndChildEntry",
|
|
925
1065
|
value: elem
|
|
926
1066
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -928,7 +1068,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
928
1068
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
929
1069
|
value: input3.grade_and_child
|
|
930
1070
|
})].every((flag) => flag);
|
|
931
|
-
const $
|
|
1071
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
932
1072
|
path: _path2 + ".id",
|
|
933
1073
|
expected: "string",
|
|
934
1074
|
value: input3.id
|
|
@@ -944,8 +1084,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
944
1084
|
path: _path2 + ".child_types",
|
|
945
1085
|
expected: "(Array<string> | undefined)",
|
|
946
1086
|
value: input3.child_types
|
|
947
|
-
})) && input3.child_types.map((elem,
|
|
948
|
-
path: _path2 + ".child_types[" +
|
|
1087
|
+
})) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1088
|
+
path: _path2 + ".child_types[" + _index17 + "]",
|
|
949
1089
|
expected: "string",
|
|
950
1090
|
value: elem
|
|
951
1091
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -960,8 +1100,8 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
960
1100
|
path: _path2 + ".included_types",
|
|
961
1101
|
expected: "(Array<string> | undefined)",
|
|
962
1102
|
value: input3.included_types
|
|
963
|
-
})) && input3.included_types.map((elem,
|
|
964
|
-
path: _path2 + ".included_types[" +
|
|
1103
|
+
})) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1104
|
+
path: _path2 + ".included_types[" + _index18 + "]",
|
|
965
1105
|
expected: "string",
|
|
966
1106
|
value: elem
|
|
967
1107
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -976,12 +1116,20 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
976
1116
|
path: _path2 + ".values",
|
|
977
1117
|
expected: "(TermValues | undefined)",
|
|
978
1118
|
value: input3.values
|
|
979
|
-
})) && $
|
|
1119
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
980
1120
|
path: _path2 + ".values",
|
|
981
1121
|
expected: "(TermValues | undefined)",
|
|
982
1122
|
value: input3.values
|
|
983
|
-
}),
|
|
984
|
-
|
|
1123
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1124
|
+
path: _path2 + ".filter",
|
|
1125
|
+
expected: "(TermFilter | undefined)",
|
|
1126
|
+
value: input3.filter
|
|
1127
|
+
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1128
|
+
path: _path2 + ".filter",
|
|
1129
|
+
expected: "(TermFilter | undefined)",
|
|
1130
|
+
value: input3.filter
|
|
1131
|
+
})].every((flag) => flag);
|
|
1132
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
985
1133
|
path: _path2 + ".grade",
|
|
986
1134
|
expected: "number",
|
|
987
1135
|
value: input3.grade
|
|
@@ -998,7 +1146,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
998
1146
|
expected: "string",
|
|
999
1147
|
value: input3.child_label
|
|
1000
1148
|
})].every((flag) => flag);
|
|
1001
|
-
const $
|
|
1149
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1002
1150
|
path: _path2 + ".join",
|
|
1003
1151
|
expected: "(string | undefined)",
|
|
1004
1152
|
value: input3.join
|
|
@@ -1008,331 +1156,58 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1008
1156
|
value: input3.isnot
|
|
1009
1157
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1010
1158
|
path: _path2 + ".term",
|
|
1011
|
-
expected: "
|
|
1159
|
+
expected: "DtTerm",
|
|
1012
1160
|
value: input3.term
|
|
1013
|
-
})) && $
|
|
1161
|
+
})) && $vo9(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1014
1162
|
path: _path2 + ".term",
|
|
1015
|
-
expected: "
|
|
1163
|
+
expected: "DtTerm",
|
|
1016
1164
|
value: input3.term
|
|
1017
1165
|
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1018
1166
|
path: _path2 + ".values",
|
|
1019
|
-
expected: "Array<
|
|
1167
|
+
expected: "Array<__type>.o2",
|
|
1020
1168
|
value: input3.values
|
|
1021
|
-
})) && input3.values.map((elem,
|
|
1022
|
-
path: _path2 + ".values[" +
|
|
1023
|
-
expected: "
|
|
1169
|
+
})) && input3.values.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1170
|
+
path: _path2 + ".values[" + _index19 + "]",
|
|
1171
|
+
expected: "__type.o6",
|
|
1024
1172
|
value: elem
|
|
1025
|
-
})) && $
|
|
1026
|
-
path: _path2 + ".values[" +
|
|
1027
|
-
expected: "
|
|
1173
|
+
})) && $vo32(elem, _path2 + ".values[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1174
|
+
path: _path2 + ".values[" + _index19 + "]",
|
|
1175
|
+
expected: "__type.o6",
|
|
1028
1176
|
value: elem
|
|
1029
1177
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1030
1178
|
path: _path2 + ".values",
|
|
1031
|
-
expected: "Array<
|
|
1179
|
+
expected: "Array<__type>.o2",
|
|
1032
1180
|
value: input3.values
|
|
1033
1181
|
})].every((flag) => flag);
|
|
1034
|
-
const $
|
|
1035
|
-
path: _path2 + ".
|
|
1036
|
-
expected: "string",
|
|
1037
|
-
value: input3.id
|
|
1038
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1039
|
-
path: _path2 + ".name",
|
|
1040
|
-
expected: "string",
|
|
1041
|
-
value: input3.name
|
|
1042
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1043
|
-
path: _path2 + ".type",
|
|
1044
|
-
expected: '"geneVariant"',
|
|
1045
|
-
value: input3.type
|
|
1046
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1047
|
-
path: _path2 + ".child_types",
|
|
1048
|
-
expected: "(Array<string> | undefined)",
|
|
1049
|
-
value: input3.child_types
|
|
1050
|
-
})) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1051
|
-
path: _path2 + ".child_types[" + _index17 + "]",
|
|
1052
|
-
expected: "string",
|
|
1053
|
-
value: elem
|
|
1054
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1055
|
-
path: _path2 + ".child_types",
|
|
1056
|
-
expected: "(Array<string> | undefined)",
|
|
1057
|
-
value: input3.child_types
|
|
1058
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1059
|
-
path: _path2 + ".hashtmldetail",
|
|
1060
|
-
expected: "(boolean | undefined)",
|
|
1061
|
-
value: input3.hashtmldetail
|
|
1062
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1063
|
-
path: _path2 + ".included_types",
|
|
1064
|
-
expected: "(Array<string> | undefined)",
|
|
1065
|
-
value: input3.included_types
|
|
1066
|
-
})) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1067
|
-
path: _path2 + ".included_types[" + _index18 + "]",
|
|
1068
|
-
expected: "string",
|
|
1069
|
-
value: elem
|
|
1070
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1071
|
-
path: _path2 + ".included_types",
|
|
1072
|
-
expected: "(Array<string> | undefined)",
|
|
1073
|
-
value: input3.included_types
|
|
1074
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1075
|
-
path: _path2 + ".isleaf",
|
|
1076
|
-
expected: "(boolean | undefined)",
|
|
1077
|
-
value: input3.isleaf
|
|
1078
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1079
|
-
path: _path2 + ".values",
|
|
1080
|
-
expected: "(TermValues | undefined)",
|
|
1081
|
-
value: input3.values
|
|
1082
|
-
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1083
|
-
path: _path2 + ".values",
|
|
1084
|
-
expected: "(TermValues | undefined)",
|
|
1085
|
-
value: input3.values
|
|
1086
|
-
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1087
|
-
path: _path2 + ".groupsetting",
|
|
1088
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1089
|
-
value: input3.groupsetting
|
|
1090
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1091
|
-
path: _path2 + ".groupsetting",
|
|
1092
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1093
|
-
value: input3.groupsetting
|
|
1094
|
-
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1095
|
-
path: _path2 + ".kind",
|
|
1096
|
-
expected: '"gene"',
|
|
1097
|
-
value: input3.kind
|
|
1098
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1099
|
-
path: _path2 + ".gene",
|
|
1100
|
-
expected: "string",
|
|
1101
|
-
value: input3.gene
|
|
1102
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1103
|
-
path: _path2 + ".chr",
|
|
1104
|
-
expected: "(string | undefined)",
|
|
1105
|
-
value: input3.chr
|
|
1106
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1107
|
-
path: _path2 + ".start",
|
|
1108
|
-
expected: "(number | undefined)",
|
|
1109
|
-
value: input3.start
|
|
1110
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1111
|
-
path: _path2 + ".stop",
|
|
1112
|
-
expected: "(number | undefined)",
|
|
1113
|
-
value: input3.stop
|
|
1114
|
-
})].every((flag) => flag);
|
|
1115
|
-
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1116
|
-
path: _path2 + ".id",
|
|
1117
|
-
expected: "string",
|
|
1118
|
-
value: input3.id
|
|
1119
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1120
|
-
path: _path2 + ".name",
|
|
1121
|
-
expected: "string",
|
|
1122
|
-
value: input3.name
|
|
1123
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1124
|
-
path: _path2 + ".type",
|
|
1125
|
-
expected: '"geneVariant"',
|
|
1126
|
-
value: input3.type
|
|
1127
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1128
|
-
path: _path2 + ".child_types",
|
|
1129
|
-
expected: "(Array<string> | undefined)",
|
|
1130
|
-
value: input3.child_types
|
|
1131
|
-
})) && input3.child_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1132
|
-
path: _path2 + ".child_types[" + _index19 + "]",
|
|
1182
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1183
|
+
path: _path2 + ".key",
|
|
1133
1184
|
expected: "string",
|
|
1134
|
-
value:
|
|
1135
|
-
})
|
|
1136
|
-
path: _path2 + ".
|
|
1137
|
-
expected: "(Array<string> | undefined)",
|
|
1138
|
-
value: input3.child_types
|
|
1139
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1140
|
-
path: _path2 + ".hashtmldetail",
|
|
1141
|
-
expected: "(boolean | undefined)",
|
|
1142
|
-
value: input3.hashtmldetail
|
|
1143
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1144
|
-
path: _path2 + ".included_types",
|
|
1145
|
-
expected: "(Array<string> | undefined)",
|
|
1146
|
-
value: input3.included_types
|
|
1147
|
-
})) && input3.included_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1148
|
-
path: _path2 + ".included_types[" + _index20 + "]",
|
|
1185
|
+
value: input3.key
|
|
1186
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1187
|
+
path: _path2 + ".label",
|
|
1149
1188
|
expected: "string",
|
|
1150
|
-
value:
|
|
1151
|
-
})
|
|
1152
|
-
path: _path2 + ".
|
|
1153
|
-
expected: "(Array<string> | undefined)",
|
|
1154
|
-
value: input3.included_types
|
|
1155
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1156
|
-
path: _path2 + ".isleaf",
|
|
1157
|
-
expected: "(boolean | undefined)",
|
|
1158
|
-
value: input3.isleaf
|
|
1159
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1160
|
-
path: _path2 + ".values",
|
|
1161
|
-
expected: "(TermValues | undefined)",
|
|
1162
|
-
value: input3.values
|
|
1163
|
-
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1164
|
-
path: _path2 + ".values",
|
|
1165
|
-
expected: "(TermValues | undefined)",
|
|
1166
|
-
value: input3.values
|
|
1167
|
-
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1168
|
-
path: _path2 + ".groupsetting",
|
|
1169
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1170
|
-
value: input3.groupsetting
|
|
1171
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1172
|
-
path: _path2 + ".groupsetting",
|
|
1173
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1174
|
-
value: input3.groupsetting
|
|
1175
|
-
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1176
|
-
path: _path2 + ".kind",
|
|
1177
|
-
expected: '"coord"',
|
|
1178
|
-
value: input3.kind
|
|
1179
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1180
|
-
path: _path2 + ".chr",
|
|
1189
|
+
value: input3.label
|
|
1190
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
1191
|
+
path: _path2 + ".value",
|
|
1181
1192
|
expected: "string",
|
|
1182
|
-
value: input3.
|
|
1183
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1184
|
-
path: _path2 + ".start",
|
|
1185
|
-
expected: "number",
|
|
1186
|
-
value: input3.start
|
|
1187
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1188
|
-
path: _path2 + ".stop",
|
|
1189
|
-
expected: "number",
|
|
1190
|
-
value: input3.stop
|
|
1191
|
-
})].every((flag) => flag);
|
|
1192
|
-
const $vo29 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
|
|
1193
|
-
path: _path2 + ".dt",
|
|
1194
|
-
expected: "1",
|
|
1195
|
-
value: input3.dt
|
|
1196
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1197
|
-
path: _path2 + ".mclassLst",
|
|
1198
|
-
expected: "Array<SNVIndelClasses>",
|
|
1199
|
-
value: input3.mclassLst
|
|
1200
|
-
})) && input3.mclassLst.map((elem, _index21) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem || $report(_exceptionable2, {
|
|
1201
|
-
path: _path2 + ".mclassLst[" + _index21 + "]",
|
|
1202
|
-
expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
|
|
1203
|
-
value: elem
|
|
1204
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1205
|
-
path: _path2 + ".mclassLst",
|
|
1206
|
-
expected: "Array<SNVIndelClasses>",
|
|
1207
|
-
value: input3.mclassLst
|
|
1208
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1209
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1210
|
-
expected: "Array<SNVIndelClasses>",
|
|
1211
|
-
value: input3.mclassExcludeLst
|
|
1212
|
-
})) && input3.mclassExcludeLst.map((elem, _index22) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem || $report(_exceptionable2, {
|
|
1213
|
-
path: _path2 + ".mclassExcludeLst[" + _index22 + "]",
|
|
1214
|
-
expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
|
|
1215
|
-
value: elem
|
|
1216
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1217
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1218
|
-
expected: "Array<SNVIndelClasses>",
|
|
1219
|
-
value: input3.mclassExcludeLst
|
|
1220
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1221
|
-
path: _path2 + ".origin",
|
|
1222
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1223
|
-
value: input3.origin
|
|
1224
|
-
})].every((flag) => flag);
|
|
1225
|
-
const $vo30 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
|
|
1226
|
-
path: _path2 + ".dt",
|
|
1227
|
-
expected: "4",
|
|
1228
|
-
value: input3.dt
|
|
1229
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1230
|
-
path: _path2 + ".mclassLst",
|
|
1231
|
-
expected: "Array<CNVClasses>",
|
|
1232
|
-
value: input3.mclassLst
|
|
1233
|
-
})) && input3.mclassLst.map((elem, _index23) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem || $report(_exceptionable2, {
|
|
1234
|
-
path: _path2 + ".mclassLst[" + _index23 + "]",
|
|
1235
|
-
expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
|
|
1236
|
-
value: elem
|
|
1237
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1238
|
-
path: _path2 + ".mclassLst",
|
|
1239
|
-
expected: "Array<CNVClasses>",
|
|
1240
|
-
value: input3.mclassLst
|
|
1241
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1242
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1243
|
-
expected: "Array<CNVClasses>",
|
|
1244
|
-
value: input3.mclassExcludeLst
|
|
1245
|
-
})) && input3.mclassExcludeLst.map((elem, _index24) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem || $report(_exceptionable2, {
|
|
1246
|
-
path: _path2 + ".mclassExcludeLst[" + _index24 + "]",
|
|
1247
|
-
expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
|
|
1248
|
-
value: elem
|
|
1249
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1250
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1251
|
-
expected: "Array<CNVClasses>",
|
|
1252
|
-
value: input3.mclassExcludeLst
|
|
1253
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1254
|
-
path: _path2 + ".origin",
|
|
1255
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1256
|
-
value: input3.origin
|
|
1257
|
-
})].every((flag) => flag);
|
|
1258
|
-
const $vo31 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
|
|
1259
|
-
path: _path2 + ".dt",
|
|
1260
|
-
expected: "5",
|
|
1261
|
-
value: input3.dt
|
|
1262
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1263
|
-
path: _path2 + ".mclassLst",
|
|
1264
|
-
expected: "Array<SVClasses>",
|
|
1265
|
-
value: input3.mclassLst
|
|
1266
|
-
})) && input3.mclassLst.map((elem, _index25) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
|
|
1267
|
-
path: _path2 + ".mclassLst[" + _index25 + "]",
|
|
1268
|
-
expected: '("Blank" | "SV" | "WT")',
|
|
1269
|
-
value: elem
|
|
1270
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1271
|
-
path: _path2 + ".mclassLst",
|
|
1272
|
-
expected: "Array<SVClasses>",
|
|
1273
|
-
value: input3.mclassLst
|
|
1274
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1275
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1276
|
-
expected: "Array<SVClasses>",
|
|
1277
|
-
value: input3.mclassExcludeLst
|
|
1278
|
-
})) && input3.mclassExcludeLst.map((elem, _index26) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
|
|
1279
|
-
path: _path2 + ".mclassExcludeLst[" + _index26 + "]",
|
|
1280
|
-
expected: '("Blank" | "SV" | "WT")',
|
|
1281
|
-
value: elem
|
|
1282
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1283
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1284
|
-
expected: "Array<SVClasses>",
|
|
1285
|
-
value: input3.mclassExcludeLst
|
|
1286
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1287
|
-
path: _path2 + ".origin",
|
|
1288
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1289
|
-
value: input3.origin
|
|
1290
|
-
})].every((flag) => flag);
|
|
1291
|
-
const $vo32 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
|
|
1292
|
-
path: _path2 + ".dt",
|
|
1293
|
-
expected: "2",
|
|
1294
|
-
value: input3.dt
|
|
1295
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1296
|
-
path: _path2 + ".mclassLst",
|
|
1297
|
-
expected: "Array<FusionRNAClasses>",
|
|
1298
|
-
value: input3.mclassLst
|
|
1299
|
-
})) && input3.mclassLst.map((elem, _index27) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
|
|
1300
|
-
path: _path2 + ".mclassLst[" + _index27 + "]",
|
|
1301
|
-
expected: '("Blank" | "Fuserna" | "WT")',
|
|
1302
|
-
value: elem
|
|
1303
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1304
|
-
path: _path2 + ".mclassLst",
|
|
1305
|
-
expected: "Array<FusionRNAClasses>",
|
|
1306
|
-
value: input3.mclassLst
|
|
1307
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1308
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1309
|
-
expected: "Array<FusionRNAClasses>",
|
|
1310
|
-
value: input3.mclassExcludeLst
|
|
1311
|
-
})) && input3.mclassExcludeLst.map((elem, _index28) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
|
|
1312
|
-
path: _path2 + ".mclassExcludeLst[" + _index28 + "]",
|
|
1313
|
-
expected: '("Blank" | "Fuserna" | "WT")',
|
|
1314
|
-
value: elem
|
|
1315
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1316
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1317
|
-
expected: "Array<FusionRNAClasses>",
|
|
1318
|
-
value: input3.mclassExcludeLst
|
|
1319
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1320
|
-
path: _path2 + ".origin",
|
|
1321
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1322
|
-
value: input3.origin
|
|
1193
|
+
value: input3.value
|
|
1323
1194
|
})].every((flag) => flag);
|
|
1324
1195
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1325
|
-
if (
|
|
1196
|
+
if ("tvslst" === input3.type)
|
|
1326
1197
|
return $vo1(input3, _path2, _exceptionable2);
|
|
1327
|
-
if (
|
|
1328
|
-
return $
|
|
1329
|
-
return $
|
|
1198
|
+
if ("tvs" === input3.type)
|
|
1199
|
+
return $vo2(input3, _path2, _exceptionable2);
|
|
1200
|
+
return $report(_exceptionable2, {
|
|
1201
|
+
path: _path2,
|
|
1202
|
+
expected: "(Filter | __type)",
|
|
1203
|
+
value: input3
|
|
1204
|
+
});
|
|
1330
1205
|
})();
|
|
1331
1206
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1332
1207
|
if ("string" === typeof input3.type)
|
|
1333
|
-
return $
|
|
1208
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
1334
1209
|
if ("filter" === input3.type)
|
|
1335
|
-
return $
|
|
1210
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
1336
1211
|
return $report(_exceptionable2, {
|
|
1337
1212
|
path: _path2,
|
|
1338
1213
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -1341,36 +1216,26 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1341
1216
|
})();
|
|
1342
1217
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1343
1218
|
if (true === input3.startunbounded)
|
|
1344
|
-
return $
|
|
1219
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1345
1220
|
if (true === input3.stopunbounded)
|
|
1346
|
-
return $
|
|
1347
|
-
return $
|
|
1221
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
1222
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1348
1223
|
})();
|
|
1349
1224
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1350
|
-
if (
|
|
1351
|
-
return $
|
|
1352
|
-
|
|
1353
|
-
return $vo31(input3, _path2, _exceptionable2);
|
|
1354
|
-
if (4 === input3.dt)
|
|
1355
|
-
return $vo30(input3, _path2, _exceptionable2);
|
|
1356
|
-
if (1 === input3.dt)
|
|
1357
|
-
return $vo29(input3, _path2, _exceptionable2);
|
|
1358
|
-
return $report(_exceptionable2, {
|
|
1359
|
-
path: _path2,
|
|
1360
|
-
expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
|
|
1361
|
-
value: input3
|
|
1362
|
-
});
|
|
1225
|
+
if (void 0 !== input3.ranges)
|
|
1226
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
1227
|
+
return $vo3(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
|
|
1363
1228
|
})();
|
|
1364
1229
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1365
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
1366
|
-
return $
|
|
1367
|
-
return $
|
|
1230
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index20) => "object" === typeof elem && null !== elem && $vo11(elem, _path2 + ".lst[" + _index20 + "]", false)).every((flag) => flag))
|
|
1231
|
+
return $vo10(input3, _path2, _exceptionable2);
|
|
1232
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
1368
1233
|
})();
|
|
1369
1234
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1370
1235
|
if ("regular-bin" === input3.type)
|
|
1371
|
-
return $vo15(input3, _path2, _exceptionable2);
|
|
1372
|
-
if ("custom-bin" === input3.type)
|
|
1373
1236
|
return $vo20(input3, _path2, _exceptionable2);
|
|
1237
|
+
if ("custom-bin" === input3.type)
|
|
1238
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
1374
1239
|
return $report(_exceptionable2, {
|
|
1375
1240
|
path: _path2,
|
|
1376
1241
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
@@ -1379,9 +1244,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1379
1244
|
})();
|
|
1380
1245
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1381
1246
|
if (true === input3.startunbounded)
|
|
1382
|
-
return $
|
|
1247
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1383
1248
|
if (void 0 !== input3.start)
|
|
1384
|
-
return $
|
|
1249
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1385
1250
|
return $report(_exceptionable2, {
|
|
1386
1251
|
path: _path2,
|
|
1387
1252
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
@@ -1390,26 +1255,15 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1390
1255
|
})();
|
|
1391
1256
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1392
1257
|
if (void 0 !== input3.stop)
|
|
1393
|
-
return $
|
|
1258
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1394
1259
|
if (true === input3.stopunbounded)
|
|
1395
|
-
return $
|
|
1260
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
1396
1261
|
return $report(_exceptionable2, {
|
|
1397
1262
|
path: _path2,
|
|
1398
1263
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1399
1264
|
value: input3
|
|
1400
1265
|
});
|
|
1401
1266
|
})();
|
|
1402
|
-
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1403
|
-
if ("gene" === input3.kind)
|
|
1404
|
-
return $vo27(input3, _path2, _exceptionable2);
|
|
1405
|
-
if ("coord" === input3.kind)
|
|
1406
|
-
return $vo28(input3, _path2, _exceptionable2);
|
|
1407
|
-
return $report(_exceptionable2, {
|
|
1408
|
-
path: _path2,
|
|
1409
|
-
expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
|
|
1410
|
-
value: input3
|
|
1411
|
-
});
|
|
1412
|
-
})();
|
|
1413
1267
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
1414
1268
|
path: _path + "",
|
|
1415
1269
|
expected: "NumericCategoriesRequest",
|