@sjcrh/proteinpaint-types 2.101.0 → 2.104.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-VSDZI6M3.js → chunk-A7N3MZBR.js} +215 -189
- 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/dataset.ts +15 -2
- package/src/terms/numeric.ts +3 -5
|
@@ -45,8 +45,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
45
45
|
const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
46
46
|
const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io3(input3.filter));
|
|
47
47
|
const $io13 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
48
|
-
const $io14 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io15(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 && $
|
|
49
|
-
const $io15 = (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) && $io6(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
|
|
48
|
+
const $io14 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io15(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 && $io24(elem)));
|
|
49
|
+
const $io15 = (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) && $io6(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io23(input3.continuousColorScale));
|
|
50
50
|
const $io16 = (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);
|
|
51
51
|
const $io17 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(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);
|
|
52
52
|
const $io18 = (input3) => Object.keys(input3).every((key) => {
|
|
@@ -61,17 +61,18 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
61
61
|
const $io20 = (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);
|
|
62
62
|
const $io21 = (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);
|
|
63
63
|
const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(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);
|
|
64
|
-
const $io23 = (input3) => "string" === typeof input3.
|
|
65
|
-
const $io24 = (input3) =>
|
|
66
|
-
const $io25 = (input3) =>
|
|
67
|
-
const $io26 = (input3) => "
|
|
68
|
-
const $io27 = (input3) =>
|
|
69
|
-
const $io28 = (input3) =>
|
|
70
|
-
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) && $io6(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && "
|
|
71
|
-
const $io30 = (input3) =>
|
|
72
|
-
const $io31 = (input3) =>
|
|
73
|
-
const $io32 = (input3) =>
|
|
74
|
-
const $io33 = (input3) =>
|
|
64
|
+
const $io23 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
65
|
+
const $io24 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
66
|
+
const $io25 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io26(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 && $io27(elem)));
|
|
67
|
+
const $io26 = (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) && $io6(input3.values));
|
|
68
|
+
const $io27 = (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;
|
|
69
|
+
const $io28 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem)));
|
|
70
|
+
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) && $io6(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(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);
|
|
71
|
+
const $io30 = (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) && $io6(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
72
|
+
const $io31 = (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);
|
|
73
|
+
const $io32 = (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);
|
|
74
|
+
const $io33 = (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);
|
|
75
|
+
const $io34 = (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);
|
|
75
76
|
const $iu0 = (input3) => (() => {
|
|
76
77
|
if (void 0 !== input3.type)
|
|
77
78
|
return $io3(input3);
|
|
@@ -80,10 +81,10 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
80
81
|
return (() => {
|
|
81
82
|
if ($io4(input3))
|
|
82
83
|
return $io4(input3);
|
|
83
|
-
if ($
|
|
84
|
-
return $
|
|
85
|
-
if ($
|
|
86
|
-
return $
|
|
84
|
+
if ($io25(input3))
|
|
85
|
+
return $io25(input3);
|
|
86
|
+
if ($io28(input3))
|
|
87
|
+
return $io28(input3);
|
|
87
88
|
return false;
|
|
88
89
|
})();
|
|
89
90
|
})();
|
|
@@ -103,13 +104,13 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
103
104
|
})();
|
|
104
105
|
const $iu3 = (input3) => (() => {
|
|
105
106
|
if (2 === input3.dt)
|
|
106
|
-
return $
|
|
107
|
+
return $io34(input3);
|
|
107
108
|
if (5 === input3.dt)
|
|
108
|
-
return $
|
|
109
|
+
return $io33(input3);
|
|
109
110
|
if (4 === input3.dt)
|
|
110
|
-
return $
|
|
111
|
+
return $io32(input3);
|
|
111
112
|
if (1 === input3.dt)
|
|
112
|
-
return $
|
|
113
|
+
return $io31(input3);
|
|
113
114
|
return false;
|
|
114
115
|
})();
|
|
115
116
|
const $iu4 = (input3) => (() => {
|
|
@@ -140,9 +141,9 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
140
141
|
})();
|
|
141
142
|
const $iu8 = (input3) => (() => {
|
|
142
143
|
if ("gene" === input3.kind)
|
|
143
|
-
return $io28(input3);
|
|
144
|
-
if ("coord" === input3.kind)
|
|
145
144
|
return $io29(input3);
|
|
145
|
+
if ("coord" === input3.kind)
|
|
146
|
+
return $io30(input3);
|
|
146
147
|
return false;
|
|
147
148
|
})();
|
|
148
149
|
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
@@ -576,11 +577,11 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
576
577
|
value: input3.values
|
|
577
578
|
})) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
578
579
|
path: _path2 + ".values[" + _index10 + "]",
|
|
579
|
-
expected: "__type.
|
|
580
|
+
expected: "__type.o5",
|
|
580
581
|
value: elem
|
|
581
|
-
})) && $
|
|
582
|
+
})) && $vo24(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
582
583
|
path: _path2 + ".values[" + _index10 + "]",
|
|
583
|
-
expected: "__type.
|
|
584
|
+
expected: "__type.o5",
|
|
584
585
|
value: elem
|
|
585
586
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
586
587
|
path: _path2 + ".values",
|
|
@@ -651,6 +652,14 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
651
652
|
path: _path2 + ".unit",
|
|
652
653
|
expected: "(string | undefined)",
|
|
653
654
|
value: input3.unit
|
|
655
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
656
|
+
path: _path2 + ".continuousColorScale",
|
|
657
|
+
expected: "(__type.o4 | undefined)",
|
|
658
|
+
value: input3.continuousColorScale
|
|
659
|
+
})) && $vo23(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
660
|
+
path: _path2 + ".continuousColorScale",
|
|
661
|
+
expected: "(__type.o4 | undefined)",
|
|
662
|
+
value: input3.continuousColorScale
|
|
654
663
|
})].every((flag) => flag);
|
|
655
664
|
const $vo16 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
656
665
|
path: _path2 + '["default"]',
|
|
@@ -900,7 +909,16 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
900
909
|
expected: '("median" | undefined)',
|
|
901
910
|
value: input3.preferredBins
|
|
902
911
|
})].every((flag) => flag);
|
|
903
|
-
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.
|
|
912
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
913
|
+
path: _path2 + ".minColor",
|
|
914
|
+
expected: "string",
|
|
915
|
+
value: input3.minColor
|
|
916
|
+
}), "string" === typeof input3.maxColor || $report(_exceptionable2, {
|
|
917
|
+
path: _path2 + ".maxColor",
|
|
918
|
+
expected: "string",
|
|
919
|
+
value: input3.maxColor
|
|
920
|
+
})].every((flag) => flag);
|
|
921
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
904
922
|
path: _path2 + ".key",
|
|
905
923
|
expected: "string",
|
|
906
924
|
value: input3.key
|
|
@@ -917,7 +935,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
917
935
|
expected: "(string | undefined)",
|
|
918
936
|
value: input3.label
|
|
919
937
|
})].every((flag) => flag);
|
|
920
|
-
const $
|
|
938
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
921
939
|
path: _path2 + ".join",
|
|
922
940
|
expected: "(string | undefined)",
|
|
923
941
|
value: input3.join
|
|
@@ -929,7 +947,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
929
947
|
path: _path2 + ".term",
|
|
930
948
|
expected: "ConditionTerm",
|
|
931
949
|
value: input3.term
|
|
932
|
-
})) && $
|
|
950
|
+
})) && $vo26(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
933
951
|
path: _path2 + ".term",
|
|
934
952
|
expected: "ConditionTerm",
|
|
935
953
|
value: input3.term
|
|
@@ -953,7 +971,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
953
971
|
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
954
972
|
expected: "GradeAndChildEntry",
|
|
955
973
|
value: elem
|
|
956
|
-
})) && $
|
|
974
|
+
})) && $vo27(elem, _path2 + ".grade_and_child[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
957
975
|
path: _path2 + ".grade_and_child[" + _index14 + "]",
|
|
958
976
|
expected: "GradeAndChildEntry",
|
|
959
977
|
value: elem
|
|
@@ -962,7 +980,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
962
980
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
963
981
|
value: input3.grade_and_child
|
|
964
982
|
})].every((flag) => flag);
|
|
965
|
-
const $
|
|
983
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
966
984
|
path: _path2 + ".id",
|
|
967
985
|
expected: "string",
|
|
968
986
|
value: input3.id
|
|
@@ -1015,7 +1033,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1015
1033
|
expected: "(TermValues | undefined)",
|
|
1016
1034
|
value: input3.values
|
|
1017
1035
|
})].every((flag) => flag);
|
|
1018
|
-
const $
|
|
1036
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1019
1037
|
path: _path2 + ".grade",
|
|
1020
1038
|
expected: "number",
|
|
1021
1039
|
value: input3.grade
|
|
@@ -1032,7 +1050,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1032
1050
|
expected: "string",
|
|
1033
1051
|
value: input3.child_label
|
|
1034
1052
|
})].every((flag) => flag);
|
|
1035
|
-
const $
|
|
1053
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
1036
1054
|
path: _path2 + ".join",
|
|
1037
1055
|
expected: "(string | undefined)",
|
|
1038
1056
|
value: input3.join
|
|
@@ -1065,7 +1083,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1065
1083
|
expected: "Array<GeneVariantTvsValue>",
|
|
1066
1084
|
value: input3.values
|
|
1067
1085
|
})].every((flag) => flag);
|
|
1068
|
-
const $
|
|
1086
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1069
1087
|
path: _path2 + ".id",
|
|
1070
1088
|
expected: "string",
|
|
1071
1089
|
value: input3.id
|
|
@@ -1146,7 +1164,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1146
1164
|
expected: "(number | undefined)",
|
|
1147
1165
|
value: input3.stop
|
|
1148
1166
|
})].every((flag) => flag);
|
|
1149
|
-
const $
|
|
1167
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1150
1168
|
path: _path2 + ".id",
|
|
1151
1169
|
expected: "string",
|
|
1152
1170
|
value: input3.id
|
|
@@ -1223,7 +1241,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1223
1241
|
expected: "number",
|
|
1224
1242
|
value: input3.stop
|
|
1225
1243
|
})].every((flag) => flag);
|
|
1226
|
-
const $
|
|
1244
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
|
|
1227
1245
|
path: _path2 + ".dt",
|
|
1228
1246
|
expected: "1",
|
|
1229
1247
|
value: input3.dt
|
|
@@ -1256,7 +1274,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1256
1274
|
expected: '("germline" | "somatic" | undefined)',
|
|
1257
1275
|
value: input3.origin
|
|
1258
1276
|
})].every((flag) => flag);
|
|
1259
|
-
const $
|
|
1277
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
|
|
1260
1278
|
path: _path2 + ".dt",
|
|
1261
1279
|
expected: "4",
|
|
1262
1280
|
value: input3.dt
|
|
@@ -1289,7 +1307,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1289
1307
|
expected: '("germline" | "somatic" | undefined)',
|
|
1290
1308
|
value: input3.origin
|
|
1291
1309
|
})].every((flag) => flag);
|
|
1292
|
-
const $
|
|
1310
|
+
const $vo33 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
|
|
1293
1311
|
path: _path2 + ".dt",
|
|
1294
1312
|
expected: "5",
|
|
1295
1313
|
value: input3.dt
|
|
@@ -1322,7 +1340,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1322
1340
|
expected: '("germline" | "somatic" | undefined)',
|
|
1323
1341
|
value: input3.origin
|
|
1324
1342
|
})].every((flag) => flag);
|
|
1325
|
-
const $
|
|
1343
|
+
const $vo34 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
|
|
1326
1344
|
path: _path2 + ".dt",
|
|
1327
1345
|
expected: "2",
|
|
1328
1346
|
value: input3.dt
|
|
@@ -1360,7 +1378,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1360
1378
|
return $vo3(input3, _path2, _exceptionable2);
|
|
1361
1379
|
if (void 0 !== input3.ranges)
|
|
1362
1380
|
return $vo14(input3, _path2, _exceptionable2);
|
|
1363
|
-
return $vo4(input3, _path2, false) || $
|
|
1381
|
+
return $vo4(input3, _path2, false) || $vo25(input3, _path2, false) || $vo28(input3, _path2, false);
|
|
1364
1382
|
})();
|
|
1365
1383
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1366
1384
|
if ("string" === typeof input3.type)
|
|
@@ -1382,13 +1400,13 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1382
1400
|
})();
|
|
1383
1401
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1384
1402
|
if (2 === input3.dt)
|
|
1385
|
-
return $
|
|
1403
|
+
return $vo34(input3, _path2, _exceptionable2);
|
|
1386
1404
|
if (5 === input3.dt)
|
|
1387
|
-
return $
|
|
1405
|
+
return $vo33(input3, _path2, _exceptionable2);
|
|
1388
1406
|
if (4 === input3.dt)
|
|
1389
|
-
return $
|
|
1407
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
1390
1408
|
if (1 === input3.dt)
|
|
1391
|
-
return $
|
|
1409
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
1392
1410
|
return $report(_exceptionable2, {
|
|
1393
1411
|
path: _path2,
|
|
1394
1412
|
expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
|
|
@@ -1435,9 +1453,9 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1435
1453
|
})();
|
|
1436
1454
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1437
1455
|
if ("gene" === input3.kind)
|
|
1438
|
-
return $vo28(input3, _path2, _exceptionable2);
|
|
1439
|
-
if ("coord" === input3.kind)
|
|
1440
1456
|
return $vo29(input3, _path2, _exceptionable2);
|
|
1457
|
+
if ("coord" === input3.kind)
|
|
1458
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
1441
1459
|
return $report(_exceptionable2, {
|
|
1442
1460
|
path: _path2,
|
|
1443
1461
|
expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
|