@sjcrh/proteinpaint-types 2.113.0 → 2.115.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-5HL5BPE5.js +126 -0
- package/dist/{chunk-A72XYNKT.js → chunk-7GSVLBKZ.js} +22 -22
- package/dist/{chunk-7Z3AE4AY.js → chunk-C7DJDPLP.js} +592 -496
- package/dist/{chunk-GHAIGRB7.js → chunk-EQGBEPDC.js} +22 -22
- package/dist/{chunk-KHPBBU43.js → chunk-GS37E7DB.js} +592 -496
- package/dist/{chunk-TXZQ56TX.js → chunk-I3U2T7HV.js} +590 -494
- package/dist/{chunk-Q5F2XI6A.js → chunk-IJHMCHUT.js} +31 -23
- package/dist/{chunk-GGKNEHME.js → chunk-KBTAXZM4.js} +331 -305
- package/dist/{chunk-4CCAF4O5.js → chunk-KZIZMP7Y.js} +64 -64
- package/dist/{chunk-ES6BRZ4L.js → chunk-M26XQDA4.js} +22 -22
- package/dist/{chunk-FMW25T52.js → chunk-MDBZCBM2.js} +293 -197
- package/dist/{chunk-OJWYCYKF.js → chunk-NESPJ4GG.js} +76 -76
- package/dist/{chunk-2WZPM25H.js → chunk-PTYGGJLG.js} +592 -496
- package/dist/{chunk-ZFUF4XMD.js → chunk-ZPN2DV5E.js} +22 -22
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +45 -37
- 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.topMutatedGenes.js +11 -0
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/dist/wsisamples.js +11 -0
- package/package.json +1 -1
- package/src/dataset.ts +32 -9
- package/src/index.ts +2 -1
- package/src/routes/{gdc.topMutatedGenes.ts → termdb.topMutatedGenes.ts} +9 -7
- package/src/routes/wsisamples.ts +25 -0
- package/src/terms/geneVariant.ts +23 -2
- package/src/terms/numeric.ts +2 -2
- package/src/terms/term.ts +18 -9
- package/dist/gdc.topMutatedGenes.js +0 -11
package/dist/brainImaging.js
CHANGED
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__toESM,
|
|
3
|
+
require_lib
|
|
4
|
+
} from "./chunk-CNSSF43V.js";
|
|
5
|
+
|
|
6
|
+
// dist/wsisamples.ts
|
|
7
|
+
var import_typia = __toESM(require_lib(), 1);
|
|
8
|
+
|
|
9
|
+
// src/routes/wsisamples.ts
|
|
10
|
+
var wsiSamplesPayload = {
|
|
11
|
+
request: {
|
|
12
|
+
typeId: "WSISamplesRequest"
|
|
13
|
+
},
|
|
14
|
+
response: {
|
|
15
|
+
typeId: "WSISamplesResponse"
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
// dist/wsisamples.ts
|
|
20
|
+
var validWSISamplesRequest = (input) => {
|
|
21
|
+
const errors = [];
|
|
22
|
+
const __is = (input2) => {
|
|
23
|
+
return "object" === typeof input2 && null !== input2 && ("string" === typeof input2.genome && "string" === typeof input2.dslabel);
|
|
24
|
+
};
|
|
25
|
+
if (false === __is(input)) {
|
|
26
|
+
const $report = import_typia.createValidate.report(errors);
|
|
27
|
+
((input2, _path, _exceptionable = true) => {
|
|
28
|
+
const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
|
|
29
|
+
path: _path2 + ".genome",
|
|
30
|
+
expected: "string",
|
|
31
|
+
value: input3.genome
|
|
32
|
+
}), "string" === typeof input3.dslabel || $report(_exceptionable2, {
|
|
33
|
+
path: _path2 + ".dslabel",
|
|
34
|
+
expected: "string",
|
|
35
|
+
value: input3.dslabel
|
|
36
|
+
})].every((flag) => flag);
|
|
37
|
+
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
38
|
+
path: _path + "",
|
|
39
|
+
expected: "WSISamplesRequest",
|
|
40
|
+
value: input2
|
|
41
|
+
})) && $vo0(input2, _path + "", true) || $report(true, {
|
|
42
|
+
path: _path + "",
|
|
43
|
+
expected: "WSISamplesRequest",
|
|
44
|
+
value: input2
|
|
45
|
+
});
|
|
46
|
+
})(input, "$input", true);
|
|
47
|
+
}
|
|
48
|
+
const success = 0 === errors.length;
|
|
49
|
+
return {
|
|
50
|
+
success,
|
|
51
|
+
errors,
|
|
52
|
+
data: success ? input : void 0
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
var validWSSamplesResponse = (input) => {
|
|
56
|
+
const errors = [];
|
|
57
|
+
const __is = (input2) => {
|
|
58
|
+
const $io0 = (input3) => Array.isArray(input3.samples) && input3.samples.every((elem) => "object" === typeof elem && null !== elem && $io1(elem)) && (void 0 === input3.error || "string" === typeof input3.error);
|
|
59
|
+
const $io1 = (input3) => "string" === typeof input3.sampleId && (Array.isArray(input3.wsimages) && input3.wsimages.every((elem) => "string" === typeof elem));
|
|
60
|
+
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
61
|
+
};
|
|
62
|
+
if (false === __is(input)) {
|
|
63
|
+
const $report = import_typia.createValidate.report(errors);
|
|
64
|
+
((input2, _path, _exceptionable = true) => {
|
|
65
|
+
const $vo0 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.samples) || $report(_exceptionable2, {
|
|
66
|
+
path: _path2 + ".samples",
|
|
67
|
+
expected: "Array<WSISample>",
|
|
68
|
+
value: input3.samples
|
|
69
|
+
})) && input3.samples.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
70
|
+
path: _path2 + ".samples[" + _index1 + "]",
|
|
71
|
+
expected: "WSISample",
|
|
72
|
+
value: elem
|
|
73
|
+
})) && $vo1(elem, _path2 + ".samples[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
74
|
+
path: _path2 + ".samples[" + _index1 + "]",
|
|
75
|
+
expected: "WSISample",
|
|
76
|
+
value: elem
|
|
77
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
78
|
+
path: _path2 + ".samples",
|
|
79
|
+
expected: "Array<WSISample>",
|
|
80
|
+
value: input3.samples
|
|
81
|
+
}), void 0 === input3.error || "string" === typeof input3.error || $report(_exceptionable2, {
|
|
82
|
+
path: _path2 + ".error",
|
|
83
|
+
expected: "(string | undefined)",
|
|
84
|
+
value: input3.error
|
|
85
|
+
})].every((flag) => flag);
|
|
86
|
+
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
|
|
87
|
+
path: _path2 + ".sampleId",
|
|
88
|
+
expected: "string",
|
|
89
|
+
value: input3.sampleId
|
|
90
|
+
}), (Array.isArray(input3.wsimages) || $report(_exceptionable2, {
|
|
91
|
+
path: _path2 + ".wsimages",
|
|
92
|
+
expected: "Array<string>",
|
|
93
|
+
value: input3.wsimages
|
|
94
|
+
})) && input3.wsimages.map((elem, _index2) => "string" === typeof elem || $report(_exceptionable2, {
|
|
95
|
+
path: _path2 + ".wsimages[" + _index2 + "]",
|
|
96
|
+
expected: "string",
|
|
97
|
+
value: elem
|
|
98
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
99
|
+
path: _path2 + ".wsimages",
|
|
100
|
+
expected: "Array<string>",
|
|
101
|
+
value: input3.wsimages
|
|
102
|
+
})].every((flag) => flag);
|
|
103
|
+
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
104
|
+
path: _path + "",
|
|
105
|
+
expected: "WSISamplesResponse",
|
|
106
|
+
value: input2
|
|
107
|
+
})) && $vo0(input2, _path + "", true) || $report(true, {
|
|
108
|
+
path: _path + "",
|
|
109
|
+
expected: "WSISamplesResponse",
|
|
110
|
+
value: input2
|
|
111
|
+
});
|
|
112
|
+
})(input, "$input", true);
|
|
113
|
+
}
|
|
114
|
+
const success = 0 === errors.length;
|
|
115
|
+
return {
|
|
116
|
+
success,
|
|
117
|
+
errors,
|
|
118
|
+
data: success ? input : void 0
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
export {
|
|
123
|
+
wsiSamplesPayload,
|
|
124
|
+
validWSISamplesRequest,
|
|
125
|
+
validWSSamplesResponse
|
|
126
|
+
};
|
|
@@ -27,7 +27,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
27
27
|
const $io2 = (input3) => "iqr" === input3.type || "var" === input3.type;
|
|
28
28
|
const $io3 = (input3) => "lst" === input3.type && (void 0 === input3["in"] || "boolean" === typeof input3["in"]) && ("and" === input3.join || "or" === input3.join) && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
29
29
|
const $io4 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io5(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io7(elem)));
|
|
30
|
-
const $io5 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io6(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
30
|
+
const $io5 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io6(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting));
|
|
31
31
|
const $io6 = (input3) => Object.keys(input3).every((key) => {
|
|
32
32
|
const value = input3[key];
|
|
33
33
|
if (void 0 === value)
|
|
@@ -40,13 +40,13 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
40
40
|
});
|
|
41
41
|
const $io7 = (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 && $io3(input3.filter));
|
|
42
42
|
const $io8 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io9(elem)));
|
|
43
|
-
const $io9 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
43
|
+
const $io9 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.id || "string" === typeof input3.id) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
|
|
44
44
|
const $io10 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io11(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
45
45
|
const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
|
|
46
|
-
const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && (
|
|
46
|
+
const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && true && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
|
|
47
47
|
const $io13 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
|
|
48
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));
|
|
49
|
+
const $io15 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io6(input3.values)) && true && ("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) => {
|
|
@@ -64,11 +64,11 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
64
64
|
const $io23 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
|
|
65
65
|
const $io24 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
|
|
66
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));
|
|
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)) && true;
|
|
68
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
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;
|
|
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)) && true && ("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)) && true && ("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
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
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
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);
|
|
@@ -349,7 +349,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
349
349
|
path: _path2 + ".values",
|
|
350
350
|
expected: "(TermValues | undefined)",
|
|
351
351
|
value: input3.values
|
|
352
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
352
|
+
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
353
353
|
path: _path2 + ".groupsetting",
|
|
354
354
|
expected: "(EnabledTermGroupSetting | __type.o3)",
|
|
355
355
|
value: input3.groupsetting
|
|
@@ -450,6 +450,10 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
450
450
|
path: _path2 + ".is_subcondition",
|
|
451
451
|
expected: "(boolean | undefined)",
|
|
452
452
|
value: input3.is_subcondition
|
|
453
|
+
}), void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
454
|
+
path: _path2 + ".id",
|
|
455
|
+
expected: "(string | undefined)",
|
|
456
|
+
value: input3.id
|
|
453
457
|
}), (Array.isArray(input3.groups) || $report(_exceptionable2, {
|
|
454
458
|
path: _path2 + ".groups",
|
|
455
459
|
expected: "Array<GroupEntry>",
|
|
@@ -513,14 +517,10 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
513
517
|
path: _path2 + ".type",
|
|
514
518
|
expected: '"filter"',
|
|
515
519
|
value: input3.type
|
|
516
|
-
}),
|
|
517
|
-
path: _path2 + ".
|
|
518
|
-
expected: "
|
|
519
|
-
value: input3.
|
|
520
|
-
})) && $vo3(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
521
|
-
path: _path2 + ".filter",
|
|
522
|
-
expected: "Filter",
|
|
523
|
-
value: input3.filter
|
|
520
|
+
}), true, void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
|
|
521
|
+
path: _path2 + ".uncomputable",
|
|
522
|
+
expected: "(boolean | undefined)",
|
|
523
|
+
value: input3.uncomputable
|
|
524
524
|
})].every((flag) => flag);
|
|
525
525
|
const $vo13 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
|
|
526
526
|
path: _path2 + ".disabled",
|
|
@@ -596,9 +596,9 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
596
596
|
path: _path2 + ".name",
|
|
597
597
|
expected: "string",
|
|
598
598
|
value: input3.name
|
|
599
|
-
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
|
|
599
|
+
}), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || $report(_exceptionable2, {
|
|
600
600
|
path: _path2 + ".type",
|
|
601
|
-
expected: '("float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
601
|
+
expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity")',
|
|
602
602
|
value: input3.type
|
|
603
603
|
}), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
|
|
604
604
|
path: _path2 + ".child_types",
|
|
@@ -640,7 +640,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
640
640
|
path: _path2 + ".values",
|
|
641
641
|
expected: "(TermValues | undefined)",
|
|
642
642
|
value: input3.values
|
|
643
|
-
}), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
643
|
+
}), true, ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
644
644
|
path: _path2 + ".bins",
|
|
645
645
|
expected: "PresetNumericBins",
|
|
646
646
|
value: input3.bins
|
|
@@ -1032,7 +1032,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1032
1032
|
path: _path2 + ".values",
|
|
1033
1033
|
expected: "(TermValues | undefined)",
|
|
1034
1034
|
value: input3.values
|
|
1035
|
-
})].every((flag) => flag);
|
|
1035
|
+
}), true].every((flag) => flag);
|
|
1036
1036
|
const $vo27 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
|
|
1037
1037
|
path: _path2 + ".grade",
|
|
1038
1038
|
expected: "number",
|
|
@@ -1135,7 +1135,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1135
1135
|
path: _path2 + ".values",
|
|
1136
1136
|
expected: "(TermValues | undefined)",
|
|
1137
1137
|
value: input3.values
|
|
1138
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1138
|
+
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1139
1139
|
path: _path2 + ".groupsetting",
|
|
1140
1140
|
expected: "EnabledTermGroupSetting",
|
|
1141
1141
|
value: input3.groupsetting
|
|
@@ -1216,7 +1216,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
|
|
|
1216
1216
|
path: _path2 + ".values",
|
|
1217
1217
|
expected: "(TermValues | undefined)",
|
|
1218
1218
|
value: input3.values
|
|
1219
|
-
}), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1219
|
+
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1220
1220
|
path: _path2 + ".groupsetting",
|
|
1221
1221
|
expected: "EnabledTermGroupSetting",
|
|
1222
1222
|
value: input3.groupsetting
|