@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
|
@@ -23,31 +23,36 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
23
23
|
const __is = (input2) => {
|
|
24
24
|
const $join = import_typia.createValidate.join;
|
|
25
25
|
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.type && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true;
|
|
26
|
-
const $io1 = (input3) => "
|
|
27
|
-
const $io2 = (input3) =>
|
|
28
|
-
const $io3 = (input3) =>
|
|
29
|
-
const $io4 = (input3) =>
|
|
26
|
+
const $io1 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
27
|
+
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu3(input3.tvs));
|
|
28
|
+
const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io4(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io6(elem)));
|
|
29
|
+
const $io4 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
30
|
+
const $io5 = (input3) => Object.keys(input3).every((key) => {
|
|
30
31
|
const value = input3[key];
|
|
31
32
|
if (void 0 === value)
|
|
32
33
|
return true;
|
|
33
34
|
if (RegExp(/(.*)/).test(key))
|
|
34
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
35
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
|
|
35
36
|
if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
|
|
36
|
-
return "object" === typeof value && null !== value && false === Array.isArray(value) && $
|
|
37
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
|
|
37
38
|
return true;
|
|
38
39
|
});
|
|
39
|
-
const $
|
|
40
|
-
const $
|
|
41
|
-
const $
|
|
42
|
-
const $
|
|
43
|
-
const $
|
|
44
|
-
const $
|
|
45
|
-
const $
|
|
46
|
-
const $
|
|
47
|
-
const $
|
|
48
|
-
const $
|
|
49
|
-
const $
|
|
50
|
-
const $
|
|
40
|
+
const $io6 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter));
|
|
41
|
+
const $io7 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io8(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io9(elem)));
|
|
42
|
+
const $io8 = (input3) => Array.isArray(input3.joinWith) && input3.joinWith.every((elem) => "string" === typeof elem);
|
|
43
|
+
const $io9 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
|
|
44
|
+
const $io10 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io11(elem)));
|
|
45
|
+
const $io11 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.id || "string" === typeof input3.id) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
46
|
+
const $io12 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io13(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
47
|
+
const $io13 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
48
|
+
const $io14 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io15(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
49
|
+
const $io15 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io8(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io9(elem))) && ("object" === typeof input3.active && null !== input3.active && $io1(input3.active)) && "number" === typeof input3.group;
|
|
50
|
+
const $io16 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
51
|
+
const $io17 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io18(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io27(elem)));
|
|
52
|
+
const $io18 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io19(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io26(input3.continuousColorScale));
|
|
53
|
+
const $io19 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu5(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu5(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
|
|
54
|
+
const $io20 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io21(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu6(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu7(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
55
|
+
const $io21 = (input3) => Object.keys(input3).every((key) => {
|
|
51
56
|
const value = input3[key];
|
|
52
57
|
if (void 0 === value)
|
|
53
58
|
return true;
|
|
@@ -55,93 +60,75 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
55
60
|
return "number" === typeof value;
|
|
56
61
|
return true;
|
|
57
62
|
});
|
|
58
|
-
const $
|
|
59
|
-
const $
|
|
60
|
-
const $
|
|
61
|
-
const $
|
|
62
|
-
const $
|
|
63
|
-
const $
|
|
64
|
-
const $
|
|
65
|
-
const $
|
|
66
|
-
const $
|
|
67
|
-
const $
|
|
68
|
-
const $
|
|
69
|
-
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
70
|
-
const $io29 = (input3) => 1 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
71
|
-
const $io30 = (input3) => 4 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
72
|
-
const $io31 = (input3) => 5 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
73
|
-
const $io32 = (input3) => 2 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
63
|
+
const $io22 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
64
|
+
const $io23 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
65
|
+
const $io24 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
|
|
66
|
+
const $io25 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io21(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
67
|
+
const $io26 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
68
|
+
const $io27 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
69
|
+
const $io28 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io29(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
|
|
70
|
+
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter));
|
|
71
|
+
const $io30 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
|
|
72
|
+
const $io31 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io9(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
|
|
73
|
+
const $io32 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
74
74
|
const $iu0 = (input3) => (() => {
|
|
75
|
-
if (
|
|
75
|
+
if ("tvslst" === input3.type)
|
|
76
76
|
return $io1(input3);
|
|
77
|
-
if (
|
|
78
|
-
return $
|
|
79
|
-
return
|
|
80
|
-
if ($io2(input3))
|
|
81
|
-
return $io2(input3);
|
|
82
|
-
if ($io23(input3))
|
|
83
|
-
return $io23(input3);
|
|
84
|
-
if ($io26(input3))
|
|
85
|
-
return $io26(input3);
|
|
86
|
-
return false;
|
|
87
|
-
})();
|
|
77
|
+
if ("tvs" === input3.type)
|
|
78
|
+
return $io2(input3);
|
|
79
|
+
return false;
|
|
88
80
|
})();
|
|
89
81
|
const $iu1 = (input3) => (() => {
|
|
90
82
|
if ("string" === typeof input3.type)
|
|
91
|
-
return $
|
|
83
|
+
return $io12(input3);
|
|
92
84
|
if ("filter" === input3.type)
|
|
93
|
-
return $
|
|
85
|
+
return $io14(input3);
|
|
94
86
|
return false;
|
|
95
87
|
})();
|
|
96
88
|
const $iu2 = (input3) => (() => {
|
|
97
89
|
if (true === input3.startunbounded)
|
|
98
|
-
return $
|
|
90
|
+
return $io22(input3);
|
|
99
91
|
if (true === input3.stopunbounded)
|
|
100
|
-
return $
|
|
101
|
-
return $
|
|
92
|
+
return $io24(input3);
|
|
93
|
+
return $io23(input3);
|
|
102
94
|
})();
|
|
103
95
|
const $iu3 = (input3) => (() => {
|
|
104
|
-
if (
|
|
105
|
-
return $
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
96
|
+
if (void 0 !== input3.ranges)
|
|
97
|
+
return $io17(input3);
|
|
98
|
+
return (() => {
|
|
99
|
+
if ($io3(input3))
|
|
100
|
+
return $io3(input3);
|
|
101
|
+
if ($io28(input3))
|
|
102
|
+
return $io28(input3);
|
|
103
|
+
if ($io31(input3))
|
|
104
|
+
return $io31(input3);
|
|
105
|
+
return false;
|
|
106
|
+
})();
|
|
113
107
|
})();
|
|
114
108
|
const $iu4 = (input3) => (() => {
|
|
115
|
-
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $
|
|
116
|
-
return $
|
|
117
|
-
return $
|
|
109
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io11(elem)))
|
|
110
|
+
return $io10(input3);
|
|
111
|
+
return $io16(input3);
|
|
118
112
|
})();
|
|
119
113
|
const $iu5 = (input3) => (() => {
|
|
120
114
|
if ("regular-bin" === input3.type)
|
|
121
|
-
return $io15(input3);
|
|
122
|
-
if ("custom-bin" === input3.type)
|
|
123
115
|
return $io20(input3);
|
|
116
|
+
if ("custom-bin" === input3.type)
|
|
117
|
+
return $io25(input3);
|
|
124
118
|
return false;
|
|
125
119
|
})();
|
|
126
120
|
const $iu6 = (input3) => (() => {
|
|
127
121
|
if (true === input3.startunbounded)
|
|
128
|
-
return $
|
|
122
|
+
return $io22(input3);
|
|
129
123
|
if (void 0 !== input3.start)
|
|
130
|
-
return $
|
|
124
|
+
return $io23(input3);
|
|
131
125
|
return false;
|
|
132
126
|
})();
|
|
133
127
|
const $iu7 = (input3) => (() => {
|
|
134
128
|
if (void 0 !== input3.stop)
|
|
135
|
-
return $
|
|
129
|
+
return $io23(input3);
|
|
136
130
|
if (true === input3.stopunbounded)
|
|
137
|
-
return $
|
|
138
|
-
return false;
|
|
139
|
-
})();
|
|
140
|
-
const $iu8 = (input3) => (() => {
|
|
141
|
-
if ("gene" === input3.kind)
|
|
142
|
-
return $io27(input3);
|
|
143
|
-
if ("coord" === input3.kind)
|
|
144
|
-
return $io28(input3);
|
|
131
|
+
return $io24(input3);
|
|
145
132
|
return false;
|
|
146
133
|
})();
|
|
147
134
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -171,17 +158,17 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
171
158
|
expected: "(Filter | undefined)",
|
|
172
159
|
value: input3.filter
|
|
173
160
|
}), true].every((flag) => flag);
|
|
174
|
-
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["
|
|
161
|
+
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
175
162
|
path: _path2 + ".type",
|
|
176
|
-
expected: '"
|
|
163
|
+
expected: '"tvslst"',
|
|
177
164
|
value: input3.type
|
|
178
|
-
}),
|
|
165
|
+
}), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
179
166
|
path: _path2 + '["in"]',
|
|
180
|
-
expected: "
|
|
167
|
+
expected: "boolean",
|
|
181
168
|
value: input3["in"]
|
|
182
|
-
}), "
|
|
169
|
+
}), "string" === typeof input3.join || $report(_exceptionable2, {
|
|
183
170
|
path: _path2 + ".join",
|
|
184
|
-
expected:
|
|
171
|
+
expected: "string",
|
|
185
172
|
value: input3.join
|
|
186
173
|
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
187
174
|
path: _path2 + ".tag",
|
|
@@ -189,22 +176,35 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
189
176
|
value: input3.tag
|
|
190
177
|
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
191
178
|
path: _path2 + ".lst",
|
|
192
|
-
expected:
|
|
179
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
193
180
|
value: input3.lst
|
|
194
181
|
})) && input3.lst.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
195
182
|
path: _path2 + ".lst[" + _index1 + "]",
|
|
196
|
-
expected: "(
|
|
183
|
+
expected: "(Filter | __type)",
|
|
197
184
|
value: elem
|
|
198
185
|
})) && $vu0(elem, _path2 + ".lst[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
199
186
|
path: _path2 + ".lst[" + _index1 + "]",
|
|
200
|
-
expected: "(
|
|
187
|
+
expected: "(Filter | __type)",
|
|
201
188
|
value: elem
|
|
202
189
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
203
190
|
path: _path2 + ".lst",
|
|
204
|
-
expected:
|
|
191
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
205
192
|
value: input3.lst
|
|
206
193
|
})].every((flag) => flag);
|
|
207
|
-
const $vo2 = (input3, _path2, _exceptionable2 = true) => [
|
|
194
|
+
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
195
|
+
path: _path2 + ".type",
|
|
196
|
+
expected: '"tvs"',
|
|
197
|
+
value: input3.type
|
|
198
|
+
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
199
|
+
path: _path2 + ".tvs",
|
|
200
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
201
|
+
value: input3.tvs
|
|
202
|
+
})) && $vu3(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
203
|
+
path: _path2 + ".tvs",
|
|
204
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
205
|
+
value: input3.tvs
|
|
206
|
+
})].every((flag) => flag);
|
|
207
|
+
const $vo3 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
208
208
|
path: _path2 + ".join",
|
|
209
209
|
expected: "(string | undefined)",
|
|
210
210
|
value: input3.join
|
|
@@ -216,7 +216,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
216
216
|
path: _path2 + ".term",
|
|
217
217
|
expected: "CategoricalTerm",
|
|
218
218
|
value: input3.term
|
|
219
|
-
})) && $
|
|
219
|
+
})) && $vo4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
220
220
|
path: _path2 + ".term",
|
|
221
221
|
expected: "CategoricalTerm",
|
|
222
222
|
value: input3.term
|
|
@@ -232,7 +232,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
232
232
|
path: _path2 + ".values[" + _index2 + "]",
|
|
233
233
|
expected: "BaseValue",
|
|
234
234
|
value: elem
|
|
235
|
-
})) && $
|
|
235
|
+
})) && $vo6(elem, _path2 + ".values[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
236
236
|
path: _path2 + ".values[" + _index2 + "]",
|
|
237
237
|
expected: "BaseValue",
|
|
238
238
|
value: elem
|
|
@@ -241,7 +241,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
241
241
|
expected: "Array<BaseValue>",
|
|
242
242
|
value: input3.values
|
|
243
243
|
})].every((flag) => flag);
|
|
244
|
-
const $
|
|
244
|
+
const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
245
245
|
path: _path2 + ".id",
|
|
246
246
|
expected: "string",
|
|
247
247
|
value: input3.id
|
|
@@ -289,20 +289,28 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
289
289
|
path: _path2 + ".values",
|
|
290
290
|
expected: "(TermValues | undefined)",
|
|
291
291
|
value: input3.values
|
|
292
|
-
})) && $
|
|
292
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
293
293
|
path: _path2 + ".values",
|
|
294
294
|
expected: "(TermValues | undefined)",
|
|
295
295
|
value: input3.values
|
|
296
|
-
}),
|
|
296
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
297
|
+
path: _path2 + ".filter",
|
|
298
|
+
expected: "(TermFilter | undefined)",
|
|
299
|
+
value: input3.filter
|
|
300
|
+
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
301
|
+
path: _path2 + ".filter",
|
|
302
|
+
expected: "(TermFilter | undefined)",
|
|
303
|
+
value: input3.filter
|
|
304
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
297
305
|
path: _path2 + ".groupsetting",
|
|
298
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
306
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
299
307
|
value: input3.groupsetting
|
|
300
308
|
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
301
309
|
path: _path2 + ".groupsetting",
|
|
302
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
310
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
303
311
|
value: input3.groupsetting
|
|
304
312
|
})].every((flag) => flag);
|
|
305
|
-
const $
|
|
313
|
+
const $vo5 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
306
314
|
const value = input3[key];
|
|
307
315
|
if (void 0 === value)
|
|
308
316
|
return true;
|
|
@@ -311,7 +319,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
311
319
|
path: _path2 + $join(key),
|
|
312
320
|
expected: "BaseValue",
|
|
313
321
|
value
|
|
314
|
-
})) && $
|
|
322
|
+
})) && $vo6(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
315
323
|
path: _path2 + $join(key),
|
|
316
324
|
expected: "BaseValue",
|
|
317
325
|
value
|
|
@@ -321,14 +329,14 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
321
329
|
path: _path2 + $join(key),
|
|
322
330
|
expected: "BaseValue",
|
|
323
331
|
value
|
|
324
|
-
})) && $
|
|
332
|
+
})) && $vo6(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
325
333
|
path: _path2 + $join(key),
|
|
326
334
|
expected: "BaseValue",
|
|
327
335
|
value
|
|
328
336
|
});
|
|
329
337
|
return true;
|
|
330
338
|
}).every((flag) => flag)].every((flag) => flag);
|
|
331
|
-
const $
|
|
339
|
+
const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
332
340
|
path: _path2 + ".key",
|
|
333
341
|
expected: "(string | undefined)",
|
|
334
342
|
value: input3.key
|
|
@@ -361,7 +369,86 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
361
369
|
expected: "(Filter | undefined)",
|
|
362
370
|
value: input3.filter
|
|
363
371
|
})].every((flag) => flag);
|
|
364
|
-
const $
|
|
372
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
373
|
+
path: _path2 + ".opts",
|
|
374
|
+
expected: "__type.o1",
|
|
375
|
+
value: input3.opts
|
|
376
|
+
})) && $vo8(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
377
|
+
path: _path2 + ".opts",
|
|
378
|
+
expected: "__type.o1",
|
|
379
|
+
value: input3.opts
|
|
380
|
+
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
381
|
+
path: _path2 + ".terms",
|
|
382
|
+
expected: "Array<DtTerm>",
|
|
383
|
+
value: input3.terms
|
|
384
|
+
})) && input3.terms.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
385
|
+
path: _path2 + ".terms[" + _index5 + "]",
|
|
386
|
+
expected: "DtTerm",
|
|
387
|
+
value: elem
|
|
388
|
+
})) && $vo9(elem, _path2 + ".terms[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
389
|
+
path: _path2 + ".terms[" + _index5 + "]",
|
|
390
|
+
expected: "DtTerm",
|
|
391
|
+
value: elem
|
|
392
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
393
|
+
path: _path2 + ".terms",
|
|
394
|
+
expected: "Array<DtTerm>",
|
|
395
|
+
value: input3.terms
|
|
396
|
+
})].every((flag) => flag);
|
|
397
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.joinWith) || $report(_exceptionable2, {
|
|
398
|
+
path: _path2 + ".joinWith",
|
|
399
|
+
expected: "Array<string>",
|
|
400
|
+
value: input3.joinWith
|
|
401
|
+
})) && input3.joinWith.map((elem, _index6) => "string" === typeof elem || $report(_exceptionable2, {
|
|
402
|
+
path: _path2 + ".joinWith[" + _index6 + "]",
|
|
403
|
+
expected: "string",
|
|
404
|
+
value: elem
|
|
405
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
406
|
+
path: _path2 + ".joinWith",
|
|
407
|
+
expected: "Array<string>",
|
|
408
|
+
value: input3.joinWith
|
|
409
|
+
})].every((flag) => flag);
|
|
410
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
411
|
+
path: _path2 + ".id",
|
|
412
|
+
expected: "string",
|
|
413
|
+
value: input3.id
|
|
414
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
415
|
+
path: _path2 + ".query",
|
|
416
|
+
expected: "string",
|
|
417
|
+
value: input3.query
|
|
418
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
419
|
+
path: _path2 + ".name",
|
|
420
|
+
expected: "string",
|
|
421
|
+
value: input3.name
|
|
422
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
423
|
+
path: _path2 + ".name_noOrigin",
|
|
424
|
+
expected: "string",
|
|
425
|
+
value: input3.name_noOrigin
|
|
426
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
427
|
+
path: _path2 + ".isleaf",
|
|
428
|
+
expected: "boolean",
|
|
429
|
+
value: input3.isleaf
|
|
430
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
431
|
+
path: _path2 + ".type",
|
|
432
|
+
expected: "string",
|
|
433
|
+
value: input3.type
|
|
434
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
435
|
+
path: _path2 + ".dt",
|
|
436
|
+
expected: "number",
|
|
437
|
+
value: input3.dt
|
|
438
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
439
|
+
path: _path2 + ".origin",
|
|
440
|
+
expected: "(string | undefined)",
|
|
441
|
+
value: input3.origin
|
|
442
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
443
|
+
path: _path2 + ".values",
|
|
444
|
+
expected: "TermValues",
|
|
445
|
+
value: input3.values
|
|
446
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
447
|
+
path: _path2 + ".values",
|
|
448
|
+
expected: "TermValues",
|
|
449
|
+
value: input3.values
|
|
450
|
+
})].every((flag) => flag);
|
|
451
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
365
452
|
path: _path2 + ".disabled",
|
|
366
453
|
expected: "(boolean | undefined)",
|
|
367
454
|
value: input3.disabled
|
|
@@ -369,12 +456,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
369
456
|
path: _path2 + ".lst",
|
|
370
457
|
expected: "Array<Groupset>",
|
|
371
458
|
value: input3.lst
|
|
372
|
-
})) && input3.lst.map((elem,
|
|
373
|
-
path: _path2 + ".lst[" +
|
|
459
|
+
})) && input3.lst.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
460
|
+
path: _path2 + ".lst[" + _index7 + "]",
|
|
374
461
|
expected: "Groupset",
|
|
375
462
|
value: elem
|
|
376
|
-
})) && $
|
|
377
|
-
path: _path2 + ".lst[" +
|
|
463
|
+
})) && $vo11(elem, _path2 + ".lst[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
464
|
+
path: _path2 + ".lst[" + _index7 + "]",
|
|
378
465
|
expected: "Groupset",
|
|
379
466
|
value: elem
|
|
380
467
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -382,7 +469,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
382
469
|
expected: "Array<Groupset>",
|
|
383
470
|
value: input3.lst
|
|
384
471
|
})].every((flag) => flag);
|
|
385
|
-
const $
|
|
472
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
386
473
|
path: _path2 + ".name",
|
|
387
474
|
expected: "string",
|
|
388
475
|
value: input3.name
|
|
@@ -402,12 +489,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
402
489
|
path: _path2 + ".groups",
|
|
403
490
|
expected: "Array<GroupEntry>",
|
|
404
491
|
value: input3.groups
|
|
405
|
-
})) && input3.groups.map((elem,
|
|
406
|
-
path: _path2 + ".groups[" +
|
|
492
|
+
})) && input3.groups.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
493
|
+
path: _path2 + ".groups[" + _index8 + "]",
|
|
407
494
|
expected: "(FilterGroup | ValuesGroup)",
|
|
408
495
|
value: elem
|
|
409
|
-
})) && $vu1(elem, _path2 + ".groups[" +
|
|
410
|
-
path: _path2 + ".groups[" +
|
|
496
|
+
})) && $vu1(elem, _path2 + ".groups[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
497
|
+
path: _path2 + ".groups[" + _index8 + "]",
|
|
411
498
|
expected: "(FilterGroup | ValuesGroup)",
|
|
412
499
|
value: elem
|
|
413
500
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -415,7 +502,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
415
502
|
expected: "Array<GroupEntry>",
|
|
416
503
|
value: input3.groups
|
|
417
504
|
})].every((flag) => flag);
|
|
418
|
-
const $
|
|
505
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
419
506
|
path: _path2 + ".name",
|
|
420
507
|
expected: "string",
|
|
421
508
|
value: input3.name
|
|
@@ -427,13 +514,13 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
427
514
|
path: _path2 + ".values",
|
|
428
515
|
expected: "Array<__type>",
|
|
429
516
|
value: input3.values
|
|
430
|
-
})) && input3.values.map((elem,
|
|
431
|
-
path: _path2 + ".values[" +
|
|
432
|
-
expected: "__type",
|
|
517
|
+
})) && input3.values.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
518
|
+
path: _path2 + ".values[" + _index9 + "]",
|
|
519
|
+
expected: "__type.o2",
|
|
433
520
|
value: elem
|
|
434
|
-
})) && $
|
|
435
|
-
path: _path2 + ".values[" +
|
|
436
|
-
expected: "__type",
|
|
521
|
+
})) && $vo13(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
522
|
+
path: _path2 + ".values[" + _index9 + "]",
|
|
523
|
+
expected: "__type.o2",
|
|
437
524
|
value: elem
|
|
438
525
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
439
526
|
path: _path2 + ".values",
|
|
@@ -444,7 +531,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
444
531
|
expected: "(boolean | undefined)",
|
|
445
532
|
value: input3.uncomputable
|
|
446
533
|
})].every((flag) => flag);
|
|
447
|
-
const $
|
|
534
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
448
535
|
path: _path2 + ".key",
|
|
449
536
|
expected: "(number | string)",
|
|
450
537
|
value: input3.key
|
|
@@ -453,7 +540,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
453
540
|
expected: "string",
|
|
454
541
|
value: input3.label
|
|
455
542
|
})].every((flag) => flag);
|
|
456
|
-
const $
|
|
543
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
457
544
|
path: _path2 + ".name",
|
|
458
545
|
expected: "string",
|
|
459
546
|
value: input3.name
|
|
@@ -461,12 +548,57 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
461
548
|
path: _path2 + ".type",
|
|
462
549
|
expected: '"filter"',
|
|
463
550
|
value: input3.type
|
|
464
|
-
}),
|
|
551
|
+
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
552
|
+
path: _path2 + ".filter",
|
|
553
|
+
expected: "TermFilter & { active: Filter; group: number; }",
|
|
554
|
+
value: input3.filter
|
|
555
|
+
})) && $vo15(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
556
|
+
path: _path2 + ".filter",
|
|
557
|
+
expected: "TermFilter & { active: Filter; group: number; }",
|
|
558
|
+
value: input3.filter
|
|
559
|
+
}), "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
465
560
|
path: _path2 + ".uncomputable",
|
|
466
|
-
expected: "
|
|
561
|
+
expected: "boolean",
|
|
467
562
|
value: input3.uncomputable
|
|
468
563
|
})].every((flag) => flag);
|
|
469
|
-
const $
|
|
564
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
565
|
+
path: _path2 + ".opts",
|
|
566
|
+
expected: "__type.o1",
|
|
567
|
+
value: input3.opts
|
|
568
|
+
})) && $vo8(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
569
|
+
path: _path2 + ".opts",
|
|
570
|
+
expected: "__type.o1",
|
|
571
|
+
value: input3.opts
|
|
572
|
+
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
573
|
+
path: _path2 + ".terms",
|
|
574
|
+
expected: "Array<DtTerm>",
|
|
575
|
+
value: input3.terms
|
|
576
|
+
})) && input3.terms.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
577
|
+
path: _path2 + ".terms[" + _index10 + "]",
|
|
578
|
+
expected: "DtTerm",
|
|
579
|
+
value: elem
|
|
580
|
+
})) && $vo9(elem, _path2 + ".terms[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
581
|
+
path: _path2 + ".terms[" + _index10 + "]",
|
|
582
|
+
expected: "DtTerm",
|
|
583
|
+
value: elem
|
|
584
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
585
|
+
path: _path2 + ".terms",
|
|
586
|
+
expected: "Array<DtTerm>",
|
|
587
|
+
value: input3.terms
|
|
588
|
+
}), ("object" === typeof input3.active && null !== input3.active || $report(_exceptionable2, {
|
|
589
|
+
path: _path2 + ".active",
|
|
590
|
+
expected: "Filter",
|
|
591
|
+
value: input3.active
|
|
592
|
+
})) && $vo1(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
|
|
593
|
+
path: _path2 + ".active",
|
|
594
|
+
expected: "Filter",
|
|
595
|
+
value: input3.active
|
|
596
|
+
}), "number" === typeof input3.group || $report(_exceptionable2, {
|
|
597
|
+
path: _path2 + ".group",
|
|
598
|
+
expected: "number",
|
|
599
|
+
value: input3.group
|
|
600
|
+
})].every((flag) => flag);
|
|
601
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
470
602
|
path: _path2 + ".disabled",
|
|
471
603
|
expected: "boolean",
|
|
472
604
|
value: input3.disabled
|
|
@@ -483,7 +615,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
483
615
|
expected: "([] | undefined)",
|
|
484
616
|
value: input3.lst
|
|
485
617
|
})].every((flag) => flag);
|
|
486
|
-
const $
|
|
618
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
487
619
|
path: _path2 + ".join",
|
|
488
620
|
expected: "(string | undefined)",
|
|
489
621
|
value: input3.join
|
|
@@ -495,7 +627,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
495
627
|
path: _path2 + ".term",
|
|
496
628
|
expected: "NumericTerm",
|
|
497
629
|
value: input3.term
|
|
498
|
-
})) && $
|
|
630
|
+
})) && $vo18(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
499
631
|
path: _path2 + ".term",
|
|
500
632
|
expected: "NumericTerm",
|
|
501
633
|
value: input3.term
|
|
@@ -503,12 +635,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
503
635
|
path: _path2 + ".ranges",
|
|
504
636
|
expected: "Array<NumericBin>",
|
|
505
637
|
value: input3.ranges
|
|
506
|
-
})) && input3.ranges.map((elem,
|
|
507
|
-
path: _path2 + ".ranges[" +
|
|
638
|
+
})) && input3.ranges.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
639
|
+
path: _path2 + ".ranges[" + _index11 + "]",
|
|
508
640
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
509
641
|
value: elem
|
|
510
|
-
})) && $vu2(elem, _path2 + ".ranges[" +
|
|
511
|
-
path: _path2 + ".ranges[" +
|
|
642
|
+
})) && $vu2(elem, _path2 + ".ranges[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
643
|
+
path: _path2 + ".ranges[" + _index11 + "]",
|
|
512
644
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
513
645
|
value: elem
|
|
514
646
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -519,20 +651,20 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
519
651
|
path: _path2 + ".values",
|
|
520
652
|
expected: "Array<__type>.o1",
|
|
521
653
|
value: input3.values
|
|
522
|
-
})) && input3.values.map((elem,
|
|
523
|
-
path: _path2 + ".values[" +
|
|
524
|
-
expected: "__type.
|
|
654
|
+
})) && input3.values.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
655
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
656
|
+
expected: "__type.o5",
|
|
525
657
|
value: elem
|
|
526
|
-
})) && $
|
|
527
|
-
path: _path2 + ".values[" +
|
|
528
|
-
expected: "__type.
|
|
658
|
+
})) && $vo27(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
659
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
660
|
+
expected: "__type.o5",
|
|
529
661
|
value: elem
|
|
530
662
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
531
663
|
path: _path2 + ".values",
|
|
532
664
|
expected: "Array<__type>.o1",
|
|
533
665
|
value: input3.values
|
|
534
666
|
})].every((flag) => flag);
|
|
535
|
-
const $
|
|
667
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
536
668
|
path: _path2 + ".id",
|
|
537
669
|
expected: "string",
|
|
538
670
|
value: input3.id
|
|
@@ -548,8 +680,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
548
680
|
path: _path2 + ".child_types",
|
|
549
681
|
expected: "(Array<string> | undefined)",
|
|
550
682
|
value: input3.child_types
|
|
551
|
-
})) && input3.child_types.map((elem,
|
|
552
|
-
path: _path2 + ".child_types[" +
|
|
683
|
+
})) && input3.child_types.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable2, {
|
|
684
|
+
path: _path2 + ".child_types[" + _index13 + "]",
|
|
553
685
|
expected: "string",
|
|
554
686
|
value: elem
|
|
555
687
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -564,8 +696,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
564
696
|
path: _path2 + ".included_types",
|
|
565
697
|
expected: "(Array<string> | undefined)",
|
|
566
698
|
value: input3.included_types
|
|
567
|
-
})) && input3.included_types.map((elem,
|
|
568
|
-
path: _path2 + ".included_types[" +
|
|
699
|
+
})) && input3.included_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
|
|
700
|
+
path: _path2 + ".included_types[" + _index14 + "]",
|
|
569
701
|
expected: "string",
|
|
570
702
|
value: elem
|
|
571
703
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -580,15 +712,23 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
580
712
|
path: _path2 + ".values",
|
|
581
713
|
expected: "(TermValues | undefined)",
|
|
582
714
|
value: input3.values
|
|
583
|
-
})) && $
|
|
715
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
584
716
|
path: _path2 + ".values",
|
|
585
717
|
expected: "(TermValues | undefined)",
|
|
586
718
|
value: input3.values
|
|
587
|
-
}),
|
|
719
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
720
|
+
path: _path2 + ".filter",
|
|
721
|
+
expected: "(TermFilter | undefined)",
|
|
722
|
+
value: input3.filter
|
|
723
|
+
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
724
|
+
path: _path2 + ".filter",
|
|
725
|
+
expected: "(TermFilter | undefined)",
|
|
726
|
+
value: input3.filter
|
|
727
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
588
728
|
path: _path2 + ".bins",
|
|
589
729
|
expected: "PresetNumericBins",
|
|
590
730
|
value: input3.bins
|
|
591
|
-
})) && $
|
|
731
|
+
})) && $vo19(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
592
732
|
path: _path2 + ".bins",
|
|
593
733
|
expected: "PresetNumericBins",
|
|
594
734
|
value: input3.bins
|
|
@@ -598,14 +738,14 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
598
738
|
value: input3.unit
|
|
599
739
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
600
740
|
path: _path2 + ".continuousColorScale",
|
|
601
|
-
expected: "(__type.
|
|
741
|
+
expected: "(__type.o4 | undefined)",
|
|
602
742
|
value: input3.continuousColorScale
|
|
603
|
-
})) && $
|
|
743
|
+
})) && $vo26(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
604
744
|
path: _path2 + ".continuousColorScale",
|
|
605
|
-
expected: "(__type.
|
|
745
|
+
expected: "(__type.o4 | undefined)",
|
|
606
746
|
value: input3.continuousColorScale
|
|
607
747
|
})].every((flag) => flag);
|
|
608
|
-
const $
|
|
748
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
609
749
|
path: _path2 + '["default"]',
|
|
610
750
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
611
751
|
value: input3["default"]
|
|
@@ -642,11 +782,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
642
782
|
expected: "(number | undefined)",
|
|
643
783
|
value: input3.max
|
|
644
784
|
})].every((flag) => flag);
|
|
645
|
-
const $
|
|
785
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
646
786
|
path: _path2 + ".hiddenValues",
|
|
647
787
|
expected: "(HiddenValues | undefined)",
|
|
648
788
|
value: input3.hiddenValues
|
|
649
|
-
})) && $
|
|
789
|
+
})) && $vo21(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
650
790
|
path: _path2 + ".hiddenValues",
|
|
651
791
|
expected: "(HiddenValues | undefined)",
|
|
652
792
|
value: input3.hiddenValues
|
|
@@ -695,7 +835,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
695
835
|
expected: "(number | undefined)",
|
|
696
836
|
value: input3.label_offset
|
|
697
837
|
})].every((flag) => flag);
|
|
698
|
-
const $
|
|
838
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
699
839
|
const value = input3[key];
|
|
700
840
|
if (void 0 === value)
|
|
701
841
|
return true;
|
|
@@ -707,7 +847,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
707
847
|
});
|
|
708
848
|
return true;
|
|
709
849
|
}).every((flag) => flag)].every((flag) => flag);
|
|
710
|
-
const $
|
|
850
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
711
851
|
path: _path2 + ".startunbounded",
|
|
712
852
|
expected: "true",
|
|
713
853
|
value: input3.startunbounded
|
|
@@ -732,7 +872,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
732
872
|
expected: "(string | undefined)",
|
|
733
873
|
value: input3.label
|
|
734
874
|
})].every((flag) => flag);
|
|
735
|
-
const $
|
|
875
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
736
876
|
path: _path2 + ".startunbounded",
|
|
737
877
|
expected: "(false | undefined)",
|
|
738
878
|
value: input3.startunbounded
|
|
@@ -761,7 +901,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
761
901
|
expected: "(string | undefined)",
|
|
762
902
|
value: input3.label
|
|
763
903
|
})].every((flag) => flag);
|
|
764
|
-
const $
|
|
904
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
765
905
|
path: _path2 + ".start",
|
|
766
906
|
expected: "number",
|
|
767
907
|
value: input3.start
|
|
@@ -786,11 +926,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
786
926
|
expected: "(string | undefined)",
|
|
787
927
|
value: input3.label
|
|
788
928
|
})].every((flag) => flag);
|
|
789
|
-
const $
|
|
929
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
790
930
|
path: _path2 + ".hiddenValues",
|
|
791
931
|
expected: "(HiddenValues | undefined)",
|
|
792
932
|
value: input3.hiddenValues
|
|
793
|
-
})) && $
|
|
933
|
+
})) && $vo21(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
794
934
|
path: _path2 + ".hiddenValues",
|
|
795
935
|
expected: "(HiddenValues | undefined)",
|
|
796
936
|
value: input3.hiddenValues
|
|
@@ -832,12 +972,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
832
972
|
path: _path2 + ".lst",
|
|
833
973
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
834
974
|
value: input3.lst.slice(1)
|
|
835
|
-
})) && input3.lst.slice(1).map((elem,
|
|
836
|
-
path: _path2 + ".lst[" + (1 +
|
|
975
|
+
})) && input3.lst.slice(1).map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
976
|
+
path: _path2 + ".lst[" + (1 + _index15) + "]",
|
|
837
977
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
838
978
|
value: elem
|
|
839
|
-
})) && $vu2(elem, _path2 + ".lst[" + (1 +
|
|
840
|
-
path: _path2 + ".lst[" + (1 +
|
|
979
|
+
})) && $vu2(elem, _path2 + ".lst[" + (1 + _index15) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
980
|
+
path: _path2 + ".lst[" + (1 + _index15) + "]",
|
|
841
981
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
842
982
|
value: elem
|
|
843
983
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -853,7 +993,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
853
993
|
expected: '("median" | undefined)',
|
|
854
994
|
value: input3.preferredBins
|
|
855
995
|
})].every((flag) => flag);
|
|
856
|
-
const $
|
|
996
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
857
997
|
path: _path2 + ".minColor",
|
|
858
998
|
expected: "string",
|
|
859
999
|
value: input3.minColor
|
|
@@ -862,7 +1002,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
862
1002
|
expected: "string",
|
|
863
1003
|
value: input3.maxColor
|
|
864
1004
|
})].every((flag) => flag);
|
|
865
|
-
const $
|
|
1005
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
866
1006
|
path: _path2 + ".key",
|
|
867
1007
|
expected: "string",
|
|
868
1008
|
value: input3.key
|
|
@@ -879,7 +1019,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
879
1019
|
expected: "(string | undefined)",
|
|
880
1020
|
value: input3.label
|
|
881
1021
|
})].every((flag) => flag);
|
|
882
|
-
const $
|
|
1022
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
883
1023
|
path: _path2 + ".join",
|
|
884
1024
|
expected: "(string | undefined)",
|
|
885
1025
|
value: input3.join
|
|
@@ -891,7 +1031,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
891
1031
|
path: _path2 + ".term",
|
|
892
1032
|
expected: "ConditionTerm",
|
|
893
1033
|
value: input3.term
|
|
894
|
-
})) && $
|
|
1034
|
+
})) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
895
1035
|
path: _path2 + ".term",
|
|
896
1036
|
expected: "ConditionTerm",
|
|
897
1037
|
value: input3.term
|
|
@@ -911,12 +1051,12 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
911
1051
|
path: _path2 + ".grade_and_child",
|
|
912
1052
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
913
1053
|
value: input3.grade_and_child
|
|
914
|
-
})) && input3.grade_and_child.map((elem,
|
|
915
|
-
path: _path2 + ".grade_and_child[" +
|
|
1054
|
+
})) && input3.grade_and_child.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1055
|
+
path: _path2 + ".grade_and_child[" + _index16 + "]",
|
|
916
1056
|
expected: "GradeAndChildEntry",
|
|
917
1057
|
value: elem
|
|
918
|
-
})) && $
|
|
919
|
-
path: _path2 + ".grade_and_child[" +
|
|
1058
|
+
})) && $vo30(elem, _path2 + ".grade_and_child[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1059
|
+
path: _path2 + ".grade_and_child[" + _index16 + "]",
|
|
920
1060
|
expected: "GradeAndChildEntry",
|
|
921
1061
|
value: elem
|
|
922
1062
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -924,7 +1064,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
924
1064
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
925
1065
|
value: input3.grade_and_child
|
|
926
1066
|
})].every((flag) => flag);
|
|
927
|
-
const $
|
|
1067
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
928
1068
|
path: _path2 + ".id",
|
|
929
1069
|
expected: "string",
|
|
930
1070
|
value: input3.id
|
|
@@ -940,8 +1080,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
940
1080
|
path: _path2 + ".child_types",
|
|
941
1081
|
expected: "(Array<string> | undefined)",
|
|
942
1082
|
value: input3.child_types
|
|
943
|
-
})) && input3.child_types.map((elem,
|
|
944
|
-
path: _path2 + ".child_types[" +
|
|
1083
|
+
})) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1084
|
+
path: _path2 + ".child_types[" + _index17 + "]",
|
|
945
1085
|
expected: "string",
|
|
946
1086
|
value: elem
|
|
947
1087
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -956,8 +1096,8 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
956
1096
|
path: _path2 + ".included_types",
|
|
957
1097
|
expected: "(Array<string> | undefined)",
|
|
958
1098
|
value: input3.included_types
|
|
959
|
-
})) && input3.included_types.map((elem,
|
|
960
|
-
path: _path2 + ".included_types[" +
|
|
1099
|
+
})) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1100
|
+
path: _path2 + ".included_types[" + _index18 + "]",
|
|
961
1101
|
expected: "string",
|
|
962
1102
|
value: elem
|
|
963
1103
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -972,12 +1112,20 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
972
1112
|
path: _path2 + ".values",
|
|
973
1113
|
expected: "(TermValues | undefined)",
|
|
974
1114
|
value: input3.values
|
|
975
|
-
})) && $
|
|
1115
|
+
})) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
976
1116
|
path: _path2 + ".values",
|
|
977
1117
|
expected: "(TermValues | undefined)",
|
|
978
1118
|
value: input3.values
|
|
979
|
-
}),
|
|
980
|
-
|
|
1119
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1120
|
+
path: _path2 + ".filter",
|
|
1121
|
+
expected: "(TermFilter | undefined)",
|
|
1122
|
+
value: input3.filter
|
|
1123
|
+
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1124
|
+
path: _path2 + ".filter",
|
|
1125
|
+
expected: "(TermFilter | undefined)",
|
|
1126
|
+
value: input3.filter
|
|
1127
|
+
})].every((flag) => flag);
|
|
1128
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
981
1129
|
path: _path2 + ".grade",
|
|
982
1130
|
expected: "number",
|
|
983
1131
|
value: input3.grade
|
|
@@ -994,7 +1142,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
994
1142
|
expected: "string",
|
|
995
1143
|
value: input3.child_label
|
|
996
1144
|
})].every((flag) => flag);
|
|
997
|
-
const $
|
|
1145
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
998
1146
|
path: _path2 + ".join",
|
|
999
1147
|
expected: "(string | undefined)",
|
|
1000
1148
|
value: input3.join
|
|
@@ -1004,331 +1152,58 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1004
1152
|
value: input3.isnot
|
|
1005
1153
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
1006
1154
|
path: _path2 + ".term",
|
|
1007
|
-
expected: "
|
|
1155
|
+
expected: "DtTerm",
|
|
1008
1156
|
value: input3.term
|
|
1009
|
-
})) && $
|
|
1157
|
+
})) && $vo9(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1010
1158
|
path: _path2 + ".term",
|
|
1011
|
-
expected: "
|
|
1159
|
+
expected: "DtTerm",
|
|
1012
1160
|
value: input3.term
|
|
1013
1161
|
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1014
1162
|
path: _path2 + ".values",
|
|
1015
|
-
expected: "Array<
|
|
1163
|
+
expected: "Array<__type>.o2",
|
|
1016
1164
|
value: input3.values
|
|
1017
|
-
})) && input3.values.map((elem,
|
|
1018
|
-
path: _path2 + ".values[" +
|
|
1019
|
-
expected: "
|
|
1165
|
+
})) && input3.values.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1166
|
+
path: _path2 + ".values[" + _index19 + "]",
|
|
1167
|
+
expected: "__type.o6",
|
|
1020
1168
|
value: elem
|
|
1021
|
-
})) && $
|
|
1022
|
-
path: _path2 + ".values[" +
|
|
1023
|
-
expected: "
|
|
1169
|
+
})) && $vo32(elem, _path2 + ".values[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1170
|
+
path: _path2 + ".values[" + _index19 + "]",
|
|
1171
|
+
expected: "__type.o6",
|
|
1024
1172
|
value: elem
|
|
1025
1173
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1026
1174
|
path: _path2 + ".values",
|
|
1027
|
-
expected: "Array<
|
|
1175
|
+
expected: "Array<__type>.o2",
|
|
1028
1176
|
value: input3.values
|
|
1029
1177
|
})].every((flag) => flag);
|
|
1030
|
-
const $
|
|
1031
|
-
path: _path2 + ".
|
|
1032
|
-
expected: "string",
|
|
1033
|
-
value: input3.id
|
|
1034
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1035
|
-
path: _path2 + ".name",
|
|
1036
|
-
expected: "string",
|
|
1037
|
-
value: input3.name
|
|
1038
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1039
|
-
path: _path2 + ".type",
|
|
1040
|
-
expected: '"geneVariant"',
|
|
1041
|
-
value: input3.type
|
|
1042
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1043
|
-
path: _path2 + ".child_types",
|
|
1044
|
-
expected: "(Array<string> | undefined)",
|
|
1045
|
-
value: input3.child_types
|
|
1046
|
-
})) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1047
|
-
path: _path2 + ".child_types[" + _index17 + "]",
|
|
1178
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
1179
|
+
path: _path2 + ".key",
|
|
1048
1180
|
expected: "string",
|
|
1049
|
-
value:
|
|
1050
|
-
})
|
|
1051
|
-
path: _path2 + ".
|
|
1052
|
-
expected: "(Array<string> | undefined)",
|
|
1053
|
-
value: input3.child_types
|
|
1054
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1055
|
-
path: _path2 + ".hashtmldetail",
|
|
1056
|
-
expected: "(boolean | undefined)",
|
|
1057
|
-
value: input3.hashtmldetail
|
|
1058
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1059
|
-
path: _path2 + ".included_types",
|
|
1060
|
-
expected: "(Array<string> | undefined)",
|
|
1061
|
-
value: input3.included_types
|
|
1062
|
-
})) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1063
|
-
path: _path2 + ".included_types[" + _index18 + "]",
|
|
1181
|
+
value: input3.key
|
|
1182
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
1183
|
+
path: _path2 + ".label",
|
|
1064
1184
|
expected: "string",
|
|
1065
|
-
value:
|
|
1066
|
-
})
|
|
1067
|
-
path: _path2 + ".
|
|
1068
|
-
expected: "(Array<string> | undefined)",
|
|
1069
|
-
value: input3.included_types
|
|
1070
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1071
|
-
path: _path2 + ".isleaf",
|
|
1072
|
-
expected: "(boolean | undefined)",
|
|
1073
|
-
value: input3.isleaf
|
|
1074
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1075
|
-
path: _path2 + ".values",
|
|
1076
|
-
expected: "(TermValues | undefined)",
|
|
1077
|
-
value: input3.values
|
|
1078
|
-
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1079
|
-
path: _path2 + ".values",
|
|
1080
|
-
expected: "(TermValues | undefined)",
|
|
1081
|
-
value: input3.values
|
|
1082
|
-
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1083
|
-
path: _path2 + ".groupsetting",
|
|
1084
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1085
|
-
value: input3.groupsetting
|
|
1086
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1087
|
-
path: _path2 + ".groupsetting",
|
|
1088
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1089
|
-
value: input3.groupsetting
|
|
1090
|
-
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1091
|
-
path: _path2 + ".kind",
|
|
1092
|
-
expected: '"gene"',
|
|
1093
|
-
value: input3.kind
|
|
1094
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1095
|
-
path: _path2 + ".gene",
|
|
1185
|
+
value: input3.label
|
|
1186
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
1187
|
+
path: _path2 + ".value",
|
|
1096
1188
|
expected: "string",
|
|
1097
|
-
value: input3.
|
|
1098
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1099
|
-
path: _path2 + ".chr",
|
|
1100
|
-
expected: "(string | undefined)",
|
|
1101
|
-
value: input3.chr
|
|
1102
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1103
|
-
path: _path2 + ".start",
|
|
1104
|
-
expected: "(number | undefined)",
|
|
1105
|
-
value: input3.start
|
|
1106
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1107
|
-
path: _path2 + ".stop",
|
|
1108
|
-
expected: "(number | undefined)",
|
|
1109
|
-
value: input3.stop
|
|
1110
|
-
})].every((flag) => flag);
|
|
1111
|
-
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1112
|
-
path: _path2 + ".id",
|
|
1113
|
-
expected: "string",
|
|
1114
|
-
value: input3.id
|
|
1115
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1116
|
-
path: _path2 + ".name",
|
|
1117
|
-
expected: "string",
|
|
1118
|
-
value: input3.name
|
|
1119
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1120
|
-
path: _path2 + ".type",
|
|
1121
|
-
expected: '"geneVariant"',
|
|
1122
|
-
value: input3.type
|
|
1123
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1124
|
-
path: _path2 + ".child_types",
|
|
1125
|
-
expected: "(Array<string> | undefined)",
|
|
1126
|
-
value: input3.child_types
|
|
1127
|
-
})) && input3.child_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1128
|
-
path: _path2 + ".child_types[" + _index19 + "]",
|
|
1129
|
-
expected: "string",
|
|
1130
|
-
value: elem
|
|
1131
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1132
|
-
path: _path2 + ".child_types",
|
|
1133
|
-
expected: "(Array<string> | undefined)",
|
|
1134
|
-
value: input3.child_types
|
|
1135
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
1136
|
-
path: _path2 + ".hashtmldetail",
|
|
1137
|
-
expected: "(boolean | undefined)",
|
|
1138
|
-
value: input3.hashtmldetail
|
|
1139
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
1140
|
-
path: _path2 + ".included_types",
|
|
1141
|
-
expected: "(Array<string> | undefined)",
|
|
1142
|
-
value: input3.included_types
|
|
1143
|
-
})) && input3.included_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1144
|
-
path: _path2 + ".included_types[" + _index20 + "]",
|
|
1145
|
-
expected: "string",
|
|
1146
|
-
value: elem
|
|
1147
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1148
|
-
path: _path2 + ".included_types",
|
|
1149
|
-
expected: "(Array<string> | undefined)",
|
|
1150
|
-
value: input3.included_types
|
|
1151
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1152
|
-
path: _path2 + ".isleaf",
|
|
1153
|
-
expected: "(boolean | undefined)",
|
|
1154
|
-
value: input3.isleaf
|
|
1155
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1156
|
-
path: _path2 + ".values",
|
|
1157
|
-
expected: "(TermValues | undefined)",
|
|
1158
|
-
value: input3.values
|
|
1159
|
-
})) && $vo4(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1160
|
-
path: _path2 + ".values",
|
|
1161
|
-
expected: "(TermValues | undefined)",
|
|
1162
|
-
value: input3.values
|
|
1163
|
-
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1164
|
-
path: _path2 + ".groupsetting",
|
|
1165
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1166
|
-
value: input3.groupsetting
|
|
1167
|
-
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1168
|
-
path: _path2 + ".groupsetting",
|
|
1169
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1170
|
-
value: input3.groupsetting
|
|
1171
|
-
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1172
|
-
path: _path2 + ".kind",
|
|
1173
|
-
expected: '"coord"',
|
|
1174
|
-
value: input3.kind
|
|
1175
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1176
|
-
path: _path2 + ".chr",
|
|
1177
|
-
expected: "string",
|
|
1178
|
-
value: input3.chr
|
|
1179
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1180
|
-
path: _path2 + ".start",
|
|
1181
|
-
expected: "number",
|
|
1182
|
-
value: input3.start
|
|
1183
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1184
|
-
path: _path2 + ".stop",
|
|
1185
|
-
expected: "number",
|
|
1186
|
-
value: input3.stop
|
|
1187
|
-
})].every((flag) => flag);
|
|
1188
|
-
const $vo29 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
|
|
1189
|
-
path: _path2 + ".dt",
|
|
1190
|
-
expected: "1",
|
|
1191
|
-
value: input3.dt
|
|
1192
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1193
|
-
path: _path2 + ".mclassLst",
|
|
1194
|
-
expected: "Array<SNVIndelClasses>",
|
|
1195
|
-
value: input3.mclassLst
|
|
1196
|
-
})) && input3.mclassLst.map((elem, _index21) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem || $report(_exceptionable2, {
|
|
1197
|
-
path: _path2 + ".mclassLst[" + _index21 + "]",
|
|
1198
|
-
expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
|
|
1199
|
-
value: elem
|
|
1200
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1201
|
-
path: _path2 + ".mclassLst",
|
|
1202
|
-
expected: "Array<SNVIndelClasses>",
|
|
1203
|
-
value: input3.mclassLst
|
|
1204
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1205
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1206
|
-
expected: "Array<SNVIndelClasses>",
|
|
1207
|
-
value: input3.mclassExcludeLst
|
|
1208
|
-
})) && input3.mclassExcludeLst.map((elem, _index22) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem || $report(_exceptionable2, {
|
|
1209
|
-
path: _path2 + ".mclassExcludeLst[" + _index22 + "]",
|
|
1210
|
-
expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
|
|
1211
|
-
value: elem
|
|
1212
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1213
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1214
|
-
expected: "Array<SNVIndelClasses>",
|
|
1215
|
-
value: input3.mclassExcludeLst
|
|
1216
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1217
|
-
path: _path2 + ".origin",
|
|
1218
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1219
|
-
value: input3.origin
|
|
1220
|
-
})].every((flag) => flag);
|
|
1221
|
-
const $vo30 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
|
|
1222
|
-
path: _path2 + ".dt",
|
|
1223
|
-
expected: "4",
|
|
1224
|
-
value: input3.dt
|
|
1225
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1226
|
-
path: _path2 + ".mclassLst",
|
|
1227
|
-
expected: "Array<CNVClasses>",
|
|
1228
|
-
value: input3.mclassLst
|
|
1229
|
-
})) && input3.mclassLst.map((elem, _index23) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem || $report(_exceptionable2, {
|
|
1230
|
-
path: _path2 + ".mclassLst[" + _index23 + "]",
|
|
1231
|
-
expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
|
|
1232
|
-
value: elem
|
|
1233
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1234
|
-
path: _path2 + ".mclassLst",
|
|
1235
|
-
expected: "Array<CNVClasses>",
|
|
1236
|
-
value: input3.mclassLst
|
|
1237
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1238
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1239
|
-
expected: "Array<CNVClasses>",
|
|
1240
|
-
value: input3.mclassExcludeLst
|
|
1241
|
-
})) && input3.mclassExcludeLst.map((elem, _index24) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem || $report(_exceptionable2, {
|
|
1242
|
-
path: _path2 + ".mclassExcludeLst[" + _index24 + "]",
|
|
1243
|
-
expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
|
|
1244
|
-
value: elem
|
|
1245
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1246
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1247
|
-
expected: "Array<CNVClasses>",
|
|
1248
|
-
value: input3.mclassExcludeLst
|
|
1249
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1250
|
-
path: _path2 + ".origin",
|
|
1251
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1252
|
-
value: input3.origin
|
|
1253
|
-
})].every((flag) => flag);
|
|
1254
|
-
const $vo31 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
|
|
1255
|
-
path: _path2 + ".dt",
|
|
1256
|
-
expected: "5",
|
|
1257
|
-
value: input3.dt
|
|
1258
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1259
|
-
path: _path2 + ".mclassLst",
|
|
1260
|
-
expected: "Array<SVClasses>",
|
|
1261
|
-
value: input3.mclassLst
|
|
1262
|
-
})) && input3.mclassLst.map((elem, _index25) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
|
|
1263
|
-
path: _path2 + ".mclassLst[" + _index25 + "]",
|
|
1264
|
-
expected: '("Blank" | "SV" | "WT")',
|
|
1265
|
-
value: elem
|
|
1266
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1267
|
-
path: _path2 + ".mclassLst",
|
|
1268
|
-
expected: "Array<SVClasses>",
|
|
1269
|
-
value: input3.mclassLst
|
|
1270
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1271
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1272
|
-
expected: "Array<SVClasses>",
|
|
1273
|
-
value: input3.mclassExcludeLst
|
|
1274
|
-
})) && input3.mclassExcludeLst.map((elem, _index26) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
|
|
1275
|
-
path: _path2 + ".mclassExcludeLst[" + _index26 + "]",
|
|
1276
|
-
expected: '("Blank" | "SV" | "WT")',
|
|
1277
|
-
value: elem
|
|
1278
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1279
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1280
|
-
expected: "Array<SVClasses>",
|
|
1281
|
-
value: input3.mclassExcludeLst
|
|
1282
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1283
|
-
path: _path2 + ".origin",
|
|
1284
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1285
|
-
value: input3.origin
|
|
1286
|
-
})].every((flag) => flag);
|
|
1287
|
-
const $vo32 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
|
|
1288
|
-
path: _path2 + ".dt",
|
|
1289
|
-
expected: "2",
|
|
1290
|
-
value: input3.dt
|
|
1291
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
1292
|
-
path: _path2 + ".mclassLst",
|
|
1293
|
-
expected: "Array<FusionRNAClasses>",
|
|
1294
|
-
value: input3.mclassLst
|
|
1295
|
-
})) && input3.mclassLst.map((elem, _index27) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
|
|
1296
|
-
path: _path2 + ".mclassLst[" + _index27 + "]",
|
|
1297
|
-
expected: '("Blank" | "Fuserna" | "WT")',
|
|
1298
|
-
value: elem
|
|
1299
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1300
|
-
path: _path2 + ".mclassLst",
|
|
1301
|
-
expected: "Array<FusionRNAClasses>",
|
|
1302
|
-
value: input3.mclassLst
|
|
1303
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
1304
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1305
|
-
expected: "Array<FusionRNAClasses>",
|
|
1306
|
-
value: input3.mclassExcludeLst
|
|
1307
|
-
})) && input3.mclassExcludeLst.map((elem, _index28) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
|
|
1308
|
-
path: _path2 + ".mclassExcludeLst[" + _index28 + "]",
|
|
1309
|
-
expected: '("Blank" | "Fuserna" | "WT")',
|
|
1310
|
-
value: elem
|
|
1311
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1312
|
-
path: _path2 + ".mclassExcludeLst",
|
|
1313
|
-
expected: "Array<FusionRNAClasses>",
|
|
1314
|
-
value: input3.mclassExcludeLst
|
|
1315
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
1316
|
-
path: _path2 + ".origin",
|
|
1317
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
1318
|
-
value: input3.origin
|
|
1189
|
+
value: input3.value
|
|
1319
1190
|
})].every((flag) => flag);
|
|
1320
1191
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1321
|
-
if (
|
|
1192
|
+
if ("tvslst" === input3.type)
|
|
1322
1193
|
return $vo1(input3, _path2, _exceptionable2);
|
|
1323
|
-
if (
|
|
1324
|
-
return $
|
|
1325
|
-
return $
|
|
1194
|
+
if ("tvs" === input3.type)
|
|
1195
|
+
return $vo2(input3, _path2, _exceptionable2);
|
|
1196
|
+
return $report(_exceptionable2, {
|
|
1197
|
+
path: _path2,
|
|
1198
|
+
expected: "(Filter | __type)",
|
|
1199
|
+
value: input3
|
|
1200
|
+
});
|
|
1326
1201
|
})();
|
|
1327
1202
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1328
1203
|
if ("string" === typeof input3.type)
|
|
1329
|
-
return $
|
|
1204
|
+
return $vo12(input3, _path2, _exceptionable2);
|
|
1330
1205
|
if ("filter" === input3.type)
|
|
1331
|
-
return $
|
|
1206
|
+
return $vo14(input3, _path2, _exceptionable2);
|
|
1332
1207
|
return $report(_exceptionable2, {
|
|
1333
1208
|
path: _path2,
|
|
1334
1209
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -1337,36 +1212,26 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1337
1212
|
})();
|
|
1338
1213
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1339
1214
|
if (true === input3.startunbounded)
|
|
1340
|
-
return $
|
|
1215
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1341
1216
|
if (true === input3.stopunbounded)
|
|
1342
|
-
return $
|
|
1343
|
-
return $
|
|
1217
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
1218
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1344
1219
|
})();
|
|
1345
1220
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1346
|
-
if (
|
|
1347
|
-
return $
|
|
1348
|
-
|
|
1349
|
-
return $vo31(input3, _path2, _exceptionable2);
|
|
1350
|
-
if (4 === input3.dt)
|
|
1351
|
-
return $vo30(input3, _path2, _exceptionable2);
|
|
1352
|
-
if (1 === input3.dt)
|
|
1353
|
-
return $vo29(input3, _path2, _exceptionable2);
|
|
1354
|
-
return $report(_exceptionable2, {
|
|
1355
|
-
path: _path2,
|
|
1356
|
-
expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
|
|
1357
|
-
value: input3
|
|
1358
|
-
});
|
|
1221
|
+
if (void 0 !== input3.ranges)
|
|
1222
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
1223
|
+
return $vo3(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
|
|
1359
1224
|
})();
|
|
1360
1225
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1361
|
-
if (Array.isArray(input3.lst) && input3.lst.map((elem,
|
|
1362
|
-
return $
|
|
1363
|
-
return $
|
|
1226
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index20) => "object" === typeof elem && null !== elem && $vo11(elem, _path2 + ".lst[" + _index20 + "]", false)).every((flag) => flag))
|
|
1227
|
+
return $vo10(input3, _path2, _exceptionable2);
|
|
1228
|
+
return $vo16(input3, _path2, _exceptionable2);
|
|
1364
1229
|
})();
|
|
1365
1230
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1366
1231
|
if ("regular-bin" === input3.type)
|
|
1367
|
-
return $vo15(input3, _path2, _exceptionable2);
|
|
1368
|
-
if ("custom-bin" === input3.type)
|
|
1369
1232
|
return $vo20(input3, _path2, _exceptionable2);
|
|
1233
|
+
if ("custom-bin" === input3.type)
|
|
1234
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
1370
1235
|
return $report(_exceptionable2, {
|
|
1371
1236
|
path: _path2,
|
|
1372
1237
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
@@ -1375,9 +1240,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1375
1240
|
})();
|
|
1376
1241
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1377
1242
|
if (true === input3.startunbounded)
|
|
1378
|
-
return $
|
|
1243
|
+
return $vo22(input3, _path2, _exceptionable2);
|
|
1379
1244
|
if (void 0 !== input3.start)
|
|
1380
|
-
return $
|
|
1245
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1381
1246
|
return $report(_exceptionable2, {
|
|
1382
1247
|
path: _path2,
|
|
1383
1248
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
@@ -1386,26 +1251,15 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1386
1251
|
})();
|
|
1387
1252
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1388
1253
|
if (void 0 !== input3.stop)
|
|
1389
|
-
return $
|
|
1254
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
1390
1255
|
if (true === input3.stopunbounded)
|
|
1391
|
-
return $
|
|
1256
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
1392
1257
|
return $report(_exceptionable2, {
|
|
1393
1258
|
path: _path2,
|
|
1394
1259
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
1395
1260
|
value: input3
|
|
1396
1261
|
});
|
|
1397
1262
|
})();
|
|
1398
|
-
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1399
|
-
if ("gene" === input3.kind)
|
|
1400
|
-
return $vo27(input3, _path2, _exceptionable2);
|
|
1401
|
-
if ("coord" === input3.kind)
|
|
1402
|
-
return $vo28(input3, _path2, _exceptionable2);
|
|
1403
|
-
return $report(_exceptionable2, {
|
|
1404
|
-
path: _path2,
|
|
1405
|
-
expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
|
|
1406
|
-
value: input3
|
|
1407
|
-
});
|
|
1408
|
-
})();
|
|
1409
1263
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
1410
1264
|
path: _path + "",
|
|
1411
1265
|
expected: "TermdbTopTermsByTypeRequest",
|
|
@@ -1429,7 +1283,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1429
1283
|
const __is = (input2) => {
|
|
1430
1284
|
const $join = import_typia.createValidate.join;
|
|
1431
1285
|
const $io0 = (input3) => Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem));
|
|
1432
|
-
const $io1 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1286
|
+
const $io1 = (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) && $io2(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
1433
1287
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
1434
1288
|
const value = input3[key];
|
|
1435
1289
|
if (void 0 === value)
|
|
@@ -1441,20 +1295,25 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1441
1295
|
return true;
|
|
1442
1296
|
});
|
|
1443
1297
|
const $io3 = (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 && $io4(input3.filter));
|
|
1444
|
-
const $io4 = (input3) => "
|
|
1445
|
-
const $io5 = (input3) =>
|
|
1446
|
-
const $io6 = (input3) =>
|
|
1447
|
-
const $io7 = (input3) => (void 0 === input3.
|
|
1448
|
-
const $io8 = (input3) => "
|
|
1449
|
-
const $io9 = (input3) =>
|
|
1450
|
-
const $io10 = (input3) =>
|
|
1451
|
-
const $io11 = (input3) =>
|
|
1452
|
-
const $io12 = (input3) => "boolean" === typeof input3.
|
|
1453
|
-
const $io13 = (input3) =>
|
|
1454
|
-
const $io14 = (input3) =>
|
|
1455
|
-
const $io15 = (input3) => "
|
|
1456
|
-
const $io16 = (input3) =>
|
|
1457
|
-
const $io17 = (input3) =>
|
|
1298
|
+
const $io4 = (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 && $iu1(elem)));
|
|
1299
|
+
const $io5 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu5(input3.tvs));
|
|
1300
|
+
const $io6 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io7(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) && $io3(elem)));
|
|
1301
|
+
const $io7 = (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) && $io2(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
1302
|
+
const $io8 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io9(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io10(elem)));
|
|
1303
|
+
const $io9 = (input3) => Array.isArray(input3.joinWith) && input3.joinWith.every((elem) => "string" === typeof elem);
|
|
1304
|
+
const $io10 = (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) && $io2(input3.values));
|
|
1305
|
+
const $io11 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io12(elem)));
|
|
1306
|
+
const $io12 = (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 && $iu2(elem)));
|
|
1307
|
+
const $io13 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io14(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
1308
|
+
const $io14 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
1309
|
+
const $io15 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io16(input3.filter)) && "boolean" === typeof input3.uncomputable;
|
|
1310
|
+
const $io16 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io9(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io10(elem))) && ("object" === typeof input3.active && null !== input3.active && $io4(input3.active)) && "number" === typeof input3.group;
|
|
1311
|
+
const $io17 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
1312
|
+
const $io18 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io19(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io28(elem)));
|
|
1313
|
+
const $io19 = (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) && $io2(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io20(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io27(input3.continuousColorScale));
|
|
1314
|
+
const $io20 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu6(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu6(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);
|
|
1315
|
+
const $io21 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io22(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 && $iu7(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu8(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
|
|
1316
|
+
const $io22 = (input3) => Object.keys(input3).every((key) => {
|
|
1458
1317
|
const value = input3[key];
|
|
1459
1318
|
if (void 0 === value)
|
|
1460
1319
|
return true;
|
|
@@ -1462,31 +1321,26 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1462
1321
|
return "number" === typeof value;
|
|
1463
1322
|
return true;
|
|
1464
1323
|
});
|
|
1465
|
-
const $
|
|
1466
|
-
const $
|
|
1467
|
-
const $
|
|
1468
|
-
const $
|
|
1469
|
-
const $
|
|
1470
|
-
const $
|
|
1471
|
-
const $
|
|
1472
|
-
const $
|
|
1473
|
-
const $
|
|
1474
|
-
const $
|
|
1475
|
-
const $
|
|
1476
|
-
const $
|
|
1477
|
-
const $
|
|
1478
|
-
const $
|
|
1479
|
-
const $
|
|
1480
|
-
const $
|
|
1481
|
-
const $io34 = (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) && $io2(input3.values)) && true && ("object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale));
|
|
1482
|
-
const $io35 = (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) && $io2(input3.values)) && true;
|
|
1483
|
-
const $io36 = (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) && $io2(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
1484
|
-
const $io37 = (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) && $io2(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
1485
|
-
const $io38 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && true && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
1324
|
+
const $io23 = (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);
|
|
1325
|
+
const $io24 = (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);
|
|
1326
|
+
const $io25 = (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);
|
|
1327
|
+
const $io26 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io22(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] && $iu3(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
1328
|
+
const $io27 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
1329
|
+
const $io28 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
1330
|
+
const $io29 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io30(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 && $io31(elem)));
|
|
1331
|
+
const $io30 = (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) && $io2(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter));
|
|
1332
|
+
const $io31 = (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;
|
|
1333
|
+
const $io32 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io10(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
|
|
1334
|
+
const $io33 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
|
|
1335
|
+
const $io34 = (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) && $io2(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
1336
|
+
const $io35 = (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) && $io2(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
1337
|
+
const $io36 = (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) && $io2(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io20(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io27(input3.continuousColorScale));
|
|
1338
|
+
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter));
|
|
1339
|
+
const $io38 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter)) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
1486
1340
|
const $io39 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io40(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io41(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
|
|
1487
1341
|
const $io40 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
1488
1342
|
const $io41 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
1489
|
-
const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io43(input3.values)) &&
|
|
1343
|
+
const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io43(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io8(input3.filter));
|
|
1490
1344
|
const $io43 = (input3) => Object.keys(input3).every((key) => {
|
|
1491
1345
|
const value = input3[key];
|
|
1492
1346
|
if (void 0 === value)
|
|
@@ -1500,15 +1354,15 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1500
1354
|
const $io44 = (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 && $io4(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io45(elem))) && true;
|
|
1501
1355
|
const $io45 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
1502
1356
|
const $iu0 = (input3) => (() => {
|
|
1503
|
-
if ("
|
|
1357
|
+
if ("gene" === input3.kind)
|
|
1504
1358
|
return $io1(input3);
|
|
1505
|
-
if ("
|
|
1359
|
+
if ("coord" === input3.kind)
|
|
1506
1360
|
return $io34(input3);
|
|
1507
|
-
if ("
|
|
1361
|
+
if ("categorical" === input3.type)
|
|
1508
1362
|
return $io35(input3);
|
|
1509
|
-
if ("
|
|
1363
|
+
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
1510
1364
|
return $io36(input3);
|
|
1511
|
-
if ("
|
|
1365
|
+
if ("condition" === input3.type)
|
|
1512
1366
|
return $io37(input3);
|
|
1513
1367
|
return (() => {
|
|
1514
1368
|
if ($io38(input3))
|
|
@@ -1519,76 +1373,63 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1519
1373
|
})();
|
|
1520
1374
|
})();
|
|
1521
1375
|
const $iu1 = (input3) => (() => {
|
|
1522
|
-
if (
|
|
1376
|
+
if ("tvslst" === input3.type)
|
|
1523
1377
|
return $io4(input3);
|
|
1524
|
-
if (
|
|
1525
|
-
return $
|
|
1526
|
-
return
|
|
1527
|
-
if ($io5(input3))
|
|
1528
|
-
return $io5(input3);
|
|
1529
|
-
if ($io24(input3))
|
|
1530
|
-
return $io24(input3);
|
|
1531
|
-
if ($io27(input3))
|
|
1532
|
-
return $io27(input3);
|
|
1533
|
-
return false;
|
|
1534
|
-
})();
|
|
1378
|
+
if ("tvs" === input3.type)
|
|
1379
|
+
return $io5(input3);
|
|
1380
|
+
return false;
|
|
1535
1381
|
})();
|
|
1536
1382
|
const $iu2 = (input3) => (() => {
|
|
1537
1383
|
if ("string" === typeof input3.type)
|
|
1538
|
-
return $
|
|
1384
|
+
return $io13(input3);
|
|
1539
1385
|
if ("filter" === input3.type)
|
|
1540
|
-
return $
|
|
1386
|
+
return $io15(input3);
|
|
1541
1387
|
return false;
|
|
1542
1388
|
})();
|
|
1543
1389
|
const $iu3 = (input3) => (() => {
|
|
1544
1390
|
if (true === input3.startunbounded)
|
|
1545
|
-
return $
|
|
1391
|
+
return $io23(input3);
|
|
1546
1392
|
if (true === input3.stopunbounded)
|
|
1547
|
-
return $
|
|
1548
|
-
return $
|
|
1393
|
+
return $io25(input3);
|
|
1394
|
+
return $io24(input3);
|
|
1549
1395
|
})();
|
|
1550
1396
|
const $iu4 = (input3) => (() => {
|
|
1551
|
-
if (
|
|
1552
|
-
return $
|
|
1553
|
-
|
|
1554
|
-
return $io32(input3);
|
|
1555
|
-
if (4 === input3.dt)
|
|
1556
|
-
return $io31(input3);
|
|
1557
|
-
if (1 === input3.dt)
|
|
1558
|
-
return $io30(input3);
|
|
1559
|
-
return false;
|
|
1397
|
+
if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io12(elem)))
|
|
1398
|
+
return $io11(input3);
|
|
1399
|
+
return $io17(input3);
|
|
1560
1400
|
})();
|
|
1561
1401
|
const $iu5 = (input3) => (() => {
|
|
1562
|
-
if (
|
|
1563
|
-
return $
|
|
1564
|
-
return
|
|
1402
|
+
if (void 0 !== input3.ranges)
|
|
1403
|
+
return $io18(input3);
|
|
1404
|
+
return (() => {
|
|
1405
|
+
if ($io6(input3))
|
|
1406
|
+
return $io6(input3);
|
|
1407
|
+
if ($io29(input3))
|
|
1408
|
+
return $io29(input3);
|
|
1409
|
+
if ($io32(input3))
|
|
1410
|
+
return $io32(input3);
|
|
1411
|
+
return false;
|
|
1412
|
+
})();
|
|
1565
1413
|
})();
|
|
1566
1414
|
const $iu6 = (input3) => (() => {
|
|
1567
1415
|
if ("regular-bin" === input3.type)
|
|
1568
|
-
return $io16(input3);
|
|
1569
|
-
if ("custom-bin" === input3.type)
|
|
1570
1416
|
return $io21(input3);
|
|
1417
|
+
if ("custom-bin" === input3.type)
|
|
1418
|
+
return $io26(input3);
|
|
1571
1419
|
return false;
|
|
1572
1420
|
})();
|
|
1573
1421
|
const $iu7 = (input3) => (() => {
|
|
1574
1422
|
if (true === input3.startunbounded)
|
|
1575
|
-
return $
|
|
1423
|
+
return $io23(input3);
|
|
1576
1424
|
if (void 0 !== input3.start)
|
|
1577
|
-
return $
|
|
1425
|
+
return $io24(input3);
|
|
1578
1426
|
return false;
|
|
1579
1427
|
})();
|
|
1580
1428
|
const $iu8 = (input3) => (() => {
|
|
1581
1429
|
if (void 0 !== input3.stop)
|
|
1582
|
-
return $
|
|
1430
|
+
return $io24(input3);
|
|
1583
1431
|
if (true === input3.stopunbounded)
|
|
1584
|
-
return $
|
|
1585
|
-
return false;
|
|
1586
|
-
})();
|
|
1587
|
-
const $iu9 = (input3) => (() => {
|
|
1588
|
-
if ("gene" === input3.kind)
|
|
1589
|
-
return $io28(input3);
|
|
1590
|
-
if ("coord" === input3.kind)
|
|
1591
|
-
return $io29(input3);
|
|
1432
|
+
return $io25(input3);
|
|
1592
1433
|
return false;
|
|
1593
1434
|
})();
|
|
1594
1435
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -1603,11 +1444,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1603
1444
|
value: input3.terms
|
|
1604
1445
|
})) && input3.terms.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1605
1446
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
1606
|
-
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant";
|
|
1447
|
+
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting: TermGroupSetting; filter: TermFilter; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting: TermGroupSetting; filter: TermFilter; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
1607
1448
|
value: elem
|
|
1608
1449
|
})) && $vu0(elem, _path2 + ".terms[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1609
1450
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
1610
|
-
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant";
|
|
1451
|
+
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; } & GvCoord & { groupsetting: TermGroupSetting; filter: TermFilter; } | BaseTerm & { type: "geneVariant"; } & GvGene & { groupsetting: TermGroupSetting; filter: TermFilter; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
1611
1452
|
value: elem
|
|
1612
1453
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1613
1454
|
path: _path2 + ".terms",
|
|
@@ -1622,9 +1463,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1622
1463
|
path: _path2 + ".name",
|
|
1623
1464
|
expected: "string",
|
|
1624
1465
|
value: input3.name
|
|
1625
|
-
}), "
|
|
1466
|
+
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
1626
1467
|
path: _path2 + ".type",
|
|
1627
|
-
expected: '"
|
|
1468
|
+
expected: '"geneVariant"',
|
|
1628
1469
|
value: input3.type
|
|
1629
1470
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
1630
1471
|
path: _path2 + ".child_types",
|
|
@@ -1666,13 +1507,41 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1666
1507
|
path: _path2 + ".values",
|
|
1667
1508
|
expected: "(TermValues | undefined)",
|
|
1668
1509
|
value: input3.values
|
|
1669
|
-
}),
|
|
1510
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1511
|
+
path: _path2 + ".filter",
|
|
1512
|
+
expected: "(TermFilter | undefined)",
|
|
1513
|
+
value: input3.filter
|
|
1514
|
+
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1515
|
+
path: _path2 + ".filter",
|
|
1516
|
+
expected: "(TermFilter | undefined)",
|
|
1517
|
+
value: input3.filter
|
|
1518
|
+
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1519
|
+
path: _path2 + ".kind",
|
|
1520
|
+
expected: '"gene"',
|
|
1521
|
+
value: input3.kind
|
|
1522
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1523
|
+
path: _path2 + ".gene",
|
|
1524
|
+
expected: "string",
|
|
1525
|
+
value: input3.gene
|
|
1526
|
+
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
1527
|
+
path: _path2 + ".chr",
|
|
1528
|
+
expected: "(string | undefined)",
|
|
1529
|
+
value: input3.chr
|
|
1530
|
+
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
1531
|
+
path: _path2 + ".start",
|
|
1532
|
+
expected: "(number | undefined)",
|
|
1533
|
+
value: input3.start
|
|
1534
|
+
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
1535
|
+
path: _path2 + ".stop",
|
|
1536
|
+
expected: "(number | undefined)",
|
|
1537
|
+
value: input3.stop
|
|
1538
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1670
1539
|
path: _path2 + ".groupsetting",
|
|
1671
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
1540
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
1672
1541
|
value: input3.groupsetting
|
|
1673
|
-
})) && $
|
|
1542
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1674
1543
|
path: _path2 + ".groupsetting",
|
|
1675
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
1544
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
1676
1545
|
value: input3.groupsetting
|
|
1677
1546
|
})].every((flag) => flag);
|
|
1678
1547
|
const $vo2 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
@@ -1734,17 +1603,17 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1734
1603
|
expected: "(Filter | undefined)",
|
|
1735
1604
|
value: input3.filter
|
|
1736
1605
|
})].every((flag) => flag);
|
|
1737
|
-
const $vo4 = (input3, _path2, _exceptionable2 = true) => ["
|
|
1606
|
+
const $vo4 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
1738
1607
|
path: _path2 + ".type",
|
|
1739
|
-
expected: '"
|
|
1608
|
+
expected: '"tvslst"',
|
|
1740
1609
|
value: input3.type
|
|
1741
|
-
}),
|
|
1610
|
+
}), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
|
|
1742
1611
|
path: _path2 + '["in"]',
|
|
1743
|
-
expected: "
|
|
1612
|
+
expected: "boolean",
|
|
1744
1613
|
value: input3["in"]
|
|
1745
|
-
}), "
|
|
1614
|
+
}), "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1746
1615
|
path: _path2 + ".join",
|
|
1747
|
-
expected:
|
|
1616
|
+
expected: "string",
|
|
1748
1617
|
value: input3.join
|
|
1749
1618
|
}), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
|
|
1750
1619
|
path: _path2 + ".tag",
|
|
@@ -1752,22 +1621,35 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1752
1621
|
value: input3.tag
|
|
1753
1622
|
}), (Array.isArray(input3.lst) || $report(_exceptionable2, {
|
|
1754
1623
|
path: _path2 + ".lst",
|
|
1755
|
-
expected:
|
|
1624
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
1756
1625
|
value: input3.lst
|
|
1757
1626
|
})) && input3.lst.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1758
1627
|
path: _path2 + ".lst[" + _index4 + "]",
|
|
1759
|
-
expected: "(
|
|
1628
|
+
expected: "(Filter | __type)",
|
|
1760
1629
|
value: elem
|
|
1761
1630
|
})) && $vu1(elem, _path2 + ".lst[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1762
1631
|
path: _path2 + ".lst[" + _index4 + "]",
|
|
1763
|
-
expected: "(
|
|
1632
|
+
expected: "(Filter | __type)",
|
|
1764
1633
|
value: elem
|
|
1765
1634
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1766
1635
|
path: _path2 + ".lst",
|
|
1767
|
-
expected:
|
|
1636
|
+
expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
|
|
1768
1637
|
value: input3.lst
|
|
1769
1638
|
})].every((flag) => flag);
|
|
1770
|
-
const $vo5 = (input3, _path2, _exceptionable2 = true) => [
|
|
1639
|
+
const $vo5 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
|
|
1640
|
+
path: _path2 + ".type",
|
|
1641
|
+
expected: '"tvs"',
|
|
1642
|
+
value: input3.type
|
|
1643
|
+
}), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
|
|
1644
|
+
path: _path2 + ".tvs",
|
|
1645
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
1646
|
+
value: input3.tvs
|
|
1647
|
+
})) && $vu5(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
|
|
1648
|
+
path: _path2 + ".tvs",
|
|
1649
|
+
expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
|
|
1650
|
+
value: input3.tvs
|
|
1651
|
+
})].every((flag) => flag);
|
|
1652
|
+
const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1771
1653
|
path: _path2 + ".join",
|
|
1772
1654
|
expected: "(string | undefined)",
|
|
1773
1655
|
value: input3.join
|
|
@@ -1779,7 +1661,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1779
1661
|
path: _path2 + ".term",
|
|
1780
1662
|
expected: "CategoricalTerm",
|
|
1781
1663
|
value: input3.term
|
|
1782
|
-
})) && $
|
|
1664
|
+
})) && $vo7(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
1783
1665
|
path: _path2 + ".term",
|
|
1784
1666
|
expected: "CategoricalTerm",
|
|
1785
1667
|
value: input3.term
|
|
@@ -1804,7 +1686,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1804
1686
|
expected: "Array<BaseValue>",
|
|
1805
1687
|
value: input3.values
|
|
1806
1688
|
})].every((flag) => flag);
|
|
1807
|
-
const $
|
|
1689
|
+
const $vo7 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1808
1690
|
path: _path2 + ".id",
|
|
1809
1691
|
expected: "string",
|
|
1810
1692
|
value: input3.id
|
|
@@ -1856,16 +1738,103 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1856
1738
|
path: _path2 + ".values",
|
|
1857
1739
|
expected: "(TermValues | undefined)",
|
|
1858
1740
|
value: input3.values
|
|
1859
|
-
}),
|
|
1741
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1742
|
+
path: _path2 + ".filter",
|
|
1743
|
+
expected: "(TermFilter | undefined)",
|
|
1744
|
+
value: input3.filter
|
|
1745
|
+
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1746
|
+
path: _path2 + ".filter",
|
|
1747
|
+
expected: "(TermFilter | undefined)",
|
|
1748
|
+
value: input3.filter
|
|
1749
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1860
1750
|
path: _path2 + ".groupsetting",
|
|
1861
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
1751
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
1862
1752
|
value: input3.groupsetting
|
|
1863
|
-
})) && $
|
|
1753
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1864
1754
|
path: _path2 + ".groupsetting",
|
|
1865
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
1755
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
1866
1756
|
value: input3.groupsetting
|
|
1867
1757
|
})].every((flag) => flag);
|
|
1868
|
-
const $
|
|
1758
|
+
const $vo8 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
1759
|
+
path: _path2 + ".opts",
|
|
1760
|
+
expected: "__type.o1",
|
|
1761
|
+
value: input3.opts
|
|
1762
|
+
})) && $vo9(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
1763
|
+
path: _path2 + ".opts",
|
|
1764
|
+
expected: "__type.o1",
|
|
1765
|
+
value: input3.opts
|
|
1766
|
+
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
1767
|
+
path: _path2 + ".terms",
|
|
1768
|
+
expected: "Array<DtTerm>",
|
|
1769
|
+
value: input3.terms
|
|
1770
|
+
})) && input3.terms.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1771
|
+
path: _path2 + ".terms[" + _index8 + "]",
|
|
1772
|
+
expected: "DtTerm",
|
|
1773
|
+
value: elem
|
|
1774
|
+
})) && $vo10(elem, _path2 + ".terms[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1775
|
+
path: _path2 + ".terms[" + _index8 + "]",
|
|
1776
|
+
expected: "DtTerm",
|
|
1777
|
+
value: elem
|
|
1778
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1779
|
+
path: _path2 + ".terms",
|
|
1780
|
+
expected: "Array<DtTerm>",
|
|
1781
|
+
value: input3.terms
|
|
1782
|
+
})].every((flag) => flag);
|
|
1783
|
+
const $vo9 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.joinWith) || $report(_exceptionable2, {
|
|
1784
|
+
path: _path2 + ".joinWith",
|
|
1785
|
+
expected: "Array<string>",
|
|
1786
|
+
value: input3.joinWith
|
|
1787
|
+
})) && input3.joinWith.map((elem, _index9) => "string" === typeof elem || $report(_exceptionable2, {
|
|
1788
|
+
path: _path2 + ".joinWith[" + _index9 + "]",
|
|
1789
|
+
expected: "string",
|
|
1790
|
+
value: elem
|
|
1791
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1792
|
+
path: _path2 + ".joinWith",
|
|
1793
|
+
expected: "Array<string>",
|
|
1794
|
+
value: input3.joinWith
|
|
1795
|
+
})].every((flag) => flag);
|
|
1796
|
+
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1797
|
+
path: _path2 + ".id",
|
|
1798
|
+
expected: "string",
|
|
1799
|
+
value: input3.id
|
|
1800
|
+
}), "string" === typeof input3.query || $report(_exceptionable2, {
|
|
1801
|
+
path: _path2 + ".query",
|
|
1802
|
+
expected: "string",
|
|
1803
|
+
value: input3.query
|
|
1804
|
+
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
1805
|
+
path: _path2 + ".name",
|
|
1806
|
+
expected: "string",
|
|
1807
|
+
value: input3.name
|
|
1808
|
+
}), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
|
|
1809
|
+
path: _path2 + ".name_noOrigin",
|
|
1810
|
+
expected: "string",
|
|
1811
|
+
value: input3.name_noOrigin
|
|
1812
|
+
}), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
1813
|
+
path: _path2 + ".isleaf",
|
|
1814
|
+
expected: "boolean",
|
|
1815
|
+
value: input3.isleaf
|
|
1816
|
+
}), "string" === typeof input3.type || $report(_exceptionable2, {
|
|
1817
|
+
path: _path2 + ".type",
|
|
1818
|
+
expected: "string",
|
|
1819
|
+
value: input3.type
|
|
1820
|
+
}), "number" === typeof input3.dt || $report(_exceptionable2, {
|
|
1821
|
+
path: _path2 + ".dt",
|
|
1822
|
+
expected: "number",
|
|
1823
|
+
value: input3.dt
|
|
1824
|
+
}), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
|
|
1825
|
+
path: _path2 + ".origin",
|
|
1826
|
+
expected: "(string | undefined)",
|
|
1827
|
+
value: input3.origin
|
|
1828
|
+
}), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
1829
|
+
path: _path2 + ".values",
|
|
1830
|
+
expected: "TermValues",
|
|
1831
|
+
value: input3.values
|
|
1832
|
+
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
1833
|
+
path: _path2 + ".values",
|
|
1834
|
+
expected: "TermValues",
|
|
1835
|
+
value: input3.values
|
|
1836
|
+
})].every((flag) => flag);
|
|
1837
|
+
const $vo11 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1869
1838
|
path: _path2 + ".disabled",
|
|
1870
1839
|
expected: "(boolean | undefined)",
|
|
1871
1840
|
value: input3.disabled
|
|
@@ -1873,12 +1842,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1873
1842
|
path: _path2 + ".lst",
|
|
1874
1843
|
expected: "Array<Groupset>",
|
|
1875
1844
|
value: input3.lst
|
|
1876
|
-
})) && input3.lst.map((elem,
|
|
1877
|
-
path: _path2 + ".lst[" +
|
|
1845
|
+
})) && input3.lst.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1846
|
+
path: _path2 + ".lst[" + _index10 + "]",
|
|
1878
1847
|
expected: "Groupset",
|
|
1879
1848
|
value: elem
|
|
1880
|
-
})) && $
|
|
1881
|
-
path: _path2 + ".lst[" +
|
|
1849
|
+
})) && $vo12(elem, _path2 + ".lst[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1850
|
+
path: _path2 + ".lst[" + _index10 + "]",
|
|
1882
1851
|
expected: "Groupset",
|
|
1883
1852
|
value: elem
|
|
1884
1853
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1886,7 +1855,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1886
1855
|
expected: "Array<Groupset>",
|
|
1887
1856
|
value: input3.lst
|
|
1888
1857
|
})].every((flag) => flag);
|
|
1889
|
-
const $
|
|
1858
|
+
const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
1890
1859
|
path: _path2 + ".name",
|
|
1891
1860
|
expected: "string",
|
|
1892
1861
|
value: input3.name
|
|
@@ -1906,12 +1875,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1906
1875
|
path: _path2 + ".groups",
|
|
1907
1876
|
expected: "Array<GroupEntry>",
|
|
1908
1877
|
value: input3.groups
|
|
1909
|
-
})) && input3.groups.map((elem,
|
|
1910
|
-
path: _path2 + ".groups[" +
|
|
1878
|
+
})) && input3.groups.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1879
|
+
path: _path2 + ".groups[" + _index11 + "]",
|
|
1911
1880
|
expected: "(FilterGroup | ValuesGroup)",
|
|
1912
1881
|
value: elem
|
|
1913
|
-
})) && $vu2(elem, _path2 + ".groups[" +
|
|
1914
|
-
path: _path2 + ".groups[" +
|
|
1882
|
+
})) && $vu2(elem, _path2 + ".groups[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1883
|
+
path: _path2 + ".groups[" + _index11 + "]",
|
|
1915
1884
|
expected: "(FilterGroup | ValuesGroup)",
|
|
1916
1885
|
value: elem
|
|
1917
1886
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -1919,7 +1888,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1919
1888
|
expected: "Array<GroupEntry>",
|
|
1920
1889
|
value: input3.groups
|
|
1921
1890
|
})].every((flag) => flag);
|
|
1922
|
-
const $
|
|
1891
|
+
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
1923
1892
|
path: _path2 + ".name",
|
|
1924
1893
|
expected: "string",
|
|
1925
1894
|
value: input3.name
|
|
@@ -1931,13 +1900,13 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1931
1900
|
path: _path2 + ".values",
|
|
1932
1901
|
expected: "Array<__type>",
|
|
1933
1902
|
value: input3.values
|
|
1934
|
-
})) && input3.values.map((elem,
|
|
1935
|
-
path: _path2 + ".values[" +
|
|
1936
|
-
expected: "__type",
|
|
1903
|
+
})) && input3.values.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1904
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
1905
|
+
expected: "__type.o2",
|
|
1937
1906
|
value: elem
|
|
1938
|
-
})) && $
|
|
1939
|
-
path: _path2 + ".values[" +
|
|
1940
|
-
expected: "__type",
|
|
1907
|
+
})) && $vo14(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1908
|
+
path: _path2 + ".values[" + _index12 + "]",
|
|
1909
|
+
expected: "__type.o2",
|
|
1941
1910
|
value: elem
|
|
1942
1911
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1943
1912
|
path: _path2 + ".values",
|
|
@@ -1948,7 +1917,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1948
1917
|
expected: "(boolean | undefined)",
|
|
1949
1918
|
value: input3.uncomputable
|
|
1950
1919
|
})].every((flag) => flag);
|
|
1951
|
-
const $
|
|
1920
|
+
const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
|
|
1952
1921
|
path: _path2 + ".key",
|
|
1953
1922
|
expected: "(number | string)",
|
|
1954
1923
|
value: input3.key
|
|
@@ -1957,7 +1926,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1957
1926
|
expected: "string",
|
|
1958
1927
|
value: input3.label
|
|
1959
1928
|
})].every((flag) => flag);
|
|
1960
|
-
const $
|
|
1929
|
+
const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
|
|
1961
1930
|
path: _path2 + ".name",
|
|
1962
1931
|
expected: "string",
|
|
1963
1932
|
value: input3.name
|
|
@@ -1965,12 +1934,57 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1965
1934
|
path: _path2 + ".type",
|
|
1966
1935
|
expected: '"filter"',
|
|
1967
1936
|
value: input3.type
|
|
1968
|
-
}),
|
|
1937
|
+
}), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
1938
|
+
path: _path2 + ".filter",
|
|
1939
|
+
expected: "TermFilter & { active: Filter; group: number; }",
|
|
1940
|
+
value: input3.filter
|
|
1941
|
+
})) && $vo16(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
1942
|
+
path: _path2 + ".filter",
|
|
1943
|
+
expected: "TermFilter & { active: Filter; group: number; }",
|
|
1944
|
+
value: input3.filter
|
|
1945
|
+
}), "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
1969
1946
|
path: _path2 + ".uncomputable",
|
|
1970
|
-
expected: "
|
|
1947
|
+
expected: "boolean",
|
|
1971
1948
|
value: input3.uncomputable
|
|
1972
1949
|
})].every((flag) => flag);
|
|
1973
|
-
const $
|
|
1950
|
+
const $vo16 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
|
|
1951
|
+
path: _path2 + ".opts",
|
|
1952
|
+
expected: "__type.o1",
|
|
1953
|
+
value: input3.opts
|
|
1954
|
+
})) && $vo9(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
|
|
1955
|
+
path: _path2 + ".opts",
|
|
1956
|
+
expected: "__type.o1",
|
|
1957
|
+
value: input3.opts
|
|
1958
|
+
}), (Array.isArray(input3.terms) || $report(_exceptionable2, {
|
|
1959
|
+
path: _path2 + ".terms",
|
|
1960
|
+
expected: "Array<DtTerm>",
|
|
1961
|
+
value: input3.terms
|
|
1962
|
+
})) && input3.terms.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1963
|
+
path: _path2 + ".terms[" + _index13 + "]",
|
|
1964
|
+
expected: "DtTerm",
|
|
1965
|
+
value: elem
|
|
1966
|
+
})) && $vo10(elem, _path2 + ".terms[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1967
|
+
path: _path2 + ".terms[" + _index13 + "]",
|
|
1968
|
+
expected: "DtTerm",
|
|
1969
|
+
value: elem
|
|
1970
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1971
|
+
path: _path2 + ".terms",
|
|
1972
|
+
expected: "Array<DtTerm>",
|
|
1973
|
+
value: input3.terms
|
|
1974
|
+
}), ("object" === typeof input3.active && null !== input3.active || $report(_exceptionable2, {
|
|
1975
|
+
path: _path2 + ".active",
|
|
1976
|
+
expected: "Filter",
|
|
1977
|
+
value: input3.active
|
|
1978
|
+
})) && $vo4(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
|
|
1979
|
+
path: _path2 + ".active",
|
|
1980
|
+
expected: "Filter",
|
|
1981
|
+
value: input3.active
|
|
1982
|
+
}), "number" === typeof input3.group || $report(_exceptionable2, {
|
|
1983
|
+
path: _path2 + ".group",
|
|
1984
|
+
expected: "number",
|
|
1985
|
+
value: input3.group
|
|
1986
|
+
})].every((flag) => flag);
|
|
1987
|
+
const $vo17 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
1974
1988
|
path: _path2 + ".disabled",
|
|
1975
1989
|
expected: "boolean",
|
|
1976
1990
|
value: input3.disabled
|
|
@@ -1987,7 +2001,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1987
2001
|
expected: "([] | undefined)",
|
|
1988
2002
|
value: input3.lst
|
|
1989
2003
|
})].every((flag) => flag);
|
|
1990
|
-
const $
|
|
2004
|
+
const $vo18 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1991
2005
|
path: _path2 + ".join",
|
|
1992
2006
|
expected: "(string | undefined)",
|
|
1993
2007
|
value: input3.join
|
|
@@ -1999,7 +2013,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1999
2013
|
path: _path2 + ".term",
|
|
2000
2014
|
expected: "NumericTerm",
|
|
2001
2015
|
value: input3.term
|
|
2002
|
-
})) && $
|
|
2016
|
+
})) && $vo19(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2003
2017
|
path: _path2 + ".term",
|
|
2004
2018
|
expected: "NumericTerm",
|
|
2005
2019
|
value: input3.term
|
|
@@ -2007,12 +2021,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2007
2021
|
path: _path2 + ".ranges",
|
|
2008
2022
|
expected: "Array<NumericBin>",
|
|
2009
2023
|
value: input3.ranges
|
|
2010
|
-
})) && input3.ranges.map((elem,
|
|
2011
|
-
path: _path2 + ".ranges[" +
|
|
2024
|
+
})) && input3.ranges.map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2025
|
+
path: _path2 + ".ranges[" + _index14 + "]",
|
|
2012
2026
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2013
2027
|
value: elem
|
|
2014
|
-
})) && $vu3(elem, _path2 + ".ranges[" +
|
|
2015
|
-
path: _path2 + ".ranges[" +
|
|
2028
|
+
})) && $vu3(elem, _path2 + ".ranges[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2029
|
+
path: _path2 + ".ranges[" + _index14 + "]",
|
|
2016
2030
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2017
2031
|
value: elem
|
|
2018
2032
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2023,20 +2037,20 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2023
2037
|
path: _path2 + ".values",
|
|
2024
2038
|
expected: "Array<__type>.o1",
|
|
2025
2039
|
value: input3.values
|
|
2026
|
-
})) && input3.values.map((elem,
|
|
2027
|
-
path: _path2 + ".values[" +
|
|
2028
|
-
expected: "__type.
|
|
2040
|
+
})) && input3.values.map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2041
|
+
path: _path2 + ".values[" + _index15 + "]",
|
|
2042
|
+
expected: "__type.o5",
|
|
2029
2043
|
value: elem
|
|
2030
|
-
})) && $
|
|
2031
|
-
path: _path2 + ".values[" +
|
|
2032
|
-
expected: "__type.
|
|
2044
|
+
})) && $vo28(elem, _path2 + ".values[" + _index15 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2045
|
+
path: _path2 + ".values[" + _index15 + "]",
|
|
2046
|
+
expected: "__type.o5",
|
|
2033
2047
|
value: elem
|
|
2034
2048
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2035
2049
|
path: _path2 + ".values",
|
|
2036
2050
|
expected: "Array<__type>.o1",
|
|
2037
2051
|
value: input3.values
|
|
2038
2052
|
})].every((flag) => flag);
|
|
2039
|
-
const $
|
|
2053
|
+
const $vo19 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2040
2054
|
path: _path2 + ".id",
|
|
2041
2055
|
expected: "string",
|
|
2042
2056
|
value: input3.id
|
|
@@ -2052,8 +2066,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2052
2066
|
path: _path2 + ".child_types",
|
|
2053
2067
|
expected: "(Array<string> | undefined)",
|
|
2054
2068
|
value: input3.child_types
|
|
2055
|
-
})) && input3.child_types.map((elem,
|
|
2056
|
-
path: _path2 + ".child_types[" +
|
|
2069
|
+
})) && input3.child_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2070
|
+
path: _path2 + ".child_types[" + _index16 + "]",
|
|
2057
2071
|
expected: "string",
|
|
2058
2072
|
value: elem
|
|
2059
2073
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2068,8 +2082,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2068
2082
|
path: _path2 + ".included_types",
|
|
2069
2083
|
expected: "(Array<string> | undefined)",
|
|
2070
2084
|
value: input3.included_types
|
|
2071
|
-
})) && input3.included_types.map((elem,
|
|
2072
|
-
path: _path2 + ".included_types[" +
|
|
2085
|
+
})) && input3.included_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2086
|
+
path: _path2 + ".included_types[" + _index17 + "]",
|
|
2073
2087
|
expected: "string",
|
|
2074
2088
|
value: elem
|
|
2075
2089
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2088,11 +2102,19 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2088
2102
|
path: _path2 + ".values",
|
|
2089
2103
|
expected: "(TermValues | undefined)",
|
|
2090
2104
|
value: input3.values
|
|
2091
|
-
}),
|
|
2105
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2106
|
+
path: _path2 + ".filter",
|
|
2107
|
+
expected: "(TermFilter | undefined)",
|
|
2108
|
+
value: input3.filter
|
|
2109
|
+
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2110
|
+
path: _path2 + ".filter",
|
|
2111
|
+
expected: "(TermFilter | undefined)",
|
|
2112
|
+
value: input3.filter
|
|
2113
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2092
2114
|
path: _path2 + ".bins",
|
|
2093
2115
|
expected: "PresetNumericBins",
|
|
2094
2116
|
value: input3.bins
|
|
2095
|
-
})) && $
|
|
2117
|
+
})) && $vo20(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2096
2118
|
path: _path2 + ".bins",
|
|
2097
2119
|
expected: "PresetNumericBins",
|
|
2098
2120
|
value: input3.bins
|
|
@@ -2102,14 +2124,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2102
2124
|
value: input3.unit
|
|
2103
2125
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2104
2126
|
path: _path2 + ".continuousColorScale",
|
|
2105
|
-
expected: "(__type.
|
|
2127
|
+
expected: "(__type.o4 | undefined)",
|
|
2106
2128
|
value: input3.continuousColorScale
|
|
2107
|
-
})) && $
|
|
2129
|
+
})) && $vo27(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2108
2130
|
path: _path2 + ".continuousColorScale",
|
|
2109
|
-
expected: "(__type.
|
|
2131
|
+
expected: "(__type.o4 | undefined)",
|
|
2110
2132
|
value: input3.continuousColorScale
|
|
2111
2133
|
})].every((flag) => flag);
|
|
2112
|
-
const $
|
|
2134
|
+
const $vo20 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
2113
2135
|
path: _path2 + '["default"]',
|
|
2114
2136
|
expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
|
|
2115
2137
|
value: input3["default"]
|
|
@@ -2146,11 +2168,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2146
2168
|
expected: "(number | undefined)",
|
|
2147
2169
|
value: input3.max
|
|
2148
2170
|
})].every((flag) => flag);
|
|
2149
|
-
const $
|
|
2171
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2150
2172
|
path: _path2 + ".hiddenValues",
|
|
2151
2173
|
expected: "(HiddenValues | undefined)",
|
|
2152
2174
|
value: input3.hiddenValues
|
|
2153
|
-
})) && $
|
|
2175
|
+
})) && $vo22(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2154
2176
|
path: _path2 + ".hiddenValues",
|
|
2155
2177
|
expected: "(HiddenValues | undefined)",
|
|
2156
2178
|
value: input3.hiddenValues
|
|
@@ -2199,7 +2221,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2199
2221
|
expected: "(number | undefined)",
|
|
2200
2222
|
value: input3.label_offset
|
|
2201
2223
|
})].every((flag) => flag);
|
|
2202
|
-
const $
|
|
2224
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
2203
2225
|
const value = input3[key];
|
|
2204
2226
|
if (void 0 === value)
|
|
2205
2227
|
return true;
|
|
@@ -2211,7 +2233,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2211
2233
|
});
|
|
2212
2234
|
return true;
|
|
2213
2235
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2214
|
-
const $
|
|
2236
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
|
|
2215
2237
|
path: _path2 + ".startunbounded",
|
|
2216
2238
|
expected: "true",
|
|
2217
2239
|
value: input3.startunbounded
|
|
@@ -2236,7 +2258,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2236
2258
|
expected: "(string | undefined)",
|
|
2237
2259
|
value: input3.label
|
|
2238
2260
|
})].every((flag) => flag);
|
|
2239
|
-
const $
|
|
2261
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
|
|
2240
2262
|
path: _path2 + ".startunbounded",
|
|
2241
2263
|
expected: "(false | undefined)",
|
|
2242
2264
|
value: input3.startunbounded
|
|
@@ -2265,7 +2287,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2265
2287
|
expected: "(string | undefined)",
|
|
2266
2288
|
value: input3.label
|
|
2267
2289
|
})].every((flag) => flag);
|
|
2268
|
-
const $
|
|
2290
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
|
|
2269
2291
|
path: _path2 + ".start",
|
|
2270
2292
|
expected: "number",
|
|
2271
2293
|
value: input3.start
|
|
@@ -2290,11 +2312,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2290
2312
|
expected: "(string | undefined)",
|
|
2291
2313
|
value: input3.label
|
|
2292
2314
|
})].every((flag) => flag);
|
|
2293
|
-
const $
|
|
2315
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
|
|
2294
2316
|
path: _path2 + ".hiddenValues",
|
|
2295
2317
|
expected: "(HiddenValues | undefined)",
|
|
2296
2318
|
value: input3.hiddenValues
|
|
2297
|
-
})) && $
|
|
2319
|
+
})) && $vo22(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
|
|
2298
2320
|
path: _path2 + ".hiddenValues",
|
|
2299
2321
|
expected: "(HiddenValues | undefined)",
|
|
2300
2322
|
value: input3.hiddenValues
|
|
@@ -2336,12 +2358,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2336
2358
|
path: _path2 + ".lst",
|
|
2337
2359
|
expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2338
2360
|
value: input3.lst.slice(1)
|
|
2339
|
-
})) && input3.lst.slice(1).map((elem,
|
|
2340
|
-
path: _path2 + ".lst[" + (1 +
|
|
2361
|
+
})) && input3.lst.slice(1).map((elem, _index18) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2362
|
+
path: _path2 + ".lst[" + (1 + _index18) + "]",
|
|
2341
2363
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2342
2364
|
value: elem
|
|
2343
|
-
})) && $vu3(elem, _path2 + ".lst[" + (1 +
|
|
2344
|
-
path: _path2 + ".lst[" + (1 +
|
|
2365
|
+
})) && $vu3(elem, _path2 + ".lst[" + (1 + _index18) + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2366
|
+
path: _path2 + ".lst[" + (1 + _index18) + "]",
|
|
2345
2367
|
expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
|
|
2346
2368
|
value: elem
|
|
2347
2369
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2357,7 +2379,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2357
2379
|
expected: '("median" | undefined)',
|
|
2358
2380
|
value: input3.preferredBins
|
|
2359
2381
|
})].every((flag) => flag);
|
|
2360
|
-
const $
|
|
2382
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
2361
2383
|
path: _path2 + ".minColor",
|
|
2362
2384
|
expected: "string",
|
|
2363
2385
|
value: input3.minColor
|
|
@@ -2366,7 +2388,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2366
2388
|
expected: "string",
|
|
2367
2389
|
value: input3.maxColor
|
|
2368
2390
|
})].every((flag) => flag);
|
|
2369
|
-
const $
|
|
2391
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2370
2392
|
path: _path2 + ".key",
|
|
2371
2393
|
expected: "string",
|
|
2372
2394
|
value: input3.key
|
|
@@ -2383,7 +2405,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2383
2405
|
expected: "(string | undefined)",
|
|
2384
2406
|
value: input3.label
|
|
2385
2407
|
})].every((flag) => flag);
|
|
2386
|
-
const $
|
|
2408
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2387
2409
|
path: _path2 + ".join",
|
|
2388
2410
|
expected: "(string | undefined)",
|
|
2389
2411
|
value: input3.join
|
|
@@ -2395,7 +2417,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2395
2417
|
path: _path2 + ".term",
|
|
2396
2418
|
expected: "ConditionTerm",
|
|
2397
2419
|
value: input3.term
|
|
2398
|
-
})) && $
|
|
2420
|
+
})) && $vo30(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2399
2421
|
path: _path2 + ".term",
|
|
2400
2422
|
expected: "ConditionTerm",
|
|
2401
2423
|
value: input3.term
|
|
@@ -2415,12 +2437,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2415
2437
|
path: _path2 + ".grade_and_child",
|
|
2416
2438
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2417
2439
|
value: input3.grade_and_child
|
|
2418
|
-
})) && input3.grade_and_child.map((elem,
|
|
2419
|
-
path: _path2 + ".grade_and_child[" +
|
|
2440
|
+
})) && input3.grade_and_child.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2441
|
+
path: _path2 + ".grade_and_child[" + _index19 + "]",
|
|
2420
2442
|
expected: "GradeAndChildEntry",
|
|
2421
2443
|
value: elem
|
|
2422
|
-
})) && $
|
|
2423
|
-
path: _path2 + ".grade_and_child[" +
|
|
2444
|
+
})) && $vo31(elem, _path2 + ".grade_and_child[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2445
|
+
path: _path2 + ".grade_and_child[" + _index19 + "]",
|
|
2424
2446
|
expected: "GradeAndChildEntry",
|
|
2425
2447
|
value: elem
|
|
2426
2448
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2428,7 +2450,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2428
2450
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2429
2451
|
value: input3.grade_and_child
|
|
2430
2452
|
})].every((flag) => flag);
|
|
2431
|
-
const $
|
|
2453
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2432
2454
|
path: _path2 + ".id",
|
|
2433
2455
|
expected: "string",
|
|
2434
2456
|
value: input3.id
|
|
@@ -2444,8 +2466,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2444
2466
|
path: _path2 + ".child_types",
|
|
2445
2467
|
expected: "(Array<string> | undefined)",
|
|
2446
2468
|
value: input3.child_types
|
|
2447
|
-
})) && input3.child_types.map((elem,
|
|
2448
|
-
path: _path2 + ".child_types[" +
|
|
2469
|
+
})) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2470
|
+
path: _path2 + ".child_types[" + _index20 + "]",
|
|
2449
2471
|
expected: "string",
|
|
2450
2472
|
value: elem
|
|
2451
2473
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2460,8 +2482,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2460
2482
|
path: _path2 + ".included_types",
|
|
2461
2483
|
expected: "(Array<string> | undefined)",
|
|
2462
2484
|
value: input3.included_types
|
|
2463
|
-
})) && input3.included_types.map((elem,
|
|
2464
|
-
path: _path2 + ".included_types[" +
|
|
2485
|
+
})) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2486
|
+
path: _path2 + ".included_types[" + _index21 + "]",
|
|
2465
2487
|
expected: "string",
|
|
2466
2488
|
value: elem
|
|
2467
2489
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2480,8 +2502,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2480
2502
|
path: _path2 + ".values",
|
|
2481
2503
|
expected: "(TermValues | undefined)",
|
|
2482
2504
|
value: input3.values
|
|
2483
|
-
}),
|
|
2484
|
-
|
|
2505
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2506
|
+
path: _path2 + ".filter",
|
|
2507
|
+
expected: "(TermFilter | undefined)",
|
|
2508
|
+
value: input3.filter
|
|
2509
|
+
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2510
|
+
path: _path2 + ".filter",
|
|
2511
|
+
expected: "(TermFilter | undefined)",
|
|
2512
|
+
value: input3.filter
|
|
2513
|
+
})].every((flag) => flag);
|
|
2514
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
2485
2515
|
path: _path2 + ".grade",
|
|
2486
2516
|
expected: "number",
|
|
2487
2517
|
value: input3.grade
|
|
@@ -2498,7 +2528,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2498
2528
|
expected: "string",
|
|
2499
2529
|
value: input3.child_label
|
|
2500
2530
|
})].every((flag) => flag);
|
|
2501
|
-
const $
|
|
2531
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2502
2532
|
path: _path2 + ".join",
|
|
2503
2533
|
expected: "(string | undefined)",
|
|
2504
2534
|
value: input3.join
|
|
@@ -2508,30 +2538,43 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2508
2538
|
value: input3.isnot
|
|
2509
2539
|
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2510
2540
|
path: _path2 + ".term",
|
|
2511
|
-
expected: "
|
|
2541
|
+
expected: "DtTerm",
|
|
2512
2542
|
value: input3.term
|
|
2513
|
-
})) && $
|
|
2543
|
+
})) && $vo10(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2514
2544
|
path: _path2 + ".term",
|
|
2515
|
-
expected: "
|
|
2545
|
+
expected: "DtTerm",
|
|
2516
2546
|
value: input3.term
|
|
2517
2547
|
}), (Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2518
2548
|
path: _path2 + ".values",
|
|
2519
|
-
expected: "Array<
|
|
2549
|
+
expected: "Array<__type>.o2",
|
|
2520
2550
|
value: input3.values
|
|
2521
|
-
})) && input3.values.map((elem,
|
|
2522
|
-
path: _path2 + ".values[" +
|
|
2523
|
-
expected: "
|
|
2551
|
+
})) && input3.values.map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2552
|
+
path: _path2 + ".values[" + _index22 + "]",
|
|
2553
|
+
expected: "__type.o6",
|
|
2524
2554
|
value: elem
|
|
2525
|
-
})) && $
|
|
2526
|
-
path: _path2 + ".values[" +
|
|
2527
|
-
expected: "
|
|
2555
|
+
})) && $vo33(elem, _path2 + ".values[" + _index22 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2556
|
+
path: _path2 + ".values[" + _index22 + "]",
|
|
2557
|
+
expected: "__type.o6",
|
|
2528
2558
|
value: elem
|
|
2529
2559
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2530
2560
|
path: _path2 + ".values",
|
|
2531
|
-
expected: "Array<
|
|
2561
|
+
expected: "Array<__type>.o2",
|
|
2532
2562
|
value: input3.values
|
|
2533
2563
|
})].every((flag) => flag);
|
|
2534
|
-
const $
|
|
2564
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2565
|
+
path: _path2 + ".key",
|
|
2566
|
+
expected: "string",
|
|
2567
|
+
value: input3.key
|
|
2568
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
2569
|
+
path: _path2 + ".label",
|
|
2570
|
+
expected: "string",
|
|
2571
|
+
value: input3.label
|
|
2572
|
+
}), "string" === typeof input3.value || $report(_exceptionable2, {
|
|
2573
|
+
path: _path2 + ".value",
|
|
2574
|
+
expected: "string",
|
|
2575
|
+
value: input3.value
|
|
2576
|
+
})].every((flag) => flag);
|
|
2577
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2535
2578
|
path: _path2 + ".id",
|
|
2536
2579
|
expected: "string",
|
|
2537
2580
|
value: input3.id
|
|
@@ -2547,8 +2590,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2547
2590
|
path: _path2 + ".child_types",
|
|
2548
2591
|
expected: "(Array<string> | undefined)",
|
|
2549
2592
|
value: input3.child_types
|
|
2550
|
-
})) && input3.child_types.map((elem,
|
|
2551
|
-
path: _path2 + ".child_types[" +
|
|
2593
|
+
})) && input3.child_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2594
|
+
path: _path2 + ".child_types[" + _index23 + "]",
|
|
2552
2595
|
expected: "string",
|
|
2553
2596
|
value: elem
|
|
2554
2597
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2563,8 +2606,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2563
2606
|
path: _path2 + ".included_types",
|
|
2564
2607
|
expected: "(Array<string> | undefined)",
|
|
2565
2608
|
value: input3.included_types
|
|
2566
|
-
})) && input3.included_types.map((elem,
|
|
2567
|
-
path: _path2 + ".included_types[" +
|
|
2609
|
+
})) && input3.included_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2610
|
+
path: _path2 + ".included_types[" + _index24 + "]",
|
|
2568
2611
|
expected: "string",
|
|
2569
2612
|
value: elem
|
|
2570
2613
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2583,36 +2626,40 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2583
2626
|
path: _path2 + ".values",
|
|
2584
2627
|
expected: "(TermValues | undefined)",
|
|
2585
2628
|
value: input3.values
|
|
2586
|
-
}),
|
|
2587
|
-
path: _path2 + ".
|
|
2588
|
-
expected: "(
|
|
2589
|
-
value: input3.
|
|
2590
|
-
})) && $
|
|
2591
|
-
path: _path2 + ".
|
|
2592
|
-
expected: "(
|
|
2593
|
-
value: input3.
|
|
2594
|
-
}), "
|
|
2629
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2630
|
+
path: _path2 + ".filter",
|
|
2631
|
+
expected: "(TermFilter | undefined)",
|
|
2632
|
+
value: input3.filter
|
|
2633
|
+
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2634
|
+
path: _path2 + ".filter",
|
|
2635
|
+
expected: "(TermFilter | undefined)",
|
|
2636
|
+
value: input3.filter
|
|
2637
|
+
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
2595
2638
|
path: _path2 + ".kind",
|
|
2596
|
-
expected: '"
|
|
2639
|
+
expected: '"coord"',
|
|
2597
2640
|
value: input3.kind
|
|
2598
|
-
}), "string" === typeof input3.
|
|
2599
|
-
path: _path2 + ".gene",
|
|
2600
|
-
expected: "string",
|
|
2601
|
-
value: input3.gene
|
|
2602
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2641
|
+
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2603
2642
|
path: _path2 + ".chr",
|
|
2604
|
-
expected: "
|
|
2643
|
+
expected: "string",
|
|
2605
2644
|
value: input3.chr
|
|
2606
|
-
}),
|
|
2645
|
+
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2607
2646
|
path: _path2 + ".start",
|
|
2608
|
-
expected: "
|
|
2647
|
+
expected: "number",
|
|
2609
2648
|
value: input3.start
|
|
2610
|
-
}),
|
|
2649
|
+
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2611
2650
|
path: _path2 + ".stop",
|
|
2612
|
-
expected: "
|
|
2651
|
+
expected: "number",
|
|
2613
2652
|
value: input3.stop
|
|
2653
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2654
|
+
path: _path2 + ".groupsetting",
|
|
2655
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
2656
|
+
value: input3.groupsetting
|
|
2657
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2658
|
+
path: _path2 + ".groupsetting",
|
|
2659
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
2660
|
+
value: input3.groupsetting
|
|
2614
2661
|
})].every((flag) => flag);
|
|
2615
|
-
const $
|
|
2662
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2616
2663
|
path: _path2 + ".id",
|
|
2617
2664
|
expected: "string",
|
|
2618
2665
|
value: input3.id
|
|
@@ -2620,16 +2667,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2620
2667
|
path: _path2 + ".name",
|
|
2621
2668
|
expected: "string",
|
|
2622
2669
|
value: input3.name
|
|
2623
|
-
}), "
|
|
2670
|
+
}), "categorical" === input3.type || $report(_exceptionable2, {
|
|
2624
2671
|
path: _path2 + ".type",
|
|
2625
|
-
expected: '"
|
|
2672
|
+
expected: '"categorical"',
|
|
2626
2673
|
value: input3.type
|
|
2627
2674
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2628
2675
|
path: _path2 + ".child_types",
|
|
2629
2676
|
expected: "(Array<string> | undefined)",
|
|
2630
2677
|
value: input3.child_types
|
|
2631
|
-
})) && input3.child_types.map((elem,
|
|
2632
|
-
path: _path2 + ".child_types[" +
|
|
2678
|
+
})) && input3.child_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2679
|
+
path: _path2 + ".child_types[" + _index25 + "]",
|
|
2633
2680
|
expected: "string",
|
|
2634
2681
|
value: elem
|
|
2635
2682
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2644,8 +2691,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2644
2691
|
path: _path2 + ".included_types",
|
|
2645
2692
|
expected: "(Array<string> | undefined)",
|
|
2646
2693
|
value: input3.included_types
|
|
2647
|
-
})) && input3.included_types.map((elem,
|
|
2648
|
-
path: _path2 + ".included_types[" +
|
|
2694
|
+
})) && input3.included_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2695
|
+
path: _path2 + ".included_types[" + _index26 + "]",
|
|
2649
2696
|
expected: "string",
|
|
2650
2697
|
value: elem
|
|
2651
2698
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2664,164 +2711,24 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2664
2711
|
path: _path2 + ".values",
|
|
2665
2712
|
expected: "(TermValues | undefined)",
|
|
2666
2713
|
value: input3.values
|
|
2667
|
-
}),
|
|
2714
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2715
|
+
path: _path2 + ".filter",
|
|
2716
|
+
expected: "(TermFilter | undefined)",
|
|
2717
|
+
value: input3.filter
|
|
2718
|
+
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2719
|
+
path: _path2 + ".filter",
|
|
2720
|
+
expected: "(TermFilter | undefined)",
|
|
2721
|
+
value: input3.filter
|
|
2722
|
+
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
2668
2723
|
path: _path2 + ".groupsetting",
|
|
2669
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2724
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
2670
2725
|
value: input3.groupsetting
|
|
2671
|
-
})) && $
|
|
2726
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
2672
2727
|
path: _path2 + ".groupsetting",
|
|
2673
|
-
expected: "(EnabledTermGroupSetting | __type.
|
|
2728
|
+
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
2674
2729
|
value: input3.groupsetting
|
|
2675
|
-
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
2676
|
-
path: _path2 + ".kind",
|
|
2677
|
-
expected: '"coord"',
|
|
2678
|
-
value: input3.kind
|
|
2679
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
2680
|
-
path: _path2 + ".chr",
|
|
2681
|
-
expected: "string",
|
|
2682
|
-
value: input3.chr
|
|
2683
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
2684
|
-
path: _path2 + ".start",
|
|
2685
|
-
expected: "number",
|
|
2686
|
-
value: input3.start
|
|
2687
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
2688
|
-
path: _path2 + ".stop",
|
|
2689
|
-
expected: "number",
|
|
2690
|
-
value: input3.stop
|
|
2691
|
-
})].every((flag) => flag);
|
|
2692
|
-
const $vo30 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
|
|
2693
|
-
path: _path2 + ".dt",
|
|
2694
|
-
expected: "1",
|
|
2695
|
-
value: input3.dt
|
|
2696
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
2697
|
-
path: _path2 + ".mclassLst",
|
|
2698
|
-
expected: "Array<SNVIndelClasses>",
|
|
2699
|
-
value: input3.mclassLst
|
|
2700
|
-
})) && input3.mclassLst.map((elem, _index24) => "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, {
|
|
2701
|
-
path: _path2 + ".mclassLst[" + _index24 + "]",
|
|
2702
|
-
expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
|
|
2703
|
-
value: elem
|
|
2704
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2705
|
-
path: _path2 + ".mclassLst",
|
|
2706
|
-
expected: "Array<SNVIndelClasses>",
|
|
2707
|
-
value: input3.mclassLst
|
|
2708
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
2709
|
-
path: _path2 + ".mclassExcludeLst",
|
|
2710
|
-
expected: "Array<SNVIndelClasses>",
|
|
2711
|
-
value: input3.mclassExcludeLst
|
|
2712
|
-
})) && input3.mclassExcludeLst.map((elem, _index25) => "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, {
|
|
2713
|
-
path: _path2 + ".mclassExcludeLst[" + _index25 + "]",
|
|
2714
|
-
expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
|
|
2715
|
-
value: elem
|
|
2716
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2717
|
-
path: _path2 + ".mclassExcludeLst",
|
|
2718
|
-
expected: "Array<SNVIndelClasses>",
|
|
2719
|
-
value: input3.mclassExcludeLst
|
|
2720
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
2721
|
-
path: _path2 + ".origin",
|
|
2722
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
2723
|
-
value: input3.origin
|
|
2724
|
-
})].every((flag) => flag);
|
|
2725
|
-
const $vo31 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
|
|
2726
|
-
path: _path2 + ".dt",
|
|
2727
|
-
expected: "4",
|
|
2728
|
-
value: input3.dt
|
|
2729
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
2730
|
-
path: _path2 + ".mclassLst",
|
|
2731
|
-
expected: "Array<CNVClasses>",
|
|
2732
|
-
value: input3.mclassLst
|
|
2733
|
-
})) && input3.mclassLst.map((elem, _index26) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem || $report(_exceptionable2, {
|
|
2734
|
-
path: _path2 + ".mclassLst[" + _index26 + "]",
|
|
2735
|
-
expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
|
|
2736
|
-
value: elem
|
|
2737
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2738
|
-
path: _path2 + ".mclassLst",
|
|
2739
|
-
expected: "Array<CNVClasses>",
|
|
2740
|
-
value: input3.mclassLst
|
|
2741
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
2742
|
-
path: _path2 + ".mclassExcludeLst",
|
|
2743
|
-
expected: "Array<CNVClasses>",
|
|
2744
|
-
value: input3.mclassExcludeLst
|
|
2745
|
-
})) && input3.mclassExcludeLst.map((elem, _index27) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem || $report(_exceptionable2, {
|
|
2746
|
-
path: _path2 + ".mclassExcludeLst[" + _index27 + "]",
|
|
2747
|
-
expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
|
|
2748
|
-
value: elem
|
|
2749
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2750
|
-
path: _path2 + ".mclassExcludeLst",
|
|
2751
|
-
expected: "Array<CNVClasses>",
|
|
2752
|
-
value: input3.mclassExcludeLst
|
|
2753
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
2754
|
-
path: _path2 + ".origin",
|
|
2755
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
2756
|
-
value: input3.origin
|
|
2757
|
-
})].every((flag) => flag);
|
|
2758
|
-
const $vo32 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
|
|
2759
|
-
path: _path2 + ".dt",
|
|
2760
|
-
expected: "5",
|
|
2761
|
-
value: input3.dt
|
|
2762
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
2763
|
-
path: _path2 + ".mclassLst",
|
|
2764
|
-
expected: "Array<SVClasses>",
|
|
2765
|
-
value: input3.mclassLst
|
|
2766
|
-
})) && input3.mclassLst.map((elem, _index28) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
|
|
2767
|
-
path: _path2 + ".mclassLst[" + _index28 + "]",
|
|
2768
|
-
expected: '("Blank" | "SV" | "WT")',
|
|
2769
|
-
value: elem
|
|
2770
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2771
|
-
path: _path2 + ".mclassLst",
|
|
2772
|
-
expected: "Array<SVClasses>",
|
|
2773
|
-
value: input3.mclassLst
|
|
2774
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
2775
|
-
path: _path2 + ".mclassExcludeLst",
|
|
2776
|
-
expected: "Array<SVClasses>",
|
|
2777
|
-
value: input3.mclassExcludeLst
|
|
2778
|
-
})) && input3.mclassExcludeLst.map((elem, _index29) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
|
|
2779
|
-
path: _path2 + ".mclassExcludeLst[" + _index29 + "]",
|
|
2780
|
-
expected: '("Blank" | "SV" | "WT")',
|
|
2781
|
-
value: elem
|
|
2782
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2783
|
-
path: _path2 + ".mclassExcludeLst",
|
|
2784
|
-
expected: "Array<SVClasses>",
|
|
2785
|
-
value: input3.mclassExcludeLst
|
|
2786
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
2787
|
-
path: _path2 + ".origin",
|
|
2788
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
2789
|
-
value: input3.origin
|
|
2790
|
-
})].every((flag) => flag);
|
|
2791
|
-
const $vo33 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
|
|
2792
|
-
path: _path2 + ".dt",
|
|
2793
|
-
expected: "2",
|
|
2794
|
-
value: input3.dt
|
|
2795
|
-
}), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
|
|
2796
|
-
path: _path2 + ".mclassLst",
|
|
2797
|
-
expected: "Array<FusionRNAClasses>",
|
|
2798
|
-
value: input3.mclassLst
|
|
2799
|
-
})) && input3.mclassLst.map((elem, _index30) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
|
|
2800
|
-
path: _path2 + ".mclassLst[" + _index30 + "]",
|
|
2801
|
-
expected: '("Blank" | "Fuserna" | "WT")',
|
|
2802
|
-
value: elem
|
|
2803
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2804
|
-
path: _path2 + ".mclassLst",
|
|
2805
|
-
expected: "Array<FusionRNAClasses>",
|
|
2806
|
-
value: input3.mclassLst
|
|
2807
|
-
}), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
|
|
2808
|
-
path: _path2 + ".mclassExcludeLst",
|
|
2809
|
-
expected: "Array<FusionRNAClasses>",
|
|
2810
|
-
value: input3.mclassExcludeLst
|
|
2811
|
-
})) && input3.mclassExcludeLst.map((elem, _index31) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
|
|
2812
|
-
path: _path2 + ".mclassExcludeLst[" + _index31 + "]",
|
|
2813
|
-
expected: '("Blank" | "Fuserna" | "WT")',
|
|
2814
|
-
value: elem
|
|
2815
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2816
|
-
path: _path2 + ".mclassExcludeLst",
|
|
2817
|
-
expected: "Array<FusionRNAClasses>",
|
|
2818
|
-
value: input3.mclassExcludeLst
|
|
2819
|
-
}), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
|
|
2820
|
-
path: _path2 + ".origin",
|
|
2821
|
-
expected: '("germline" | "somatic" | undefined)',
|
|
2822
|
-
value: input3.origin
|
|
2823
2730
|
})].every((flag) => flag);
|
|
2824
|
-
const $
|
|
2731
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2825
2732
|
path: _path2 + ".id",
|
|
2826
2733
|
expected: "string",
|
|
2827
2734
|
value: input3.id
|
|
@@ -2837,8 +2744,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2837
2744
|
path: _path2 + ".child_types",
|
|
2838
2745
|
expected: "(Array<string> | undefined)",
|
|
2839
2746
|
value: input3.child_types
|
|
2840
|
-
})) && input3.child_types.map((elem,
|
|
2841
|
-
path: _path2 + ".child_types[" +
|
|
2747
|
+
})) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2748
|
+
path: _path2 + ".child_types[" + _index27 + "]",
|
|
2842
2749
|
expected: "string",
|
|
2843
2750
|
value: elem
|
|
2844
2751
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2853,8 +2760,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2853
2760
|
path: _path2 + ".included_types",
|
|
2854
2761
|
expected: "(Array<string> | undefined)",
|
|
2855
2762
|
value: input3.included_types
|
|
2856
|
-
})) && input3.included_types.map((elem,
|
|
2857
|
-
path: _path2 + ".included_types[" +
|
|
2763
|
+
})) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2764
|
+
path: _path2 + ".included_types[" + _index28 + "]",
|
|
2858
2765
|
expected: "string",
|
|
2859
2766
|
value: elem
|
|
2860
2767
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2873,11 +2780,19 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2873
2780
|
path: _path2 + ".values",
|
|
2874
2781
|
expected: "(TermValues | undefined)",
|
|
2875
2782
|
value: input3.values
|
|
2876
|
-
}),
|
|
2783
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2784
|
+
path: _path2 + ".filter",
|
|
2785
|
+
expected: "(TermFilter | undefined)",
|
|
2786
|
+
value: input3.filter
|
|
2787
|
+
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2788
|
+
path: _path2 + ".filter",
|
|
2789
|
+
expected: "(TermFilter | undefined)",
|
|
2790
|
+
value: input3.filter
|
|
2791
|
+
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2877
2792
|
path: _path2 + ".bins",
|
|
2878
2793
|
expected: "PresetNumericBins",
|
|
2879
2794
|
value: input3.bins
|
|
2880
|
-
})) && $
|
|
2795
|
+
})) && $vo20(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
|
|
2881
2796
|
path: _path2 + ".bins",
|
|
2882
2797
|
expected: "PresetNumericBins",
|
|
2883
2798
|
value: input3.bins
|
|
@@ -2887,14 +2802,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2887
2802
|
value: input3.unit
|
|
2888
2803
|
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2889
2804
|
path: _path2 + ".continuousColorScale",
|
|
2890
|
-
expected: "(__type.
|
|
2805
|
+
expected: "(__type.o4 | undefined)",
|
|
2891
2806
|
value: input3.continuousColorScale
|
|
2892
|
-
})) && $
|
|
2807
|
+
})) && $vo27(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2893
2808
|
path: _path2 + ".continuousColorScale",
|
|
2894
|
-
expected: "(__type.
|
|
2809
|
+
expected: "(__type.o4 | undefined)",
|
|
2895
2810
|
value: input3.continuousColorScale
|
|
2896
2811
|
})].every((flag) => flag);
|
|
2897
|
-
const $
|
|
2812
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2898
2813
|
path: _path2 + ".id",
|
|
2899
2814
|
expected: "string",
|
|
2900
2815
|
value: input3.id
|
|
@@ -2910,8 +2825,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2910
2825
|
path: _path2 + ".child_types",
|
|
2911
2826
|
expected: "(Array<string> | undefined)",
|
|
2912
2827
|
value: input3.child_types
|
|
2913
|
-
})) && input3.child_types.map((elem,
|
|
2914
|
-
path: _path2 + ".child_types[" +
|
|
2828
|
+
})) && input3.child_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2829
|
+
path: _path2 + ".child_types[" + _index29 + "]",
|
|
2915
2830
|
expected: "string",
|
|
2916
2831
|
value: elem
|
|
2917
2832
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2926,8 +2841,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2926
2841
|
path: _path2 + ".included_types",
|
|
2927
2842
|
expected: "(Array<string> | undefined)",
|
|
2928
2843
|
value: input3.included_types
|
|
2929
|
-
})) && input3.included_types.map((elem,
|
|
2930
|
-
path: _path2 + ".included_types[" +
|
|
2844
|
+
})) && input3.included_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2845
|
+
path: _path2 + ".included_types[" + _index30 + "]",
|
|
2931
2846
|
expected: "string",
|
|
2932
2847
|
value: elem
|
|
2933
2848
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -2946,164 +2861,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2946
2861
|
path: _path2 + ".values",
|
|
2947
2862
|
expected: "(TermValues | undefined)",
|
|
2948
2863
|
value: input3.values
|
|
2949
|
-
}),
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
value: input3.name
|
|
2958
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
2959
|
-
path: _path2 + ".type",
|
|
2960
|
-
expected: '"geneVariant"',
|
|
2961
|
-
value: input3.type
|
|
2962
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
2963
|
-
path: _path2 + ".child_types",
|
|
2964
|
-
expected: "(Array<string> | undefined)",
|
|
2965
|
-
value: input3.child_types
|
|
2966
|
-
})) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2967
|
-
path: _path2 + ".child_types[" + _index36 + "]",
|
|
2968
|
-
expected: "string",
|
|
2969
|
-
value: elem
|
|
2970
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2971
|
-
path: _path2 + ".child_types",
|
|
2972
|
-
expected: "(Array<string> | undefined)",
|
|
2973
|
-
value: input3.child_types
|
|
2974
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
2975
|
-
path: _path2 + ".hashtmldetail",
|
|
2976
|
-
expected: "(boolean | undefined)",
|
|
2977
|
-
value: input3.hashtmldetail
|
|
2978
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
2979
|
-
path: _path2 + ".included_types",
|
|
2980
|
-
expected: "(Array<string> | undefined)",
|
|
2981
|
-
value: input3.included_types
|
|
2982
|
-
})) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2983
|
-
path: _path2 + ".included_types[" + _index37 + "]",
|
|
2984
|
-
expected: "string",
|
|
2985
|
-
value: elem
|
|
2986
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2987
|
-
path: _path2 + ".included_types",
|
|
2988
|
-
expected: "(Array<string> | undefined)",
|
|
2989
|
-
value: input3.included_types
|
|
2990
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
2991
|
-
path: _path2 + ".isleaf",
|
|
2992
|
-
expected: "(boolean | undefined)",
|
|
2993
|
-
value: input3.isleaf
|
|
2994
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
2995
|
-
path: _path2 + ".values",
|
|
2996
|
-
expected: "(TermValues | undefined)",
|
|
2997
|
-
value: input3.values
|
|
2998
|
-
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
2999
|
-
path: _path2 + ".values",
|
|
3000
|
-
expected: "(TermValues | undefined)",
|
|
3001
|
-
value: input3.values
|
|
3002
|
-
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3003
|
-
path: _path2 + ".groupsetting",
|
|
3004
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
3005
|
-
value: input3.groupsetting
|
|
3006
|
-
})) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3007
|
-
path: _path2 + ".groupsetting",
|
|
3008
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
3009
|
-
value: input3.groupsetting
|
|
3010
|
-
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
3011
|
-
path: _path2 + ".kind",
|
|
3012
|
-
expected: '"gene"',
|
|
3013
|
-
value: input3.kind
|
|
3014
|
-
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
3015
|
-
path: _path2 + ".gene",
|
|
3016
|
-
expected: "string",
|
|
3017
|
-
value: input3.gene
|
|
3018
|
-
}), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3019
|
-
path: _path2 + ".chr",
|
|
3020
|
-
expected: "(string | undefined)",
|
|
3021
|
-
value: input3.chr
|
|
3022
|
-
}), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3023
|
-
path: _path2 + ".start",
|
|
3024
|
-
expected: "(number | undefined)",
|
|
3025
|
-
value: input3.start
|
|
3026
|
-
}), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3027
|
-
path: _path2 + ".stop",
|
|
3028
|
-
expected: "(number | undefined)",
|
|
3029
|
-
value: input3.stop
|
|
3030
|
-
})].every((flag) => flag);
|
|
3031
|
-
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3032
|
-
path: _path2 + ".id",
|
|
3033
|
-
expected: "string",
|
|
3034
|
-
value: input3.id
|
|
3035
|
-
}), "string" === typeof input3.name || $report(_exceptionable2, {
|
|
3036
|
-
path: _path2 + ".name",
|
|
3037
|
-
expected: "string",
|
|
3038
|
-
value: input3.name
|
|
3039
|
-
}), "geneVariant" === input3.type || $report(_exceptionable2, {
|
|
3040
|
-
path: _path2 + ".type",
|
|
3041
|
-
expected: '"geneVariant"',
|
|
3042
|
-
value: input3.type
|
|
3043
|
-
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
3044
|
-
path: _path2 + ".child_types",
|
|
3045
|
-
expected: "(Array<string> | undefined)",
|
|
3046
|
-
value: input3.child_types
|
|
3047
|
-
})) && input3.child_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3048
|
-
path: _path2 + ".child_types[" + _index38 + "]",
|
|
3049
|
-
expected: "string",
|
|
3050
|
-
value: elem
|
|
3051
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3052
|
-
path: _path2 + ".child_types",
|
|
3053
|
-
expected: "(Array<string> | undefined)",
|
|
3054
|
-
value: input3.child_types
|
|
3055
|
-
}), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
|
|
3056
|
-
path: _path2 + ".hashtmldetail",
|
|
3057
|
-
expected: "(boolean | undefined)",
|
|
3058
|
-
value: input3.hashtmldetail
|
|
3059
|
-
}), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
|
|
3060
|
-
path: _path2 + ".included_types",
|
|
3061
|
-
expected: "(Array<string> | undefined)",
|
|
3062
|
-
value: input3.included_types
|
|
3063
|
-
})) && input3.included_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3064
|
-
path: _path2 + ".included_types[" + _index39 + "]",
|
|
3065
|
-
expected: "string",
|
|
3066
|
-
value: elem
|
|
3067
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3068
|
-
path: _path2 + ".included_types",
|
|
3069
|
-
expected: "(Array<string> | undefined)",
|
|
3070
|
-
value: input3.included_types
|
|
3071
|
-
}), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
|
|
3072
|
-
path: _path2 + ".isleaf",
|
|
3073
|
-
expected: "(boolean | undefined)",
|
|
3074
|
-
value: input3.isleaf
|
|
3075
|
-
}), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3076
|
-
path: _path2 + ".values",
|
|
3077
|
-
expected: "(TermValues | undefined)",
|
|
3078
|
-
value: input3.values
|
|
3079
|
-
})) && $vo2(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3080
|
-
path: _path2 + ".values",
|
|
3081
|
-
expected: "(TermValues | undefined)",
|
|
3082
|
-
value: input3.values
|
|
3083
|
-
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
3084
|
-
path: _path2 + ".groupsetting",
|
|
3085
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
3086
|
-
value: input3.groupsetting
|
|
3087
|
-
})) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
3088
|
-
path: _path2 + ".groupsetting",
|
|
3089
|
-
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
3090
|
-
value: input3.groupsetting
|
|
3091
|
-
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
3092
|
-
path: _path2 + ".kind",
|
|
3093
|
-
expected: '"coord"',
|
|
3094
|
-
value: input3.kind
|
|
3095
|
-
}), "string" === typeof input3.chr || $report(_exceptionable2, {
|
|
3096
|
-
path: _path2 + ".chr",
|
|
3097
|
-
expected: "string",
|
|
3098
|
-
value: input3.chr
|
|
3099
|
-
}), "number" === typeof input3.start || $report(_exceptionable2, {
|
|
3100
|
-
path: _path2 + ".start",
|
|
3101
|
-
expected: "number",
|
|
3102
|
-
value: input3.start
|
|
3103
|
-
}), "number" === typeof input3.stop || $report(_exceptionable2, {
|
|
3104
|
-
path: _path2 + ".stop",
|
|
3105
|
-
expected: "number",
|
|
3106
|
-
value: input3.stop
|
|
2864
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2865
|
+
path: _path2 + ".filter",
|
|
2866
|
+
expected: "(TermFilter | undefined)",
|
|
2867
|
+
value: input3.filter
|
|
2868
|
+
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2869
|
+
path: _path2 + ".filter",
|
|
2870
|
+
expected: "(TermFilter | undefined)",
|
|
2871
|
+
value: input3.filter
|
|
3107
2872
|
})].every((flag) => flag);
|
|
3108
2873
|
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3109
2874
|
path: _path2 + ".id",
|
|
@@ -3121,8 +2886,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3121
2886
|
path: _path2 + ".child_types",
|
|
3122
2887
|
expected: "(Array<string> | undefined)",
|
|
3123
2888
|
value: input3.child_types
|
|
3124
|
-
})) && input3.child_types.map((elem,
|
|
3125
|
-
path: _path2 + ".child_types[" +
|
|
2889
|
+
})) && input3.child_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2890
|
+
path: _path2 + ".child_types[" + _index31 + "]",
|
|
3126
2891
|
expected: "string",
|
|
3127
2892
|
value: elem
|
|
3128
2893
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3137,8 +2902,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3137
2902
|
path: _path2 + ".included_types",
|
|
3138
2903
|
expected: "(Array<string> | undefined)",
|
|
3139
2904
|
value: input3.included_types
|
|
3140
|
-
})) && input3.included_types.map((elem,
|
|
3141
|
-
path: _path2 + ".included_types[" +
|
|
2905
|
+
})) && input3.included_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2906
|
+
path: _path2 + ".included_types[" + _index32 + "]",
|
|
3142
2907
|
expected: "string",
|
|
3143
2908
|
value: elem
|
|
3144
2909
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3157,7 +2922,15 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3157
2922
|
path: _path2 + ".values",
|
|
3158
2923
|
expected: "(TermValues | undefined)",
|
|
3159
2924
|
value: input3.values
|
|
3160
|
-
}),
|
|
2925
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
2926
|
+
path: _path2 + ".filter",
|
|
2927
|
+
expected: "(TermFilter | undefined)",
|
|
2928
|
+
value: input3.filter
|
|
2929
|
+
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
2930
|
+
path: _path2 + ".filter",
|
|
2931
|
+
expected: "(TermFilter | undefined)",
|
|
2932
|
+
value: input3.filter
|
|
2933
|
+
}), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
|
|
3161
2934
|
path: _path2 + ".reachedVariantLimit",
|
|
3162
2935
|
expected: "(boolean | undefined)",
|
|
3163
2936
|
value: input3.reachedVariantLimit
|
|
@@ -3165,12 +2938,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3165
2938
|
path: _path2 + ".snps",
|
|
3166
2939
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3167
2940
|
value: input3.snps
|
|
3168
|
-
})) && input3.snps.map((elem,
|
|
3169
|
-
path: _path2 + ".snps[" +
|
|
2941
|
+
})) && input3.snps.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2942
|
+
path: _path2 + ".snps[" + _index33 + "]",
|
|
3170
2943
|
expected: "SnpsEntry",
|
|
3171
2944
|
value: elem
|
|
3172
|
-
})) && $vo39(elem, _path2 + ".snps[" +
|
|
3173
|
-
path: _path2 + ".snps[" +
|
|
2945
|
+
})) && $vo39(elem, _path2 + ".snps[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2946
|
+
path: _path2 + ".snps[" + _index33 + "]",
|
|
3174
2947
|
expected: "SnpsEntry",
|
|
3175
2948
|
value: elem
|
|
3176
2949
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3182,8 +2955,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3182
2955
|
path: _path2 + ".altAlleles",
|
|
3183
2956
|
expected: "(Array<string> | undefined)",
|
|
3184
2957
|
value: input3.altAlleles
|
|
3185
|
-
})) && input3.altAlleles.map((elem,
|
|
3186
|
-
path: _path2 + ".altAlleles[" +
|
|
2958
|
+
})) && input3.altAlleles.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
|
|
2959
|
+
path: _path2 + ".altAlleles[" + _index34 + "]",
|
|
3187
2960
|
expected: "string",
|
|
3188
2961
|
value: elem
|
|
3189
2962
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3194,12 +2967,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3194
2967
|
path: _path2 + ".alleles",
|
|
3195
2968
|
expected: "(Array<AllelesEntry> | undefined)",
|
|
3196
2969
|
value: input3.alleles
|
|
3197
|
-
})) && input3.alleles.map((elem,
|
|
3198
|
-
path: _path2 + ".alleles[" +
|
|
2970
|
+
})) && input3.alleles.map((elem, _index35) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2971
|
+
path: _path2 + ".alleles[" + _index35 + "]",
|
|
3199
2972
|
expected: "AllelesEntry",
|
|
3200
2973
|
value: elem
|
|
3201
|
-
})) && $vo40(elem, _path2 + ".alleles[" +
|
|
3202
|
-
path: _path2 + ".alleles[" +
|
|
2974
|
+
})) && $vo40(elem, _path2 + ".alleles[" + _index35 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2975
|
+
path: _path2 + ".alleles[" + _index35 + "]",
|
|
3203
2976
|
expected: "AllelesEntry",
|
|
3204
2977
|
value: elem
|
|
3205
2978
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3212,11 +2985,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3212
2985
|
value: input3.effectAllele
|
|
3213
2986
|
}), void 0 === input3.gt2count || ("object" === typeof input3.gt2count && null !== input3.gt2count || $report(_exceptionable2, {
|
|
3214
2987
|
path: _path2 + ".gt2count",
|
|
3215
|
-
expected: "(__type.
|
|
2988
|
+
expected: "(__type.o7 | undefined)",
|
|
3216
2989
|
value: input3.gt2count
|
|
3217
2990
|
})) && $vo41(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
3218
2991
|
path: _path2 + ".gt2count",
|
|
3219
|
-
expected: "(__type.
|
|
2992
|
+
expected: "(__type.o7 | undefined)",
|
|
3220
2993
|
value: input3.gt2count
|
|
3221
2994
|
}), void 0 === input3.invalid || "boolean" === typeof input3.invalid || $report(_exceptionable2, {
|
|
3222
2995
|
path: _path2 + ".invalid",
|
|
@@ -3281,8 +3054,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3281
3054
|
path: _path2 + ".child_types",
|
|
3282
3055
|
expected: "(Array<string> | undefined)",
|
|
3283
3056
|
value: input3.child_types
|
|
3284
|
-
})) && input3.child_types.map((elem,
|
|
3285
|
-
path: _path2 + ".child_types[" +
|
|
3057
|
+
})) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3058
|
+
path: _path2 + ".child_types[" + _index36 + "]",
|
|
3286
3059
|
expected: "string",
|
|
3287
3060
|
value: elem
|
|
3288
3061
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3297,8 +3070,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3297
3070
|
path: _path2 + ".included_types",
|
|
3298
3071
|
expected: "(Array<string> | undefined)",
|
|
3299
3072
|
value: input3.included_types
|
|
3300
|
-
})) && input3.included_types.map((elem,
|
|
3301
|
-
path: _path2 + ".included_types[" +
|
|
3073
|
+
})) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
|
|
3074
|
+
path: _path2 + ".included_types[" + _index37 + "]",
|
|
3302
3075
|
expected: "string",
|
|
3303
3076
|
value: elem
|
|
3304
3077
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
@@ -3317,7 +3090,15 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3317
3090
|
path: _path2 + ".values",
|
|
3318
3091
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3319
3092
|
value: input3.values
|
|
3320
|
-
}),
|
|
3093
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
3094
|
+
path: _path2 + ".filter",
|
|
3095
|
+
expected: "(TermFilter | undefined)",
|
|
3096
|
+
value: input3.filter
|
|
3097
|
+
})) && $vo8(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
3098
|
+
path: _path2 + ".filter",
|
|
3099
|
+
expected: "(TermFilter | undefined)",
|
|
3100
|
+
value: input3.filter
|
|
3101
|
+
})].every((flag) => flag);
|
|
3321
3102
|
const $vo43 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3322
3103
|
const value = input3[key];
|
|
3323
3104
|
if (void 0 === value)
|
|
@@ -3386,19 +3167,19 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3386
3167
|
value: input3.inuse
|
|
3387
3168
|
}), (Array.isArray(input3.list) || $report(_exceptionable2, {
|
|
3388
3169
|
path: _path2 + ".list",
|
|
3389
|
-
expected: "Array<__type>.
|
|
3170
|
+
expected: "Array<__type>.o3",
|
|
3390
3171
|
value: input3.list
|
|
3391
|
-
})) && input3.list.map((elem,
|
|
3392
|
-
path: _path2 + ".list[" +
|
|
3393
|
-
expected: "__type.
|
|
3172
|
+
})) && input3.list.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3173
|
+
path: _path2 + ".list[" + _index38 + "]",
|
|
3174
|
+
expected: "__type.o8",
|
|
3394
3175
|
value: elem
|
|
3395
|
-
})) && $vo45(elem, _path2 + ".list[" +
|
|
3396
|
-
path: _path2 + ".list[" +
|
|
3397
|
-
expected: "__type.
|
|
3176
|
+
})) && $vo45(elem, _path2 + ".list[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3177
|
+
path: _path2 + ".list[" + _index38 + "]",
|
|
3178
|
+
expected: "__type.o8",
|
|
3398
3179
|
value: elem
|
|
3399
3180
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3400
3181
|
path: _path2 + ".list",
|
|
3401
|
-
expected: "Array<__type>.
|
|
3182
|
+
expected: "Array<__type>.o3",
|
|
3402
3183
|
value: input3.list
|
|
3403
3184
|
}), true].every((flag) => flag);
|
|
3404
3185
|
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
@@ -3411,30 +3192,34 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3411
3192
|
value: input3.sample
|
|
3412
3193
|
})].every((flag) => flag);
|
|
3413
3194
|
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3414
|
-
if ("
|
|
3195
|
+
if ("gene" === input3.kind)
|
|
3415
3196
|
return $vo1(input3, _path2, _exceptionable2);
|
|
3416
|
-
if ("
|
|
3197
|
+
if ("coord" === input3.kind)
|
|
3417
3198
|
return $vo34(input3, _path2, _exceptionable2);
|
|
3418
|
-
if ("
|
|
3199
|
+
if ("categorical" === input3.type)
|
|
3419
3200
|
return $vo35(input3, _path2, _exceptionable2);
|
|
3420
|
-
if ("
|
|
3201
|
+
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type)
|
|
3421
3202
|
return $vo36(input3, _path2, _exceptionable2);
|
|
3422
|
-
if ("
|
|
3203
|
+
if ("condition" === input3.type)
|
|
3423
3204
|
return $vo37(input3, _path2, _exceptionable2);
|
|
3424
3205
|
return $vo38(input3, _path2, false) || $vo42(input3, _path2, false);
|
|
3425
3206
|
})();
|
|
3426
3207
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3427
|
-
if (
|
|
3208
|
+
if ("tvslst" === input3.type)
|
|
3428
3209
|
return $vo4(input3, _path2, _exceptionable2);
|
|
3429
|
-
if (
|
|
3430
|
-
return $
|
|
3431
|
-
return $
|
|
3210
|
+
if ("tvs" === input3.type)
|
|
3211
|
+
return $vo5(input3, _path2, _exceptionable2);
|
|
3212
|
+
return $report(_exceptionable2, {
|
|
3213
|
+
path: _path2,
|
|
3214
|
+
expected: "(Filter | __type)",
|
|
3215
|
+
value: input3
|
|
3216
|
+
});
|
|
3432
3217
|
})();
|
|
3433
3218
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3434
3219
|
if ("string" === typeof input3.type)
|
|
3435
|
-
return $
|
|
3220
|
+
return $vo13(input3, _path2, _exceptionable2);
|
|
3436
3221
|
if ("filter" === input3.type)
|
|
3437
|
-
return $
|
|
3222
|
+
return $vo15(input3, _path2, _exceptionable2);
|
|
3438
3223
|
return $report(_exceptionable2, {
|
|
3439
3224
|
path: _path2,
|
|
3440
3225
|
expected: "(ValuesGroup | FilterGroup)",
|
|
@@ -3443,36 +3228,26 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3443
3228
|
})();
|
|
3444
3229
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3445
3230
|
if (true === input3.startunbounded)
|
|
3446
|
-
return $
|
|
3231
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
3447
3232
|
if (true === input3.stopunbounded)
|
|
3448
|
-
return $
|
|
3449
|
-
return $
|
|
3233
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
3234
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
3450
3235
|
})();
|
|
3451
3236
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3452
|
-
if (
|
|
3453
|
-
return $
|
|
3454
|
-
|
|
3455
|
-
return $vo32(input3, _path2, _exceptionable2);
|
|
3456
|
-
if (4 === input3.dt)
|
|
3457
|
-
return $vo31(input3, _path2, _exceptionable2);
|
|
3458
|
-
if (1 === input3.dt)
|
|
3459
|
-
return $vo30(input3, _path2, _exceptionable2);
|
|
3460
|
-
return $report(_exceptionable2, {
|
|
3461
|
-
path: _path2,
|
|
3462
|
-
expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
|
|
3463
|
-
value: input3
|
|
3464
|
-
});
|
|
3237
|
+
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index39) => "object" === typeof elem && null !== elem && $vo12(elem, _path2 + ".lst[" + _index39 + "]", false)).every((flag) => flag))
|
|
3238
|
+
return $vo11(input3, _path2, _exceptionable2);
|
|
3239
|
+
return $vo17(input3, _path2, _exceptionable2);
|
|
3465
3240
|
})();
|
|
3466
3241
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3467
|
-
if (
|
|
3468
|
-
return $
|
|
3469
|
-
return $
|
|
3242
|
+
if (void 0 !== input3.ranges)
|
|
3243
|
+
return $vo18(input3, _path2, _exceptionable2);
|
|
3244
|
+
return $vo6(input3, _path2, false) || $vo29(input3, _path2, false) || $vo32(input3, _path2, false);
|
|
3470
3245
|
})();
|
|
3471
3246
|
const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3472
3247
|
if ("regular-bin" === input3.type)
|
|
3473
|
-
return $vo16(input3, _path2, _exceptionable2);
|
|
3474
|
-
if ("custom-bin" === input3.type)
|
|
3475
3248
|
return $vo21(input3, _path2, _exceptionable2);
|
|
3249
|
+
if ("custom-bin" === input3.type)
|
|
3250
|
+
return $vo26(input3, _path2, _exceptionable2);
|
|
3476
3251
|
return $report(_exceptionable2, {
|
|
3477
3252
|
path: _path2,
|
|
3478
3253
|
expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
|
|
@@ -3481,9 +3256,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3481
3256
|
})();
|
|
3482
3257
|
const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3483
3258
|
if (true === input3.startunbounded)
|
|
3484
|
-
return $
|
|
3259
|
+
return $vo23(input3, _path2, _exceptionable2);
|
|
3485
3260
|
if (void 0 !== input3.start)
|
|
3486
|
-
return $
|
|
3261
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
3487
3262
|
return $report(_exceptionable2, {
|
|
3488
3263
|
path: _path2,
|
|
3489
3264
|
expected: "(StartUnboundedBin | FullyBoundedBin)",
|
|
@@ -3492,26 +3267,15 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3492
3267
|
})();
|
|
3493
3268
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3494
3269
|
if (void 0 !== input3.stop)
|
|
3495
|
-
return $
|
|
3270
|
+
return $vo24(input3, _path2, _exceptionable2);
|
|
3496
3271
|
if (true === input3.stopunbounded)
|
|
3497
|
-
return $
|
|
3272
|
+
return $vo25(input3, _path2, _exceptionable2);
|
|
3498
3273
|
return $report(_exceptionable2, {
|
|
3499
3274
|
path: _path2,
|
|
3500
3275
|
expected: "(FullyBoundedBin | StopUnboundedBin)",
|
|
3501
3276
|
value: input3
|
|
3502
3277
|
});
|
|
3503
3278
|
})();
|
|
3504
|
-
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3505
|
-
if ("gene" === input3.kind)
|
|
3506
|
-
return $vo28(input3, _path2, _exceptionable2);
|
|
3507
|
-
if ("coord" === input3.kind)
|
|
3508
|
-
return $vo29(input3, _path2, _exceptionable2);
|
|
3509
|
-
return $report(_exceptionable2, {
|
|
3510
|
-
path: _path2,
|
|
3511
|
-
expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
|
|
3512
|
-
value: input3
|
|
3513
|
-
});
|
|
3514
|
-
})();
|
|
3515
3279
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
3516
3280
|
path: _path + "",
|
|
3517
3281
|
expected: "TermdbTopTermsByTypeResponse",
|