@sjcrh/proteinpaint-types 2.124.0 → 2.126.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-NCFUZ5VV.js → chunk-2S4T3WUF.js} +790 -386
- package/dist/{chunk-XPOHYEAY.js → chunk-537XOM43.js} +584 -382
- package/dist/{chunk-LBGUOJR3.js → chunk-5O422YU6.js} +343 -141
- package/dist/{chunk-SQBZAOWB.js → chunk-7IRM7OKB.js} +343 -141
- package/dist/{chunk-XZAH6P4D.js → chunk-A3XJW6BZ.js} +5 -1
- package/dist/{chunk-3ZT4UCFM.js → chunk-BXPSDGWG.js} +343 -141
- package/dist/{chunk-QMWUUGEK.js → chunk-CJC7ZHSZ.js} +376 -174
- package/dist/{chunk-F64WJMRL.js → chunk-DJCPG2RT.js} +817 -413
- package/dist/{chunk-ZMOSABYP.js → chunk-GZCIY2WK.js} +584 -382
- package/dist/{chunk-K7P6C6KU.js → chunk-LVXO4MLR.js} +586 -384
- package/dist/chunk-NWEXA2YB.js +308 -0
- package/dist/{chunk-AGSW7G4T.js → chunk-O4RAE6UJ.js} +582 -380
- package/dist/chunk-RPX4TVMD.js +14 -0
- package/dist/{chunk-KRYTJ2SL.js → chunk-RWMZSRX7.js} +2 -2
- package/dist/chunk-SMS3Y2XZ.js +75 -0
- package/dist/{chunk-RX5EB2HL.js → chunk-VSNV3MLV.js} +343 -141
- package/dist/{chunk-5HL5BPE5.js → chunk-W6NLM363.js} +2 -2
- package/dist/{chunk-WQGLAGSY.js → chunk-YGX6BZZY.js} +4 -4
- package/dist/{chunk-5XRJ5ATE.js → chunk-YOS2YTCE.js} +584 -382
- package/dist/clearwsisession.js +3 -13
- package/dist/clearwsisessions.js +13 -0
- package/dist/correlationVolcano.js +1 -1
- package/dist/gdc.grin2.js +17 -0
- package/dist/genesetEnrichment.js +1 -1
- package/dist/healthcheck.js +1 -1
- package/dist/index.js +89 -65
- 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 +5 -5
- 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 +3 -3
- package/package.json +1 -1
- package/src/dataset.ts +6 -0
- package/src/index.ts +1 -0
- package/src/routes/gdc.grin2.ts +101 -0
- package/src/routes/genesetEnrichment.ts +2 -0
- package/src/terms/geneVariant.ts +1 -0
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__toESM,
|
|
3
|
+
require_lib
|
|
4
|
+
} from "./chunk-CNSSF43V.js";
|
|
5
|
+
|
|
6
|
+
// dist/gdc.grin2.ts
|
|
7
|
+
var import_typia = __toESM(require_lib(), 1);
|
|
8
|
+
|
|
9
|
+
// src/routes/gdc.grin2.ts
|
|
10
|
+
var gdcGRIN2Payload = {
|
|
11
|
+
request: {
|
|
12
|
+
typeId: "GdcGRIN2listRequest"
|
|
13
|
+
},
|
|
14
|
+
response: {
|
|
15
|
+
typeId: "GdcGRIN2listResponse"
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
var runGRIN2Payload = {
|
|
19
|
+
request: {
|
|
20
|
+
typeId: "RunGRIN2Request"
|
|
21
|
+
},
|
|
22
|
+
response: {
|
|
23
|
+
typeId: "RunGRIN2Response"
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
// dist/gdc.grin2.ts
|
|
28
|
+
var validGdcGRIN2listRequest = (input) => {
|
|
29
|
+
const errors = [];
|
|
30
|
+
const __is = (input2) => {
|
|
31
|
+
const $io0 = (input3) => "WXS" === input3.experimentalStrategy && true && (void 0 === input3.fileTypes || Array.isArray(input3.fileTypes) && input3.fileTypes.every((elem) => "MAF" === elem));
|
|
32
|
+
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
33
|
+
};
|
|
34
|
+
if (false === __is(input)) {
|
|
35
|
+
const $report = import_typia.createValidate.report(errors);
|
|
36
|
+
((input2, _path, _exceptionable = true) => {
|
|
37
|
+
const $vo0 = (input3, _path2, _exceptionable2 = true) => ["WXS" === input3.experimentalStrategy || $report(_exceptionable2, {
|
|
38
|
+
path: _path2 + ".experimentalStrategy",
|
|
39
|
+
expected: '"WXS"',
|
|
40
|
+
value: input3.experimentalStrategy
|
|
41
|
+
}), true, void 0 === input3.fileTypes || (Array.isArray(input3.fileTypes) || $report(_exceptionable2, {
|
|
42
|
+
path: _path2 + ".fileTypes",
|
|
43
|
+
expected: '(Array<"MAF"> | undefined)',
|
|
44
|
+
value: input3.fileTypes
|
|
45
|
+
})) && input3.fileTypes.map((elem, _index1) => "MAF" === elem || $report(_exceptionable2, {
|
|
46
|
+
path: _path2 + ".fileTypes[" + _index1 + "]",
|
|
47
|
+
expected: '"MAF"',
|
|
48
|
+
value: elem
|
|
49
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
50
|
+
path: _path2 + ".fileTypes",
|
|
51
|
+
expected: '(Array<"MAF"> | undefined)',
|
|
52
|
+
value: input3.fileTypes
|
|
53
|
+
})].every((flag) => flag);
|
|
54
|
+
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
55
|
+
path: _path + "",
|
|
56
|
+
expected: "GdcGRIN2listRequest",
|
|
57
|
+
value: input2
|
|
58
|
+
})) && $vo0(input2, _path + "", true) || $report(true, {
|
|
59
|
+
path: _path + "",
|
|
60
|
+
expected: "GdcGRIN2listRequest",
|
|
61
|
+
value: input2
|
|
62
|
+
});
|
|
63
|
+
})(input, "$input", true);
|
|
64
|
+
}
|
|
65
|
+
const success = 0 === errors.length;
|
|
66
|
+
return {
|
|
67
|
+
success,
|
|
68
|
+
errors,
|
|
69
|
+
data: success ? input : void 0
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
var validGdcGRIN2listResponse = (input) => {
|
|
73
|
+
const errors = [];
|
|
74
|
+
const __is = (input2) => {
|
|
75
|
+
const $io0 = (input3) => Array.isArray(input3.files) && input3.files.every((elem) => "object" === typeof elem && null !== elem && $io1(elem)) && "number" === typeof input3.filesTotal && "number" === typeof input3.maxTotalSizeCompressed && (void 0 === input3.fileCounts || "object" === typeof input3.fileCounts && null !== input3.fileCounts && $io2(input3.fileCounts)) && (void 0 === input3.appliedFilters || "object" === typeof input3.appliedFilters && null !== input3.appliedFilters && false === Array.isArray(input3.appliedFilters) && $io3(input3.appliedFilters));
|
|
76
|
+
const $io1 = (input3) => "string" === typeof input3.id && "string" === typeof input3.case_submitter_id && "string" === typeof input3.case_uuid && "number" === typeof input3.file_size && (Array.isArray(input3.sample_types) && input3.sample_types.every((elem) => "string" === typeof elem)) && "string" === typeof input3.project_id && (void 0 === input3.file_format || "MAF" === input3.file_format);
|
|
77
|
+
const $io2 = (input3) => "number" === typeof input3.maf;
|
|
78
|
+
const $io3 = (input3) => (void 0 === input3.fileTypes || Array.isArray(input3.fileTypes) && input3.fileTypes.every((elem) => "MAF" === elem)) && (void 0 === input3.experimentalStrategy || "WXS" === input3.experimentalStrategy);
|
|
79
|
+
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
80
|
+
};
|
|
81
|
+
if (false === __is(input)) {
|
|
82
|
+
const $report = import_typia.createValidate.report(errors);
|
|
83
|
+
((input2, _path, _exceptionable = true) => {
|
|
84
|
+
const $vo0 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.files) || $report(_exceptionable2, {
|
|
85
|
+
path: _path2 + ".files",
|
|
86
|
+
expected: "Array<GdcGRIN2File>",
|
|
87
|
+
value: input3.files
|
|
88
|
+
})) && input3.files.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
89
|
+
path: _path2 + ".files[" + _index1 + "]",
|
|
90
|
+
expected: "GdcGRIN2File",
|
|
91
|
+
value: elem
|
|
92
|
+
})) && $vo1(elem, _path2 + ".files[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
93
|
+
path: _path2 + ".files[" + _index1 + "]",
|
|
94
|
+
expected: "GdcGRIN2File",
|
|
95
|
+
value: elem
|
|
96
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
97
|
+
path: _path2 + ".files",
|
|
98
|
+
expected: "Array<GdcGRIN2File>",
|
|
99
|
+
value: input3.files
|
|
100
|
+
}), "number" === typeof input3.filesTotal || $report(_exceptionable2, {
|
|
101
|
+
path: _path2 + ".filesTotal",
|
|
102
|
+
expected: "number",
|
|
103
|
+
value: input3.filesTotal
|
|
104
|
+
}), "number" === typeof input3.maxTotalSizeCompressed || $report(_exceptionable2, {
|
|
105
|
+
path: _path2 + ".maxTotalSizeCompressed",
|
|
106
|
+
expected: "number",
|
|
107
|
+
value: input3.maxTotalSizeCompressed
|
|
108
|
+
}), void 0 === input3.fileCounts || ("object" === typeof input3.fileCounts && null !== input3.fileCounts || $report(_exceptionable2, {
|
|
109
|
+
path: _path2 + ".fileCounts",
|
|
110
|
+
expected: "(__type | undefined)",
|
|
111
|
+
value: input3.fileCounts
|
|
112
|
+
})) && $vo2(input3.fileCounts, _path2 + ".fileCounts", _exceptionable2) || $report(_exceptionable2, {
|
|
113
|
+
path: _path2 + ".fileCounts",
|
|
114
|
+
expected: "(__type | undefined)",
|
|
115
|
+
value: input3.fileCounts
|
|
116
|
+
}), void 0 === input3.appliedFilters || ("object" === typeof input3.appliedFilters && null !== input3.appliedFilters && false === Array.isArray(input3.appliedFilters) || $report(_exceptionable2, {
|
|
117
|
+
path: _path2 + ".appliedFilters",
|
|
118
|
+
expected: "(__type.o1 | undefined)",
|
|
119
|
+
value: input3.appliedFilters
|
|
120
|
+
})) && $vo3(input3.appliedFilters, _path2 + ".appliedFilters", _exceptionable2) || $report(_exceptionable2, {
|
|
121
|
+
path: _path2 + ".appliedFilters",
|
|
122
|
+
expected: "(__type.o1 | undefined)",
|
|
123
|
+
value: input3.appliedFilters
|
|
124
|
+
})].every((flag) => flag);
|
|
125
|
+
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
|
|
126
|
+
path: _path2 + ".id",
|
|
127
|
+
expected: "string",
|
|
128
|
+
value: input3.id
|
|
129
|
+
}), "string" === typeof input3.case_submitter_id || $report(_exceptionable2, {
|
|
130
|
+
path: _path2 + ".case_submitter_id",
|
|
131
|
+
expected: "string",
|
|
132
|
+
value: input3.case_submitter_id
|
|
133
|
+
}), "string" === typeof input3.case_uuid || $report(_exceptionable2, {
|
|
134
|
+
path: _path2 + ".case_uuid",
|
|
135
|
+
expected: "string",
|
|
136
|
+
value: input3.case_uuid
|
|
137
|
+
}), "number" === typeof input3.file_size || $report(_exceptionable2, {
|
|
138
|
+
path: _path2 + ".file_size",
|
|
139
|
+
expected: "number",
|
|
140
|
+
value: input3.file_size
|
|
141
|
+
}), (Array.isArray(input3.sample_types) || $report(_exceptionable2, {
|
|
142
|
+
path: _path2 + ".sample_types",
|
|
143
|
+
expected: "Array<string>",
|
|
144
|
+
value: input3.sample_types
|
|
145
|
+
})) && input3.sample_types.map((elem, _index2) => "string" === typeof elem || $report(_exceptionable2, {
|
|
146
|
+
path: _path2 + ".sample_types[" + _index2 + "]",
|
|
147
|
+
expected: "string",
|
|
148
|
+
value: elem
|
|
149
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
150
|
+
path: _path2 + ".sample_types",
|
|
151
|
+
expected: "Array<string>",
|
|
152
|
+
value: input3.sample_types
|
|
153
|
+
}), "string" === typeof input3.project_id || $report(_exceptionable2, {
|
|
154
|
+
path: _path2 + ".project_id",
|
|
155
|
+
expected: "string",
|
|
156
|
+
value: input3.project_id
|
|
157
|
+
}), void 0 === input3.file_format || "MAF" === input3.file_format || $report(_exceptionable2, {
|
|
158
|
+
path: _path2 + ".file_format",
|
|
159
|
+
expected: '("MAF" | undefined)',
|
|
160
|
+
value: input3.file_format
|
|
161
|
+
})].every((flag) => flag);
|
|
162
|
+
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.maf || $report(_exceptionable2, {
|
|
163
|
+
path: _path2 + ".maf",
|
|
164
|
+
expected: "number",
|
|
165
|
+
value: input3.maf
|
|
166
|
+
})].every((flag) => flag);
|
|
167
|
+
const $vo3 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.fileTypes || (Array.isArray(input3.fileTypes) || $report(_exceptionable2, {
|
|
168
|
+
path: _path2 + ".fileTypes",
|
|
169
|
+
expected: '(Array<"MAF"> | undefined)',
|
|
170
|
+
value: input3.fileTypes
|
|
171
|
+
})) && input3.fileTypes.map((elem, _index3) => "MAF" === elem || $report(_exceptionable2, {
|
|
172
|
+
path: _path2 + ".fileTypes[" + _index3 + "]",
|
|
173
|
+
expected: '"MAF"',
|
|
174
|
+
value: elem
|
|
175
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
176
|
+
path: _path2 + ".fileTypes",
|
|
177
|
+
expected: '(Array<"MAF"> | undefined)',
|
|
178
|
+
value: input3.fileTypes
|
|
179
|
+
}), void 0 === input3.experimentalStrategy || "WXS" === input3.experimentalStrategy || $report(_exceptionable2, {
|
|
180
|
+
path: _path2 + ".experimentalStrategy",
|
|
181
|
+
expected: '("WXS" | undefined)',
|
|
182
|
+
value: input3.experimentalStrategy
|
|
183
|
+
})].every((flag) => flag);
|
|
184
|
+
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
185
|
+
path: _path + "",
|
|
186
|
+
expected: "GdcGRIN2listResponse",
|
|
187
|
+
value: input2
|
|
188
|
+
})) && $vo0(input2, _path + "", true) || $report(true, {
|
|
189
|
+
path: _path + "",
|
|
190
|
+
expected: "GdcGRIN2listResponse",
|
|
191
|
+
value: input2
|
|
192
|
+
});
|
|
193
|
+
})(input, "$input", true);
|
|
194
|
+
}
|
|
195
|
+
const success = 0 === errors.length;
|
|
196
|
+
return {
|
|
197
|
+
success,
|
|
198
|
+
errors,
|
|
199
|
+
data: success ? input : void 0
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
var validRunGRIN2Request = (input) => {
|
|
203
|
+
const errors = [];
|
|
204
|
+
const __is = (input2) => {
|
|
205
|
+
const $join = import_typia.createValidate.join;
|
|
206
|
+
const $io0 = (input3) => Object.keys(input3).every((key) => {
|
|
207
|
+
const value = input3[key];
|
|
208
|
+
if (void 0 === value)
|
|
209
|
+
return true;
|
|
210
|
+
if (RegExp(/(.*)/).test(key))
|
|
211
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && $io1(value);
|
|
212
|
+
return true;
|
|
213
|
+
});
|
|
214
|
+
const $io1 = (input3) => void 0 === input3.maf || "string" === typeof input3.maf;
|
|
215
|
+
return "object" === typeof input2 && null !== input2 && false === Array.isArray(input2) && $io0(input2);
|
|
216
|
+
};
|
|
217
|
+
if (false === __is(input)) {
|
|
218
|
+
const $report = import_typia.createValidate.report(errors);
|
|
219
|
+
((input2, _path, _exceptionable = true) => {
|
|
220
|
+
const $join = import_typia.createValidate.join;
|
|
221
|
+
const $vo0 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
222
|
+
const value = input3[key];
|
|
223
|
+
if (void 0 === value)
|
|
224
|
+
return true;
|
|
225
|
+
if (RegExp(/(.*)/).test(key))
|
|
226
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
|
|
227
|
+
path: _path2 + $join(key),
|
|
228
|
+
expected: "__type",
|
|
229
|
+
value
|
|
230
|
+
})) && $vo1(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
231
|
+
path: _path2 + $join(key),
|
|
232
|
+
expected: "__type",
|
|
233
|
+
value
|
|
234
|
+
});
|
|
235
|
+
return true;
|
|
236
|
+
}).every((flag) => flag)].every((flag) => flag);
|
|
237
|
+
const $vo1 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.maf || "string" === typeof input3.maf || $report(_exceptionable2, {
|
|
238
|
+
path: _path2 + ".maf",
|
|
239
|
+
expected: "(string | undefined)",
|
|
240
|
+
value: input3.maf
|
|
241
|
+
})].every((flag) => flag);
|
|
242
|
+
return ("object" === typeof input2 && null !== input2 && false === Array.isArray(input2) || $report(true, {
|
|
243
|
+
path: _path + "",
|
|
244
|
+
expected: "RunGRIN2Request",
|
|
245
|
+
value: input2
|
|
246
|
+
})) && $vo0(input2, _path + "", true) || $report(true, {
|
|
247
|
+
path: _path + "",
|
|
248
|
+
expected: "RunGRIN2Request",
|
|
249
|
+
value: input2
|
|
250
|
+
});
|
|
251
|
+
})(input, "$input", true);
|
|
252
|
+
}
|
|
253
|
+
const success = 0 === errors.length;
|
|
254
|
+
return {
|
|
255
|
+
success,
|
|
256
|
+
errors,
|
|
257
|
+
data: success ? input : void 0
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
var validRunGRIN2Response = (input) => {
|
|
261
|
+
const errors = [];
|
|
262
|
+
const __is = (input2) => {
|
|
263
|
+
const $io0 = (input3) => ("success" === input3.status || "error" === input3.status) && (void 0 === input3.error || "string" === typeof input3.error) && (void 0 === input3.imagestring || "string" === typeof input3.imagestring) && true && true;
|
|
264
|
+
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
265
|
+
};
|
|
266
|
+
if (false === __is(input)) {
|
|
267
|
+
const $report = import_typia.createValidate.report(errors);
|
|
268
|
+
((input2, _path, _exceptionable = true) => {
|
|
269
|
+
const $vo0 = (input3, _path2, _exceptionable2 = true) => ["success" === input3.status || "error" === input3.status || $report(_exceptionable2, {
|
|
270
|
+
path: _path2 + ".status",
|
|
271
|
+
expected: '("error" | "success")',
|
|
272
|
+
value: input3.status
|
|
273
|
+
}), void 0 === input3.error || "string" === typeof input3.error || $report(_exceptionable2, {
|
|
274
|
+
path: _path2 + ".error",
|
|
275
|
+
expected: "(string | undefined)",
|
|
276
|
+
value: input3.error
|
|
277
|
+
}), void 0 === input3.imagestring || "string" === typeof input3.imagestring || $report(_exceptionable2, {
|
|
278
|
+
path: _path2 + ".imagestring",
|
|
279
|
+
expected: "(string | undefined)",
|
|
280
|
+
value: input3.imagestring
|
|
281
|
+
}), true, true].every((flag) => flag);
|
|
282
|
+
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
283
|
+
path: _path + "",
|
|
284
|
+
expected: "RunGRIN2Response",
|
|
285
|
+
value: input2
|
|
286
|
+
})) && $vo0(input2, _path + "", true) || $report(true, {
|
|
287
|
+
path: _path + "",
|
|
288
|
+
expected: "RunGRIN2Response",
|
|
289
|
+
value: input2
|
|
290
|
+
});
|
|
291
|
+
})(input, "$input", true);
|
|
292
|
+
}
|
|
293
|
+
const success = 0 === errors.length;
|
|
294
|
+
return {
|
|
295
|
+
success,
|
|
296
|
+
errors,
|
|
297
|
+
data: success ? input : void 0
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
|
|
301
|
+
export {
|
|
302
|
+
gdcGRIN2Payload,
|
|
303
|
+
runGRIN2Payload,
|
|
304
|
+
validGdcGRIN2listRequest,
|
|
305
|
+
validGdcGRIN2listResponse,
|
|
306
|
+
validRunGRIN2Request,
|
|
307
|
+
validRunGRIN2Response
|
|
308
|
+
};
|