@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
|
@@ -43,8 +43,8 @@ var validTermdbTopTermsByTypeRequest = (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,17 +59,18 @@ var validTermdbTopTermsByTypeRequest = (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) =>
|
|
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);
|
|
73
74
|
const $iu0 = (input3) => (() => {
|
|
74
75
|
if (void 0 !== input3.type)
|
|
75
76
|
return $io1(input3);
|
|
@@ -78,10 +79,10 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
78
79
|
return (() => {
|
|
79
80
|
if ($io2(input3))
|
|
80
81
|
return $io2(input3);
|
|
81
|
-
if ($
|
|
82
|
-
return $
|
|
83
|
-
if ($
|
|
84
|
-
return $
|
|
82
|
+
if ($io23(input3))
|
|
83
|
+
return $io23(input3);
|
|
84
|
+
if ($io26(input3))
|
|
85
|
+
return $io26(input3);
|
|
85
86
|
return false;
|
|
86
87
|
})();
|
|
87
88
|
})();
|
|
@@ -101,13 +102,13 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
101
102
|
})();
|
|
102
103
|
const $iu3 = (input3) => (() => {
|
|
103
104
|
if (2 === input3.dt)
|
|
104
|
-
return $
|
|
105
|
+
return $io32(input3);
|
|
105
106
|
if (5 === input3.dt)
|
|
106
|
-
return $
|
|
107
|
+
return $io31(input3);
|
|
107
108
|
if (4 === input3.dt)
|
|
108
|
-
return $
|
|
109
|
+
return $io30(input3);
|
|
109
110
|
if (1 === input3.dt)
|
|
110
|
-
return $
|
|
111
|
+
return $io29(input3);
|
|
111
112
|
return false;
|
|
112
113
|
})();
|
|
113
114
|
const $iu4 = (input3) => (() => {
|
|
@@ -138,9 +139,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
138
139
|
})();
|
|
139
140
|
const $iu8 = (input3) => (() => {
|
|
140
141
|
if ("gene" === input3.kind)
|
|
141
|
-
return $io26(input3);
|
|
142
|
-
if ("coord" === input3.kind)
|
|
143
142
|
return $io27(input3);
|
|
143
|
+
if ("coord" === input3.kind)
|
|
144
|
+
return $io28(input3);
|
|
144
145
|
return false;
|
|
145
146
|
})();
|
|
146
147
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -520,11 +521,11 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
520
521
|
value: input3.values
|
|
521
522
|
})) && input3.values.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
522
523
|
path: _path2 + ".values[" + _index9 + "]",
|
|
523
|
-
expected: "__type.
|
|
524
|
+
expected: "__type.o3",
|
|
524
525
|
value: elem
|
|
525
|
-
})) && $
|
|
526
|
+
})) && $vo22(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
526
527
|
path: _path2 + ".values[" + _index9 + "]",
|
|
527
|
-
expected: "__type.
|
|
528
|
+
expected: "__type.o3",
|
|
528
529
|
value: elem
|
|
529
530
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
530
531
|
path: _path2 + ".values",
|
|
@@ -595,6 +596,14 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
595
596
|
path: _path2 + ".unit",
|
|
596
597
|
expected: "(string | undefined)",
|
|
597
598
|
value: input3.unit
|
|
599
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
600
|
+
path: _path2 + ".continuousColorScale",
|
|
601
|
+
expected: "(__type.o2 | undefined)",
|
|
602
|
+
value: input3.continuousColorScale
|
|
603
|
+
})) && $vo21(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
604
|
+
path: _path2 + ".continuousColorScale",
|
|
605
|
+
expected: "(__type.o2 | undefined)",
|
|
606
|
+
value: input3.continuousColorScale
|
|
598
607
|
})].every((flag) => flag);
|
|
599
608
|
const $vo14 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
600
609
|
path: _path2 + '["default"]',
|
|
@@ -844,7 +853,16 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
844
853
|
expected: '("median" | undefined)',
|
|
845
854
|
value: input3.preferredBins
|
|
846
855
|
})].every((flag) => flag);
|
|
847
|
-
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.
|
|
856
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
857
|
+
path: _path2 + ".minColor",
|
|
858
|
+
expected: "string",
|
|
859
|
+
value: input3.minColor
|
|
860
|
+
}), "string" === typeof input3.maxColor || $report(_exceptionable2, {
|
|
861
|
+
path: _path2 + ".maxColor",
|
|
862
|
+
expected: "string",
|
|
863
|
+
value: input3.maxColor
|
|
864
|
+
})].every((flag) => flag);
|
|
865
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
848
866
|
path: _path2 + ".key",
|
|
849
867
|
expected: "string",
|
|
850
868
|
value: input3.key
|
|
@@ -861,7 +879,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
861
879
|
expected: "(string | undefined)",
|
|
862
880
|
value: input3.label
|
|
863
881
|
})].every((flag) => flag);
|
|
864
|
-
const $
|
|
882
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
865
883
|
path: _path2 + ".join",
|
|
866
884
|
expected: "(string | undefined)",
|
|
867
885
|
value: input3.join
|
|
@@ -873,7 +891,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
873
891
|
path: _path2 + ".term",
|
|
874
892
|
expected: "ConditionTerm",
|
|
875
893
|
value: input3.term
|
|
876
|
-
})) && $
|
|
894
|
+
})) && $vo24(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
877
895
|
path: _path2 + ".term",
|
|
878
896
|
expected: "ConditionTerm",
|
|
879
897
|
value: input3.term
|
|
@@ -897,7 +915,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
897
915
|
path: _path2 + ".grade_and_child[" + _index13 + "]",
|
|
898
916
|
expected: "GradeAndChildEntry",
|
|
899
917
|
value: elem
|
|
900
|
-
})) && $
|
|
918
|
+
})) && $vo25(elem, _path2 + ".grade_and_child[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
901
919
|
path: _path2 + ".grade_and_child[" + _index13 + "]",
|
|
902
920
|
expected: "GradeAndChildEntry",
|
|
903
921
|
value: elem
|
|
@@ -906,7 +924,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
906
924
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
907
925
|
value: input3.grade_and_child
|
|
908
926
|
})].every((flag) => flag);
|
|
909
|
-
const $
|
|
927
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
910
928
|
path: _path2 + ".id",
|
|
911
929
|
expected: "string",
|
|
912
930
|
value: input3.id
|
|
@@ -959,7 +977,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
959
977
|
expected: "(TermValues | undefined)",
|
|
960
978
|
value: input3.values
|
|
961
979
|
})].every((flag) => flag);
|
|
962
|
-
const $
|
|
980
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
963
981
|
path: _path2 + ".grade",
|
|
964
982
|
expected: "number",
|
|
965
983
|
value: input3.grade
|
|
@@ -976,7 +994,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
976
994
|
expected: "string",
|
|
977
995
|
value: input3.child_label
|
|
978
996
|
})].every((flag) => flag);
|
|
979
|
-
const $
|
|
997
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
980
998
|
path: _path2 + ".join",
|
|
981
999
|
expected: "(string | undefined)",
|
|
982
1000
|
value: input3.join
|
|
@@ -1009,7 +1027,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1009
1027
|
expected: "Array<GeneVariantTvsValue>",
|
|
1010
1028
|
value: input3.values
|
|
1011
1029
|
})].every((flag) => flag);
|
|
1012
|
-
const $
|
|
1030
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1013
1031
|
path: _path2 + ".id",
|
|
1014
1032
|
expected: "string",
|
|
1015
1033
|
value: input3.id
|
|
@@ -1090,7 +1108,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1090
1108
|
expected: "(number | undefined)",
|
|
1091
1109
|
value: input3.stop
|
|
1092
1110
|
})].every((flag) => flag);
|
|
1093
|
-
const $
|
|
1111
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1094
1112
|
path: _path2 + ".id",
|
|
1095
1113
|
expected: "string",
|
|
1096
1114
|
value: input3.id
|
|
@@ -1167,7 +1185,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1167
1185
|
expected: "number",
|
|
1168
1186
|
value: input3.stop
|
|
1169
1187
|
})].every((flag) => flag);
|
|
1170
|
-
const $
|
|
1188
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
|
|
1171
1189
|
path: _path2 + ".dt",
|
|
1172
1190
|
expected: "1",
|
|
1173
1191
|
value: input3.dt
|
|
@@ -1200,7 +1218,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1200
1218
|
expected: '("germline" | "somatic" | undefined)',
|
|
1201
1219
|
value: input3.origin
|
|
1202
1220
|
})].every((flag) => flag);
|
|
1203
|
-
const $
|
|
1221
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
|
|
1204
1222
|
path: _path2 + ".dt",
|
|
1205
1223
|
expected: "4",
|
|
1206
1224
|
value: input3.dt
|
|
@@ -1233,7 +1251,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1233
1251
|
expected: '("germline" | "somatic" | undefined)',
|
|
1234
1252
|
value: input3.origin
|
|
1235
1253
|
})].every((flag) => flag);
|
|
1236
|
-
const $
|
|
1254
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
|
|
1237
1255
|
path: _path2 + ".dt",
|
|
1238
1256
|
expected: "5",
|
|
1239
1257
|
value: input3.dt
|
|
@@ -1266,7 +1284,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1266
1284
|
expected: '("germline" | "somatic" | undefined)',
|
|
1267
1285
|
value: input3.origin
|
|
1268
1286
|
})].every((flag) => flag);
|
|
1269
|
-
const $
|
|
1287
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
|
|
1270
1288
|
path: _path2 + ".dt",
|
|
1271
1289
|
expected: "2",
|
|
1272
1290
|
value: input3.dt
|
|
@@ -1304,7 +1322,7 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1304
1322
|
return $vo1(input3, _path2, _exceptionable2);
|
|
1305
1323
|
if (void 0 !== input3.ranges)
|
|
1306
1324
|
return $vo12(input3, _path2, _exceptionable2);
|
|
1307
|
-
return $vo2(input3, _path2, false) || $
|
|
1325
|
+
return $vo2(input3, _path2, false) || $vo23(input3, _path2, false) || $vo26(input3, _path2, false);
|
|
1308
1326
|
})();
|
|
1309
1327
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1310
1328
|
if ("string" === typeof input3.type)
|
|
@@ -1326,13 +1344,13 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1326
1344
|
})();
|
|
1327
1345
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1328
1346
|
if (2 === input3.dt)
|
|
1329
|
-
return $
|
|
1347
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
1330
1348
|
if (5 === input3.dt)
|
|
1331
|
-
return $
|
|
1349
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
1332
1350
|
if (4 === input3.dt)
|
|
1333
|
-
return $
|
|
1351
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
1334
1352
|
if (1 === input3.dt)
|
|
1335
|
-
return $
|
|
1353
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
1336
1354
|
return $report(_exceptionable2, {
|
|
1337
1355
|
path: _path2,
|
|
1338
1356
|
expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
|
|
@@ -1379,9 +1397,9 @@ var validTermdbTopTermsByTypeRequest = (input) => {
|
|
|
1379
1397
|
})();
|
|
1380
1398
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1381
1399
|
if ("gene" === input3.kind)
|
|
1382
|
-
return $vo26(input3, _path2, _exceptionable2);
|
|
1383
|
-
if ("coord" === input3.kind)
|
|
1384
1400
|
return $vo27(input3, _path2, _exceptionable2);
|
|
1401
|
+
if ("coord" === input3.kind)
|
|
1402
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
1385
1403
|
return $report(_exceptionable2, {
|
|
1386
1404
|
path: _path2,
|
|
1387
1405
|
expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
|
|
@@ -1432,8 +1450,8 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1432
1450
|
const $io10 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
1433
1451
|
const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io4(input3.filter));
|
|
1434
1452
|
const $io12 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
1435
|
-
const $io13 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io14(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $
|
|
1436
|
-
const $io14 = (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) && $io2(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
|
|
1453
|
+
const $io13 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io14(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io23(elem)));
|
|
1454
|
+
const $io14 = (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) && $io2(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale));
|
|
1437
1455
|
const $io15 = (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);
|
|
1438
1456
|
const $io16 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(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);
|
|
1439
1457
|
const $io17 = (input3) => Object.keys(input3).every((key) => {
|
|
@@ -1448,54 +1466,55 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1448
1466
|
const $io19 = (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);
|
|
1449
1467
|
const $io20 = (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);
|
|
1450
1468
|
const $io21 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu3(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
|
|
1451
|
-
const $io22 = (input3) => "string" === typeof input3.
|
|
1452
|
-
const $io23 = (input3) =>
|
|
1453
|
-
const $io24 = (input3) =>
|
|
1454
|
-
const $io25 = (input3) => "
|
|
1455
|
-
const $io26 = (input3) =>
|
|
1456
|
-
const $io27 = (input3) =>
|
|
1457
|
-
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) && $io2(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting)) && "
|
|
1458
|
-
const $io29 = (input3) =>
|
|
1459
|
-
const $io30 = (input3) =>
|
|
1460
|
-
const $io31 = (input3) =>
|
|
1461
|
-
const $io32 = (input3) =>
|
|
1462
|
-
const $io33 = (input3) =>
|
|
1463
|
-
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1464
|
-
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1465
|
-
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting)) && "
|
|
1466
|
-
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "
|
|
1467
|
-
const $io38 = (input3) =>
|
|
1468
|
-
const $io39 = (input3) => "string" === typeof input3.
|
|
1469
|
-
const $io40 = (input3) => "string" === typeof input3.
|
|
1470
|
-
const $io41 = (input3) => "string" === typeof input3.
|
|
1471
|
-
const $io42 = (input3) =>
|
|
1469
|
+
const $io22 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
1470
|
+
const $io23 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
1471
|
+
const $io24 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io25(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 && $io26(elem)));
|
|
1472
|
+
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values));
|
|
1473
|
+
const $io26 = (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;
|
|
1474
|
+
const $io27 = (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 && $iu4(elem)));
|
|
1475
|
+
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) && $io2(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(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);
|
|
1476
|
+
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
1477
|
+
const $io30 = (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);
|
|
1478
|
+
const $io31 = (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);
|
|
1479
|
+
const $io32 = (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);
|
|
1480
|
+
const $io33 = (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);
|
|
1481
|
+
const $io34 = (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) && $io2(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale));
|
|
1482
|
+
const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values));
|
|
1483
|
+
const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
1484
|
+
const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
1485
|
+
const $io38 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
|
|
1486
|
+
const $io39 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io40(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io41(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
|
|
1487
|
+
const $io40 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
1488
|
+
const $io41 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
1489
|
+
const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io43(input3.values));
|
|
1490
|
+
const $io43 = (input3) => Object.keys(input3).every((key) => {
|
|
1472
1491
|
const value = input3[key];
|
|
1473
1492
|
if (void 0 === value)
|
|
1474
1493
|
return true;
|
|
1475
1494
|
if (RegExp(/(.*)/).test(key))
|
|
1476
|
-
return "object" === typeof value && null !== value && $
|
|
1495
|
+
return "object" === typeof value && null !== value && $io44(value);
|
|
1477
1496
|
if (RegExp(/^-?\d+\.?\d*$/).test(key))
|
|
1478
|
-
return "object" === typeof value && null !== value && $
|
|
1497
|
+
return "object" === typeof value && null !== value && $io44(value);
|
|
1479
1498
|
return true;
|
|
1480
1499
|
});
|
|
1481
|
-
const $
|
|
1482
|
-
const $
|
|
1500
|
+
const $io44 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io4(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io45(elem))) && true;
|
|
1501
|
+
const $io45 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
|
|
1483
1502
|
const $iu0 = (input3) => (() => {
|
|
1484
1503
|
if ("categorical" === input3.type)
|
|
1485
1504
|
return $io1(input3);
|
|
1486
1505
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type)
|
|
1487
|
-
return $io33(input3);
|
|
1488
|
-
if ("condition" === input3.type)
|
|
1489
1506
|
return $io34(input3);
|
|
1490
|
-
if ("
|
|
1507
|
+
if ("condition" === input3.type)
|
|
1491
1508
|
return $io35(input3);
|
|
1492
|
-
if ("
|
|
1509
|
+
if ("gene" === input3.kind)
|
|
1493
1510
|
return $io36(input3);
|
|
1511
|
+
if ("coord" === input3.kind)
|
|
1512
|
+
return $io37(input3);
|
|
1494
1513
|
return (() => {
|
|
1495
|
-
if ($
|
|
1496
|
-
return $
|
|
1497
|
-
if ($
|
|
1498
|
-
return $
|
|
1514
|
+
if ($io38(input3))
|
|
1515
|
+
return $io38(input3);
|
|
1516
|
+
if ($io42(input3))
|
|
1517
|
+
return $io42(input3);
|
|
1499
1518
|
return false;
|
|
1500
1519
|
})();
|
|
1501
1520
|
})();
|
|
@@ -1507,10 +1526,10 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1507
1526
|
return (() => {
|
|
1508
1527
|
if ($io5(input3))
|
|
1509
1528
|
return $io5(input3);
|
|
1510
|
-
if ($
|
|
1511
|
-
return $
|
|
1512
|
-
if ($
|
|
1513
|
-
return $
|
|
1529
|
+
if ($io24(input3))
|
|
1530
|
+
return $io24(input3);
|
|
1531
|
+
if ($io27(input3))
|
|
1532
|
+
return $io27(input3);
|
|
1514
1533
|
return false;
|
|
1515
1534
|
})();
|
|
1516
1535
|
})();
|
|
@@ -1530,13 +1549,13 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1530
1549
|
})();
|
|
1531
1550
|
const $iu4 = (input3) => (() => {
|
|
1532
1551
|
if (2 === input3.dt)
|
|
1533
|
-
return $
|
|
1552
|
+
return $io33(input3);
|
|
1534
1553
|
if (5 === input3.dt)
|
|
1535
|
-
return $
|
|
1554
|
+
return $io32(input3);
|
|
1536
1555
|
if (4 === input3.dt)
|
|
1537
|
-
return $
|
|
1556
|
+
return $io31(input3);
|
|
1538
1557
|
if (1 === input3.dt)
|
|
1539
|
-
return $
|
|
1558
|
+
return $io30(input3);
|
|
1540
1559
|
return false;
|
|
1541
1560
|
})();
|
|
1542
1561
|
const $iu5 = (input3) => (() => {
|
|
@@ -1567,9 +1586,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1567
1586
|
})();
|
|
1568
1587
|
const $iu9 = (input3) => (() => {
|
|
1569
1588
|
if ("gene" === input3.kind)
|
|
1570
|
-
return $io27(input3);
|
|
1571
|
-
if ("coord" === input3.kind)
|
|
1572
1589
|
return $io28(input3);
|
|
1590
|
+
if ("coord" === input3.kind)
|
|
1591
|
+
return $io29(input3);
|
|
1573
1592
|
return false;
|
|
1574
1593
|
})();
|
|
1575
1594
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -1584,11 +1603,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
1584
1603
|
value: input3.terms
|
|
1585
1604
|
})) && input3.terms.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
1586
1605
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
1587
|
-
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; })',
|
|
1606
|
+
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; })',
|
|
1588
1607
|
value: elem
|
|
1589
1608
|
})) && $vu0(elem, _path2 + ".terms[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
1590
1609
|
path: _path2 + ".terms[" + _index1 + "]",
|
|
1591
|
-
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; })',
|
|
1610
|
+
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; })',
|
|
1592
1611
|
value: elem
|
|
1593
1612
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
1594
1613
|
path: _path2 + ".terms",
|
|
@@ -2006,11 +2025,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2006
2025
|
value: input3.values
|
|
2007
2026
|
})) && input3.values.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
2008
2027
|
path: _path2 + ".values[" + _index12 + "]",
|
|
2009
|
-
expected: "__type.
|
|
2028
|
+
expected: "__type.o3",
|
|
2010
2029
|
value: elem
|
|
2011
|
-
})) && $
|
|
2030
|
+
})) && $vo23(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2012
2031
|
path: _path2 + ".values[" + _index12 + "]",
|
|
2013
|
-
expected: "__type.
|
|
2032
|
+
expected: "__type.o3",
|
|
2014
2033
|
value: elem
|
|
2015
2034
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
2016
2035
|
path: _path2 + ".values",
|
|
@@ -2081,6 +2100,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2081
2100
|
path: _path2 + ".unit",
|
|
2082
2101
|
expected: "(string | undefined)",
|
|
2083
2102
|
value: input3.unit
|
|
2103
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2104
|
+
path: _path2 + ".continuousColorScale",
|
|
2105
|
+
expected: "(__type.o2 | undefined)",
|
|
2106
|
+
value: input3.continuousColorScale
|
|
2107
|
+
})) && $vo22(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2108
|
+
path: _path2 + ".continuousColorScale",
|
|
2109
|
+
expected: "(__type.o2 | undefined)",
|
|
2110
|
+
value: input3.continuousColorScale
|
|
2084
2111
|
})].every((flag) => flag);
|
|
2085
2112
|
const $vo15 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
2086
2113
|
path: _path2 + '["default"]',
|
|
@@ -2330,7 +2357,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2330
2357
|
expected: '("median" | undefined)',
|
|
2331
2358
|
value: input3.preferredBins
|
|
2332
2359
|
})].every((flag) => flag);
|
|
2333
|
-
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.
|
|
2360
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
2361
|
+
path: _path2 + ".minColor",
|
|
2362
|
+
expected: "string",
|
|
2363
|
+
value: input3.minColor
|
|
2364
|
+
}), "string" === typeof input3.maxColor || $report(_exceptionable2, {
|
|
2365
|
+
path: _path2 + ".maxColor",
|
|
2366
|
+
expected: "string",
|
|
2367
|
+
value: input3.maxColor
|
|
2368
|
+
})].every((flag) => flag);
|
|
2369
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
2334
2370
|
path: _path2 + ".key",
|
|
2335
2371
|
expected: "string",
|
|
2336
2372
|
value: input3.key
|
|
@@ -2347,7 +2383,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2347
2383
|
expected: "(string | undefined)",
|
|
2348
2384
|
value: input3.label
|
|
2349
2385
|
})].every((flag) => flag);
|
|
2350
|
-
const $
|
|
2386
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2351
2387
|
path: _path2 + ".join",
|
|
2352
2388
|
expected: "(string | undefined)",
|
|
2353
2389
|
value: input3.join
|
|
@@ -2359,7 +2395,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2359
2395
|
path: _path2 + ".term",
|
|
2360
2396
|
expected: "ConditionTerm",
|
|
2361
2397
|
value: input3.term
|
|
2362
|
-
})) && $
|
|
2398
|
+
})) && $vo25(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
2363
2399
|
path: _path2 + ".term",
|
|
2364
2400
|
expected: "ConditionTerm",
|
|
2365
2401
|
value: input3.term
|
|
@@ -2383,7 +2419,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2383
2419
|
path: _path2 + ".grade_and_child[" + _index16 + "]",
|
|
2384
2420
|
expected: "GradeAndChildEntry",
|
|
2385
2421
|
value: elem
|
|
2386
|
-
})) && $
|
|
2422
|
+
})) && $vo26(elem, _path2 + ".grade_and_child[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
2387
2423
|
path: _path2 + ".grade_and_child[" + _index16 + "]",
|
|
2388
2424
|
expected: "GradeAndChildEntry",
|
|
2389
2425
|
value: elem
|
|
@@ -2392,7 +2428,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2392
2428
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
2393
2429
|
value: input3.grade_and_child
|
|
2394
2430
|
})].every((flag) => flag);
|
|
2395
|
-
const $
|
|
2431
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2396
2432
|
path: _path2 + ".id",
|
|
2397
2433
|
expected: "string",
|
|
2398
2434
|
value: input3.id
|
|
@@ -2445,7 +2481,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2445
2481
|
expected: "(TermValues | undefined)",
|
|
2446
2482
|
value: input3.values
|
|
2447
2483
|
})].every((flag) => flag);
|
|
2448
|
-
const $
|
|
2484
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
2449
2485
|
path: _path2 + ".grade",
|
|
2450
2486
|
expected: "number",
|
|
2451
2487
|
value: input3.grade
|
|
@@ -2462,7 +2498,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2462
2498
|
expected: "string",
|
|
2463
2499
|
value: input3.child_label
|
|
2464
2500
|
})].every((flag) => flag);
|
|
2465
|
-
const $
|
|
2501
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
2466
2502
|
path: _path2 + ".join",
|
|
2467
2503
|
expected: "(string | undefined)",
|
|
2468
2504
|
value: input3.join
|
|
@@ -2495,7 +2531,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2495
2531
|
expected: "Array<GeneVariantTvsValue>",
|
|
2496
2532
|
value: input3.values
|
|
2497
2533
|
})].every((flag) => flag);
|
|
2498
|
-
const $
|
|
2534
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2499
2535
|
path: _path2 + ".id",
|
|
2500
2536
|
expected: "string",
|
|
2501
2537
|
value: input3.id
|
|
@@ -2576,7 +2612,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2576
2612
|
expected: "(number | undefined)",
|
|
2577
2613
|
value: input3.stop
|
|
2578
2614
|
})].every((flag) => flag);
|
|
2579
|
-
const $
|
|
2615
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2580
2616
|
path: _path2 + ".id",
|
|
2581
2617
|
expected: "string",
|
|
2582
2618
|
value: input3.id
|
|
@@ -2653,7 +2689,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2653
2689
|
expected: "number",
|
|
2654
2690
|
value: input3.stop
|
|
2655
2691
|
})].every((flag) => flag);
|
|
2656
|
-
const $
|
|
2692
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
|
|
2657
2693
|
path: _path2 + ".dt",
|
|
2658
2694
|
expected: "1",
|
|
2659
2695
|
value: input3.dt
|
|
@@ -2686,7 +2722,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2686
2722
|
expected: '("germline" | "somatic" | undefined)',
|
|
2687
2723
|
value: input3.origin
|
|
2688
2724
|
})].every((flag) => flag);
|
|
2689
|
-
const $
|
|
2725
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
|
|
2690
2726
|
path: _path2 + ".dt",
|
|
2691
2727
|
expected: "4",
|
|
2692
2728
|
value: input3.dt
|
|
@@ -2719,7 +2755,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2719
2755
|
expected: '("germline" | "somatic" | undefined)',
|
|
2720
2756
|
value: input3.origin
|
|
2721
2757
|
})].every((flag) => flag);
|
|
2722
|
-
const $
|
|
2758
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
|
|
2723
2759
|
path: _path2 + ".dt",
|
|
2724
2760
|
expected: "5",
|
|
2725
2761
|
value: input3.dt
|
|
@@ -2752,7 +2788,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2752
2788
|
expected: '("germline" | "somatic" | undefined)',
|
|
2753
2789
|
value: input3.origin
|
|
2754
2790
|
})].every((flag) => flag);
|
|
2755
|
-
const $
|
|
2791
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
|
|
2756
2792
|
path: _path2 + ".dt",
|
|
2757
2793
|
expected: "2",
|
|
2758
2794
|
value: input3.dt
|
|
@@ -2785,7 +2821,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2785
2821
|
expected: '("germline" | "somatic" | undefined)',
|
|
2786
2822
|
value: input3.origin
|
|
2787
2823
|
})].every((flag) => flag);
|
|
2788
|
-
const $
|
|
2824
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2789
2825
|
path: _path2 + ".id",
|
|
2790
2826
|
expected: "string",
|
|
2791
2827
|
value: input3.id
|
|
@@ -2849,8 +2885,16 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2849
2885
|
path: _path2 + ".unit",
|
|
2850
2886
|
expected: "(string | undefined)",
|
|
2851
2887
|
value: input3.unit
|
|
2888
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
2889
|
+
path: _path2 + ".continuousColorScale",
|
|
2890
|
+
expected: "(__type.o2 | undefined)",
|
|
2891
|
+
value: input3.continuousColorScale
|
|
2892
|
+
})) && $vo22(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
2893
|
+
path: _path2 + ".continuousColorScale",
|
|
2894
|
+
expected: "(__type.o2 | undefined)",
|
|
2895
|
+
value: input3.continuousColorScale
|
|
2852
2896
|
})].every((flag) => flag);
|
|
2853
|
-
const $
|
|
2897
|
+
const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2854
2898
|
path: _path2 + ".id",
|
|
2855
2899
|
expected: "string",
|
|
2856
2900
|
value: input3.id
|
|
@@ -2903,7 +2947,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2903
2947
|
expected: "(TermValues | undefined)",
|
|
2904
2948
|
value: input3.values
|
|
2905
2949
|
})].every((flag) => flag);
|
|
2906
|
-
const $
|
|
2950
|
+
const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2907
2951
|
path: _path2 + ".id",
|
|
2908
2952
|
expected: "string",
|
|
2909
2953
|
value: input3.id
|
|
@@ -2984,7 +3028,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
2984
3028
|
expected: "(number | undefined)",
|
|
2985
3029
|
value: input3.stop
|
|
2986
3030
|
})].every((flag) => flag);
|
|
2987
|
-
const $
|
|
3031
|
+
const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
2988
3032
|
path: _path2 + ".id",
|
|
2989
3033
|
expected: "string",
|
|
2990
3034
|
value: input3.id
|
|
@@ -3061,7 +3105,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3061
3105
|
expected: "number",
|
|
3062
3106
|
value: input3.stop
|
|
3063
3107
|
})].every((flag) => flag);
|
|
3064
|
-
const $
|
|
3108
|
+
const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3065
3109
|
path: _path2 + ".id",
|
|
3066
3110
|
expected: "string",
|
|
3067
3111
|
value: input3.id
|
|
@@ -3125,7 +3169,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3125
3169
|
path: _path2 + ".snps[" + _index42 + "]",
|
|
3126
3170
|
expected: "SnpsEntry",
|
|
3127
3171
|
value: elem
|
|
3128
|
-
})) && $
|
|
3172
|
+
})) && $vo39(elem, _path2 + ".snps[" + _index42 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3129
3173
|
path: _path2 + ".snps[" + _index42 + "]",
|
|
3130
3174
|
expected: "SnpsEntry",
|
|
3131
3175
|
value: elem
|
|
@@ -3134,7 +3178,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3134
3178
|
expected: "(Array<SnpsEntry> | undefined)",
|
|
3135
3179
|
value: input3.snps
|
|
3136
3180
|
})].every((flag) => flag);
|
|
3137
|
-
const $
|
|
3181
|
+
const $vo39 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
|
|
3138
3182
|
path: _path2 + ".altAlleles",
|
|
3139
3183
|
expected: "(Array<string> | undefined)",
|
|
3140
3184
|
value: input3.altAlleles
|
|
@@ -3154,7 +3198,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3154
3198
|
path: _path2 + ".alleles[" + _index44 + "]",
|
|
3155
3199
|
expected: "AllelesEntry",
|
|
3156
3200
|
value: elem
|
|
3157
|
-
})) && $
|
|
3201
|
+
})) && $vo40(elem, _path2 + ".alleles[" + _index44 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3158
3202
|
path: _path2 + ".alleles[" + _index44 + "]",
|
|
3159
3203
|
expected: "AllelesEntry",
|
|
3160
3204
|
value: elem
|
|
@@ -3168,11 +3212,11 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3168
3212
|
value: input3.effectAllele
|
|
3169
3213
|
}), void 0 === input3.gt2count || ("object" === typeof input3.gt2count && null !== input3.gt2count || $report(_exceptionable2, {
|
|
3170
3214
|
path: _path2 + ".gt2count",
|
|
3171
|
-
expected: "(__type.
|
|
3215
|
+
expected: "(__type.o4 | undefined)",
|
|
3172
3216
|
value: input3.gt2count
|
|
3173
|
-
})) && $
|
|
3217
|
+
})) && $vo41(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
|
|
3174
3218
|
path: _path2 + ".gt2count",
|
|
3175
|
-
expected: "(__type.
|
|
3219
|
+
expected: "(__type.o4 | undefined)",
|
|
3176
3220
|
value: input3.gt2count
|
|
3177
3221
|
}), void 0 === input3.invalid || "boolean" === typeof input3.invalid || $report(_exceptionable2, {
|
|
3178
3222
|
path: _path2 + ".invalid",
|
|
@@ -3199,7 +3243,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3199
3243
|
expected: "(number | undefined)",
|
|
3200
3244
|
value: input3.pos
|
|
3201
3245
|
})].every((flag) => flag);
|
|
3202
|
-
const $
|
|
3246
|
+
const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
|
|
3203
3247
|
path: _path2 + ".allele",
|
|
3204
3248
|
expected: "string",
|
|
3205
3249
|
value: input3.allele
|
|
@@ -3212,7 +3256,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3212
3256
|
expected: "boolean",
|
|
3213
3257
|
value: input3.isRef
|
|
3214
3258
|
})].every((flag) => flag);
|
|
3215
|
-
const $
|
|
3259
|
+
const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
|
|
3216
3260
|
path: _path2 + ".k",
|
|
3217
3261
|
expected: "string",
|
|
3218
3262
|
value: input3.k
|
|
@@ -3221,7 +3265,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3221
3265
|
expected: "(number | string)",
|
|
3222
3266
|
value: input3.v
|
|
3223
3267
|
})].every((flag) => flag);
|
|
3224
|
-
const $
|
|
3268
|
+
const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
3225
3269
|
path: _path2 + ".id",
|
|
3226
3270
|
expected: "string",
|
|
3227
3271
|
value: input3.id
|
|
@@ -3269,12 +3313,12 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3269
3313
|
path: _path2 + ".values",
|
|
3270
3314
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3271
3315
|
value: input3.values
|
|
3272
|
-
})) && $
|
|
3316
|
+
})) && $vo43(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3273
3317
|
path: _path2 + ".values",
|
|
3274
3318
|
expected: "(TermValues & SampleLstTermValues | undefined)",
|
|
3275
3319
|
value: input3.values
|
|
3276
3320
|
})].every((flag) => flag);
|
|
3277
|
-
const $
|
|
3321
|
+
const $vo43 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
3278
3322
|
const value = input3[key];
|
|
3279
3323
|
if (void 0 === value)
|
|
3280
3324
|
return true;
|
|
@@ -3283,7 +3327,7 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3283
3327
|
path: _path2 + $join(key),
|
|
3284
3328
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3285
3329
|
value
|
|
3286
|
-
})) && $
|
|
3330
|
+
})) && $vo44(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3287
3331
|
path: _path2 + $join(key),
|
|
3288
3332
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3289
3333
|
value
|
|
@@ -3293,14 +3337,14 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3293
3337
|
path: _path2 + $join(key),
|
|
3294
3338
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3295
3339
|
value
|
|
3296
|
-
})) && $
|
|
3340
|
+
})) && $vo44(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
3297
3341
|
path: _path2 + $join(key),
|
|
3298
3342
|
expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
|
|
3299
3343
|
value
|
|
3300
3344
|
});
|
|
3301
3345
|
return true;
|
|
3302
3346
|
}).every((flag) => flag)].every((flag) => flag);
|
|
3303
|
-
const $
|
|
3347
|
+
const $vo44 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
|
|
3304
3348
|
path: _path2 + ".key",
|
|
3305
3349
|
expected: "(string | undefined)",
|
|
3306
3350
|
value: input3.key
|
|
@@ -3346,18 +3390,18 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3346
3390
|
value: input3.list
|
|
3347
3391
|
})) && input3.list.map((elem, _index47) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
3348
3392
|
path: _path2 + ".list[" + _index47 + "]",
|
|
3349
|
-
expected: "__type.
|
|
3393
|
+
expected: "__type.o5",
|
|
3350
3394
|
value: elem
|
|
3351
|
-
})) && $
|
|
3395
|
+
})) && $vo45(elem, _path2 + ".list[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
3352
3396
|
path: _path2 + ".list[" + _index47 + "]",
|
|
3353
|
-
expected: "__type.
|
|
3397
|
+
expected: "__type.o5",
|
|
3354
3398
|
value: elem
|
|
3355
3399
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
3356
3400
|
path: _path2 + ".list",
|
|
3357
3401
|
expected: "Array<__type>.o2",
|
|
3358
3402
|
value: input3.list
|
|
3359
3403
|
}), true].every((flag) => flag);
|
|
3360
|
-
const $
|
|
3404
|
+
const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
3361
3405
|
path: _path2 + ".sampleId",
|
|
3362
3406
|
expected: "string",
|
|
3363
3407
|
value: input3.sampleId
|
|
@@ -3370,21 +3414,21 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3370
3414
|
if ("categorical" === input3.type)
|
|
3371
3415
|
return $vo1(input3, _path2, _exceptionable2);
|
|
3372
3416
|
if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type)
|
|
3373
|
-
return $vo33(input3, _path2, _exceptionable2);
|
|
3374
|
-
if ("condition" === input3.type)
|
|
3375
3417
|
return $vo34(input3, _path2, _exceptionable2);
|
|
3376
|
-
if ("
|
|
3418
|
+
if ("condition" === input3.type)
|
|
3377
3419
|
return $vo35(input3, _path2, _exceptionable2);
|
|
3378
|
-
if ("
|
|
3420
|
+
if ("gene" === input3.kind)
|
|
3379
3421
|
return $vo36(input3, _path2, _exceptionable2);
|
|
3380
|
-
|
|
3422
|
+
if ("coord" === input3.kind)
|
|
3423
|
+
return $vo37(input3, _path2, _exceptionable2);
|
|
3424
|
+
return $vo38(input3, _path2, false) || $vo42(input3, _path2, false);
|
|
3381
3425
|
})();
|
|
3382
3426
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3383
3427
|
if (void 0 !== input3.type)
|
|
3384
3428
|
return $vo4(input3, _path2, _exceptionable2);
|
|
3385
3429
|
if (void 0 !== input3.ranges)
|
|
3386
3430
|
return $vo13(input3, _path2, _exceptionable2);
|
|
3387
|
-
return $vo5(input3, _path2, false) || $
|
|
3431
|
+
return $vo5(input3, _path2, false) || $vo24(input3, _path2, false) || $vo27(input3, _path2, false);
|
|
3388
3432
|
})();
|
|
3389
3433
|
const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3390
3434
|
if ("string" === typeof input3.type)
|
|
@@ -3406,13 +3450,13 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3406
3450
|
})();
|
|
3407
3451
|
const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3408
3452
|
if (2 === input3.dt)
|
|
3409
|
-
return $
|
|
3453
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
3410
3454
|
if (5 === input3.dt)
|
|
3411
|
-
return $
|
|
3455
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
3412
3456
|
if (4 === input3.dt)
|
|
3413
|
-
return $
|
|
3457
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
3414
3458
|
if (1 === input3.dt)
|
|
3415
|
-
return $
|
|
3459
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
3416
3460
|
return $report(_exceptionable2, {
|
|
3417
3461
|
path: _path2,
|
|
3418
3462
|
expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
|
|
@@ -3459,9 +3503,9 @@ var validTermdbTopTermsByTypeResponse = (input) => {
|
|
|
3459
3503
|
})();
|
|
3460
3504
|
const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
3461
3505
|
if ("gene" === input3.kind)
|
|
3462
|
-
return $vo27(input3, _path2, _exceptionable2);
|
|
3463
|
-
if ("coord" === input3.kind)
|
|
3464
3506
|
return $vo28(input3, _path2, _exceptionable2);
|
|
3507
|
+
if ("coord" === input3.kind)
|
|
3508
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
3465
3509
|
return $report(_exceptionable2, {
|
|
3466
3510
|
path: _path2,
|
|
3467
3511
|
expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
|