@sjcrh/proteinpaint-types 2.100.1-1 → 2.102.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-MPWRZLLD.js → chunk-A7N3MZBR.js} +220 -190
- package/dist/{chunk-6FUNF4LO.js → chunk-C7NNY32H.js} +222 -162
- package/dist/{chunk-3SAPC23I.js → chunk-FUIYK4TP.js} +251 -225
- package/dist/{chunk-GQVW2DPA.js → chunk-JGY7OWQH.js} +64 -46
- package/dist/{chunk-ARKAYFIF.js → chunk-KADNDGDN.js} +215 -189
- package/dist/{chunk-IORCECK2.js → chunk-MD7FPJ6R.js} +64 -46
- package/dist/{chunk-Y4KYTIK6.js → chunk-MUMDRXDY.js} +64 -46
- package/dist/{chunk-JDJZ35H6.js → chunk-OK6BVEFI.js} +64 -46
- package/dist/{chunk-QV7KKZV4.js → chunk-PFG6MDVS.js} +215 -189
- package/dist/{chunk-HQDTWY25.js → chunk-QVDCLRUP.js} +215 -189
- package/dist/{chunk-CU5TLT6P.js → chunk-WSXS2FSQ.js} +188 -144
- package/dist/{chunk-BJB2CGP3.js → chunk-XPPUNYBL.js} +64 -46
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +12 -12
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/routes/termdb.boxplot.ts +2 -0
- package/src/terms/numeric.ts +3 -5
|
@@ -22,7 +22,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
22
22
|
const errors = [];
|
|
23
23
|
const __is = (input2) => {
|
|
24
24
|
const $join = import_typia.createValidate.join;
|
|
25
|
-
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "geneExpression" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $
|
|
25
|
+
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "geneExpression" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io33(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
|
|
26
26
|
const $io1 = (input3) => "lst" === input3.type && (void 0 === input3["in"] || "boolean" === typeof input3["in"]) && ("and" === input3.join || "or" === 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
27
|
const $io2 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io3(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) && $io5(elem)));
|
|
28
28
|
const $io3 = (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) && $io4(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
@@ -43,8 +43,8 @@ var validTermdbClusterRequest = (input) => {
|
|
|
43
43
|
const $io9 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
44
44
|
const $io10 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter));
|
|
45
45
|
const $io11 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
46
|
-
const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io13(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 && $
|
|
47
|
-
const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
|
|
46
|
+
const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io13(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 && $io22(elem)));
|
|
47
|
+
const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io21(input3.continuousColorScale));
|
|
48
48
|
const $io14 = (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);
|
|
49
49
|
const $io15 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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);
|
|
50
50
|
const $io16 = (input3) => Object.keys(input3).every((key) => {
|
|
@@ -59,22 +59,23 @@ var validTermdbClusterRequest = (input) => {
|
|
|
59
59
|
const $io18 = (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);
|
|
60
60
|
const $io19 = (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);
|
|
61
61
|
const $io20 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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);
|
|
62
|
-
const $io21 = (input3) => "string" === typeof input3.
|
|
63
|
-
const $io22 = (input3) =>
|
|
64
|
-
const $io23 = (input3) =>
|
|
65
|
-
const $io24 = (input3) => "
|
|
66
|
-
const $io25 = (input3) =>
|
|
67
|
-
const $io26 = (input3) =>
|
|
68
|
-
const $io27 = (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)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io6(input3.groupsetting)) && "
|
|
69
|
-
const $io28 = (input3) =>
|
|
70
|
-
const $io29 = (input3) =>
|
|
71
|
-
const $io30 = (input3) =>
|
|
72
|
-
const $io31 = (input3) =>
|
|
73
|
-
const $io32 = (input3) =>
|
|
74
|
-
const $io33 = (input3) => "string" === typeof input3.
|
|
75
|
-
const $io34 = (input3) => "string" === typeof input3.
|
|
76
|
-
const $io35 = (input3) => "string" === typeof input3.
|
|
77
|
-
const $io36 = (input3) => "string" === typeof input3.
|
|
62
|
+
const $io21 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
63
|
+
const $io22 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
64
|
+
const $io23 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io24(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 && $io25(elem)));
|
|
65
|
+
const $io24 = (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) && $io4(input3.values));
|
|
66
|
+
const $io25 = (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;
|
|
67
|
+
const $io26 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem)));
|
|
68
|
+
const $io27 = (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)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io6(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);
|
|
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)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io6(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);
|
|
74
|
+
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io21(input3.continuousColorScale)) && "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);
|
|
75
|
+
const $io34 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "metaboliteIntensity" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io35(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
|
|
76
|
+
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && true && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io21(input3.continuousColorScale)) && "string" === typeof input3.metabolite;
|
|
77
|
+
const $io36 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "numericDictTerm" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io37(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
|
|
78
|
+
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
|
|
78
79
|
const $iu0 = (input3) => (() => {
|
|
79
80
|
if (void 0 !== input3.type)
|
|
80
81
|
return $io1(input3);
|
|
@@ -83,10 +84,10 @@ var validTermdbClusterRequest = (input) => {
|
|
|
83
84
|
return (() => {
|
|
84
85
|
if ($io2(input3))
|
|
85
86
|
return $io2(input3);
|
|
86
|
-
if ($
|
|
87
|
-
return $
|
|
88
|
-
if ($
|
|
89
|
-
return $
|
|
87
|
+
if ($io23(input3))
|
|
88
|
+
return $io23(input3);
|
|
89
|
+
if ($io26(input3))
|
|
90
|
+
return $io26(input3);
|
|
90
91
|
return false;
|
|
91
92
|
})();
|
|
92
93
|
})();
|
|
@@ -106,13 +107,13 @@ var validTermdbClusterRequest = (input) => {
|
|
|
106
107
|
})();
|
|
107
108
|
const $iu3 = (input3) => (() => {
|
|
108
109
|
if (2 === input3.dt)
|
|
109
|
-
return $
|
|
110
|
+
return $io32(input3);
|
|
110
111
|
if (5 === input3.dt)
|
|
111
|
-
return $
|
|
112
|
+
return $io31(input3);
|
|
112
113
|
if (4 === input3.dt)
|
|
113
|
-
return $
|
|
114
|
+
return $io30(input3);
|
|
114
115
|
if (1 === input3.dt)
|
|
115
|
-
return $
|
|
116
|
+
return $io29(input3);
|
|
116
117
|
return false;
|
|
117
118
|
})();
|
|
118
119
|
const $iu4 = (input3) => (() => {
|
|
@@ -143,16 +144,16 @@ var validTermdbClusterRequest = (input) => {
|
|
|
143
144
|
})();
|
|
144
145
|
const $iu8 = (input3) => (() => {
|
|
145
146
|
if ("gene" === input3.kind)
|
|
146
|
-
return $io26(input3);
|
|
147
|
-
if ("coord" === input3.kind)
|
|
148
147
|
return $io27(input3);
|
|
148
|
+
if ("coord" === input3.kind)
|
|
149
|
+
return $io28(input3);
|
|
149
150
|
return false;
|
|
150
151
|
})();
|
|
151
152
|
const $iu9 = (input3) => (() => {
|
|
152
153
|
if ("numericDictTerm" === input3.dataType)
|
|
153
|
-
return $
|
|
154
|
+
return $io36(input3);
|
|
154
155
|
if ("metaboliteIntensity" === input3.dataType)
|
|
155
|
-
return $
|
|
156
|
+
return $io34(input3);
|
|
156
157
|
if ("geneExpression" === input3.dataType)
|
|
157
158
|
return $io0(input3);
|
|
158
159
|
return false;
|
|
@@ -199,7 +200,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
199
200
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
200
201
|
expected: "GeneExpressionTerm",
|
|
201
202
|
value: elem
|
|
202
|
-
})) && $
|
|
203
|
+
})) && $vo33(elem, _path2 + ".terms[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
203
204
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
204
205
|
expected: "GeneExpressionTerm",
|
|
205
206
|
value: elem
|
|
@@ -562,11 +563,11 @@ var validTermdbClusterRequest = (input) => {
|
|
|
562
563
|
value: input3.values
|
|
563
564
|
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
564
565
|
path: _path2 + ".values[" + _index10 + "]",
|
|
565
|
-
expected: "__type.
|
|
566
|
+
expected: "__type.o3",
|
|
566
567
|
value: elem
|
|
567
|
-
})) && $
|
|
568
|
+
})) && $vo22(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
568
569
|
path: _path2 + ".values[" + _index10 + "]",
|
|
569
|
-
expected: "__type.
|
|
570
|
+
expected: "__type.o3",
|
|
570
571
|
value: elem
|
|
571
572
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
572
573
|
path: _path2 + ".values",
|
|
@@ -637,6 +638,14 @@ var validTermdbClusterRequest = (input) => {
|
|
|
637
638
|
path: _path2 + ".unit",
|
|
638
639
|
expected: "(string | undefined)",
|
|
639
640
|
value: input3.unit
|
|
641
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
642
|
+
path: _path2 + ".continuousColorScale",
|
|
643
|
+
expected: "(__type.o2 | undefined)",
|
|
644
|
+
value: input3.continuousColorScale
|
|
645
|
+
})) && $vo21(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
646
|
+
path: _path2 + ".continuousColorScale",
|
|
647
|
+
expected: "(__type.o2 | undefined)",
|
|
648
|
+
value: input3.continuousColorScale
|
|
640
649
|
})].every((flag) => flag);
|
|
641
650
|
const $vo14 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
642
651
|
path: _path2 + '["default"]',
|
|
@@ -886,7 +895,16 @@ var validTermdbClusterRequest = (input) => {
|
|
|
886
895
|
expected: '("median" | undefined)',
|
|
887
896
|
value: input3.preferredBins
|
|
888
897
|
})].every((flag) => flag);
|
|
889
|
-
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.
|
|
898
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
899
|
+
path: _path2 + ".minColor",
|
|
900
|
+
expected: "string",
|
|
901
|
+
value: input3.minColor
|
|
902
|
+
}), "string" === typeof input3.maxColor || $report(_exceptionable2, {
|
|
903
|
+
path: _path2 + ".maxColor",
|
|
904
|
+
expected: "string",
|
|
905
|
+
value: input3.maxColor
|
|
906
|
+
})].every((flag) => flag);
|
|
907
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
890
908
|
path: _path2 + ".key",
|
|
891
909
|
expected: "string",
|
|
892
910
|
value: input3.key
|
|
@@ -903,7 +921,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
903
921
|
expected: "(string | undefined)",
|
|
904
922
|
value: input3.label
|
|
905
923
|
})].every((flag) => flag);
|
|
906
|
-
const $
|
|
924
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
907
925
|
path: _path2 + ".join",
|
|
908
926
|
expected: "(string | undefined)",
|
|
909
927
|
value: input3.join
|
|
@@ -915,7 +933,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
915
933
|
path: _path2 + ".term",
|
|
916
934
|
expected: "ConditionTerm",
|
|
917
935
|
value: input3.term
|
|
918
|
-
})) && $
|
|
936
|
+
})) && $vo24(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
919
937
|
path: _path2 + ".term",
|
|
920
938
|
expected: "ConditionTerm",
|
|
921
939
|
value: input3.term
|
|
@@ -939,7 +957,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
939
957
|
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
940
958
|
expected: "GradeAndChildEntry",
|
|
941
959
|
value: elem
|
|
942
|
-
})) && $
|
|
960
|
+
})) && $vo25(elem, _path2 + ".grade_and_child[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
943
961
|
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
944
962
|
expected: "GradeAndChildEntry",
|
|
945
963
|
value: elem
|
|
@@ -948,7 +966,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
948
966
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
949
967
|
value: input3.grade_and_child
|
|
950
968
|
})].every((flag) => flag);
|
|
951
|
-
const $
|
|
969
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
952
970
|
path: _path2 + ".id",
|
|
953
971
|
expected: "string",
|
|
954
972
|
value: input3.id
|
|
@@ -1001,7 +1019,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1001
1019
|
expected: "(TermValues | undefined)",
|
|
1002
1020
|
value: input3.values
|
|
1003
1021
|
})].every((flag) => flag);
|
|
1004
|
-
const $
|
|
1022
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1005
1023
|
path: _path2 + ".grade",
|
|
1006
1024
|
expected: "number",
|
|
1007
1025
|
value: input3.grade
|
|
@@ -1018,7 +1036,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1018
1036
|
expected: "string",
|
|
1019
1037
|
value: input3.child_label
|
|
1020
1038
|
})].every((flag) => flag);
|
|
1021
|
-
const $
|
|
1039
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1022
1040
|
path: _path2 + ".join",
|
|
1023
1041
|
expected: "(string | undefined)",
|
|
1024
1042
|
value: input3.join
|
|
@@ -1051,7 +1069,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1051
1069
|
expected: "Array<GeneVariantTvsValue>",
|
|
1052
1070
|
value: input3.values
|
|
1053
1071
|
})].every((flag) => flag);
|
|
1054
|
-
const $
|
|
1072
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1055
1073
|
path: _path2 + ".id",
|
|
1056
1074
|
expected: "string",
|
|
1057
1075
|
value: input3.id
|
|
@@ -1132,7 +1150,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1132
1150
|
expected: "(number | undefined)",
|
|
1133
1151
|
value: input3.stop
|
|
1134
1152
|
})].every((flag) => flag);
|
|
1135
|
-
const $
|
|
1153
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1136
1154
|
path: _path2 + ".id",
|
|
1137
1155
|
expected: "string",
|
|
1138
1156
|
value: input3.id
|
|
@@ -1209,7 +1227,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1209
1227
|
expected: "number",
|
|
1210
1228
|
value: input3.stop
|
|
1211
1229
|
})].every((flag) => flag);
|
|
1212
|
-
const $
|
|
1230
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
|
|
1213
1231
|
path: _path2 + ".dt",
|
|
1214
1232
|
expected: "1",
|
|
1215
1233
|
value: input3.dt
|
|
@@ -1242,7 +1260,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1242
1260
|
expected: '("germline" | "somatic" | undefined)',
|
|
1243
1261
|
value: input3.origin
|
|
1244
1262
|
})].every((flag) => flag);
|
|
1245
|
-
const $
|
|
1263
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
|
|
1246
1264
|
path: _path2 + ".dt",
|
|
1247
1265
|
expected: "4",
|
|
1248
1266
|
value: input3.dt
|
|
@@ -1275,7 +1293,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1275
1293
|
expected: '("germline" | "somatic" | undefined)',
|
|
1276
1294
|
value: input3.origin
|
|
1277
1295
|
})].every((flag) => flag);
|
|
1278
|
-
const $
|
|
1296
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
|
|
1279
1297
|
path: _path2 + ".dt",
|
|
1280
1298
|
expected: "5",
|
|
1281
1299
|
value: input3.dt
|
|
@@ -1308,7 +1326,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1308
1326
|
expected: '("germline" | "somatic" | undefined)',
|
|
1309
1327
|
value: input3.origin
|
|
1310
1328
|
})].every((flag) => flag);
|
|
1311
|
-
const $
|
|
1329
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
|
|
1312
1330
|
path: _path2 + ".dt",
|
|
1313
1331
|
expected: "2",
|
|
1314
1332
|
value: input3.dt
|
|
@@ -1341,7 +1359,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1341
1359
|
expected: '("germline" | "somatic" | undefined)',
|
|
1342
1360
|
value: input3.origin
|
|
1343
1361
|
})].every((flag) => flag);
|
|
1344
|
-
const $
|
|
1362
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1345
1363
|
path: _path2 + ".id",
|
|
1346
1364
|
expected: "string",
|
|
1347
1365
|
value: input3.id
|
|
@@ -1405,6 +1423,14 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1405
1423
|
path: _path2 + ".unit",
|
|
1406
1424
|
expected: "(string | undefined)",
|
|
1407
1425
|
value: input3.unit
|
|
1426
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1427
|
+
path: _path2 + ".continuousColorScale",
|
|
1428
|
+
expected: "(__type.o2 | undefined)",
|
|
1429
|
+
value: input3.continuousColorScale
|
|
1430
|
+
})) && $vo21(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1431
|
+
path: _path2 + ".continuousColorScale",
|
|
1432
|
+
expected: "(__type.o2 | undefined)",
|
|
1433
|
+
value: input3.continuousColorScale
|
|
1408
1434
|
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
1409
1435
|
path: _path2 + ".gene",
|
|
1410
1436
|
expected: "string",
|
|
@@ -1422,7 +1448,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1422
1448
|
expected: "(number | undefined)",
|
|
1423
1449
|
value: input3.stop
|
|
1424
1450
|
})].every((flag) => flag);
|
|
1425
|
-
const $
|
|
1451
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
|
|
1426
1452
|
path: _path2 + ".genome",
|
|
1427
1453
|
expected: "string",
|
|
1428
1454
|
value: input3.genome
|
|
@@ -1458,7 +1484,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1458
1484
|
path: _path2 + ".terms[" + _index32 + "]",
|
|
1459
1485
|
expected: "MetaboliteIntensityTerm",
|
|
1460
1486
|
value: elem
|
|
1461
|
-
})) && $
|
|
1487
|
+
})) && $vo35(elem, _path2 + ".terms[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1462
1488
|
path: _path2 + ".terms[" + _index32 + "]",
|
|
1463
1489
|
expected: "MetaboliteIntensityTerm",
|
|
1464
1490
|
value: elem
|
|
@@ -1471,7 +1497,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1471
1497
|
expected: "(string | undefined)",
|
|
1472
1498
|
value: input3.zScoreTransformation
|
|
1473
1499
|
})].every((flag) => flag);
|
|
1474
|
-
const $
|
|
1500
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1475
1501
|
path: _path2 + ".id",
|
|
1476
1502
|
expected: "string",
|
|
1477
1503
|
value: input3.id
|
|
@@ -1527,12 +1553,20 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1527
1553
|
path: _path2 + ".unit",
|
|
1528
1554
|
expected: "(string | undefined)",
|
|
1529
1555
|
value: input3.unit
|
|
1556
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
1557
|
+
path: _path2 + ".continuousColorScale",
|
|
1558
|
+
expected: "(__type.o2 | undefined)",
|
|
1559
|
+
value: input3.continuousColorScale
|
|
1560
|
+
})) && $vo21(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
1561
|
+
path: _path2 + ".continuousColorScale",
|
|
1562
|
+
expected: "(__type.o2 | undefined)",
|
|
1563
|
+
value: input3.continuousColorScale
|
|
1530
1564
|
}), "string" === typeof input3.metabolite || $report(_exceptionable2, {
|
|
1531
1565
|
path: _path2 + ".metabolite",
|
|
1532
1566
|
expected: "string",
|
|
1533
1567
|
value: input3.metabolite
|
|
1534
1568
|
})].every((flag) => flag);
|
|
1535
|
-
const $
|
|
1569
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
|
|
1536
1570
|
path: _path2 + ".genome",
|
|
1537
1571
|
expected: "string",
|
|
1538
1572
|
value: input3.genome
|
|
@@ -1568,7 +1602,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1568
1602
|
path: _path2 + ".terms[" + _index35 + "]",
|
|
1569
1603
|
expected: "NumericDictTerm",
|
|
1570
1604
|
value: elem
|
|
1571
|
-
})) && $
|
|
1605
|
+
})) && $vo37(elem, _path2 + ".terms[" + _index35 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1572
1606
|
path: _path2 + ".terms[" + _index35 + "]",
|
|
1573
1607
|
expected: "NumericDictTerm",
|
|
1574
1608
|
value: elem
|
|
@@ -1581,7 +1615,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1581
1615
|
expected: "(string | undefined)",
|
|
1582
1616
|
value: input3.zScoreTransformation
|
|
1583
1617
|
})].every((flag) => flag);
|
|
1584
|
-
const $
|
|
1618
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1585
1619
|
path: _path2 + ".id",
|
|
1586
1620
|
expected: "string",
|
|
1587
1621
|
value: input3.id
|
|
@@ -1651,7 +1685,7 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1651
1685
|
return $vo1(input3, _path2, _exceptionable2);
|
|
1652
1686
|
if (void 0 !== input3.ranges)
|
|
1653
1687
|
return $vo12(input3, _path2, _exceptionable2);
|
|
1654
|
-
return $vo2(input3, _path2, false) || $
|
|
1688
|
+
return $vo2(input3, _path2, false) || $vo23(input3, _path2, false) || $vo26(input3, _path2, false);
|
|
1655
1689
|
})();
|
|
1656
1690
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1657
1691
|
if ("string" === typeof input3.type)
|
|
@@ -1673,13 +1707,13 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1673
1707
|
})();
|
|
1674
1708
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1675
1709
|
if (2 === input3.dt)
|
|
1676
|
-
return $
|
|
1710
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
1677
1711
|
if (5 === input3.dt)
|
|
1678
|
-
return $
|
|
1712
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
1679
1713
|
if (4 === input3.dt)
|
|
1680
|
-
return $
|
|
1714
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
1681
1715
|
if (1 === input3.dt)
|
|
1682
|
-
return $
|
|
1716
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
1683
1717
|
return $report(_exceptionable2, {
|
|
1684
1718
|
path: _path2,
|
|
1685
1719
|
expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
|
|
@@ -1726,9 +1760,9 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1726
1760
|
})();
|
|
1727
1761
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1728
1762
|
if ("gene" === input3.kind)
|
|
1729
|
-
return $vo26(input3, _path2, _exceptionable2);
|
|
1730
|
-
if ("coord" === input3.kind)
|
|
1731
1763
|
return $vo27(input3, _path2, _exceptionable2);
|
|
1764
|
+
if ("coord" === input3.kind)
|
|
1765
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
1732
1766
|
return $report(_exceptionable2, {
|
|
1733
1767
|
path: _path2,
|
|
1734
1768
|
expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
|
|
@@ -1737,9 +1771,9 @@ var validTermdbClusterRequest = (input) => {
|
|
|
1737
1771
|
})();
|
|
1738
1772
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1739
1773
|
if ("numericDictTerm" === input3.dataType)
|
|
1740
|
-
return $
|
|
1774
|
+
return $vo36(input3, _path2, _exceptionable2);
|
|
1741
1775
|
if ("metaboliteIntensity" === input3.dataType)
|
|
1742
|
-
return $
|
|
1776
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
1743
1777
|
if ("geneExpression" === input3.dataType)
|
|
1744
1778
|
return $vo0(input3, _path2, _exceptionable2);
|
|
1745
1779
|
return $report(_exceptionable2, {
|
|
@@ -1815,8 +1849,8 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1815
1849
|
const $io19 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
1816
1850
|
const $io20 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io13(input3.filter));
|
|
1817
1851
|
const $io21 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
1818
|
-
const $io22 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io23(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 && $
|
|
1819
|
-
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io11(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io24(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
|
|
1852
|
+
const $io22 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io23(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 && $io32(elem)));
|
|
1853
|
+
const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io11(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io24(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io31(input3.continuousColorScale));
|
|
1820
1854
|
const $io24 = (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);
|
|
1821
1855
|
const $io25 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io26(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);
|
|
1822
1856
|
const $io26 = (input3) => Object.keys(input3).every((key) => {
|
|
@@ -1831,38 +1865,39 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1831
1865
|
const $io28 = (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);
|
|
1832
1866
|
const $io29 = (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);
|
|
1833
1867
|
const $io30 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io26(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);
|
|
1834
|
-
const $io31 = (input3) => "string" === typeof input3.
|
|
1835
|
-
const $io32 = (input3) =>
|
|
1836
|
-
const $io33 = (input3) =>
|
|
1837
|
-
const $io34 = (input3) => "
|
|
1838
|
-
const $io35 = (input3) =>
|
|
1839
|
-
const $io36 = (input3) =>
|
|
1840
|
-
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) && $io11(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io16(input3.groupsetting)) && "
|
|
1841
|
-
const $io38 = (input3) =>
|
|
1842
|
-
const $io39 = (input3) =>
|
|
1843
|
-
const $io40 = (input3) =>
|
|
1844
|
-
const $io41 = (input3) =>
|
|
1845
|
-
const $io42 = (input3) =>
|
|
1846
|
-
const $io43 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1847
|
-
const $io44 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1848
|
-
const $io45 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io11(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io16(input3.groupsetting)) && "
|
|
1849
|
-
const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1850
|
-
const $io47 = (input3) =>
|
|
1851
|
-
const $io48 = (input3) => "string" === typeof input3.
|
|
1852
|
-
const $io49 = (input3) => "string" === typeof input3.
|
|
1853
|
-
const $io50 = (input3) => "string" === typeof input3.
|
|
1854
|
-
const $io51 = (input3) =>
|
|
1868
|
+
const $io31 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
1869
|
+
const $io32 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
1870
|
+
const $io33 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io34(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 && $io35(elem)));
|
|
1871
|
+
const $io34 = (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) && $io11(input3.values));
|
|
1872
|
+
const $io35 = (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;
|
|
1873
|
+
const $io36 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu9(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem)));
|
|
1874
|
+
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) && $io11(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io16(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);
|
|
1875
|
+
const $io38 = (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) && $io11(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io16(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
1876
|
+
const $io39 = (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);
|
|
1877
|
+
const $io40 = (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);
|
|
1878
|
+
const $io41 = (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);
|
|
1879
|
+
const $io42 = (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);
|
|
1880
|
+
const $io43 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io11(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io24(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io31(input3.continuousColorScale));
|
|
1881
|
+
const $io44 = (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) && $io11(input3.values));
|
|
1882
|
+
const $io45 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io11(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io16(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);
|
|
1883
|
+
const $io46 = (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) && $io11(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io16(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
1884
|
+
const $io47 = (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) && $io11(input3.values)) && (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 && $io48(elem)));
|
|
1885
|
+
const $io48 = (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 && $io49(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io50(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);
|
|
1886
|
+
const $io49 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
1887
|
+
const $io50 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
1888
|
+
const $io51 = (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) && $io52(input3.values));
|
|
1889
|
+
const $io52 = (input3) => Object.keys(input3).every((key) => {
|
|
1855
1890
|
const value = input3[key];
|
|
1856
1891
|
if (void 0 === value)
|
|
1857
1892
|
return true;
|
|
1858
1893
|
if (RegExp(/(.*)/).test(key))
|
|
1859
|
-
return "object" === typeof value && null !== value && $
|
|
1894
|
+
return "object" === typeof value && null !== value && $io53(value);
|
|
1860
1895
|
if (RegExp(/^-?\d+\.?\d*$/).test(key))
|
|
1861
|
-
return "object" === typeof value && null !== value && $
|
|
1896
|
+
return "object" === typeof value && null !== value && $io53(value);
|
|
1862
1897
|
return true;
|
|
1863
1898
|
});
|
|
1864
|
-
const $
|
|
1865
|
-
const $
|
|
1899
|
+
const $io53 = (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 && $io13(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io54(elem))) && true;
|
|
1900
|
+
const $io54 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
1866
1901
|
const $iu0 = (input3) => (() => {
|
|
1867
1902
|
if (void 0 !== input3.type)
|
|
1868
1903
|
return $io13(input3);
|
|
@@ -1871,10 +1906,10 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1871
1906
|
return (() => {
|
|
1872
1907
|
if ($io14(input3))
|
|
1873
1908
|
return $io14(input3);
|
|
1874
|
-
if ($
|
|
1875
|
-
return $
|
|
1876
|
-
if ($
|
|
1877
|
-
return $
|
|
1909
|
+
if ($io33(input3))
|
|
1910
|
+
return $io33(input3);
|
|
1911
|
+
if ($io36(input3))
|
|
1912
|
+
return $io36(input3);
|
|
1878
1913
|
return false;
|
|
1879
1914
|
})();
|
|
1880
1915
|
})();
|
|
@@ -1894,31 +1929,31 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1894
1929
|
})();
|
|
1895
1930
|
const $iu3 = (input3) => (() => {
|
|
1896
1931
|
if (2 === input3.dt)
|
|
1897
|
-
return $
|
|
1932
|
+
return $io42(input3);
|
|
1898
1933
|
if (5 === input3.dt)
|
|
1899
|
-
return $
|
|
1934
|
+
return $io41(input3);
|
|
1900
1935
|
if (4 === input3.dt)
|
|
1901
|
-
return $
|
|
1936
|
+
return $io40(input3);
|
|
1902
1937
|
if (1 === input3.dt)
|
|
1903
|
-
return $
|
|
1938
|
+
return $io39(input3);
|
|
1904
1939
|
return false;
|
|
1905
1940
|
})();
|
|
1906
1941
|
const $iu4 = (input3) => (() => {
|
|
1907
1942
|
if ("categorical" === input3.type)
|
|
1908
1943
|
return $io10(input3);
|
|
1909
1944
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type)
|
|
1910
|
-
return $io42(input3);
|
|
1911
|
-
if ("condition" === input3.type)
|
|
1912
1945
|
return $io43(input3);
|
|
1913
|
-
if ("
|
|
1946
|
+
if ("condition" === input3.type)
|
|
1914
1947
|
return $io44(input3);
|
|
1915
|
-
if ("
|
|
1948
|
+
if ("gene" === input3.kind)
|
|
1916
1949
|
return $io45(input3);
|
|
1950
|
+
if ("coord" === input3.kind)
|
|
1951
|
+
return $io46(input3);
|
|
1917
1952
|
return (() => {
|
|
1918
|
-
if ($
|
|
1919
|
-
return $
|
|
1920
|
-
if ($
|
|
1921
|
-
return $
|
|
1953
|
+
if ($io47(input3))
|
|
1954
|
+
return $io47(input3);
|
|
1955
|
+
if ($io51(input3))
|
|
1956
|
+
return $io51(input3);
|
|
1922
1957
|
return false;
|
|
1923
1958
|
})();
|
|
1924
1959
|
})();
|
|
@@ -1950,9 +1985,9 @@ var validTermdbClusterResponse = (input) => {
|
|
|
1950
1985
|
})();
|
|
1951
1986
|
const $iu9 = (input3) => (() => {
|
|
1952
1987
|
if ("gene" === input3.kind)
|
|
1953
|
-
return $io36(input3);
|
|
1954
|
-
if ("coord" === input3.kind)
|
|
1955
1988
|
return $io37(input3);
|
|
1989
|
+
if ("coord" === input3.kind)
|
|
1990
|
+
return $io38(input3);
|
|
1956
1991
|
return false;
|
|
1957
1992
|
})();
|
|
1958
1993
|
const $iu10 = (input3) => (() => {
|
|
@@ -2139,11 +2174,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2139
2174
|
}).every((flag) => flag)].every((flag) => flag);
|
|
2140
2175
|
const $vo9 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
2141
2176
|
path: _path2 + ".term",
|
|
2142
|
-
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "coord"; chr: string; start: number; stop: number; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "gene"; gene: string; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2177
|
+
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity"; 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"; groupsetting: EnabledTermGroupSetting; } & { kind: "coord"; chr: string; start: number; stop: number; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "gene"; gene: string; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2143
2178
|
value: input3.term
|
|
2144
2179
|
})) && $vu4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2145
2180
|
path: _path2 + ".term",
|
|
2146
|
-
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "coord"; chr: string; start: number; stop: number; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "gene"; gene: string; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2181
|
+
expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity"; 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"; groupsetting: EnabledTermGroupSetting; } & { kind: "coord"; chr: string; start: number; stop: number; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "gene"; gene: string; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { values: SampleLstTermValues; })',
|
|
2147
2182
|
value: input3.term
|
|
2148
2183
|
}), true].every((flag) => flag);
|
|
2149
2184
|
const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
@@ -2557,11 +2592,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2557
2592
|
value: input3.values
|
|
2558
2593
|
})) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2559
2594
|
path: _path2 + ".values[" + _index17 + "]",
|
|
2560
|
-
expected: "__type.
|
|
2595
|
+
expected: "__type.o8",
|
|
2561
2596
|
value: elem
|
|
2562
|
-
})) && $
|
|
2597
|
+
})) && $vo32(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2563
2598
|
path: _path2 + ".values[" + _index17 + "]",
|
|
2564
|
-
expected: "__type.
|
|
2599
|
+
expected: "__type.o8",
|
|
2565
2600
|
value: elem
|
|
2566
2601
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2567
2602
|
path: _path2 + ".values",
|
|
@@ -2632,6 +2667,14 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2632
2667
|
path: _path2 + ".unit",
|
|
2633
2668
|
expected: "(string | undefined)",
|
|
2634
2669
|
value: input3.unit
|
|
2670
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2671
|
+
path: _path2 + ".continuousColorScale",
|
|
2672
|
+
expected: "(__type.o7 | undefined)",
|
|
2673
|
+
value: input3.continuousColorScale
|
|
2674
|
+
})) && $vo31(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2675
|
+
path: _path2 + ".continuousColorScale",
|
|
2676
|
+
expected: "(__type.o7 | undefined)",
|
|
2677
|
+
value: input3.continuousColorScale
|
|
2635
2678
|
})].every((flag) => flag);
|
|
2636
2679
|
const $vo24 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
2637
2680
|
path: _path2 + '["default"]',
|
|
@@ -2881,7 +2924,16 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2881
2924
|
expected: '("median" | undefined)',
|
|
2882
2925
|
value: input3.preferredBins
|
|
2883
2926
|
})].every((flag) => flag);
|
|
2884
|
-
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.
|
|
2927
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
2928
|
+
path: _path2 + ".minColor",
|
|
2929
|
+
expected: "string",
|
|
2930
|
+
value: input3.minColor
|
|
2931
|
+
}), "string" === typeof input3.maxColor || $report(_exceptionable2, {
|
|
2932
|
+
path: _path2 + ".maxColor",
|
|
2933
|
+
expected: "string",
|
|
2934
|
+
value: input3.maxColor
|
|
2935
|
+
})].every((flag) => flag);
|
|
2936
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2885
2937
|
path: _path2 + ".key",
|
|
2886
2938
|
expected: "string",
|
|
2887
2939
|
value: input3.key
|
|
@@ -2898,7 +2950,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2898
2950
|
expected: "(string | undefined)",
|
|
2899
2951
|
value: input3.label
|
|
2900
2952
|
})].every((flag) => flag);
|
|
2901
|
-
const $
|
|
2953
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2902
2954
|
path: _path2 + ".join",
|
|
2903
2955
|
expected: "(string | undefined)",
|
|
2904
2956
|
value: input3.join
|
|
@@ -2910,7 +2962,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2910
2962
|
path: _path2 + ".term",
|
|
2911
2963
|
expected: "ConditionTerm",
|
|
2912
2964
|
value: input3.term
|
|
2913
|
-
})) && $
|
|
2965
|
+
})) && $vo34(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2914
2966
|
path: _path2 + ".term",
|
|
2915
2967
|
expected: "ConditionTerm",
|
|
2916
2968
|
value: input3.term
|
|
@@ -2934,7 +2986,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2934
2986
|
path: _path2 + ".grade_and_child[" + _index21 + "]",
|
|
2935
2987
|
expected: "GradeAndChildEntry",
|
|
2936
2988
|
value: elem
|
|
2937
|
-
})) && $
|
|
2989
|
+
})) && $vo35(elem, _path2 + ".grade_and_child[" + _index21 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2938
2990
|
path: _path2 + ".grade_and_child[" + _index21 + "]",
|
|
2939
2991
|
expected: "GradeAndChildEntry",
|
|
2940
2992
|
value: elem
|
|
@@ -2943,7 +2995,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2943
2995
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2944
2996
|
value: input3.grade_and_child
|
|
2945
2997
|
})].every((flag) => flag);
|
|
2946
|
-
const $
|
|
2998
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2947
2999
|
path: _path2 + ".id",
|
|
2948
3000
|
expected: "string",
|
|
2949
3001
|
value: input3.id
|
|
@@ -2996,7 +3048,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
2996
3048
|
expected: "(TermValues | undefined)",
|
|
2997
3049
|
value: input3.values
|
|
2998
3050
|
})].every((flag) => flag);
|
|
2999
|
-
const $
|
|
3051
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
3000
3052
|
path: _path2 + ".grade",
|
|
3001
3053
|
expected: "number",
|
|
3002
3054
|
value: input3.grade
|
|
@@ -3013,7 +3065,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3013
3065
|
expected: "string",
|
|
3014
3066
|
value: input3.child_label
|
|
3015
3067
|
})].every((flag) => flag);
|
|
3016
|
-
const $
|
|
3068
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
3017
3069
|
path: _path2 + ".join",
|
|
3018
3070
|
expected: "(string | undefined)",
|
|
3019
3071
|
value: input3.join
|
|
@@ -3046,7 +3098,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3046
3098
|
expected: "Array<GeneVariantTvsValue>",
|
|
3047
3099
|
value: input3.values
|
|
3048
3100
|
})].every((flag) => flag);
|
|
3049
|
-
const $
|
|
3101
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3050
3102
|
path: _path2 + ".id",
|
|
3051
3103
|
expected: "string",
|
|
3052
3104
|
value: input3.id
|
|
@@ -3127,7 +3179,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3127
3179
|
expected: "(number | undefined)",
|
|
3128
3180
|
value: input3.stop
|
|
3129
3181
|
})].every((flag) => flag);
|
|
3130
|
-
const $
|
|
3182
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3131
3183
|
path: _path2 + ".id",
|
|
3132
3184
|
expected: "string",
|
|
3133
3185
|
value: input3.id
|
|
@@ -3204,7 +3256,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3204
3256
|
expected: "number",
|
|
3205
3257
|
value: input3.stop
|
|
3206
3258
|
})].every((flag) => flag);
|
|
3207
|
-
const $
|
|
3259
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
|
|
3208
3260
|
path: _path2 + ".dt",
|
|
3209
3261
|
expected: "1",
|
|
3210
3262
|
value: input3.dt
|
|
@@ -3237,7 +3289,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3237
3289
|
expected: '("germline" | "somatic" | undefined)',
|
|
3238
3290
|
value: input3.origin
|
|
3239
3291
|
})].every((flag) => flag);
|
|
3240
|
-
const $
|
|
3292
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
|
|
3241
3293
|
path: _path2 + ".dt",
|
|
3242
3294
|
expected: "4",
|
|
3243
3295
|
value: input3.dt
|
|
@@ -3270,7 +3322,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3270
3322
|
expected: '("germline" | "somatic" | undefined)',
|
|
3271
3323
|
value: input3.origin
|
|
3272
3324
|
})].every((flag) => flag);
|
|
3273
|
-
const $
|
|
3325
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
|
|
3274
3326
|
path: _path2 + ".dt",
|
|
3275
3327
|
expected: "5",
|
|
3276
3328
|
value: input3.dt
|
|
@@ -3303,7 +3355,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3303
3355
|
expected: '("germline" | "somatic" | undefined)',
|
|
3304
3356
|
value: input3.origin
|
|
3305
3357
|
})].every((flag) => flag);
|
|
3306
|
-
const $
|
|
3358
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
|
|
3307
3359
|
path: _path2 + ".dt",
|
|
3308
3360
|
expected: "2",
|
|
3309
3361
|
value: input3.dt
|
|
@@ -3336,7 +3388,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3336
3388
|
expected: '("germline" | "somatic" | undefined)',
|
|
3337
3389
|
value: input3.origin
|
|
3338
3390
|
})].every((flag) => flag);
|
|
3339
|
-
const $
|
|
3391
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3340
3392
|
path: _path2 + ".id",
|
|
3341
3393
|
expected: "string",
|
|
3342
3394
|
value: input3.id
|
|
@@ -3400,8 +3452,16 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3400
3452
|
path: _path2 + ".unit",
|
|
3401
3453
|
expected: "(string | undefined)",
|
|
3402
3454
|
value: input3.unit
|
|
3455
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
3456
|
+
path: _path2 + ".continuousColorScale",
|
|
3457
|
+
expected: "(__type.o7 | undefined)",
|
|
3458
|
+
value: input3.continuousColorScale
|
|
3459
|
+
})) && $vo31(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
3460
|
+
path: _path2 + ".continuousColorScale",
|
|
3461
|
+
expected: "(__type.o7 | undefined)",
|
|
3462
|
+
value: input3.continuousColorScale
|
|
3403
3463
|
})].every((flag) => flag);
|
|
3404
|
-
const $
|
|
3464
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3405
3465
|
path: _path2 + ".id",
|
|
3406
3466
|
expected: "string",
|
|
3407
3467
|
value: input3.id
|
|
@@ -3454,7 +3514,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3454
3514
|
expected: "(TermValues | undefined)",
|
|
3455
3515
|
value: input3.values
|
|
3456
3516
|
})].every((flag) => flag);
|
|
3457
|
-
const $
|
|
3517
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3458
3518
|
path: _path2 + ".id",
|
|
3459
3519
|
expected: "string",
|
|
3460
3520
|
value: input3.id
|
|
@@ -3535,7 +3595,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3535
3595
|
expected: "(number | undefined)",
|
|
3536
3596
|
value: input3.stop
|
|
3537
3597
|
})].every((flag) => flag);
|
|
3538
|
-
const $
|
|
3598
|
+
const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3539
3599
|
path: _path2 + ".id",
|
|
3540
3600
|
expected: "string",
|
|
3541
3601
|
value: input3.id
|
|
@@ -3612,7 +3672,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3612
3672
|
expected: "number",
|
|
3613
3673
|
value: input3.stop
|
|
3614
3674
|
})].every((flag) => flag);
|
|
3615
|
-
const $
|
|
3675
|
+
const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3616
3676
|
path: _path2 + ".id",
|
|
3617
3677
|
expected: "string",
|
|
3618
3678
|
value: input3.id
|
|
@@ -3676,7 +3736,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3676
3736
|
path: _path2 + ".snps[" + _index47 + "]",
|
|
3677
3737
|
expected: "SnpsEntry",
|
|
3678
3738
|
value: elem
|
|
3679
|
-
})) && $
|
|
3739
|
+
})) && $vo48(elem, _path2 + ".snps[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3680
3740
|
path: _path2 + ".snps[" + _index47 + "]",
|
|
3681
3741
|
expected: "SnpsEntry",
|
|
3682
3742
|
value: elem
|
|
@@ -3685,7 +3745,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3685
3745
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3686
3746
|
value: input3.snps
|
|
3687
3747
|
})].every((flag) => flag);
|
|
3688
|
-
const $
|
|
3748
|
+
const $vo48 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
3689
3749
|
path: _path2 + ".altAlleles",
|
|
3690
3750
|
expected: "(Array<string> | undefined)",
|
|
3691
3751
|
value: input3.altAlleles
|
|
@@ -3705,7 +3765,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3705
3765
|
path: _path2 + ".alleles[" + _index49 + "]",
|
|
3706
3766
|
expected: "AllelesEntry",
|
|
3707
3767
|
value: elem
|
|
3708
|
-
})) && $
|
|
3768
|
+
})) && $vo49(elem, _path2 + ".alleles[" + _index49 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3709
3769
|
path: _path2 + ".alleles[" + _index49 + "]",
|
|
3710
3770
|
expected: "AllelesEntry",
|
|
3711
3771
|
value: elem
|
|
@@ -3719,11 +3779,11 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3719
3779
|
value: input3.effectAllele
|
|
3720
3780
|
}), void 0 === input3.gt2count || ("object" === typeof input3.gt2count && null !== input3.gt2count || $report(_exceptionable2, {
|
|
3721
3781
|
path: _path2 + ".gt2count",
|
|
3722
|
-
expected: "(__type.
|
|
3782
|
+
expected: "(__type.o9 | undefined)",
|
|
3723
3783
|
value: input3.gt2count
|
|
3724
|
-
})) && $
|
|
3784
|
+
})) && $vo50(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
3725
3785
|
path: _path2 + ".gt2count",
|
|
3726
|
-
expected: "(__type.
|
|
3786
|
+
expected: "(__type.o9 | undefined)",
|
|
3727
3787
|
value: input3.gt2count
|
|
3728
3788
|
}), void 0 === input3.invalid || "boolean" === typeof input3.invalid || $report(_exceptionable2, {
|
|
3729
3789
|
path: _path2 + ".invalid",
|
|
@@ -3750,7 +3810,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3750
3810
|
expected: "(number | undefined)",
|
|
3751
3811
|
value: input3.pos
|
|
3752
3812
|
})].every((flag) => flag);
|
|
3753
|
-
const $
|
|
3813
|
+
const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
3754
3814
|
path: _path2 + ".allele",
|
|
3755
3815
|
expected: "string",
|
|
3756
3816
|
value: input3.allele
|
|
@@ -3763,7 +3823,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3763
3823
|
expected: "boolean",
|
|
3764
3824
|
value: input3.isRef
|
|
3765
3825
|
})].every((flag) => flag);
|
|
3766
|
-
const $
|
|
3826
|
+
const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
3767
3827
|
path: _path2 + ".k",
|
|
3768
3828
|
expected: "string",
|
|
3769
3829
|
value: input3.k
|
|
@@ -3772,7 +3832,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3772
3832
|
expected: "(number | string)",
|
|
3773
3833
|
value: input3.v
|
|
3774
3834
|
})].every((flag) => flag);
|
|
3775
|
-
const $
|
|
3835
|
+
const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3776
3836
|
path: _path2 + ".id",
|
|
3777
3837
|
expected: "string",
|
|
3778
3838
|
value: input3.id
|
|
@@ -3820,12 +3880,12 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3820
3880
|
path: _path2 + ".values",
|
|
3821
3881
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3822
3882
|
value: input3.values
|
|
3823
|
-
})) && $
|
|
3883
|
+
})) && $vo52(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3824
3884
|
path: _path2 + ".values",
|
|
3825
3885
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3826
3886
|
value: input3.values
|
|
3827
3887
|
})].every((flag) => flag);
|
|
3828
|
-
const $
|
|
3888
|
+
const $vo52 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3829
3889
|
const value = input3[key];
|
|
3830
3890
|
if (void 0 === value)
|
|
3831
3891
|
return true;
|
|
@@ -3834,7 +3894,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3834
3894
|
path: _path2 + $join(key),
|
|
3835
3895
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3836
3896
|
value
|
|
3837
|
-
})) && $
|
|
3897
|
+
})) && $vo53(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3838
3898
|
path: _path2 + $join(key),
|
|
3839
3899
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3840
3900
|
value
|
|
@@ -3844,14 +3904,14 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3844
3904
|
path: _path2 + $join(key),
|
|
3845
3905
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3846
3906
|
value
|
|
3847
|
-
})) && $
|
|
3907
|
+
})) && $vo53(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3848
3908
|
path: _path2 + $join(key),
|
|
3849
3909
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3850
3910
|
value
|
|
3851
3911
|
});
|
|
3852
3912
|
return true;
|
|
3853
3913
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3854
|
-
const $
|
|
3914
|
+
const $vo53 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
3855
3915
|
path: _path2 + ".key",
|
|
3856
3916
|
expected: "(string | undefined)",
|
|
3857
3917
|
value: input3.key
|
|
@@ -3897,18 +3957,18 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3897
3957
|
value: input3.list
|
|
3898
3958
|
})) && input3.list.map((elem, _index52) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3899
3959
|
path: _path2 + ".list[" + _index52 + "]",
|
|
3900
|
-
expected: "__type.
|
|
3960
|
+
expected: "__type.o10",
|
|
3901
3961
|
value: elem
|
|
3902
|
-
})) && $
|
|
3962
|
+
})) && $vo54(elem, _path2 + ".list[" + _index52 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3903
3963
|
path: _path2 + ".list[" + _index52 + "]",
|
|
3904
|
-
expected: "__type.
|
|
3964
|
+
expected: "__type.o10",
|
|
3905
3965
|
value: elem
|
|
3906
3966
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3907
3967
|
path: _path2 + ".list",
|
|
3908
3968
|
expected: "Array<__type>.o5",
|
|
3909
3969
|
value: input3.list
|
|
3910
3970
|
}), true].every((flag) => flag);
|
|
3911
|
-
const $
|
|
3971
|
+
const $vo54 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
3912
3972
|
path: _path2 + ".sampleId",
|
|
3913
3973
|
expected: "string",
|
|
3914
3974
|
value: input3.sampleId
|
|
@@ -3922,7 +3982,7 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3922
3982
|
return $vo13(input3, _path2, _exceptionable2);
|
|
3923
3983
|
if (void 0 !== input3.ranges)
|
|
3924
3984
|
return $vo22(input3, _path2, _exceptionable2);
|
|
3925
|
-
return $vo14(input3, _path2, false) || $
|
|
3985
|
+
return $vo14(input3, _path2, false) || $vo33(input3, _path2, false) || $vo36(input3, _path2, false);
|
|
3926
3986
|
})();
|
|
3927
3987
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3928
3988
|
if ("string" === typeof input3.type)
|
|
@@ -3944,13 +4004,13 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3944
4004
|
})();
|
|
3945
4005
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3946
4006
|
if (2 === input3.dt)
|
|
3947
|
-
return $
|
|
4007
|
+
return $vo42(input3, _path2, _exceptionable2);
|
|
3948
4008
|
if (5 === input3.dt)
|
|
3949
|
-
return $
|
|
4009
|
+
return $vo41(input3, _path2, _exceptionable2);
|
|
3950
4010
|
if (4 === input3.dt)
|
|
3951
|
-
return $
|
|
4011
|
+
return $vo40(input3, _path2, _exceptionable2);
|
|
3952
4012
|
if (1 === input3.dt)
|
|
3953
|
-
return $
|
|
4013
|
+
return $vo39(input3, _path2, _exceptionable2);
|
|
3954
4014
|
return $report(_exceptionable2, {
|
|
3955
4015
|
path: _path2,
|
|
3956
4016
|
expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
|
|
@@ -3961,14 +4021,14 @@ var validTermdbClusterResponse = (input) => {
|
|
|
3961
4021
|
if ("categorical" === input3.type)
|
|
3962
4022
|
return $vo10(input3, _path2, _exceptionable2);
|
|
3963
4023
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type)
|
|
3964
|
-
return $vo42(input3, _path2, _exceptionable2);
|
|
3965
|
-
if ("condition" === input3.type)
|
|
3966
4024
|
return $vo43(input3, _path2, _exceptionable2);
|
|
3967
|
-
if ("
|
|
4025
|
+
if ("condition" === input3.type)
|
|
3968
4026
|
return $vo44(input3, _path2, _exceptionable2);
|
|
3969
|
-
if ("
|
|
4027
|
+
if ("gene" === input3.kind)
|
|
3970
4028
|
return $vo45(input3, _path2, _exceptionable2);
|
|
3971
|
-
|
|
4029
|
+
if ("coord" === input3.kind)
|
|
4030
|
+
return $vo46(input3, _path2, _exceptionable2);
|
|
4031
|
+
return $vo47(input3, _path2, false) || $vo51(input3, _path2, false);
|
|
3972
4032
|
})();
|
|
3973
4033
|
const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3974
4034
|
if (Array.isArray(input3.lst) && input3.lst.map((elem, _index53) => "object" === typeof elem && null !== elem && $vo17(elem, _path2 + ".lst[" + _index53 + "]", false)).every((flag) => flag))
|
|
@@ -4010,9 +4070,9 @@ var validTermdbClusterResponse = (input) => {
|
|
|
4010
4070
|
})();
|
|
4011
4071
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
4012
4072
|
if ("gene" === input3.kind)
|
|
4013
|
-
return $vo36(input3, _path2, _exceptionable2);
|
|
4014
|
-
if ("coord" === input3.kind)
|
|
4015
4073
|
return $vo37(input3, _path2, _exceptionable2);
|
|
4074
|
+
if ("coord" === input3.kind)
|
|
4075
|
+
return $vo38(input3, _path2, _exceptionable2);
|
|
4016
4076
|
return $report(_exceptionable2, {
|
|
4017
4077
|
path: _path2,
|
|
4018
4078
|
expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
|