@sjcrh/proteinpaint-types 2.119.0 → 2.123.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-HURSYPTO.js → chunk-D5OG676D.js} +32 -1
- 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 +13 -13
- package/dist/samplewsimages.js +1 -1
- 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/dataset.ts +11 -5
- 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/samplewsimages.ts +1 -0
- 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 validPercentileRequest = (input) => {
|
|
|
60
60
|
const __is = (input2) => {
|
|
61
61
|
const $join = import_typia.createValidate.join;
|
|
62
62
|
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && (Array.isArray(input3.getpercentile) && input3.getpercentile.every((elem) => "number" === typeof elem)) && "string" === typeof input3.tid && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter));
|
|
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 validPercentileRequest = (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);
|
|
@@ -224,17 +211,17 @@ var validPercentileRequest = (input) => {
|
|
|
224
211
|
expected: "Filter",
|
|
225
212
|
value: input3.filter
|
|
226
213
|
})].every((flag) => flag);
|
|
227
|
-
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["
|
|
214
|
+
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
228
215
|
path: _path2 + ".type",
|
|
229
|
-
expected: '"
|
|
216
|
+
expected: '"tvslst"',
|
|
230
217
|
value: input3.type
|
|
231
|
-
}),
|
|
218
|
+
}), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
232
219
|
path: _path2 + '["in"]',
|
|
233
|
-
expected: "
|
|
220
|
+
expected: "boolean",
|
|
234
221
|
value: input3["in"]
|
|
235
|
-
}), "
|
|
222
|
+
}), "string" === typeof input3.join || $report(_exceptionable2, {
|
|
236
223
|
path: _path2 + ".join",
|
|
237
|
-
expected:
|
|
224
|
+
expected: "string",
|
|
238
225
|
value: input3.join
|
|
239
226
|
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
240
227
|
path: _path2 + ".tag",
|
|
@@ -242,22 +229,35 @@ var validPercentileRequest = (input) => {
|
|
|
242
229
|
value: input3.tag
|
|
243
230
|
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
244
231
|
path: _path2 + ".lst",
|
|
245
|
-
expected:
|
|
232
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
246
233
|
value: input3.lst
|
|
247
234
|
})) && input3.lst.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
248
235
|
path: _path2 + ".lst[" + _index2 + "]",
|
|
249
|
-
expected: "(
|
|
236
|
+
expected: "(Filter | __type)",
|
|
250
237
|
value: elem
|
|
251
238
|
})) && $vu0(elem, _path2 + ".lst[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
252
239
|
path: _path2 + ".lst[" + _index2 + "]",
|
|
253
|
-
expected: "(
|
|
240
|
+
expected: "(Filter | __type)",
|
|
254
241
|
value: elem
|
|
255
242
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
256
243
|
path: _path2 + ".lst",
|
|
257
|
-
expected:
|
|
244
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
258
245
|
value: input3.lst
|
|
259
246
|
})].every((flag) => flag);
|
|
260
|
-
const $vo2 = (input3, _path2, _exceptionable2 = true) => [
|
|
247
|
+
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
248
|
+
path: _path2 + ".type",
|
|
249
|
+
expected: '"tvs"',
|
|
250
|
+
value: input3.type
|
|
251
|
+
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
252
|
+
path: _path2 + ".tvs",
|
|
253
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
254
|
+
value: input3.tvs
|
|
255
|
+
})) && $vu3(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
256
|
+
path: _path2 + ".tvs",
|
|
257
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
258
|
+
value: input3.tvs
|
|
259
|
+
})].every((flag) => flag);
|
|
260
|
+
const $vo3 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
261
261
|
path: _path2 + ".join",
|
|
262
262
|
expected: "(string | undefined)",
|
|
263
263
|
value: input3.join
|
|
@@ -269,7 +269,7 @@ var validPercentileRequest = (input) => {
|
|
|
269
269
|
path: _path2 + ".term",
|
|
270
270
|
expected: "CategoricalTerm",
|
|
271
271
|
value: input3.term
|
|
272
|
-
})) && $
|
|
272
|
+
})) && $vo4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
273
273
|
path: _path2 + ".term",
|
|
274
274
|
expected: "CategoricalTerm",
|
|
275
275
|
value: input3.term
|
|
@@ -285,7 +285,7 @@ var validPercentileRequest = (input) => {
|
|
|
285
285
|
path: _path2 + ".values[" + _index3 + "]",
|
|
286
286
|
expected: "BaseValue",
|
|
287
287
|
value: elem
|
|
288
|
-
})) && $
|
|
288
|
+
})) && $vo6(elem, _path2 + ".values[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
289
289
|
path: _path2 + ".values[" + _index3 + "]",
|
|
290
290
|
expected: "BaseValue",
|
|
291
291
|
value: elem
|
|
@@ -294,7 +294,7 @@ var validPercentileRequest = (input) => {
|
|
|
294
294
|
expected: "Array<BaseValue>",
|
|
295
295
|
value: input3.values
|
|
296
296
|
})].every((flag) => flag);
|
|
297
|
-
const $
|
|
297
|
+
const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
298
298
|
path: _path2 + ".id",
|
|
299
299
|
expected: "string",
|
|
300
300
|
value: input3.id
|
|
@@ -342,20 +342,28 @@ var validPercentileRequest = (input) => {
|
|
|
342
342
|
path: _path2 + ".values",
|
|
343
343
|
expected: "(TermValues | undefined)",
|
|
344
344
|
value: input3.values
|
|
345
|
-
})) && $
|
|
345
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
346
346
|
path: _path2 + ".values",
|
|
347
347
|
expected: "(TermValues | undefined)",
|
|
348
348
|
value: input3.values
|
|
349
|
-
}),
|
|
349
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
350
|
+
path: _path2 + ".filter",
|
|
351
|
+
expected: "(TermFilter | undefined)",
|
|
352
|
+
value: input3.filter
|
|
353
|
+
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
354
|
+
path: _path2 + ".filter",
|
|
355
|
+
expected: "(TermFilter | undefined)",
|
|
356
|
+
value: input3.filter
|
|
357
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
350
358
|
path: _path2 + ".groupsetting",
|
|
351
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
359
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
352
360
|
value: input3.groupsetting
|
|
353
361
|
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
354
362
|
path: _path2 + ".groupsetting",
|
|
355
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
363
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
356
364
|
value: input3.groupsetting
|
|
357
365
|
})].every((flag) => flag);
|
|
358
|
-
const $
|
|
366
|
+
const $vo5 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
359
367
|
const value = input3[key];
|
|
360
368
|
if (void 0 === value)
|
|
361
369
|
return true;
|
|
@@ -364,7 +372,7 @@ var validPercentileRequest = (input) => {
|
|
|
364
372
|
path: _path2 + $join(key),
|
|
365
373
|
expected: "BaseValue",
|
|
366
374
|
value
|
|
367
|
-
})) && $
|
|
375
|
+
})) && $vo6(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
368
376
|
path: _path2 + $join(key),
|
|
369
377
|
expected: "BaseValue",
|
|
370
378
|
value
|
|
@@ -374,14 +382,14 @@ var validPercentileRequest = (input) => {
|
|
|
374
382
|
path: _path2 + $join(key),
|
|
375
383
|
expected: "BaseValue",
|
|
376
384
|
value
|
|
377
|
-
})) && $
|
|
385
|
+
})) && $vo6(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
378
386
|
path: _path2 + $join(key),
|
|
379
387
|
expected: "BaseValue",
|
|
380
388
|
value
|
|
381
389
|
});
|
|
382
390
|
return true;
|
|
383
391
|
}).every((flag) => flag)].every((flag) => flag);
|
|
384
|
-
const $
|
|
392
|
+
const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
385
393
|
path: _path2 + ".key",
|
|
386
394
|
expected: "(string | undefined)",
|
|
387
395
|
value: input3.key
|
|
@@ -414,7 +422,86 @@ var validPercentileRequest = (input) => {
|
|
|
414
422
|
expected: "(Filter | undefined)",
|
|
415
423
|
value: input3.filter
|
|
416
424
|
})].every((flag) => flag);
|
|
417
|
-
const $
|
|
425
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
426
|
+
path: _path2 + ".opts",
|
|
427
|
+
expected: "__type.o1",
|
|
428
|
+
value: input3.opts
|
|
429
|
+
})) && $vo8(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
430
|
+
path: _path2 + ".opts",
|
|
431
|
+
expected: "__type.o1",
|
|
432
|
+
value: input3.opts
|
|
433
|
+
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
434
|
+
path: _path2 + ".terms",
|
|
435
|
+
expected: "Array<DtTerm>",
|
|
436
|
+
value: input3.terms
|
|
437
|
+
})) && input3.terms.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
438
|
+
path: _path2 + ".terms[" + _index6 + "]",
|
|
439
|
+
expected: "DtTerm",
|
|
440
|
+
value: elem
|
|
441
|
+
})) && $vo9(elem, _path2 + ".terms[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
442
|
+
path: _path2 + ".terms[" + _index6 + "]",
|
|
443
|
+
expected: "DtTerm",
|
|
444
|
+
value: elem
|
|
445
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
446
|
+
path: _path2 + ".terms",
|
|
447
|
+
expected: "Array<DtTerm>",
|
|
448
|
+
value: input3.terms
|
|
449
|
+
})].every((flag) => flag);
|
|
450
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.joinWith) || $report(_exceptionable2, {
|
|
451
|
+
path: _path2 + ".joinWith",
|
|
452
|
+
expected: "Array<string>",
|
|
453
|
+
value: input3.joinWith
|
|
454
|
+
})) && input3.joinWith.map((elem, _index7) => "string" === typeof elem || $report(_exceptionable2, {
|
|
455
|
+
path: _path2 + ".joinWith[" + _index7 + "]",
|
|
456
|
+
expected: "string",
|
|
457
|
+
value: elem
|
|
458
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
459
|
+
path: _path2 + ".joinWith",
|
|
460
|
+
expected: "Array<string>",
|
|
461
|
+
value: input3.joinWith
|
|
462
|
+
})].every((flag) => flag);
|
|
463
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
464
|
+
path: _path2 + ".id",
|
|
465
|
+
expected: "string",
|
|
466
|
+
value: input3.id
|
|
467
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
468
|
+
path: _path2 + ".query",
|
|
469
|
+
expected: "string",
|
|
470
|
+
value: input3.query
|
|
471
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
472
|
+
path: _path2 + ".name",
|
|
473
|
+
expected: "string",
|
|
474
|
+
value: input3.name
|
|
475
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
476
|
+
path: _path2 + ".name_noOrigin",
|
|
477
|
+
expected: "string",
|
|
478
|
+
value: input3.name_noOrigin
|
|
479
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
480
|
+
path: _path2 + ".isleaf",
|
|
481
|
+
expected: "boolean",
|
|
482
|
+
value: input3.isleaf
|
|
483
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
484
|
+
path: _path2 + ".type",
|
|
485
|
+
expected: "string",
|
|
486
|
+
value: input3.type
|
|
487
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
488
|
+
path: _path2 + ".dt",
|
|
489
|
+
expected: "number",
|
|
490
|
+
value: input3.dt
|
|
491
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
492
|
+
path: _path2 + ".origin",
|
|
493
|
+
expected: "(string | undefined)",
|
|
494
|
+
value: input3.origin
|
|
495
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
496
|
+
path: _path2 + ".values",
|
|
497
|
+
expected: "TermValues",
|
|
498
|
+
value: input3.values
|
|
499
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
500
|
+
path: _path2 + ".values",
|
|
501
|
+
expected: "TermValues",
|
|
502
|
+
value: input3.values
|
|
503
|
+
})].every((flag) => flag);
|
|
504
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
418
505
|
path: _path2 + ".disabled",
|
|
419
506
|
expected: "(boolean | undefined)",
|
|
420
507
|
value: input3.disabled
|
|
@@ -422,12 +509,12 @@ var validPercentileRequest = (input) => {
|
|
|
422
509
|
path: _path2 + ".lst",
|
|
423
510
|
expected: "Array<Groupset>",
|
|
424
511
|
value: input3.lst
|
|
425
|
-
})) && input3.lst.map((elem,
|
|
426
|
-
path: _path2 + ".lst[" +
|
|
512
|
+
})) && input3.lst.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
513
|
+
path: _path2 + ".lst[" + _index8 + "]",
|
|
427
514
|
expected: "Groupset",
|
|
428
515
|
value: elem
|
|
429
|
-
})) && $
|
|
430
|
-
path: _path2 + ".lst[" +
|
|
516
|
+
})) && $vo11(elem, _path2 + ".lst[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
517
|
+
path: _path2 + ".lst[" + _index8 + "]",
|
|
431
518
|
expected: "Groupset",
|
|
432
519
|
value: elem
|
|
433
520
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -435,7 +522,7 @@ var validPercentileRequest = (input) => {
|
|
|
435
522
|
expected: "Array<Groupset>",
|
|
436
523
|
value: input3.lst
|
|
437
524
|
})].every((flag) => flag);
|
|
438
|
-
const $
|
|
525
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
439
526
|
path: _path2 + ".name",
|
|
440
527
|
expected: "string",
|
|
441
528
|
value: input3.name
|
|
@@ -455,12 +542,12 @@ var validPercentileRequest = (input) => {
|
|
|
455
542
|
path: _path2 + ".groups",
|
|
456
543
|
expected: "Array<GroupEntry>",
|
|
457
544
|
value: input3.groups
|
|
458
|
-
})) && input3.groups.map((elem,
|
|
459
|
-
path: _path2 + ".groups[" +
|
|
545
|
+
})) && input3.groups.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
546
|
+
path: _path2 + ".groups[" + _index9 + "]",
|
|
460
547
|
expected: "(FilterGroup | ValuesGroup)",
|
|
461
548
|
value: elem
|
|
462
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
463
|
-
path: _path2 + ".groups[" +
|
|
549
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
550
|
+
path: _path2 + ".groups[" + _index9 + "]",
|
|
464
551
|
expected: "(FilterGroup | ValuesGroup)",
|
|
465
552
|
value: elem
|
|
466
553
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -468,7 +555,7 @@ var validPercentileRequest = (input) => {
|
|
|
468
555
|
expected: "Array<GroupEntry>",
|
|
469
556
|
value: input3.groups
|
|
470
557
|
})].every((flag) => flag);
|
|
471
|
-
const $
|
|
558
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
472
559
|
path: _path2 + ".name",
|
|
473
560
|
expected: "string",
|
|
474
561
|
value: input3.name
|
|
@@ -480,13 +567,13 @@ var validPercentileRequest = (input) => {
|
|
|
480
567
|
path: _path2 + ".values",
|
|
481
568
|
expected: "Array<__type>",
|
|
482
569
|
value: input3.values
|
|
483
|
-
})) && input3.values.map((elem,
|
|
484
|
-
path: _path2 + ".values[" +
|
|
485
|
-
expected: "__type",
|
|
570
|
+
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
571
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
572
|
+
expected: "__type.o2",
|
|
486
573
|
value: elem
|
|
487
|
-
})) && $
|
|
488
|
-
path: _path2 + ".values[" +
|
|
489
|
-
expected: "__type",
|
|
574
|
+
})) && $vo13(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
575
|
+
path: _path2 + ".values[" + _index10 + "]",
|
|
576
|
+
expected: "__type.o2",
|
|
490
577
|
value: elem
|
|
491
578
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
492
579
|
path: _path2 + ".values",
|
|
@@ -497,7 +584,7 @@ var validPercentileRequest = (input) => {
|
|
|
497
584
|
expected: "(boolean | undefined)",
|
|
498
585
|
value: input3.uncomputable
|
|
499
586
|
})].every((flag) => flag);
|
|
500
|
-
const $
|
|
587
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
501
588
|
path: _path2 + ".key",
|
|
502
589
|
expected: "(number | string)",
|
|
503
590
|
value: input3.key
|
|
@@ -506,7 +593,7 @@ var validPercentileRequest = (input) => {
|
|
|
506
593
|
expected: "string",
|
|
507
594
|
value: input3.label
|
|
508
595
|
})].every((flag) => flag);
|
|
509
|
-
const $
|
|
596
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
510
597
|
path: _path2 + ".name",
|
|
511
598
|
expected: "string",
|
|
512
599
|
value: input3.name
|
|
@@ -514,12 +601,57 @@ var validPercentileRequest = (input) => {
|
|
|
514
601
|
path: _path2 + ".type",
|
|
515
602
|
expected: '"filter"',
|
|
516
603
|
value: input3.type
|
|
517
|
-
}),
|
|
604
|
+
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
605
|
+
path: _path2 + ".filter",
|
|
606
|
+
expected: "TermFilter & { active: Filter; group: number; }",
|
|
607
|
+
value: input3.filter
|
|
608
|
+
})) && $vo15(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
609
|
+
path: _path2 + ".filter",
|
|
610
|
+
expected: "TermFilter & { active: Filter; group: number; }",
|
|
611
|
+
value: input3.filter
|
|
612
|
+
}), "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
518
613
|
path: _path2 + ".uncomputable",
|
|
519
|
-
expected: "
|
|
614
|
+
expected: "boolean",
|
|
520
615
|
value: input3.uncomputable
|
|
521
616
|
})].every((flag) => flag);
|
|
522
|
-
const $
|
|
617
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
618
|
+
path: _path2 + ".opts",
|
|
619
|
+
expected: "__type.o1",
|
|
620
|
+
value: input3.opts
|
|
621
|
+
})) && $vo8(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
622
|
+
path: _path2 + ".opts",
|
|
623
|
+
expected: "__type.o1",
|
|
624
|
+
value: input3.opts
|
|
625
|
+
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
626
|
+
path: _path2 + ".terms",
|
|
627
|
+
expected: "Array<DtTerm>",
|
|
628
|
+
value: input3.terms
|
|
629
|
+
})) && input3.terms.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
630
|
+
path: _path2 + ".terms[" + _index11 + "]",
|
|
631
|
+
expected: "DtTerm",
|
|
632
|
+
value: elem
|
|
633
|
+
})) && $vo9(elem, _path2 + ".terms[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
634
|
+
path: _path2 + ".terms[" + _index11 + "]",
|
|
635
|
+
expected: "DtTerm",
|
|
636
|
+
value: elem
|
|
637
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
638
|
+
path: _path2 + ".terms",
|
|
639
|
+
expected: "Array<DtTerm>",
|
|
640
|
+
value: input3.terms
|
|
641
|
+
}), ("object" === typeof input3.active && null !== input3.active || $report(_exceptionable2, {
|
|
642
|
+
path: _path2 + ".active",
|
|
643
|
+
expected: "Filter",
|
|
644
|
+
value: input3.active
|
|
645
|
+
})) && $vo1(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
|
|
646
|
+
path: _path2 + ".active",
|
|
647
|
+
expected: "Filter",
|
|
648
|
+
value: input3.active
|
|
649
|
+
}), "number" === typeof input3.group || $report(_exceptionable2, {
|
|
650
|
+
path: _path2 + ".group",
|
|
651
|
+
expected: "number",
|
|
652
|
+
value: input3.group
|
|
653
|
+
})].every((flag) => flag);
|
|
654
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
523
655
|
path: _path2 + ".disabled",
|
|
524
656
|
expected: "boolean",
|
|
525
657
|
value: input3.disabled
|
|
@@ -536,7 +668,7 @@ var validPercentileRequest = (input) => {
|
|
|
536
668
|
expected: "([] | undefined)",
|
|
537
669
|
value: input3.lst
|
|
538
670
|
})].every((flag) => flag);
|
|
539
|
-
const $
|
|
671
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
540
672
|
path: _path2 + ".join",
|
|
541
673
|
expected: "(string | undefined)",
|
|
542
674
|
value: input3.join
|
|
@@ -548,7 +680,7 @@ var validPercentileRequest = (input) => {
|
|
|
548
680
|
path: _path2 + ".term",
|
|
549
681
|
expected: "NumericTerm",
|
|
550
682
|
value: input3.term
|
|
551
|
-
})) && $
|
|
683
|
+
})) && $vo18(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
552
684
|
path: _path2 + ".term",
|
|
553
685
|
expected: "NumericTerm",
|
|
554
686
|
value: input3.term
|
|
@@ -556,12 +688,12 @@ var validPercentileRequest = (input) => {
|
|
|
556
688
|
path: _path2 + ".ranges",
|
|
557
689
|
expected: "Array<NumericBin>",
|
|
558
690
|
value: input3.ranges
|
|
559
|
-
})) && input3.ranges.map((elem,
|
|
560
|
-
path: _path2 + ".ranges[" +
|
|
691
|
+
})) && input3.ranges.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
692
|
+
path: _path2 + ".ranges[" + _index12 + "]",
|
|
561
693
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
562
694
|
value: elem
|
|
563
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
564
|
-
path: _path2 + ".ranges[" +
|
|
695
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
696
|
+
path: _path2 + ".ranges[" + _index12 + "]",
|
|
565
697
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
566
698
|
value: elem
|
|
567
699
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -572,20 +704,20 @@ var validPercentileRequest = (input) => {
|
|
|
572
704
|
path: _path2 + ".values",
|
|
573
705
|
expected: "Array<__type>.o1",
|
|
574
706
|
value: input3.values
|
|
575
|
-
})) && input3.values.map((elem,
|
|
576
|
-
path: _path2 + ".values[" +
|
|
577
|
-
expected: "__type.
|
|
707
|
+
})) && input3.values.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
708
|
+
path: _path2 + ".values[" + _index13 + "]",
|
|
709
|
+
expected: "__type.o5",
|
|
578
710
|
value: elem
|
|
579
|
-
})) && $
|
|
580
|
-
path: _path2 + ".values[" +
|
|
581
|
-
expected: "__type.
|
|
711
|
+
})) && $vo27(elem, _path2 + ".values[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
712
|
+
path: _path2 + ".values[" + _index13 + "]",
|
|
713
|
+
expected: "__type.o5",
|
|
582
714
|
value: elem
|
|
583
715
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
584
716
|
path: _path2 + ".values",
|
|
585
717
|
expected: "Array<__type>.o1",
|
|
586
718
|
value: input3.values
|
|
587
719
|
})].every((flag) => flag);
|
|
588
|
-
const $
|
|
720
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
589
721
|
path: _path2 + ".id",
|
|
590
722
|
expected: "string",
|
|
591
723
|
value: input3.id
|
|
@@ -601,8 +733,8 @@ var validPercentileRequest = (input) => {
|
|
|
601
733
|
path: _path2 + ".child_types",
|
|
602
734
|
expected: "(Array<string> | undefined)",
|
|
603
735
|
value: input3.child_types
|
|
604
|
-
})) && input3.child_types.map((elem,
|
|
605
|
-
path: _path2 + ".child_types[" +
|
|
736
|
+
})) && input3.child_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
737
|
+
path: _path2 + ".child_types[" + _index14 + "]",
|
|
606
738
|
expected: "string",
|
|
607
739
|
value: elem
|
|
608
740
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -617,8 +749,8 @@ var validPercentileRequest = (input) => {
|
|
|
617
749
|
path: _path2 + ".included_types",
|
|
618
750
|
expected: "(Array<string> | undefined)",
|
|
619
751
|
value: input3.included_types
|
|
620
|
-
})) && input3.included_types.map((elem,
|
|
621
|
-
path: _path2 + ".included_types[" +
|
|
752
|
+
})) && input3.included_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
|
|
753
|
+
path: _path2 + ".included_types[" + _index15 + "]",
|
|
622
754
|
expected: "string",
|
|
623
755
|
value: elem
|
|
624
756
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -633,15 +765,23 @@ var validPercentileRequest = (input) => {
|
|
|
633
765
|
path: _path2 + ".values",
|
|
634
766
|
expected: "(TermValues | undefined)",
|
|
635
767
|
value: input3.values
|
|
636
|
-
})) && $
|
|
768
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
637
769
|
path: _path2 + ".values",
|
|
638
770
|
expected: "(TermValues | undefined)",
|
|
639
771
|
value: input3.values
|
|
640
|
-
}),
|
|
772
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
773
|
+
path: _path2 + ".filter",
|
|
774
|
+
expected: "(TermFilter | undefined)",
|
|
775
|
+
value: input3.filter
|
|
776
|
+
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
777
|
+
path: _path2 + ".filter",
|
|
778
|
+
expected: "(TermFilter | undefined)",
|
|
779
|
+
value: input3.filter
|
|
780
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
641
781
|
path: _path2 + ".bins",
|
|
642
782
|
expected: "PresetNumericBins",
|
|
643
783
|
value: input3.bins
|
|
644
|
-
})) && $
|
|
784
|
+
})) && $vo19(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
645
785
|
path: _path2 + ".bins",
|
|
646
786
|
expected: "PresetNumericBins",
|
|
647
787
|
value: input3.bins
|
|
@@ -651,14 +791,14 @@ var validPercentileRequest = (input) => {
|
|
|
651
791
|
value: input3.unit
|
|
652
792
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
653
793
|
path: _path2 + ".continuousColorScale",
|
|
654
|
-
expected: "(__type.
|
|
794
|
+
expected: "(__type.o4 | undefined)",
|
|
655
795
|
value: input3.continuousColorScale
|
|
656
|
-
})) && $
|
|
796
|
+
})) && $vo26(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
657
797
|
path: _path2 + ".continuousColorScale",
|
|
658
|
-
expected: "(__type.
|
|
798
|
+
expected: "(__type.o4 | undefined)",
|
|
659
799
|
value: input3.continuousColorScale
|
|
660
800
|
})].every((flag) => flag);
|
|
661
|
-
const $
|
|
801
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
662
802
|
path: _path2 + '["default"]',
|
|
663
803
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
664
804
|
value: input3["default"]
|
|
@@ -695,11 +835,11 @@ var validPercentileRequest = (input) => {
|
|
|
695
835
|
expected: "(number | undefined)",
|
|
696
836
|
value: input3.max
|
|
697
837
|
})].every((flag) => flag);
|
|
698
|
-
const $
|
|
838
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
699
839
|
path: _path2 + ".hiddenValues",
|
|
700
840
|
expected: "(HiddenValues | undefined)",
|
|
701
841
|
value: input3.hiddenValues
|
|
702
|
-
})) && $
|
|
842
|
+
})) && $vo21(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
703
843
|
path: _path2 + ".hiddenValues",
|
|
704
844
|
expected: "(HiddenValues | undefined)",
|
|
705
845
|
value: input3.hiddenValues
|
|
@@ -748,7 +888,7 @@ var validPercentileRequest = (input) => {
|
|
|
748
888
|
expected: "(number | undefined)",
|
|
749
889
|
value: input3.label_offset
|
|
750
890
|
})].every((flag) => flag);
|
|
751
|
-
const $
|
|
891
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
752
892
|
const value = input3[key];
|
|
753
893
|
if (void 0 === value)
|
|
754
894
|
return true;
|
|
@@ -760,7 +900,7 @@ var validPercentileRequest = (input) => {
|
|
|
760
900
|
});
|
|
761
901
|
return true;
|
|
762
902
|
}).every((flag) => flag)].every((flag) => flag);
|
|
763
|
-
const $
|
|
903
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
764
904
|
path: _path2 + ".startunbounded",
|
|
765
905
|
expected: "true",
|
|
766
906
|
value: input3.startunbounded
|
|
@@ -785,7 +925,7 @@ var validPercentileRequest = (input) => {
|
|
|
785
925
|
expected: "(string | undefined)",
|
|
786
926
|
value: input3.label
|
|
787
927
|
})].every((flag) => flag);
|
|
788
|
-
const $
|
|
928
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
789
929
|
path: _path2 + ".startunbounded",
|
|
790
930
|
expected: "(false | undefined)",
|
|
791
931
|
value: input3.startunbounded
|
|
@@ -814,7 +954,7 @@ var validPercentileRequest = (input) => {
|
|
|
814
954
|
expected: "(string | undefined)",
|
|
815
955
|
value: input3.label
|
|
816
956
|
})].every((flag) => flag);
|
|
817
|
-
const $
|
|
957
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
818
958
|
path: _path2 + ".start",
|
|
819
959
|
expected: "number",
|
|
820
960
|
value: input3.start
|
|
@@ -839,11 +979,11 @@ var validPercentileRequest = (input) => {
|
|
|
839
979
|
expected: "(string | undefined)",
|
|
840
980
|
value: input3.label
|
|
841
981
|
})].every((flag) => flag);
|
|
842
|
-
const $
|
|
982
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
843
983
|
path: _path2 + ".hiddenValues",
|
|
844
984
|
expected: "(HiddenValues | undefined)",
|
|
845
985
|
value: input3.hiddenValues
|
|
846
|
-
})) && $
|
|
986
|
+
})) && $vo21(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
847
987
|
path: _path2 + ".hiddenValues",
|
|
848
988
|
expected: "(HiddenValues | undefined)",
|
|
849
989
|
value: input3.hiddenValues
|
|
@@ -885,12 +1025,12 @@ var validPercentileRequest = (input) => {
|
|
|
885
1025
|
path: _path2 + ".lst",
|
|
886
1026
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
887
1027
|
value: input3.lst.slice(1)
|
|
888
|
-
})) && input3.lst.slice(1).map((elem,
|
|
889
|
-
path: _path2 + ".lst[" + (1 +
|
|
1028
|
+
})) && input3.lst.slice(1).map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1029
|
+
path: _path2 + ".lst[" + (1 + _index16) + "]",
|
|
890
1030
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
891
1031
|
value: elem
|
|
892
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
893
|
-
path: _path2 + ".lst[" + (1 +
|
|
1032
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index16) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1033
|
+
path: _path2 + ".lst[" + (1 + _index16) + "]",
|
|
894
1034
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
895
1035
|
value: elem
|
|
896
1036
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -906,7 +1046,7 @@ var validPercentileRequest = (input) => {
|
|
|
906
1046
|
expected: '("median" | undefined)',
|
|
907
1047
|
value: input3.preferredBins
|
|
908
1048
|
})].every((flag) => flag);
|
|
909
|
-
const $
|
|
1049
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
910
1050
|
path: _path2 + ".minColor",
|
|
911
1051
|
expected: "string",
|
|
912
1052
|
value: input3.minColor
|
|
@@ -915,7 +1055,7 @@ var validPercentileRequest = (input) => {
|
|
|
915
1055
|
expected: "string",
|
|
916
1056
|
value: input3.maxColor
|
|
917
1057
|
})].every((flag) => flag);
|
|
918
|
-
const $
|
|
1058
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
919
1059
|
path: _path2 + ".key",
|
|
920
1060
|
expected: "string",
|
|
921
1061
|
value: input3.key
|
|
@@ -932,7 +1072,7 @@ var validPercentileRequest = (input) => {
|
|
|
932
1072
|
expected: "(string | undefined)",
|
|
933
1073
|
value: input3.label
|
|
934
1074
|
})].every((flag) => flag);
|
|
935
|
-
const $
|
|
1075
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
936
1076
|
path: _path2 + ".join",
|
|
937
1077
|
expected: "(string | undefined)",
|
|
938
1078
|
value: input3.join
|
|
@@ -944,7 +1084,7 @@ var validPercentileRequest = (input) => {
|
|
|
944
1084
|
path: _path2 + ".term",
|
|
945
1085
|
expected: "ConditionTerm",
|
|
946
1086
|
value: input3.term
|
|
947
|
-
})) && $
|
|
1087
|
+
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
948
1088
|
path: _path2 + ".term",
|
|
949
1089
|
expected: "ConditionTerm",
|
|
950
1090
|
value: input3.term
|
|
@@ -964,12 +1104,12 @@ var validPercentileRequest = (input) => {
|
|
|
964
1104
|
path: _path2 + ".grade_and_child",
|
|
965
1105
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
966
1106
|
value: input3.grade_and_child
|
|
967
|
-
})) && input3.grade_and_child.map((elem,
|
|
968
|
-
path: _path2 + ".grade_and_child[" +
|
|
1107
|
+
})) && input3.grade_and_child.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1108
|
+
path: _path2 + ".grade_and_child[" + _index17 + "]",
|
|
969
1109
|
expected: "GradeAndChildEntry",
|
|
970
1110
|
value: elem
|
|
971
|
-
})) && $
|
|
972
|
-
path: _path2 + ".grade_and_child[" +
|
|
1111
|
+
})) && $vo30(elem, _path2 + ".grade_and_child[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1112
|
+
path: _path2 + ".grade_and_child[" + _index17 + "]",
|
|
973
1113
|
expected: "GradeAndChildEntry",
|
|
974
1114
|
value: elem
|
|
975
1115
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -977,7 +1117,7 @@ var validPercentileRequest = (input) => {
|
|
|
977
1117
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
978
1118
|
value: input3.grade_and_child
|
|
979
1119
|
})].every((flag) => flag);
|
|
980
|
-
const $
|
|
1120
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
981
1121
|
path: _path2 + ".id",
|
|
982
1122
|
expected: "string",
|
|
983
1123
|
value: input3.id
|
|
@@ -993,8 +1133,8 @@ var validPercentileRequest = (input) => {
|
|
|
993
1133
|
path: _path2 + ".child_types",
|
|
994
1134
|
expected: "(Array<string> | undefined)",
|
|
995
1135
|
value: input3.child_types
|
|
996
|
-
})) && input3.child_types.map((elem,
|
|
997
|
-
path: _path2 + ".child_types[" +
|
|
1136
|
+
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1137
|
+
path: _path2 + ".child_types[" + _index18 + "]",
|
|
998
1138
|
expected: "string",
|
|
999
1139
|
value: elem
|
|
1000
1140
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1009,8 +1149,8 @@ var validPercentileRequest = (input) => {
|
|
|
1009
1149
|
path: _path2 + ".included_types",
|
|
1010
1150
|
expected: "(Array<string> | undefined)",
|
|
1011
1151
|
value: input3.included_types
|
|
1012
|
-
})) && input3.included_types.map((elem,
|
|
1013
|
-
path: _path2 + ".included_types[" +
|
|
1152
|
+
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1153
|
+
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1014
1154
|
expected: "string",
|
|
1015
1155
|
value: elem
|
|
1016
1156
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1025,12 +1165,20 @@ var validPercentileRequest = (input) => {
|
|
|
1025
1165
|
path: _path2 + ".values",
|
|
1026
1166
|
expected: "(TermValues | undefined)",
|
|
1027
1167
|
value: input3.values
|
|
1028
|
-
})) && $
|
|
1168
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1029
1169
|
path: _path2 + ".values",
|
|
1030
1170
|
expected: "(TermValues | undefined)",
|
|
1031
1171
|
value: input3.values
|
|
1032
|
-
}),
|
|
1033
|
-
|
|
1172
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1173
|
+
path: _path2 + ".filter",
|
|
1174
|
+
expected: "(TermFilter | undefined)",
|
|
1175
|
+
value: input3.filter
|
|
1176
|
+
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1177
|
+
path: _path2 + ".filter",
|
|
1178
|
+
expected: "(TermFilter | undefined)",
|
|
1179
|
+
value: input3.filter
|
|
1180
|
+
})].every((flag) => flag);
|
|
1181
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1034
1182
|
path: _path2 + ".grade",
|
|
1035
1183
|
expected: "number",
|
|
1036
1184
|
value: input3.grade
|
|
@@ -1047,7 +1195,7 @@ var validPercentileRequest = (input) => {
|
|
|
1047
1195
|
expected: "string",
|
|
1048
1196
|
value: input3.child_label
|
|
1049
1197
|
})].every((flag) => flag);
|
|
1050
|
-
const $
|
|
1198
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1051
1199
|
path: _path2 + ".join",
|
|
1052
1200
|
expected: "(string | undefined)",
|
|
1053
1201
|
value: input3.join
|
|
@@ -1057,331 +1205,58 @@ var validPercentileRequest = (input) => {
|
|
|
1057
1205
|
value: input3.isnot
|
|
1058
1206
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1059
1207
|
path: _path2 + ".term",
|
|
1060
|
-
expected: "
|
|
1208
|
+
expected: "DtTerm",
|
|
1061
1209
|
value: input3.term
|
|
1062
|
-
})) && $
|
|
1210
|
+
})) && $vo9(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1063
1211
|
path: _path2 + ".term",
|
|
1064
|
-
expected: "
|
|
1212
|
+
expected: "DtTerm",
|
|
1065
1213
|
value: input3.term
|
|
1066
1214
|
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1067
1215
|
path: _path2 + ".values",
|
|
1068
|
-
expected: "Array<
|
|
1069
|
-
value: input3.values
|
|
1070
|
-
})) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1071
|
-
path: _path2 + ".values[" + _index17 + "]",
|
|
1072
|
-
expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
|
|
1073
|
-
value: elem
|
|
1074
|
-
})) && $vu3(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1075
|
-
path: _path2 + ".values[" + _index17 + "]",
|
|
1076
|
-
expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
|
|
1077
|
-
value: elem
|
|
1078
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1079
|
-
path: _path2 + ".values",
|
|
1080
|
-
expected: "Array<GeneVariantTvsValue>",
|
|
1216
|
+
expected: "Array<__type>.o2",
|
|
1081
1217
|
value: input3.values
|
|
1082
|
-
})
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
expected: "string",
|
|
1086
|
-
value: input3.id
|
|
1087
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1088
|
-
path: _path2 + ".name",
|
|
1089
|
-
expected: "string",
|
|
1090
|
-
value: input3.name
|
|
1091
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1092
|
-
path: _path2 + ".type",
|
|
1093
|
-
expected: '"geneVariant"',
|
|
1094
|
-
value: input3.type
|
|
1095
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1096
|
-
path: _path2 + ".child_types",
|
|
1097
|
-
expected: "(Array<string> | undefined)",
|
|
1098
|
-
value: input3.child_types
|
|
1099
|
-
})) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1100
|
-
path: _path2 + ".child_types[" + _index18 + "]",
|
|
1101
|
-
expected: "string",
|
|
1218
|
+
})) && input3.values.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1219
|
+
path: _path2 + ".values[" + _index20 + "]",
|
|
1220
|
+
expected: "__type.o6",
|
|
1102
1221
|
value: elem
|
|
1103
|
-
}))
|
|
1104
|
-
path: _path2 + ".
|
|
1105
|
-
expected: "
|
|
1106
|
-
value: input3.child_types
|
|
1107
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1108
|
-
path: _path2 + ".hashtmldetail",
|
|
1109
|
-
expected: "(boolean | undefined)",
|
|
1110
|
-
value: input3.hashtmldetail
|
|
1111
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1112
|
-
path: _path2 + ".included_types",
|
|
1113
|
-
expected: "(Array<string> | undefined)",
|
|
1114
|
-
value: input3.included_types
|
|
1115
|
-
})) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1116
|
-
path: _path2 + ".included_types[" + _index19 + "]",
|
|
1117
|
-
expected: "string",
|
|
1222
|
+
})) && $vo32(elem, _path2 + ".values[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1223
|
+
path: _path2 + ".values[" + _index20 + "]",
|
|
1224
|
+
expected: "__type.o6",
|
|
1118
1225
|
value: elem
|
|
1119
1226
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1120
|
-
path: _path2 + ".included_types",
|
|
1121
|
-
expected: "(Array<string> | undefined)",
|
|
1122
|
-
value: input3.included_types
|
|
1123
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1124
|
-
path: _path2 + ".isleaf",
|
|
1125
|
-
expected: "(boolean | undefined)",
|
|
1126
|
-
value: input3.isleaf
|
|
1127
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1128
1227
|
path: _path2 + ".values",
|
|
1129
|
-
expected: "
|
|
1130
|
-
value: input3.values
|
|
1131
|
-
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1132
|
-
path: _path2 + ".values",
|
|
1133
|
-
expected: "(TermValues | undefined)",
|
|
1228
|
+
expected: "Array<__type>.o2",
|
|
1134
1229
|
value: input3.values
|
|
1135
|
-
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1136
|
-
path: _path2 + ".groupsetting",
|
|
1137
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1138
|
-
value: input3.groupsetting
|
|
1139
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1140
|
-
path: _path2 + ".groupsetting",
|
|
1141
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1142
|
-
value: input3.groupsetting
|
|
1143
|
-
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1144
|
-
path: _path2 + ".kind",
|
|
1145
|
-
expected: '"gene"',
|
|
1146
|
-
value: input3.kind
|
|
1147
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1148
|
-
path: _path2 + ".gene",
|
|
1149
|
-
expected: "string",
|
|
1150
|
-
value: input3.gene
|
|
1151
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1152
|
-
path: _path2 + ".chr",
|
|
1153
|
-
expected: "(string | undefined)",
|
|
1154
|
-
value: input3.chr
|
|
1155
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1156
|
-
path: _path2 + ".start",
|
|
1157
|
-
expected: "(number | undefined)",
|
|
1158
|
-
value: input3.start
|
|
1159
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1160
|
-
path: _path2 + ".stop",
|
|
1161
|
-
expected: "(number | undefined)",
|
|
1162
|
-
value: input3.stop
|
|
1163
1230
|
})].every((flag) => flag);
|
|
1164
|
-
const $
|
|
1165
|
-
path: _path2 + ".
|
|
1166
|
-
expected: "string",
|
|
1167
|
-
value: input3.id
|
|
1168
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1169
|
-
path: _path2 + ".name",
|
|
1170
|
-
expected: "string",
|
|
1171
|
-
value: input3.name
|
|
1172
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1173
|
-
path: _path2 + ".type",
|
|
1174
|
-
expected: '"geneVariant"',
|
|
1175
|
-
value: input3.type
|
|
1176
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1177
|
-
path: _path2 + ".child_types",
|
|
1178
|
-
expected: "(Array<string> | undefined)",
|
|
1179
|
-
value: input3.child_types
|
|
1180
|
-
})) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1181
|
-
path: _path2 + ".child_types[" + _index20 + "]",
|
|
1231
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1232
|
+
path: _path2 + ".key",
|
|
1182
1233
|
expected: "string",
|
|
1183
|
-
value:
|
|
1184
|
-
})
|
|
1185
|
-
path: _path2 + ".
|
|
1186
|
-
expected: "(Array<string> | undefined)",
|
|
1187
|
-
value: input3.child_types
|
|
1188
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1189
|
-
path: _path2 + ".hashtmldetail",
|
|
1190
|
-
expected: "(boolean | undefined)",
|
|
1191
|
-
value: input3.hashtmldetail
|
|
1192
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1193
|
-
path: _path2 + ".included_types",
|
|
1194
|
-
expected: "(Array<string> | undefined)",
|
|
1195
|
-
value: input3.included_types
|
|
1196
|
-
})) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1197
|
-
path: _path2 + ".included_types[" + _index21 + "]",
|
|
1234
|
+
value: input3.key
|
|
1235
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1236
|
+
path: _path2 + ".label",
|
|
1198
1237
|
expected: "string",
|
|
1199
|
-
value:
|
|
1200
|
-
})
|
|
1201
|
-
path: _path2 + ".
|
|
1202
|
-
expected: "(Array<string> | undefined)",
|
|
1203
|
-
value: input3.included_types
|
|
1204
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1205
|
-
path: _path2 + ".isleaf",
|
|
1206
|
-
expected: "(boolean | undefined)",
|
|
1207
|
-
value: input3.isleaf
|
|
1208
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1209
|
-
path: _path2 + ".values",
|
|
1210
|
-
expected: "(TermValues | undefined)",
|
|
1211
|
-
value: input3.values
|
|
1212
|
-
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1213
|
-
path: _path2 + ".values",
|
|
1214
|
-
expected: "(TermValues | undefined)",
|
|
1215
|
-
value: input3.values
|
|
1216
|
-
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1217
|
-
path: _path2 + ".groupsetting",
|
|
1218
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1219
|
-
value: input3.groupsetting
|
|
1220
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1221
|
-
path: _path2 + ".groupsetting",
|
|
1222
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1223
|
-
value: input3.groupsetting
|
|
1224
|
-
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1225
|
-
path: _path2 + ".kind",
|
|
1226
|
-
expected: '"coord"',
|
|
1227
|
-
value: input3.kind
|
|
1228
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1229
|
-
path: _path2 + ".chr",
|
|
1238
|
+
value: input3.label
|
|
1239
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
1240
|
+
path: _path2 + ".value",
|
|
1230
1241
|
expected: "string",
|
|
1231
|
-
value: input3.
|
|
1232
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1233
|
-
path: _path2 + ".start",
|
|
1234
|
-
expected: "number",
|
|
1235
|
-
value: input3.start
|
|
1236
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1237
|
-
path: _path2 + ".stop",
|
|
1238
|
-
expected: "number",
|
|
1239
|
-
value: input3.stop
|
|
1240
|
-
})].every((flag) => flag);
|
|
1241
|
-
const $vo29 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
|
|
1242
|
-
path: _path2 + ".dt",
|
|
1243
|
-
expected: "1",
|
|
1244
|
-
value: input3.dt
|
|
1245
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1246
|
-
path: _path2 + ".mclassLst",
|
|
1247
|
-
expected: "Array<SNVIndelClasses>",
|
|
1248
|
-
value: input3.mclassLst
|
|
1249
|
-
})) && 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, {
|
|
1250
|
-
path: _path2 + ".mclassLst[" + _index22 + "]",
|
|
1251
|
-
expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
|
|
1252
|
-
value: elem
|
|
1253
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1254
|
-
path: _path2 + ".mclassLst",
|
|
1255
|
-
expected: "Array<SNVIndelClasses>",
|
|
1256
|
-
value: input3.mclassLst
|
|
1257
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1258
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1259
|
-
expected: "Array<SNVIndelClasses>",
|
|
1260
|
-
value: input3.mclassExcludeLst
|
|
1261
|
-
})) && 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, {
|
|
1262
|
-
path: _path2 + ".mclassExcludeLst[" + _index23 + "]",
|
|
1263
|
-
expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
|
|
1264
|
-
value: elem
|
|
1265
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1266
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1267
|
-
expected: "Array<SNVIndelClasses>",
|
|
1268
|
-
value: input3.mclassExcludeLst
|
|
1269
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1270
|
-
path: _path2 + ".origin",
|
|
1271
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1272
|
-
value: input3.origin
|
|
1273
|
-
})].every((flag) => flag);
|
|
1274
|
-
const $vo30 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
|
|
1275
|
-
path: _path2 + ".dt",
|
|
1276
|
-
expected: "4",
|
|
1277
|
-
value: input3.dt
|
|
1278
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1279
|
-
path: _path2 + ".mclassLst",
|
|
1280
|
-
expected: "Array<CNVClasses>",
|
|
1281
|
-
value: input3.mclassLst
|
|
1282
|
-
})) && 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, {
|
|
1283
|
-
path: _path2 + ".mclassLst[" + _index24 + "]",
|
|
1284
|
-
expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
|
|
1285
|
-
value: elem
|
|
1286
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1287
|
-
path: _path2 + ".mclassLst",
|
|
1288
|
-
expected: "Array<CNVClasses>",
|
|
1289
|
-
value: input3.mclassLst
|
|
1290
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1291
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1292
|
-
expected: "Array<CNVClasses>",
|
|
1293
|
-
value: input3.mclassExcludeLst
|
|
1294
|
-
})) && 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, {
|
|
1295
|
-
path: _path2 + ".mclassExcludeLst[" + _index25 + "]",
|
|
1296
|
-
expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
|
|
1297
|
-
value: elem
|
|
1298
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1299
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1300
|
-
expected: "Array<CNVClasses>",
|
|
1301
|
-
value: input3.mclassExcludeLst
|
|
1302
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1303
|
-
path: _path2 + ".origin",
|
|
1304
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1305
|
-
value: input3.origin
|
|
1306
|
-
})].every((flag) => flag);
|
|
1307
|
-
const $vo31 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
|
|
1308
|
-
path: _path2 + ".dt",
|
|
1309
|
-
expected: "5",
|
|
1310
|
-
value: input3.dt
|
|
1311
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1312
|
-
path: _path2 + ".mclassLst",
|
|
1313
|
-
expected: "Array<SVClasses>",
|
|
1314
|
-
value: input3.mclassLst
|
|
1315
|
-
})) && input3.mclassLst.map((elem, _index26) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
|
|
1316
|
-
path: _path2 + ".mclassLst[" + _index26 + "]",
|
|
1317
|
-
expected: '("Blank" | "SV" | "WT")',
|
|
1318
|
-
value: elem
|
|
1319
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1320
|
-
path: _path2 + ".mclassLst",
|
|
1321
|
-
expected: "Array<SVClasses>",
|
|
1322
|
-
value: input3.mclassLst
|
|
1323
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1324
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1325
|
-
expected: "Array<SVClasses>",
|
|
1326
|
-
value: input3.mclassExcludeLst
|
|
1327
|
-
})) && input3.mclassExcludeLst.map((elem, _index27) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
|
|
1328
|
-
path: _path2 + ".mclassExcludeLst[" + _index27 + "]",
|
|
1329
|
-
expected: '("Blank" | "SV" | "WT")',
|
|
1330
|
-
value: elem
|
|
1331
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1332
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1333
|
-
expected: "Array<SVClasses>",
|
|
1334
|
-
value: input3.mclassExcludeLst
|
|
1335
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1336
|
-
path: _path2 + ".origin",
|
|
1337
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1338
|
-
value: input3.origin
|
|
1339
|
-
})].every((flag) => flag);
|
|
1340
|
-
const $vo32 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
|
|
1341
|
-
path: _path2 + ".dt",
|
|
1342
|
-
expected: "2",
|
|
1343
|
-
value: input3.dt
|
|
1344
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1345
|
-
path: _path2 + ".mclassLst",
|
|
1346
|
-
expected: "Array<FusionRNAClasses>",
|
|
1347
|
-
value: input3.mclassLst
|
|
1348
|
-
})) && input3.mclassLst.map((elem, _index28) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
|
|
1349
|
-
path: _path2 + ".mclassLst[" + _index28 + "]",
|
|
1350
|
-
expected: '("Blank" | "Fuserna" | "WT")',
|
|
1351
|
-
value: elem
|
|
1352
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1353
|
-
path: _path2 + ".mclassLst",
|
|
1354
|
-
expected: "Array<FusionRNAClasses>",
|
|
1355
|
-
value: input3.mclassLst
|
|
1356
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1357
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1358
|
-
expected: "Array<FusionRNAClasses>",
|
|
1359
|
-
value: input3.mclassExcludeLst
|
|
1360
|
-
})) && input3.mclassExcludeLst.map((elem, _index29) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
|
|
1361
|
-
path: _path2 + ".mclassExcludeLst[" + _index29 + "]",
|
|
1362
|
-
expected: '("Blank" | "Fuserna" | "WT")',
|
|
1363
|
-
value: elem
|
|
1364
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1365
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1366
|
-
expected: "Array<FusionRNAClasses>",
|
|
1367
|
-
value: input3.mclassExcludeLst
|
|
1368
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1369
|
-
path: _path2 + ".origin",
|
|
1370
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1371
|
-
value: input3.origin
|
|
1242
|
+
value: input3.value
|
|
1372
1243
|
})].every((flag) => flag);
|
|
1373
1244
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1374
|
-
if (
|
|
1245
|
+
if ("tvslst" === input3.type)
|
|
1375
1246
|
return $vo1(input3, _path2, _exceptionable2);
|
|
1376
|
-
if (
|
|
1377
|
-
return $
|
|
1378
|
-
return $
|
|
1247
|
+
if ("tvs" === input3.type)
|
|
1248
|
+
return $vo2(input3, _path2, _exceptionable2);
|
|
1249
|
+
return $report(_exceptionable2, {
|
|
1250
|
+
path: _path2,
|
|
1251
|
+
expected: "(Filter | __type)",
|
|
1252
|
+
value: input3
|
|
1253
|
+
});
|
|
1379
1254
|
})();
|
|
1380
1255
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1381
1256
|
if ("string" === typeof input3.type)
|
|
1382
|
-
return $
|
|
1257
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
1383
1258
|
if ("filter" === input3.type)
|
|
1384
|
-
return $
|
|
1259
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
1385
1260
|
return $report(_exceptionable2, {
|
|
1386
1261
|
path: _path2,
|
|
1387
1262
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -1390,36 +1265,26 @@ var validPercentileRequest = (input) => {
|
|
|
1390
1265
|
})();
|
|
1391
1266
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1392
1267
|
if (true === input3.startunbounded)
|
|
1393
|
-
return $
|
|
1268
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1394
1269
|
if (true === input3.stopunbounded)
|
|
1395
|
-
return $
|
|
1396
|
-
return $
|
|
1270
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
1271
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1397
1272
|
})();
|
|
1398
1273
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1399
|
-
if (
|
|
1400
|
-
return $
|
|
1401
|
-
|
|
1402
|
-
return $vo31(input3, _path2, _exceptionable2);
|
|
1403
|
-
if (4 === input3.dt)
|
|
1404
|
-
return $vo30(input3, _path2, _exceptionable2);
|
|
1405
|
-
if (1 === input3.dt)
|
|
1406
|
-
return $vo29(input3, _path2, _exceptionable2);
|
|
1407
|
-
return $report(_exceptionable2, {
|
|
1408
|
-
path: _path2,
|
|
1409
|
-
expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
|
|
1410
|
-
value: input3
|
|
1411
|
-
});
|
|
1274
|
+
if (void 0 !== input3.ranges)
|
|
1275
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
1276
|
+
return $vo3(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
|
|
1412
1277
|
})();
|
|
1413
1278
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1414
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
1415
|
-
return $
|
|
1416
|
-
return $
|
|
1279
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index21) => "object" === typeof elem && null !== elem && $vo11(elem, _path2 + ".lst[" + _index21 + "]", false)).every((flag) => flag))
|
|
1280
|
+
return $vo10(input3, _path2, _exceptionable2);
|
|
1281
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
1417
1282
|
})();
|
|
1418
1283
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1419
1284
|
if ("regular-bin" === input3.type)
|
|
1420
|
-
return $vo15(input3, _path2, _exceptionable2);
|
|
1421
|
-
if ("custom-bin" === input3.type)
|
|
1422
1285
|
return $vo20(input3, _path2, _exceptionable2);
|
|
1286
|
+
if ("custom-bin" === input3.type)
|
|
1287
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
1423
1288
|
return $report(_exceptionable2, {
|
|
1424
1289
|
path: _path2,
|
|
1425
1290
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
@@ -1428,9 +1293,9 @@ var validPercentileRequest = (input) => {
|
|
|
1428
1293
|
})();
|
|
1429
1294
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1430
1295
|
if (true === input3.startunbounded)
|
|
1431
|
-
return $
|
|
1296
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1432
1297
|
if (void 0 !== input3.start)
|
|
1433
|
-
return $
|
|
1298
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1434
1299
|
return $report(_exceptionable2, {
|
|
1435
1300
|
path: _path2,
|
|
1436
1301
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
@@ -1439,26 +1304,15 @@ var validPercentileRequest = (input) => {
|
|
|
1439
1304
|
})();
|
|
1440
1305
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1441
1306
|
if (void 0 !== input3.stop)
|
|
1442
|
-
return $
|
|
1307
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1443
1308
|
if (true === input3.stopunbounded)
|
|
1444
|
-
return $
|
|
1309
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
1445
1310
|
return $report(_exceptionable2, {
|
|
1446
1311
|
path: _path2,
|
|
1447
1312
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1448
1313
|
value: input3
|
|
1449
1314
|
});
|
|
1450
1315
|
})();
|
|
1451
|
-
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1452
|
-
if ("gene" === input3.kind)
|
|
1453
|
-
return $vo27(input3, _path2, _exceptionable2);
|
|
1454
|
-
if ("coord" === input3.kind)
|
|
1455
|
-
return $vo28(input3, _path2, _exceptionable2);
|
|
1456
|
-
return $report(_exceptionable2, {
|
|
1457
|
-
path: _path2,
|
|
1458
|
-
expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
|
|
1459
|
-
value: input3
|
|
1460
|
-
});
|
|
1461
|
-
})();
|
|
1462
1316
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
1463
1317
|
path: _path + "",
|
|
1464
1318
|
expected: "PercentileRequest",
|