@sjcrh/proteinpaint-types 2.119.0-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
|
@@ -60,31 +60,36 @@ var validViolinRequest = (input) => {
|
|
|
60
60
|
const __is = (input2) => {
|
|
61
61
|
const $join = import_typia.createValidate.join;
|
|
62
62
|
const $io0 = (input3) => "number" === typeof input3.axisHeight && (Array.isArray(input3.currentGeneNames) && input3.currentGeneNames.every((elem) => "string" === typeof elem)) && "string" === typeof input3.datasymbol && "number" === typeof input3.devicePixelRatio && true && "string" === typeof input3.dslabel && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "string" === typeof input3.genome && "boolean" === typeof input3.isKDE && ("horizontal" === input3.orientation || "vertical" === input3.orientation) && "number" === typeof input3.radius && "number" === typeof input3.rightMargin && true && "number" === typeof input3.strokeWidth && "number" === typeof input3.svgw && "number" === typeof input3.ticks && true && "string" === typeof input3.unit;
|
|
63
|
-
const $io1 = (input3) => "
|
|
64
|
-
const $io2 = (input3) =>
|
|
65
|
-
const $io3 = (input3) =>
|
|
66
|
-
const $io4 = (input3) =>
|
|
63
|
+
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)));
|
|
64
|
+
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu3(input3.tvs));
|
|
65
|
+
const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io4(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io6(elem)));
|
|
66
|
+
const $io4 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
67
|
+
const $io5 = (input3) => Object.keys(input3).every((key) => {
|
|
67
68
|
const value = input3[key];
|
|
68
69
|
if (void 0 === value)
|
|
69
70
|
return true;
|
|
70
71
|
if (RegExp(/(.*)/).test(key))
|
|
71
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
72
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
|
|
72
73
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
73
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
74
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
|
|
74
75
|
return true;
|
|
75
76
|
});
|
|
76
|
-
const $
|
|
77
|
-
const $
|
|
78
|
-
const $
|
|
79
|
-
const $
|
|
80
|
-
const $
|
|
81
|
-
const $
|
|
82
|
-
const $
|
|
83
|
-
const $
|
|
84
|
-
const $
|
|
85
|
-
const $
|
|
86
|
-
const $
|
|
87
|
-
const $
|
|
77
|
+
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));
|
|
78
|
+
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)));
|
|
79
|
+
const $io8 = (input3) => Array.isArray(input3.joinWith) && input3.joinWith.every((elem) => "string" === typeof elem);
|
|
80
|
+
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));
|
|
81
|
+
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)));
|
|
82
|
+
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)));
|
|
83
|
+
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);
|
|
84
|
+
const $io13 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
85
|
+
const $io14 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io15(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
86
|
+
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;
|
|
87
|
+
const $io16 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
88
|
+
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)));
|
|
89
|
+
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));
|
|
90
|
+
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);
|
|
91
|
+
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);
|
|
92
|
+
const $io21 = (input3) => Object.keys(input3).every((key) => {
|
|
88
93
|
const value = input3[key];
|
|
89
94
|
if (void 0 === value)
|
|
90
95
|
return true;
|
|
@@ -92,93 +97,75 @@ var validViolinRequest = (input) => {
|
|
|
92
97
|
return "number" === typeof value;
|
|
93
98
|
return true;
|
|
94
99
|
});
|
|
95
|
-
const $
|
|
96
|
-
const $
|
|
97
|
-
const $
|
|
98
|
-
const $
|
|
99
|
-
const $
|
|
100
|
-
const $
|
|
101
|
-
const $
|
|
102
|
-
const $
|
|
103
|
-
const $
|
|
104
|
-
const $
|
|
105
|
-
const $
|
|
106
|
-
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;
|
|
107
|
-
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);
|
|
108
|
-
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);
|
|
109
|
-
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);
|
|
110
|
-
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);
|
|
100
|
+
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);
|
|
101
|
+
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);
|
|
102
|
+
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);
|
|
103
|
+
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);
|
|
104
|
+
const $io26 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
105
|
+
const $io27 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
106
|
+
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)));
|
|
107
|
+
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));
|
|
108
|
+
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;
|
|
109
|
+
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)));
|
|
110
|
+
const $io32 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
111
111
|
const $iu0 = (input3) => (() => {
|
|
112
|
-
if (
|
|
112
|
+
if ("tvslst" === input3.type)
|
|
113
113
|
return $io1(input3);
|
|
114
|
-
if (
|
|
115
|
-
return $
|
|
116
|
-
return
|
|
117
|
-
if ($io2(input3))
|
|
118
|
-
return $io2(input3);
|
|
119
|
-
if ($io23(input3))
|
|
120
|
-
return $io23(input3);
|
|
121
|
-
if ($io26(input3))
|
|
122
|
-
return $io26(input3);
|
|
123
|
-
return false;
|
|
124
|
-
})();
|
|
114
|
+
if ("tvs" === input3.type)
|
|
115
|
+
return $io2(input3);
|
|
116
|
+
return false;
|
|
125
117
|
})();
|
|
126
118
|
const $iu1 = (input3) => (() => {
|
|
127
119
|
if ("string" === typeof input3.type)
|
|
128
|
-
return $
|
|
120
|
+
return $io12(input3);
|
|
129
121
|
if ("filter" === input3.type)
|
|
130
|
-
return $
|
|
122
|
+
return $io14(input3);
|
|
131
123
|
return false;
|
|
132
124
|
})();
|
|
133
125
|
const $iu2 = (input3) => (() => {
|
|
134
126
|
if (true === input3.startunbounded)
|
|
135
|
-
return $
|
|
127
|
+
return $io22(input3);
|
|
136
128
|
if (true === input3.stopunbounded)
|
|
137
|
-
return $
|
|
138
|
-
return $
|
|
129
|
+
return $io24(input3);
|
|
130
|
+
return $io23(input3);
|
|
139
131
|
})();
|
|
140
132
|
const $iu3 = (input3) => (() => {
|
|
141
|
-
if (
|
|
142
|
-
return $
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
133
|
+
if (void 0 !== input3.ranges)
|
|
134
|
+
return $io17(input3);
|
|
135
|
+
return (() => {
|
|
136
|
+
if ($io3(input3))
|
|
137
|
+
return $io3(input3);
|
|
138
|
+
if ($io28(input3))
|
|
139
|
+
return $io28(input3);
|
|
140
|
+
if ($io31(input3))
|
|
141
|
+
return $io31(input3);
|
|
142
|
+
return false;
|
|
143
|
+
})();
|
|
150
144
|
})();
|
|
151
145
|
const $iu4 = (input3) => (() => {
|
|
152
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $
|
|
153
|
-
return $
|
|
154
|
-
return $
|
|
146
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io11(elem)))
|
|
147
|
+
return $io10(input3);
|
|
148
|
+
return $io16(input3);
|
|
155
149
|
})();
|
|
156
150
|
const $iu5 = (input3) => (() => {
|
|
157
151
|
if ("regular-bin" === input3.type)
|
|
158
|
-
return $io15(input3);
|
|
159
|
-
if ("custom-bin" === input3.type)
|
|
160
152
|
return $io20(input3);
|
|
153
|
+
if ("custom-bin" === input3.type)
|
|
154
|
+
return $io25(input3);
|
|
161
155
|
return false;
|
|
162
156
|
})();
|
|
163
157
|
const $iu6 = (input3) => (() => {
|
|
164
158
|
if (true === input3.startunbounded)
|
|
165
|
-
return $
|
|
159
|
+
return $io22(input3);
|
|
166
160
|
if (void 0 !== input3.start)
|
|
167
|
-
return $
|
|
161
|
+
return $io23(input3);
|
|
168
162
|
return false;
|
|
169
163
|
})();
|
|
170
164
|
const $iu7 = (input3) => (() => {
|
|
171
165
|
if (void 0 !== input3.stop)
|
|
172
|
-
return $
|
|
166
|
+
return $io23(input3);
|
|
173
167
|
if (true === input3.stopunbounded)
|
|
174
|
-
return $
|
|
175
|
-
return false;
|
|
176
|
-
})();
|
|
177
|
-
const $iu8 = (input3) => (() => {
|
|
178
|
-
if ("gene" === input3.kind)
|
|
179
|
-
return $io27(input3);
|
|
180
|
-
if ("coord" === input3.kind)
|
|
181
|
-
return $io28(input3);
|
|
168
|
+
return $io24(input3);
|
|
182
169
|
return false;
|
|
183
170
|
})();
|
|
184
171
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -260,17 +247,17 @@ var validViolinRequest = (input) => {
|
|
|
260
247
|
expected: "string",
|
|
261
248
|
value: input3.unit
|
|
262
249
|
})].every((flag) => flag);
|
|
263
|
-
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["
|
|
250
|
+
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
264
251
|
path: _path2 + ".type",
|
|
265
|
-
expected: '"
|
|
252
|
+
expected: '"tvslst"',
|
|
266
253
|
value: input3.type
|
|
267
|
-
}),
|
|
254
|
+
}), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
268
255
|
path: _path2 + '["in"]',
|
|
269
|
-
expected: "
|
|
256
|
+
expected: "boolean",
|
|
270
257
|
value: input3["in"]
|
|
271
|
-
}), "
|
|
258
|
+
}), "string" === typeof input3.join || $report(_exceptionable2, {
|
|
272
259
|
path: _path2 + ".join",
|
|
273
|
-
expected:
|
|
260
|
+
expected: "string",
|
|
274
261
|
value: input3.join
|
|
275
262
|
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
276
263
|
path: _path2 + ".tag",
|
|
@@ -278,22 +265,35 @@ var validViolinRequest = (input) => {
|
|
|
278
265
|
value: input3.tag
|
|
279
266
|
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
280
267
|
path: _path2 + ".lst",
|
|
281
|
-
expected:
|
|
268
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
282
269
|
value: input3.lst
|
|
283
270
|
})) && input3.lst.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
284
271
|
path: _path2 + ".lst[" + _index2 + "]",
|
|
285
|
-
expected: "(
|
|
272
|
+
expected: "(Filter | __type)",
|
|
286
273
|
value: elem
|
|
287
274
|
})) && $vu0(elem, _path2 + ".lst[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
288
275
|
path: _path2 + ".lst[" + _index2 + "]",
|
|
289
|
-
expected: "(
|
|
276
|
+
expected: "(Filter | __type)",
|
|
290
277
|
value: elem
|
|
291
278
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
292
279
|
path: _path2 + ".lst",
|
|
293
|
-
expected:
|
|
280
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
294
281
|
value: input3.lst
|
|
295
282
|
})].every((flag) => flag);
|
|
296
|
-
const $vo2 = (input3, _path2, _exceptionable2 = true) => [
|
|
283
|
+
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
284
|
+
path: _path2 + ".type",
|
|
285
|
+
expected: '"tvs"',
|
|
286
|
+
value: input3.type
|
|
287
|
+
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
288
|
+
path: _path2 + ".tvs",
|
|
289
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
290
|
+
value: input3.tvs
|
|
291
|
+
})) && $vu3(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
292
|
+
path: _path2 + ".tvs",
|
|
293
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
294
|
+
value: input3.tvs
|
|
295
|
+
})].every((flag) => flag);
|
|
296
|
+
const $vo3 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
297
297
|
path: _path2 + ".join",
|
|
298
298
|
expected: "(string | undefined)",
|
|
299
299
|
value: input3.join
|
|
@@ -305,7 +305,7 @@ var validViolinRequest = (input) => {
|
|
|
305
305
|
path: _path2 + ".term",
|
|
306
306
|
expected: "CategoricalTerm",
|
|
307
307
|
value: input3.term
|
|
308
|
-
})) && $
|
|
308
|
+
})) && $vo4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
309
309
|
path: _path2 + ".term",
|
|
310
310
|
expected: "CategoricalTerm",
|
|
311
311
|
value: input3.term
|
|
@@ -321,7 +321,7 @@ var validViolinRequest = (input) => {
|
|
|
321
321
|
path: _path2 + ".values[" + _index3 + "]",
|
|
322
322
|
expected: "BaseValue",
|
|
323
323
|
value: elem
|
|
324
|
-
})) && $
|
|
324
|
+
})) && $vo6(elem, _path2 + ".values[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
325
325
|
path: _path2 + ".values[" + _index3 + "]",
|
|
326
326
|
expected: "BaseValue",
|
|
327
327
|
value: elem
|
|
@@ -330,7 +330,7 @@ var validViolinRequest = (input) => {
|
|
|
330
330
|
expected: "Array<BaseValue>",
|
|
331
331
|
value: input3.values
|
|
332
332
|
})].every((flag) => flag);
|
|
333
|
-
const $
|
|
333
|
+
const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
334
334
|
path: _path2 + ".id",
|
|
335
335
|
expected: "string",
|
|
336
336
|
value: input3.id
|
|
@@ -378,20 +378,28 @@ var validViolinRequest = (input) => {
|
|
|
378
378
|
path: _path2 + ".values",
|
|
379
379
|
expected: "(TermValues | undefined)",
|
|
380
380
|
value: input3.values
|
|
381
|
-
})) && $
|
|
381
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
382
382
|
path: _path2 + ".values",
|
|
383
383
|
expected: "(TermValues | undefined)",
|
|
384
384
|
value: input3.values
|
|
385
|
-
}),
|
|
385
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
386
|
+
path: _path2 + ".filter",
|
|
387
|
+
expected: "(TermFilter | undefined)",
|
|
388
|
+
value: input3.filter
|
|
389
|
+
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
390
|
+
path: _path2 + ".filter",
|
|
391
|
+
expected: "(TermFilter | undefined)",
|
|
392
|
+
value: input3.filter
|
|
393
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
386
394
|
path: _path2 + ".groupsetting",
|
|
387
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
395
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
388
396
|
value: input3.groupsetting
|
|
389
397
|
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
390
398
|
path: _path2 + ".groupsetting",
|
|
391
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
399
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
392
400
|
value: input3.groupsetting
|
|
393
401
|
})].every((flag) => flag);
|
|
394
|
-
const $
|
|
402
|
+
const $vo5 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
395
403
|
const value = input3[key];
|
|
396
404
|
if (void 0 === value)
|
|
397
405
|
return true;
|
|
@@ -400,7 +408,7 @@ var validViolinRequest = (input) => {
|
|
|
400
408
|
path: _path2 + $join(key),
|
|
401
409
|
expected: "BaseValue",
|
|
402
410
|
value
|
|
403
|
-
})) && $
|
|
411
|
+
})) && $vo6(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
404
412
|
path: _path2 + $join(key),
|
|
405
413
|
expected: "BaseValue",
|
|
406
414
|
value
|
|
@@ -410,14 +418,14 @@ var validViolinRequest = (input) => {
|
|
|
410
418
|
path: _path2 + $join(key),
|
|
411
419
|
expected: "BaseValue",
|
|
412
420
|
value
|
|
413
|
-
})) && $
|
|
421
|
+
})) && $vo6(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
414
422
|
path: _path2 + $join(key),
|
|
415
423
|
expected: "BaseValue",
|
|
416
424
|
value
|
|
417
425
|
});
|
|
418
426
|
return true;
|
|
419
427
|
}).every((flag) => flag)].every((flag) => flag);
|
|
420
|
-
const $
|
|
428
|
+
const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
421
429
|
path: _path2 + ".key",
|
|
422
430
|
expected: "(string | undefined)",
|
|
423
431
|
value: input3.key
|
|
@@ -450,7 +458,86 @@ var validViolinRequest = (input) => {
|
|
|
450
458
|
expected: "(Filter | undefined)",
|
|
451
459
|
value: input3.filter
|
|
452
460
|
})].every((flag) => flag);
|
|
453
|
-
const $
|
|
461
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
462
|
+
path: _path2 + ".opts",
|
|
463
|
+
expected: "__type.o1",
|
|
464
|
+
value: input3.opts
|
|
465
|
+
})) && $vo8(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
466
|
+
path: _path2 + ".opts",
|
|
467
|
+
expected: "__type.o1",
|
|
468
|
+
value: input3.opts
|
|
469
|
+
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
470
|
+
path: _path2 + ".terms",
|
|
471
|
+
expected: "Array<DtTerm>",
|
|
472
|
+
value: input3.terms
|
|
473
|
+
})) && input3.terms.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
474
|
+
path: _path2 + ".terms[" + _index6 + "]",
|
|
475
|
+
expected: "DtTerm",
|
|
476
|
+
value: elem
|
|
477
|
+
})) && $vo9(elem, _path2 + ".terms[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
478
|
+
path: _path2 + ".terms[" + _index6 + "]",
|
|
479
|
+
expected: "DtTerm",
|
|
480
|
+
value: elem
|
|
481
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
482
|
+
path: _path2 + ".terms",
|
|
483
|
+
expected: "Array<DtTerm>",
|
|
484
|
+
value: input3.terms
|
|
485
|
+
})].every((flag) => flag);
|
|
486
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.joinWith) || $report(_exceptionable2, {
|
|
487
|
+
path: _path2 + ".joinWith",
|
|
488
|
+
expected: "Array<string>",
|
|
489
|
+
value: input3.joinWith
|
|
490
|
+
})) && input3.joinWith.map((elem, _index7) => "string" === typeof elem || $report(_exceptionable2, {
|
|
491
|
+
path: _path2 + ".joinWith[" + _index7 + "]",
|
|
492
|
+
expected: "string",
|
|
493
|
+
value: elem
|
|
494
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
495
|
+
path: _path2 + ".joinWith",
|
|
496
|
+
expected: "Array<string>",
|
|
497
|
+
value: input3.joinWith
|
|
498
|
+
})].every((flag) => flag);
|
|
499
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
500
|
+
path: _path2 + ".id",
|
|
501
|
+
expected: "string",
|
|
502
|
+
value: input3.id
|
|
503
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
504
|
+
path: _path2 + ".query",
|
|
505
|
+
expected: "string",
|
|
506
|
+
value: input3.query
|
|
507
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
508
|
+
path: _path2 + ".name",
|
|
509
|
+
expected: "string",
|
|
510
|
+
value: input3.name
|
|
511
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
512
|
+
path: _path2 + ".name_noOrigin",
|
|
513
|
+
expected: "string",
|
|
514
|
+
value: input3.name_noOrigin
|
|
515
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
516
|
+
path: _path2 + ".isleaf",
|
|
517
|
+
expected: "boolean",
|
|
518
|
+
value: input3.isleaf
|
|
519
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
520
|
+
path: _path2 + ".type",
|
|
521
|
+
expected: "string",
|
|
522
|
+
value: input3.type
|
|
523
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
524
|
+
path: _path2 + ".dt",
|
|
525
|
+
expected: "number",
|
|
526
|
+
value: input3.dt
|
|
527
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
528
|
+
path: _path2 + ".origin",
|
|
529
|
+
expected: "(string | undefined)",
|
|
530
|
+
value: input3.origin
|
|
531
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
532
|
+
path: _path2 + ".values",
|
|
533
|
+
expected: "TermValues",
|
|
534
|
+
value: input3.values
|
|
535
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
536
|
+
path: _path2 + ".values",
|
|
537
|
+
expected: "TermValues",
|
|
538
|
+
value: input3.values
|
|
539
|
+
})].every((flag) => flag);
|
|
540
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
454
541
|
path: _path2 + ".disabled",
|
|
455
542
|
expected: "(boolean | undefined)",
|
|
456
543
|
value: input3.disabled
|
|
@@ -458,12 +545,12 @@ var validViolinRequest = (input) => {
|
|
|
458
545
|
path: _path2 + ".lst",
|
|
459
546
|
expected: "Array<Groupset>",
|
|
460
547
|
value: input3.lst
|
|
461
|
-
})) && input3.lst.map((elem,
|
|
462
|
-
path: _path2 + ".lst[" +
|
|
548
|
+
})) && input3.lst.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
549
|
+
path: _path2 + ".lst[" + _index8 + "]",
|
|
463
550
|
expected: "Groupset",
|
|
464
551
|
value: elem
|
|
465
|
-
})) && $
|
|
466
|
-
path: _path2 + ".lst[" +
|
|
552
|
+
})) && $vo11(elem, _path2 + ".lst[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
553
|
+
path: _path2 + ".lst[" + _index8 + "]",
|
|
467
554
|
expected: "Groupset",
|
|
468
555
|
value: elem
|
|
469
556
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -471,7 +558,7 @@ var validViolinRequest = (input) => {
|
|
|
471
558
|
expected: "Array<Groupset>",
|
|
472
559
|
value: input3.lst
|
|
473
560
|
})].every((flag) => flag);
|
|
474
|
-
const $
|
|
561
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
475
562
|
path: _path2 + ".name",
|
|
476
563
|
expected: "string",
|
|
477
564
|
value: input3.name
|
|
@@ -491,12 +578,12 @@ var validViolinRequest = (input) => {
|
|
|
491
578
|
path: _path2 + ".groups",
|
|
492
579
|
expected: "Array<GroupEntry>",
|
|
493
580
|
value: input3.groups
|
|
494
|
-
})) && input3.groups.map((elem,
|
|
495
|
-
path: _path2 + ".groups[" +
|
|
581
|
+
})) && input3.groups.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
582
|
+
path: _path2 + ".groups[" + _index9 + "]",
|
|
496
583
|
expected: "(FilterGroup | ValuesGroup)",
|
|
497
584
|
value: elem
|
|
498
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
499
|
-
path: _path2 + ".groups[" +
|
|
585
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
586
|
+
path: _path2 + ".groups[" + _index9 + "]",
|
|
500
587
|
expected: "(FilterGroup | ValuesGroup)",
|
|
501
588
|
value: elem
|
|
502
589
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -504,7 +591,7 @@ var validViolinRequest = (input) => {
|
|
|
504
591
|
expected: "Array<GroupEntry>",
|
|
505
592
|
value: input3.groups
|
|
506
593
|
})].every((flag) => flag);
|
|
507
|
-
const $
|
|
594
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
508
595
|
path: _path2 + ".name",
|
|
509
596
|
expected: "string",
|
|
510
597
|
value: input3.name
|
|
@@ -516,13 +603,13 @@ var validViolinRequest = (input) => {
|
|
|
516
603
|
path: _path2 + ".values",
|
|
517
604
|
expected: "Array<__type>",
|
|
518
605
|
value: input3.values
|
|
519
|
-
})) && input3.values.map((elem,
|
|
520
|
-
path: _path2 + ".values[" +
|
|
521
|
-
expected: "__type",
|
|
606
|
+
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
607
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
608
|
+
expected: "__type.o2",
|
|
522
609
|
value: elem
|
|
523
|
-
})) && $
|
|
524
|
-
path: _path2 + ".values[" +
|
|
525
|
-
expected: "__type",
|
|
610
|
+
})) && $vo13(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
611
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
612
|
+
expected: "__type.o2",
|
|
526
613
|
value: elem
|
|
527
614
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
528
615
|
path: _path2 + ".values",
|
|
@@ -533,7 +620,7 @@ var validViolinRequest = (input) => {
|
|
|
533
620
|
expected: "(boolean | undefined)",
|
|
534
621
|
value: input3.uncomputable
|
|
535
622
|
})].every((flag) => flag);
|
|
536
|
-
const $
|
|
623
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
537
624
|
path: _path2 + ".key",
|
|
538
625
|
expected: "(number | string)",
|
|
539
626
|
value: input3.key
|
|
@@ -542,7 +629,7 @@ var validViolinRequest = (input) => {
|
|
|
542
629
|
expected: "string",
|
|
543
630
|
value: input3.label
|
|
544
631
|
})].every((flag) => flag);
|
|
545
|
-
const $
|
|
632
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
546
633
|
path: _path2 + ".name",
|
|
547
634
|
expected: "string",
|
|
548
635
|
value: input3.name
|
|
@@ -550,12 +637,57 @@ var validViolinRequest = (input) => {
|
|
|
550
637
|
path: _path2 + ".type",
|
|
551
638
|
expected: '"filter"',
|
|
552
639
|
value: input3.type
|
|
553
|
-
}),
|
|
640
|
+
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
641
|
+
path: _path2 + ".filter",
|
|
642
|
+
expected: "TermFilter & { active: Filter; group: number; }",
|
|
643
|
+
value: input3.filter
|
|
644
|
+
})) && $vo15(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
645
|
+
path: _path2 + ".filter",
|
|
646
|
+
expected: "TermFilter & { active: Filter; group: number; }",
|
|
647
|
+
value: input3.filter
|
|
648
|
+
}), "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
554
649
|
path: _path2 + ".uncomputable",
|
|
555
|
-
expected: "
|
|
650
|
+
expected: "boolean",
|
|
556
651
|
value: input3.uncomputable
|
|
557
652
|
})].every((flag) => flag);
|
|
558
|
-
const $
|
|
653
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
654
|
+
path: _path2 + ".opts",
|
|
655
|
+
expected: "__type.o1",
|
|
656
|
+
value: input3.opts
|
|
657
|
+
})) && $vo8(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
658
|
+
path: _path2 + ".opts",
|
|
659
|
+
expected: "__type.o1",
|
|
660
|
+
value: input3.opts
|
|
661
|
+
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
662
|
+
path: _path2 + ".terms",
|
|
663
|
+
expected: "Array<DtTerm>",
|
|
664
|
+
value: input3.terms
|
|
665
|
+
})) && input3.terms.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
666
|
+
path: _path2 + ".terms[" + _index11 + "]",
|
|
667
|
+
expected: "DtTerm",
|
|
668
|
+
value: elem
|
|
669
|
+
})) && $vo9(elem, _path2 + ".terms[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
670
|
+
path: _path2 + ".terms[" + _index11 + "]",
|
|
671
|
+
expected: "DtTerm",
|
|
672
|
+
value: elem
|
|
673
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
674
|
+
path: _path2 + ".terms",
|
|
675
|
+
expected: "Array<DtTerm>",
|
|
676
|
+
value: input3.terms
|
|
677
|
+
}), ("object" === typeof input3.active && null !== input3.active || $report(_exceptionable2, {
|
|
678
|
+
path: _path2 + ".active",
|
|
679
|
+
expected: "Filter",
|
|
680
|
+
value: input3.active
|
|
681
|
+
})) && $vo1(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
|
|
682
|
+
path: _path2 + ".active",
|
|
683
|
+
expected: "Filter",
|
|
684
|
+
value: input3.active
|
|
685
|
+
}), "number" === typeof input3.group || $report(_exceptionable2, {
|
|
686
|
+
path: _path2 + ".group",
|
|
687
|
+
expected: "number",
|
|
688
|
+
value: input3.group
|
|
689
|
+
})].every((flag) => flag);
|
|
690
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
559
691
|
path: _path2 + ".disabled",
|
|
560
692
|
expected: "boolean",
|
|
561
693
|
value: input3.disabled
|
|
@@ -572,7 +704,7 @@ var validViolinRequest = (input) => {
|
|
|
572
704
|
expected: "([] | undefined)",
|
|
573
705
|
value: input3.lst
|
|
574
706
|
})].every((flag) => flag);
|
|
575
|
-
const $
|
|
707
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
576
708
|
path: _path2 + ".join",
|
|
577
709
|
expected: "(string | undefined)",
|
|
578
710
|
value: input3.join
|
|
@@ -584,7 +716,7 @@ var validViolinRequest = (input) => {
|
|
|
584
716
|
path: _path2 + ".term",
|
|
585
717
|
expected: "NumericTerm",
|
|
586
718
|
value: input3.term
|
|
587
|
-
})) && $
|
|
719
|
+
})) && $vo18(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
588
720
|
path: _path2 + ".term",
|
|
589
721
|
expected: "NumericTerm",
|
|
590
722
|
value: input3.term
|
|
@@ -592,12 +724,12 @@ var validViolinRequest = (input) => {
|
|
|
592
724
|
path: _path2 + ".ranges",
|
|
593
725
|
expected: "Array<NumericBin>",
|
|
594
726
|
value: input3.ranges
|
|
595
|
-
})) && input3.ranges.map((elem,
|
|
596
|
-
path: _path2 + ".ranges[" +
|
|
727
|
+
})) && input3.ranges.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
728
|
+
path: _path2 + ".ranges[" + _index12 + "]",
|
|
597
729
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
598
730
|
value: elem
|
|
599
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
600
|
-
path: _path2 + ".ranges[" +
|
|
731
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
732
|
+
path: _path2 + ".ranges[" + _index12 + "]",
|
|
601
733
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
602
734
|
value: elem
|
|
603
735
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -608,20 +740,20 @@ var validViolinRequest = (input) => {
|
|
|
608
740
|
path: _path2 + ".values",
|
|
609
741
|
expected: "Array<__type>.o1",
|
|
610
742
|
value: input3.values
|
|
611
|
-
})) && input3.values.map((elem,
|
|
612
|
-
path: _path2 + ".values[" +
|
|
613
|
-
expected: "__type.
|
|
743
|
+
})) && input3.values.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
744
|
+
path: _path2 + ".values[" + _index13 + "]",
|
|
745
|
+
expected: "__type.o5",
|
|
614
746
|
value: elem
|
|
615
|
-
})) && $
|
|
616
|
-
path: _path2 + ".values[" +
|
|
617
|
-
expected: "__type.
|
|
747
|
+
})) && $vo27(elem, _path2 + ".values[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
748
|
+
path: _path2 + ".values[" + _index13 + "]",
|
|
749
|
+
expected: "__type.o5",
|
|
618
750
|
value: elem
|
|
619
751
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
620
752
|
path: _path2 + ".values",
|
|
621
753
|
expected: "Array<__type>.o1",
|
|
622
754
|
value: input3.values
|
|
623
755
|
})].every((flag) => flag);
|
|
624
|
-
const $
|
|
756
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
625
757
|
path: _path2 + ".id",
|
|
626
758
|
expected: "string",
|
|
627
759
|
value: input3.id
|
|
@@ -637,8 +769,8 @@ var validViolinRequest = (input) => {
|
|
|
637
769
|
path: _path2 + ".child_types",
|
|
638
770
|
expected: "(Array<string> | undefined)",
|
|
639
771
|
value: input3.child_types
|
|
640
|
-
})) && input3.child_types.map((elem,
|
|
641
|
-
path: _path2 + ".child_types[" +
|
|
772
|
+
})) && input3.child_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
773
|
+
path: _path2 + ".child_types[" + _index14 + "]",
|
|
642
774
|
expected: "string",
|
|
643
775
|
value: elem
|
|
644
776
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -653,8 +785,8 @@ var validViolinRequest = (input) => {
|
|
|
653
785
|
path: _path2 + ".included_types",
|
|
654
786
|
expected: "(Array<string> | undefined)",
|
|
655
787
|
value: input3.included_types
|
|
656
|
-
})) && input3.included_types.map((elem,
|
|
657
|
-
path: _path2 + ".included_types[" +
|
|
788
|
+
})) && input3.included_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
789
|
+
path: _path2 + ".included_types[" + _index15 + "]",
|
|
658
790
|
expected: "string",
|
|
659
791
|
value: elem
|
|
660
792
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -669,15 +801,23 @@ var validViolinRequest = (input) => {
|
|
|
669
801
|
path: _path2 + ".values",
|
|
670
802
|
expected: "(TermValues | undefined)",
|
|
671
803
|
value: input3.values
|
|
672
|
-
})) && $
|
|
804
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
673
805
|
path: _path2 + ".values",
|
|
674
806
|
expected: "(TermValues | undefined)",
|
|
675
807
|
value: input3.values
|
|
676
|
-
}),
|
|
808
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
809
|
+
path: _path2 + ".filter",
|
|
810
|
+
expected: "(TermFilter | undefined)",
|
|
811
|
+
value: input3.filter
|
|
812
|
+
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
813
|
+
path: _path2 + ".filter",
|
|
814
|
+
expected: "(TermFilter | undefined)",
|
|
815
|
+
value: input3.filter
|
|
816
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
677
817
|
path: _path2 + ".bins",
|
|
678
818
|
expected: "PresetNumericBins",
|
|
679
819
|
value: input3.bins
|
|
680
|
-
})) && $
|
|
820
|
+
})) && $vo19(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
681
821
|
path: _path2 + ".bins",
|
|
682
822
|
expected: "PresetNumericBins",
|
|
683
823
|
value: input3.bins
|
|
@@ -687,14 +827,14 @@ var validViolinRequest = (input) => {
|
|
|
687
827
|
value: input3.unit
|
|
688
828
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
689
829
|
path: _path2 + ".continuousColorScale",
|
|
690
|
-
expected: "(__type.
|
|
830
|
+
expected: "(__type.o4 | undefined)",
|
|
691
831
|
value: input3.continuousColorScale
|
|
692
|
-
})) && $
|
|
832
|
+
})) && $vo26(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
693
833
|
path: _path2 + ".continuousColorScale",
|
|
694
|
-
expected: "(__type.
|
|
834
|
+
expected: "(__type.o4 | undefined)",
|
|
695
835
|
value: input3.continuousColorScale
|
|
696
836
|
})].every((flag) => flag);
|
|
697
|
-
const $
|
|
837
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
698
838
|
path: _path2 + '["default"]',
|
|
699
839
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
700
840
|
value: input3["default"]
|
|
@@ -731,11 +871,11 @@ var validViolinRequest = (input) => {
|
|
|
731
871
|
expected: "(number | undefined)",
|
|
732
872
|
value: input3.max
|
|
733
873
|
})].every((flag) => flag);
|
|
734
|
-
const $
|
|
874
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
735
875
|
path: _path2 + ".hiddenValues",
|
|
736
876
|
expected: "(HiddenValues | undefined)",
|
|
737
877
|
value: input3.hiddenValues
|
|
738
|
-
})) && $
|
|
878
|
+
})) && $vo21(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
739
879
|
path: _path2 + ".hiddenValues",
|
|
740
880
|
expected: "(HiddenValues | undefined)",
|
|
741
881
|
value: input3.hiddenValues
|
|
@@ -784,7 +924,7 @@ var validViolinRequest = (input) => {
|
|
|
784
924
|
expected: "(number | undefined)",
|
|
785
925
|
value: input3.label_offset
|
|
786
926
|
})].every((flag) => flag);
|
|
787
|
-
const $
|
|
927
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
788
928
|
const value = input3[key];
|
|
789
929
|
if (void 0 === value)
|
|
790
930
|
return true;
|
|
@@ -796,7 +936,7 @@ var validViolinRequest = (input) => {
|
|
|
796
936
|
});
|
|
797
937
|
return true;
|
|
798
938
|
}).every((flag) => flag)].every((flag) => flag);
|
|
799
|
-
const $
|
|
939
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
800
940
|
path: _path2 + ".startunbounded",
|
|
801
941
|
expected: "true",
|
|
802
942
|
value: input3.startunbounded
|
|
@@ -821,7 +961,7 @@ var validViolinRequest = (input) => {
|
|
|
821
961
|
expected: "(string | undefined)",
|
|
822
962
|
value: input3.label
|
|
823
963
|
})].every((flag) => flag);
|
|
824
|
-
const $
|
|
964
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
825
965
|
path: _path2 + ".startunbounded",
|
|
826
966
|
expected: "(false | undefined)",
|
|
827
967
|
value: input3.startunbounded
|
|
@@ -850,7 +990,7 @@ var validViolinRequest = (input) => {
|
|
|
850
990
|
expected: "(string | undefined)",
|
|
851
991
|
value: input3.label
|
|
852
992
|
})].every((flag) => flag);
|
|
853
|
-
const $
|
|
993
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
854
994
|
path: _path2 + ".start",
|
|
855
995
|
expected: "number",
|
|
856
996
|
value: input3.start
|
|
@@ -875,11 +1015,11 @@ var validViolinRequest = (input) => {
|
|
|
875
1015
|
expected: "(string | undefined)",
|
|
876
1016
|
value: input3.label
|
|
877
1017
|
})].every((flag) => flag);
|
|
878
|
-
const $
|
|
1018
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
879
1019
|
path: _path2 + ".hiddenValues",
|
|
880
1020
|
expected: "(HiddenValues | undefined)",
|
|
881
1021
|
value: input3.hiddenValues
|
|
882
|
-
})) && $
|
|
1022
|
+
})) && $vo21(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
883
1023
|
path: _path2 + ".hiddenValues",
|
|
884
1024
|
expected: "(HiddenValues | undefined)",
|
|
885
1025
|
value: input3.hiddenValues
|
|
@@ -921,12 +1061,12 @@ var validViolinRequest = (input) => {
|
|
|
921
1061
|
path: _path2 + ".lst",
|
|
922
1062
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
923
1063
|
value: input3.lst.slice(1)
|
|
924
|
-
})) && input3.lst.slice(1).map((elem,
|
|
925
|
-
path: _path2 + ".lst[" + (1 +
|
|
1064
|
+
})) && input3.lst.slice(1).map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1065
|
+
path: _path2 + ".lst[" + (1 + _index16) + "]",
|
|
926
1066
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
927
1067
|
value: elem
|
|
928
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
929
|
-
path: _path2 + ".lst[" + (1 +
|
|
1068
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index16) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1069
|
+
path: _path2 + ".lst[" + (1 + _index16) + "]",
|
|
930
1070
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
931
1071
|
value: elem
|
|
932
1072
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -942,7 +1082,7 @@ var validViolinRequest = (input) => {
|
|
|
942
1082
|
expected: '("median" | undefined)',
|
|
943
1083
|
value: input3.preferredBins
|
|
944
1084
|
})].every((flag) => flag);
|
|
945
|
-
const $
|
|
1085
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
946
1086
|
path: _path2 + ".minColor",
|
|
947
1087
|
expected: "string",
|
|
948
1088
|
value: input3.minColor
|
|
@@ -951,7 +1091,7 @@ var validViolinRequest = (input) => {
|
|
|
951
1091
|
expected: "string",
|
|
952
1092
|
value: input3.maxColor
|
|
953
1093
|
})].every((flag) => flag);
|
|
954
|
-
const $
|
|
1094
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
955
1095
|
path: _path2 + ".key",
|
|
956
1096
|
expected: "string",
|
|
957
1097
|
value: input3.key
|
|
@@ -968,7 +1108,7 @@ var validViolinRequest = (input) => {
|
|
|
968
1108
|
expected: "(string | undefined)",
|
|
969
1109
|
value: input3.label
|
|
970
1110
|
})].every((flag) => flag);
|
|
971
|
-
const $
|
|
1111
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
972
1112
|
path: _path2 + ".join",
|
|
973
1113
|
expected: "(string | undefined)",
|
|
974
1114
|
value: input3.join
|
|
@@ -980,7 +1120,7 @@ var validViolinRequest = (input) => {
|
|
|
980
1120
|
path: _path2 + ".term",
|
|
981
1121
|
expected: "ConditionTerm",
|
|
982
1122
|
value: input3.term
|
|
983
|
-
})) && $
|
|
1123
|
+
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
984
1124
|
path: _path2 + ".term",
|
|
985
1125
|
expected: "ConditionTerm",
|
|
986
1126
|
value: input3.term
|
|
@@ -1000,12 +1140,12 @@ var validViolinRequest = (input) => {
|
|
|
1000
1140
|
path: _path2 + ".grade_and_child",
|
|
1001
1141
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1002
1142
|
value: input3.grade_and_child
|
|
1003
|
-
})) && input3.grade_and_child.map((elem,
|
|
1004
|
-
path: _path2 + ".grade_and_child[" +
|
|
1143
|
+
})) && input3.grade_and_child.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1144
|
+
path: _path2 + ".grade_and_child[" + _index17 + "]",
|
|
1005
1145
|
expected: "GradeAndChildEntry",
|
|
1006
1146
|
value: elem
|
|
1007
|
-
})) && $
|
|
1008
|
-
path: _path2 + ".grade_and_child[" +
|
|
1147
|
+
})) && $vo30(elem, _path2 + ".grade_and_child[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1148
|
+
path: _path2 + ".grade_and_child[" + _index17 + "]",
|
|
1009
1149
|
expected: "GradeAndChildEntry",
|
|
1010
1150
|
value: elem
|
|
1011
1151
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1013,7 +1153,7 @@ var validViolinRequest = (input) => {
|
|
|
1013
1153
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
1014
1154
|
value: input3.grade_and_child
|
|
1015
1155
|
})].every((flag) => flag);
|
|
1016
|
-
const $
|
|
1156
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1017
1157
|
path: _path2 + ".id",
|
|
1018
1158
|
expected: "string",
|
|
1019
1159
|
value: input3.id
|
|
@@ -1029,8 +1169,8 @@ var validViolinRequest = (input) => {
|
|
|
1029
1169
|
path: _path2 + ".child_types",
|
|
1030
1170
|
expected: "(Array<string> | undefined)",
|
|
1031
1171
|
value: input3.child_types
|
|
1032
|
-
})) && input3.child_types.map((elem,
|
|
1033
|
-
path: _path2 + ".child_types[" +
|
|
1172
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1173
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
1034
1174
|
expected: "string",
|
|
1035
1175
|
value: elem
|
|
1036
1176
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1045,8 +1185,8 @@ var validViolinRequest = (input) => {
|
|
|
1045
1185
|
path: _path2 + ".included_types",
|
|
1046
1186
|
expected: "(Array<string> | undefined)",
|
|
1047
1187
|
value: input3.included_types
|
|
1048
|
-
})) && input3.included_types.map((elem,
|
|
1049
|
-
path: _path2 + ".included_types[" +
|
|
1188
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1189
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1050
1190
|
expected: "string",
|
|
1051
1191
|
value: elem
|
|
1052
1192
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1061,12 +1201,20 @@ var validViolinRequest = (input) => {
|
|
|
1061
1201
|
path: _path2 + ".values",
|
|
1062
1202
|
expected: "(TermValues | undefined)",
|
|
1063
1203
|
value: input3.values
|
|
1064
|
-
})) && $
|
|
1204
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1065
1205
|
path: _path2 + ".values",
|
|
1066
1206
|
expected: "(TermValues | undefined)",
|
|
1067
1207
|
value: input3.values
|
|
1068
|
-
}),
|
|
1069
|
-
|
|
1208
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1209
|
+
path: _path2 + ".filter",
|
|
1210
|
+
expected: "(TermFilter | undefined)",
|
|
1211
|
+
value: input3.filter
|
|
1212
|
+
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1213
|
+
path: _path2 + ".filter",
|
|
1214
|
+
expected: "(TermFilter | undefined)",
|
|
1215
|
+
value: input3.filter
|
|
1216
|
+
})].every((flag) => flag);
|
|
1217
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1070
1218
|
path: _path2 + ".grade",
|
|
1071
1219
|
expected: "number",
|
|
1072
1220
|
value: input3.grade
|
|
@@ -1083,7 +1231,7 @@ var validViolinRequest = (input) => {
|
|
|
1083
1231
|
expected: "string",
|
|
1084
1232
|
value: input3.child_label
|
|
1085
1233
|
})].every((flag) => flag);
|
|
1086
|
-
const $
|
|
1234
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1087
1235
|
path: _path2 + ".join",
|
|
1088
1236
|
expected: "(string | undefined)",
|
|
1089
1237
|
value: input3.join
|
|
@@ -1093,331 +1241,58 @@ var validViolinRequest = (input) => {
|
|
|
1093
1241
|
value: input3.isnot
|
|
1094
1242
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1095
1243
|
path: _path2 + ".term",
|
|
1096
|
-
expected: "
|
|
1244
|
+
expected: "DtTerm",
|
|
1097
1245
|
value: input3.term
|
|
1098
|
-
})) && $
|
|
1246
|
+
})) && $vo9(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1099
1247
|
path: _path2 + ".term",
|
|
1100
|
-
expected: "
|
|
1248
|
+
expected: "DtTerm",
|
|
1101
1249
|
value: input3.term
|
|
1102
1250
|
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1103
1251
|
path: _path2 + ".values",
|
|
1104
|
-
expected: "Array<
|
|
1252
|
+
expected: "Array<__type>.o2",
|
|
1105
1253
|
value: input3.values
|
|
1106
|
-
})) && input3.values.map((elem,
|
|
1107
|
-
path: _path2 + ".values[" +
|
|
1108
|
-
expected: "
|
|
1254
|
+
})) && input3.values.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1255
|
+
path: _path2 + ".values[" + _index20 + "]",
|
|
1256
|
+
expected: "__type.o6",
|
|
1109
1257
|
value: elem
|
|
1110
|
-
})) && $
|
|
1111
|
-
path: _path2 + ".values[" +
|
|
1112
|
-
expected: "
|
|
1258
|
+
})) && $vo32(elem, _path2 + ".values[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1259
|
+
path: _path2 + ".values[" + _index20 + "]",
|
|
1260
|
+
expected: "__type.o6",
|
|
1113
1261
|
value: elem
|
|
1114
1262
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1115
1263
|
path: _path2 + ".values",
|
|
1116
|
-
expected: "Array<
|
|
1264
|
+
expected: "Array<__type>.o2",
|
|
1117
1265
|
value: input3.values
|
|
1118
1266
|
})].every((flag) => flag);
|
|
1119
|
-
const $
|
|
1120
|
-
path: _path2 + ".
|
|
1121
|
-
expected: "string",
|
|
1122
|
-
value: input3.id
|
|
1123
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1124
|
-
path: _path2 + ".name",
|
|
1125
|
-
expected: "string",
|
|
1126
|
-
value: input3.name
|
|
1127
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1128
|
-
path: _path2 + ".type",
|
|
1129
|
-
expected: '"geneVariant"',
|
|
1130
|
-
value: input3.type
|
|
1131
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1132
|
-
path: _path2 + ".child_types",
|
|
1133
|
-
expected: "(Array<string> | undefined)",
|
|
1134
|
-
value: input3.child_types
|
|
1135
|
-
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1136
|
-
path: _path2 + ".child_types[" + _index18 + "]",
|
|
1137
|
-
expected: "string",
|
|
1138
|
-
value: elem
|
|
1139
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1140
|
-
path: _path2 + ".child_types",
|
|
1141
|
-
expected: "(Array<string> | undefined)",
|
|
1142
|
-
value: input3.child_types
|
|
1143
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1144
|
-
path: _path2 + ".hashtmldetail",
|
|
1145
|
-
expected: "(boolean | undefined)",
|
|
1146
|
-
value: input3.hashtmldetail
|
|
1147
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1148
|
-
path: _path2 + ".included_types",
|
|
1149
|
-
expected: "(Array<string> | undefined)",
|
|
1150
|
-
value: input3.included_types
|
|
1151
|
-
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1152
|
-
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1153
|
-
expected: "string",
|
|
1154
|
-
value: elem
|
|
1155
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1156
|
-
path: _path2 + ".included_types",
|
|
1157
|
-
expected: "(Array<string> | undefined)",
|
|
1158
|
-
value: input3.included_types
|
|
1159
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1160
|
-
path: _path2 + ".isleaf",
|
|
1161
|
-
expected: "(boolean | undefined)",
|
|
1162
|
-
value: input3.isleaf
|
|
1163
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1164
|
-
path: _path2 + ".values",
|
|
1165
|
-
expected: "(TermValues | undefined)",
|
|
1166
|
-
value: input3.values
|
|
1167
|
-
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1168
|
-
path: _path2 + ".values",
|
|
1169
|
-
expected: "(TermValues | undefined)",
|
|
1170
|
-
value: input3.values
|
|
1171
|
-
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1172
|
-
path: _path2 + ".groupsetting",
|
|
1173
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1174
|
-
value: input3.groupsetting
|
|
1175
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1176
|
-
path: _path2 + ".groupsetting",
|
|
1177
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1178
|
-
value: input3.groupsetting
|
|
1179
|
-
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1180
|
-
path: _path2 + ".kind",
|
|
1181
|
-
expected: '"gene"',
|
|
1182
|
-
value: input3.kind
|
|
1183
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1184
|
-
path: _path2 + ".gene",
|
|
1185
|
-
expected: "string",
|
|
1186
|
-
value: input3.gene
|
|
1187
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1188
|
-
path: _path2 + ".chr",
|
|
1189
|
-
expected: "(string | undefined)",
|
|
1190
|
-
value: input3.chr
|
|
1191
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1192
|
-
path: _path2 + ".start",
|
|
1193
|
-
expected: "(number | undefined)",
|
|
1194
|
-
value: input3.start
|
|
1195
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1196
|
-
path: _path2 + ".stop",
|
|
1197
|
-
expected: "(number | undefined)",
|
|
1198
|
-
value: input3.stop
|
|
1199
|
-
})].every((flag) => flag);
|
|
1200
|
-
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1201
|
-
path: _path2 + ".id",
|
|
1202
|
-
expected: "string",
|
|
1203
|
-
value: input3.id
|
|
1204
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1205
|
-
path: _path2 + ".name",
|
|
1206
|
-
expected: "string",
|
|
1207
|
-
value: input3.name
|
|
1208
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1209
|
-
path: _path2 + ".type",
|
|
1210
|
-
expected: '"geneVariant"',
|
|
1211
|
-
value: input3.type
|
|
1212
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1213
|
-
path: _path2 + ".child_types",
|
|
1214
|
-
expected: "(Array<string> | undefined)",
|
|
1215
|
-
value: input3.child_types
|
|
1216
|
-
})) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1217
|
-
path: _path2 + ".child_types[" + _index20 + "]",
|
|
1267
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1268
|
+
path: _path2 + ".key",
|
|
1218
1269
|
expected: "string",
|
|
1219
|
-
value:
|
|
1220
|
-
})
|
|
1221
|
-
path: _path2 + ".
|
|
1222
|
-
expected: "(Array<string> | undefined)",
|
|
1223
|
-
value: input3.child_types
|
|
1224
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1225
|
-
path: _path2 + ".hashtmldetail",
|
|
1226
|
-
expected: "(boolean | undefined)",
|
|
1227
|
-
value: input3.hashtmldetail
|
|
1228
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1229
|
-
path: _path2 + ".included_types",
|
|
1230
|
-
expected: "(Array<string> | undefined)",
|
|
1231
|
-
value: input3.included_types
|
|
1232
|
-
})) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1233
|
-
path: _path2 + ".included_types[" + _index21 + "]",
|
|
1270
|
+
value: input3.key
|
|
1271
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1272
|
+
path: _path2 + ".label",
|
|
1234
1273
|
expected: "string",
|
|
1235
|
-
value:
|
|
1236
|
-
})
|
|
1237
|
-
path: _path2 + ".
|
|
1238
|
-
expected: "(Array<string> | undefined)",
|
|
1239
|
-
value: input3.included_types
|
|
1240
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1241
|
-
path: _path2 + ".isleaf",
|
|
1242
|
-
expected: "(boolean | undefined)",
|
|
1243
|
-
value: input3.isleaf
|
|
1244
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1245
|
-
path: _path2 + ".values",
|
|
1246
|
-
expected: "(TermValues | undefined)",
|
|
1247
|
-
value: input3.values
|
|
1248
|
-
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1249
|
-
path: _path2 + ".values",
|
|
1250
|
-
expected: "(TermValues | undefined)",
|
|
1251
|
-
value: input3.values
|
|
1252
|
-
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1253
|
-
path: _path2 + ".groupsetting",
|
|
1254
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1255
|
-
value: input3.groupsetting
|
|
1256
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1257
|
-
path: _path2 + ".groupsetting",
|
|
1258
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1259
|
-
value: input3.groupsetting
|
|
1260
|
-
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1261
|
-
path: _path2 + ".kind",
|
|
1262
|
-
expected: '"coord"',
|
|
1263
|
-
value: input3.kind
|
|
1264
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1265
|
-
path: _path2 + ".chr",
|
|
1274
|
+
value: input3.label
|
|
1275
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
1276
|
+
path: _path2 + ".value",
|
|
1266
1277
|
expected: "string",
|
|
1267
|
-
value: input3.
|
|
1268
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1269
|
-
path: _path2 + ".start",
|
|
1270
|
-
expected: "number",
|
|
1271
|
-
value: input3.start
|
|
1272
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1273
|
-
path: _path2 + ".stop",
|
|
1274
|
-
expected: "number",
|
|
1275
|
-
value: input3.stop
|
|
1276
|
-
})].every((flag) => flag);
|
|
1277
|
-
const $vo29 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
|
|
1278
|
-
path: _path2 + ".dt",
|
|
1279
|
-
expected: "1",
|
|
1280
|
-
value: input3.dt
|
|
1281
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1282
|
-
path: _path2 + ".mclassLst",
|
|
1283
|
-
expected: "Array<SNVIndelClasses>",
|
|
1284
|
-
value: input3.mclassLst
|
|
1285
|
-
})) && input3.mclassLst.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, {
|
|
1286
|
-
path: _path2 + ".mclassLst[" + _index22 + "]",
|
|
1287
|
-
expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
|
|
1288
|
-
value: elem
|
|
1289
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1290
|
-
path: _path2 + ".mclassLst",
|
|
1291
|
-
expected: "Array<SNVIndelClasses>",
|
|
1292
|
-
value: input3.mclassLst
|
|
1293
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1294
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1295
|
-
expected: "Array<SNVIndelClasses>",
|
|
1296
|
-
value: input3.mclassExcludeLst
|
|
1297
|
-
})) && input3.mclassExcludeLst.map((elem, _index23) => "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, {
|
|
1298
|
-
path: _path2 + ".mclassExcludeLst[" + _index23 + "]",
|
|
1299
|
-
expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
|
|
1300
|
-
value: elem
|
|
1301
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1302
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1303
|
-
expected: "Array<SNVIndelClasses>",
|
|
1304
|
-
value: input3.mclassExcludeLst
|
|
1305
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1306
|
-
path: _path2 + ".origin",
|
|
1307
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1308
|
-
value: input3.origin
|
|
1309
|
-
})].every((flag) => flag);
|
|
1310
|
-
const $vo30 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
|
|
1311
|
-
path: _path2 + ".dt",
|
|
1312
|
-
expected: "4",
|
|
1313
|
-
value: input3.dt
|
|
1314
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1315
|
-
path: _path2 + ".mclassLst",
|
|
1316
|
-
expected: "Array<CNVClasses>",
|
|
1317
|
-
value: input3.mclassLst
|
|
1318
|
-
})) && input3.mclassLst.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, {
|
|
1319
|
-
path: _path2 + ".mclassLst[" + _index24 + "]",
|
|
1320
|
-
expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
|
|
1321
|
-
value: elem
|
|
1322
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1323
|
-
path: _path2 + ".mclassLst",
|
|
1324
|
-
expected: "Array<CNVClasses>",
|
|
1325
|
-
value: input3.mclassLst
|
|
1326
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1327
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1328
|
-
expected: "Array<CNVClasses>",
|
|
1329
|
-
value: input3.mclassExcludeLst
|
|
1330
|
-
})) && input3.mclassExcludeLst.map((elem, _index25) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem || $report(_exceptionable2, {
|
|
1331
|
-
path: _path2 + ".mclassExcludeLst[" + _index25 + "]",
|
|
1332
|
-
expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
|
|
1333
|
-
value: elem
|
|
1334
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1335
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1336
|
-
expected: "Array<CNVClasses>",
|
|
1337
|
-
value: input3.mclassExcludeLst
|
|
1338
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1339
|
-
path: _path2 + ".origin",
|
|
1340
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1341
|
-
value: input3.origin
|
|
1342
|
-
})].every((flag) => flag);
|
|
1343
|
-
const $vo31 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
|
|
1344
|
-
path: _path2 + ".dt",
|
|
1345
|
-
expected: "5",
|
|
1346
|
-
value: input3.dt
|
|
1347
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1348
|
-
path: _path2 + ".mclassLst",
|
|
1349
|
-
expected: "Array<SVClasses>",
|
|
1350
|
-
value: input3.mclassLst
|
|
1351
|
-
})) && input3.mclassLst.map((elem, _index26) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
|
|
1352
|
-
path: _path2 + ".mclassLst[" + _index26 + "]",
|
|
1353
|
-
expected: '("Blank" | "SV" | "WT")',
|
|
1354
|
-
value: elem
|
|
1355
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1356
|
-
path: _path2 + ".mclassLst",
|
|
1357
|
-
expected: "Array<SVClasses>",
|
|
1358
|
-
value: input3.mclassLst
|
|
1359
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1360
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1361
|
-
expected: "Array<SVClasses>",
|
|
1362
|
-
value: input3.mclassExcludeLst
|
|
1363
|
-
})) && input3.mclassExcludeLst.map((elem, _index27) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
|
|
1364
|
-
path: _path2 + ".mclassExcludeLst[" + _index27 + "]",
|
|
1365
|
-
expected: '("Blank" | "SV" | "WT")',
|
|
1366
|
-
value: elem
|
|
1367
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1368
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1369
|
-
expected: "Array<SVClasses>",
|
|
1370
|
-
value: input3.mclassExcludeLst
|
|
1371
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1372
|
-
path: _path2 + ".origin",
|
|
1373
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1374
|
-
value: input3.origin
|
|
1375
|
-
})].every((flag) => flag);
|
|
1376
|
-
const $vo32 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
|
|
1377
|
-
path: _path2 + ".dt",
|
|
1378
|
-
expected: "2",
|
|
1379
|
-
value: input3.dt
|
|
1380
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1381
|
-
path: _path2 + ".mclassLst",
|
|
1382
|
-
expected: "Array<FusionRNAClasses>",
|
|
1383
|
-
value: input3.mclassLst
|
|
1384
|
-
})) && input3.mclassLst.map((elem, _index28) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
|
|
1385
|
-
path: _path2 + ".mclassLst[" + _index28 + "]",
|
|
1386
|
-
expected: '("Blank" | "Fuserna" | "WT")',
|
|
1387
|
-
value: elem
|
|
1388
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1389
|
-
path: _path2 + ".mclassLst",
|
|
1390
|
-
expected: "Array<FusionRNAClasses>",
|
|
1391
|
-
value: input3.mclassLst
|
|
1392
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1393
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1394
|
-
expected: "Array<FusionRNAClasses>",
|
|
1395
|
-
value: input3.mclassExcludeLst
|
|
1396
|
-
})) && input3.mclassExcludeLst.map((elem, _index29) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
|
|
1397
|
-
path: _path2 + ".mclassExcludeLst[" + _index29 + "]",
|
|
1398
|
-
expected: '("Blank" | "Fuserna" | "WT")',
|
|
1399
|
-
value: elem
|
|
1400
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1401
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1402
|
-
expected: "Array<FusionRNAClasses>",
|
|
1403
|
-
value: input3.mclassExcludeLst
|
|
1404
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1405
|
-
path: _path2 + ".origin",
|
|
1406
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1407
|
-
value: input3.origin
|
|
1278
|
+
value: input3.value
|
|
1408
1279
|
})].every((flag) => flag);
|
|
1409
1280
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1410
|
-
if (
|
|
1281
|
+
if ("tvslst" === input3.type)
|
|
1411
1282
|
return $vo1(input3, _path2, _exceptionable2);
|
|
1412
|
-
if (
|
|
1413
|
-
return $
|
|
1414
|
-
return $
|
|
1283
|
+
if ("tvs" === input3.type)
|
|
1284
|
+
return $vo2(input3, _path2, _exceptionable2);
|
|
1285
|
+
return $report(_exceptionable2, {
|
|
1286
|
+
path: _path2,
|
|
1287
|
+
expected: "(Filter | __type)",
|
|
1288
|
+
value: input3
|
|
1289
|
+
});
|
|
1415
1290
|
})();
|
|
1416
1291
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1417
1292
|
if ("string" === typeof input3.type)
|
|
1418
|
-
return $
|
|
1293
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
1419
1294
|
if ("filter" === input3.type)
|
|
1420
|
-
return $
|
|
1295
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
1421
1296
|
return $report(_exceptionable2, {
|
|
1422
1297
|
path: _path2,
|
|
1423
1298
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -1426,36 +1301,26 @@ var validViolinRequest = (input) => {
|
|
|
1426
1301
|
})();
|
|
1427
1302
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1428
1303
|
if (true === input3.startunbounded)
|
|
1429
|
-
return $
|
|
1304
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1430
1305
|
if (true === input3.stopunbounded)
|
|
1431
|
-
return $
|
|
1432
|
-
return $
|
|
1306
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
1307
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1433
1308
|
})();
|
|
1434
1309
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1435
|
-
if (
|
|
1436
|
-
return $
|
|
1437
|
-
|
|
1438
|
-
return $vo31(input3, _path2, _exceptionable2);
|
|
1439
|
-
if (4 === input3.dt)
|
|
1440
|
-
return $vo30(input3, _path2, _exceptionable2);
|
|
1441
|
-
if (1 === input3.dt)
|
|
1442
|
-
return $vo29(input3, _path2, _exceptionable2);
|
|
1443
|
-
return $report(_exceptionable2, {
|
|
1444
|
-
path: _path2,
|
|
1445
|
-
expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
|
|
1446
|
-
value: input3
|
|
1447
|
-
});
|
|
1310
|
+
if (void 0 !== input3.ranges)
|
|
1311
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
1312
|
+
return $vo3(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
|
|
1448
1313
|
})();
|
|
1449
1314
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1450
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
1451
|
-
return $
|
|
1452
|
-
return $
|
|
1315
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index21) => "object" === typeof elem && null !== elem && $vo11(elem, _path2 + ".lst[" + _index21 + "]", false)).every((flag) => flag))
|
|
1316
|
+
return $vo10(input3, _path2, _exceptionable2);
|
|
1317
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
1453
1318
|
})();
|
|
1454
1319
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1455
1320
|
if ("regular-bin" === input3.type)
|
|
1456
|
-
return $vo15(input3, _path2, _exceptionable2);
|
|
1457
|
-
if ("custom-bin" === input3.type)
|
|
1458
1321
|
return $vo20(input3, _path2, _exceptionable2);
|
|
1322
|
+
if ("custom-bin" === input3.type)
|
|
1323
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
1459
1324
|
return $report(_exceptionable2, {
|
|
1460
1325
|
path: _path2,
|
|
1461
1326
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
@@ -1464,9 +1329,9 @@ var validViolinRequest = (input) => {
|
|
|
1464
1329
|
})();
|
|
1465
1330
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1466
1331
|
if (true === input3.startunbounded)
|
|
1467
|
-
return $
|
|
1332
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1468
1333
|
if (void 0 !== input3.start)
|
|
1469
|
-
return $
|
|
1334
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1470
1335
|
return $report(_exceptionable2, {
|
|
1471
1336
|
path: _path2,
|
|
1472
1337
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
@@ -1475,26 +1340,15 @@ var validViolinRequest = (input) => {
|
|
|
1475
1340
|
})();
|
|
1476
1341
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1477
1342
|
if (void 0 !== input3.stop)
|
|
1478
|
-
return $
|
|
1343
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1479
1344
|
if (true === input3.stopunbounded)
|
|
1480
|
-
return $
|
|
1345
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
1481
1346
|
return $report(_exceptionable2, {
|
|
1482
1347
|
path: _path2,
|
|
1483
1348
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1484
1349
|
value: input3
|
|
1485
1350
|
});
|
|
1486
1351
|
})();
|
|
1487
|
-
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1488
|
-
if ("gene" === input3.kind)
|
|
1489
|
-
return $vo27(input3, _path2, _exceptionable2);
|
|
1490
|
-
if ("coord" === input3.kind)
|
|
1491
|
-
return $vo28(input3, _path2, _exceptionable2);
|
|
1492
|
-
return $report(_exceptionable2, {
|
|
1493
|
-
path: _path2,
|
|
1494
|
-
expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
|
|
1495
|
-
value: input3
|
|
1496
|
-
});
|
|
1497
|
-
})();
|
|
1498
1352
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
1499
1353
|
path: _path + "",
|
|
1500
1354
|
expected: "ViolinRequest",
|