@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 validNumericCategoriesRequest = (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 validNumericCategoriesRequest = (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 validNumericCategoriesRequest = (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 validNumericCategoriesRequest = (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 validNumericCategoriesRequest = (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);
|
|
@@ -524,11 +525,11 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
524
525
|
value: input3.values
|
|
525
526
|
})) && input3.values.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
526
527
|
path: _path2 + ".values[" + _index9 + "]",
|
|
527
|
-
expected: "__type.
|
|
528
|
+
expected: "__type.o3",
|
|
528
529
|
value: elem
|
|
529
|
-
})) && $
|
|
530
|
+
})) && $vo22(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
530
531
|
path: _path2 + ".values[" + _index9 + "]",
|
|
531
|
-
expected: "__type.
|
|
532
|
+
expected: "__type.o3",
|
|
532
533
|
value: elem
|
|
533
534
|
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
534
535
|
path: _path2 + ".values",
|
|
@@ -599,6 +600,14 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
599
600
|
path: _path2 + ".unit",
|
|
600
601
|
expected: "(string | undefined)",
|
|
601
602
|
value: input3.unit
|
|
603
|
+
}), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
|
|
604
|
+
path: _path2 + ".continuousColorScale",
|
|
605
|
+
expected: "(__type.o2 | undefined)",
|
|
606
|
+
value: input3.continuousColorScale
|
|
607
|
+
})) && $vo21(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
|
|
608
|
+
path: _path2 + ".continuousColorScale",
|
|
609
|
+
expected: "(__type.o2 | undefined)",
|
|
610
|
+
value: input3.continuousColorScale
|
|
602
611
|
})].every((flag) => flag);
|
|
603
612
|
const $vo14 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
|
|
604
613
|
path: _path2 + '["default"]',
|
|
@@ -848,7 +857,16 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
848
857
|
expected: '("median" | undefined)',
|
|
849
858
|
value: input3.preferredBins
|
|
850
859
|
})].every((flag) => flag);
|
|
851
|
-
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.
|
|
860
|
+
const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
|
|
861
|
+
path: _path2 + ".minColor",
|
|
862
|
+
expected: "string",
|
|
863
|
+
value: input3.minColor
|
|
864
|
+
}), "string" === typeof input3.maxColor || $report(_exceptionable2, {
|
|
865
|
+
path: _path2 + ".maxColor",
|
|
866
|
+
expected: "string",
|
|
867
|
+
value: input3.maxColor
|
|
868
|
+
})].every((flag) => flag);
|
|
869
|
+
const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
852
870
|
path: _path2 + ".key",
|
|
853
871
|
expected: "string",
|
|
854
872
|
value: input3.key
|
|
@@ -865,7 +883,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
865
883
|
expected: "(string | undefined)",
|
|
866
884
|
value: input3.label
|
|
867
885
|
})].every((flag) => flag);
|
|
868
|
-
const $
|
|
886
|
+
const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
869
887
|
path: _path2 + ".join",
|
|
870
888
|
expected: "(string | undefined)",
|
|
871
889
|
value: input3.join
|
|
@@ -877,7 +895,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
877
895
|
path: _path2 + ".term",
|
|
878
896
|
expected: "ConditionTerm",
|
|
879
897
|
value: input3.term
|
|
880
|
-
})) && $
|
|
898
|
+
})) && $vo24(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
|
|
881
899
|
path: _path2 + ".term",
|
|
882
900
|
expected: "ConditionTerm",
|
|
883
901
|
value: input3.term
|
|
@@ -901,7 +919,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
901
919
|
path: _path2 + ".grade_and_child[" + _index13 + "]",
|
|
902
920
|
expected: "GradeAndChildEntry",
|
|
903
921
|
value: elem
|
|
904
|
-
})) && $
|
|
922
|
+
})) && $vo25(elem, _path2 + ".grade_and_child[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
905
923
|
path: _path2 + ".grade_and_child[" + _index13 + "]",
|
|
906
924
|
expected: "GradeAndChildEntry",
|
|
907
925
|
value: elem
|
|
@@ -910,7 +928,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
910
928
|
expected: "(Array<GradeAndChildEntry> | undefined)",
|
|
911
929
|
value: input3.grade_and_child
|
|
912
930
|
})].every((flag) => flag);
|
|
913
|
-
const $
|
|
931
|
+
const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
914
932
|
path: _path2 + ".id",
|
|
915
933
|
expected: "string",
|
|
916
934
|
value: input3.id
|
|
@@ -963,7 +981,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
963
981
|
expected: "(TermValues | undefined)",
|
|
964
982
|
value: input3.values
|
|
965
983
|
})].every((flag) => flag);
|
|
966
|
-
const $
|
|
984
|
+
const $vo25 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
967
985
|
path: _path2 + ".grade",
|
|
968
986
|
expected: "number",
|
|
969
987
|
value: input3.grade
|
|
@@ -980,7 +998,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
980
998
|
expected: "string",
|
|
981
999
|
value: input3.child_label
|
|
982
1000
|
})].every((flag) => flag);
|
|
983
|
-
const $
|
|
1001
|
+
const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
|
|
984
1002
|
path: _path2 + ".join",
|
|
985
1003
|
expected: "(string | undefined)",
|
|
986
1004
|
value: input3.join
|
|
@@ -1013,7 +1031,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1013
1031
|
expected: "Array<GeneVariantTvsValue>",
|
|
1014
1032
|
value: input3.values
|
|
1015
1033
|
})].every((flag) => flag);
|
|
1016
|
-
const $
|
|
1034
|
+
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1017
1035
|
path: _path2 + ".id",
|
|
1018
1036
|
expected: "string",
|
|
1019
1037
|
value: input3.id
|
|
@@ -1094,7 +1112,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1094
1112
|
expected: "(number | undefined)",
|
|
1095
1113
|
value: input3.stop
|
|
1096
1114
|
})].every((flag) => flag);
|
|
1097
|
-
const $
|
|
1115
|
+
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
1098
1116
|
path: _path2 + ".id",
|
|
1099
1117
|
expected: "string",
|
|
1100
1118
|
value: input3.id
|
|
@@ -1171,7 +1189,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1171
1189
|
expected: "number",
|
|
1172
1190
|
value: input3.stop
|
|
1173
1191
|
})].every((flag) => flag);
|
|
1174
|
-
const $
|
|
1192
|
+
const $vo29 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
|
|
1175
1193
|
path: _path2 + ".dt",
|
|
1176
1194
|
expected: "1",
|
|
1177
1195
|
value: input3.dt
|
|
@@ -1204,7 +1222,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1204
1222
|
expected: '("germline" | "somatic" | undefined)',
|
|
1205
1223
|
value: input3.origin
|
|
1206
1224
|
})].every((flag) => flag);
|
|
1207
|
-
const $
|
|
1225
|
+
const $vo30 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
|
|
1208
1226
|
path: _path2 + ".dt",
|
|
1209
1227
|
expected: "4",
|
|
1210
1228
|
value: input3.dt
|
|
@@ -1237,7 +1255,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1237
1255
|
expected: '("germline" | "somatic" | undefined)',
|
|
1238
1256
|
value: input3.origin
|
|
1239
1257
|
})].every((flag) => flag);
|
|
1240
|
-
const $
|
|
1258
|
+
const $vo31 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
|
|
1241
1259
|
path: _path2 + ".dt",
|
|
1242
1260
|
expected: "5",
|
|
1243
1261
|
value: input3.dt
|
|
@@ -1270,7 +1288,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1270
1288
|
expected: '("germline" | "somatic" | undefined)',
|
|
1271
1289
|
value: input3.origin
|
|
1272
1290
|
})].every((flag) => flag);
|
|
1273
|
-
const $
|
|
1291
|
+
const $vo32 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
|
|
1274
1292
|
path: _path2 + ".dt",
|
|
1275
1293
|
expected: "2",
|
|
1276
1294
|
value: input3.dt
|
|
@@ -1308,7 +1326,7 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1308
1326
|
return $vo1(input3, _path2, _exceptionable2);
|
|
1309
1327
|
if (void 0 !== input3.ranges)
|
|
1310
1328
|
return $vo12(input3, _path2, _exceptionable2);
|
|
1311
|
-
return $vo2(input3, _path2, false) || $
|
|
1329
|
+
return $vo2(input3, _path2, false) || $vo23(input3, _path2, false) || $vo26(input3, _path2, false);
|
|
1312
1330
|
})();
|
|
1313
1331
|
const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1314
1332
|
if ("string" === typeof input3.type)
|
|
@@ -1330,13 +1348,13 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1330
1348
|
})();
|
|
1331
1349
|
const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1332
1350
|
if (2 === input3.dt)
|
|
1333
|
-
return $
|
|
1351
|
+
return $vo32(input3, _path2, _exceptionable2);
|
|
1334
1352
|
if (5 === input3.dt)
|
|
1335
|
-
return $
|
|
1353
|
+
return $vo31(input3, _path2, _exceptionable2);
|
|
1336
1354
|
if (4 === input3.dt)
|
|
1337
|
-
return $
|
|
1355
|
+
return $vo30(input3, _path2, _exceptionable2);
|
|
1338
1356
|
if (1 === input3.dt)
|
|
1339
|
-
return $
|
|
1357
|
+
return $vo29(input3, _path2, _exceptionable2);
|
|
1340
1358
|
return $report(_exceptionable2, {
|
|
1341
1359
|
path: _path2,
|
|
1342
1360
|
expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
|
|
@@ -1383,9 +1401,9 @@ var validNumericCategoriesRequest = (input) => {
|
|
|
1383
1401
|
})();
|
|
1384
1402
|
const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
1385
1403
|
if ("gene" === input3.kind)
|
|
1386
|
-
return $vo26(input3, _path2, _exceptionable2);
|
|
1387
|
-
if ("coord" === input3.kind)
|
|
1388
1404
|
return $vo27(input3, _path2, _exceptionable2);
|
|
1405
|
+
if ("coord" === input3.kind)
|
|
1406
|
+
return $vo28(input3, _path2, _exceptionable2);
|
|
1389
1407
|
return $report(_exceptionable2, {
|
|
1390
1408
|
path: _path2,
|
|
1391
1409
|
expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
|