@sjcrh/proteinpaint-types 2.151.1-0 → 2.152.1-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.
Files changed (37) hide show
  1. package/dist/brainImaging.js +1 -1
  2. package/dist/{chunk-2WSENLMK.js → chunk-46YIGVUP.js} +44 -24
  3. package/dist/{chunk-TTUU5XQC.js → chunk-5F24QFE7.js} +471 -253
  4. package/dist/{chunk-KSVIBMFQ.js → chunk-5OMJAZK4.js} +323 -185
  5. package/dist/{chunk-WL7ZVGZS.js → chunk-C27KCAQH.js} +476 -302
  6. package/dist/{chunk-5MGSKBUU.js → chunk-CC32XCET.js} +950 -574
  7. package/dist/{chunk-OZ3CVAFP.js → chunk-EBPGV76U.js} +279 -157
  8. package/dist/{chunk-KQNLROUN.js → chunk-GZKTMVAU.js} +750 -410
  9. package/dist/{chunk-3SKFYOKV.js → chunk-JT4DSNJ3.js} +476 -302
  10. package/dist/{chunk-75GS5ZG5.js → chunk-LXW2FSLR.js} +526 -352
  11. package/dist/{chunk-RA7IEGS4.js → chunk-MCL6EDOS.js} +482 -308
  12. package/dist/{chunk-DBSRGRXR.js → chunk-OAETETAO.js} +279 -157
  13. package/dist/{chunk-4MLQS6N7.js → chunk-OLWNM7QP.js} +279 -157
  14. package/dist/{chunk-MMFL6N5M.js → chunk-OLXOQLZH.js} +279 -157
  15. package/dist/{chunk-MIOIOFBZ.js → chunk-TD4YLTHL.js} +17 -3
  16. package/dist/{chunk-4SJC57Y6.js → chunk-ZXPLL3NT.js} +476 -302
  17. package/dist/correlationVolcano.js +1 -1
  18. package/dist/gdc.grin2.js +1 -1
  19. package/dist/gdc.maf.js +1 -1
  20. package/dist/index.js +15 -15
  21. package/dist/termdb.boxplot.js +1 -1
  22. package/dist/termdb.categories.js +1 -1
  23. package/dist/termdb.chat.js +1 -1
  24. package/dist/termdb.cluster.js +1 -1
  25. package/dist/termdb.descrstats.js +1 -1
  26. package/dist/termdb.numericcategories.js +1 -1
  27. package/dist/termdb.percentile.js +1 -1
  28. package/dist/termdb.termsbyids.js +1 -1
  29. package/dist/termdb.topTermsByType.js +1 -1
  30. package/dist/termdb.topVariablyExpressedGenes.js +1 -1
  31. package/dist/termdb.violin.js +1 -1
  32. package/package.json +1 -1
  33. package/src/dataset.ts +7 -280
  34. package/src/routes/gdc.grin2.ts +2 -2
  35. package/src/routes/gdc.maf.ts +3 -3
  36. package/src/terms/numeric.ts +17 -1
  37. package/src/terms/term.ts +5 -0
@@ -2,7 +2,7 @@ import {
2
2
  brainImagingPayload,
3
3
  validBrainImagingRequest,
4
4
  validBrainImagingResponse
5
- } from "./chunk-KSVIBMFQ.js";
5
+ } from "./chunk-5OMJAZK4.js";
6
6
  import "./chunk-YNHC5SXO.js";
7
7
  export {
8
8
  brainImagingPayload,
@@ -28,9 +28,10 @@ var runGRIN2Payload = {
28
28
  var validGdcGRIN2listRequest = (input) => {
29
29
  const errors = [];
30
30
  const __is = (input2) => {
31
- const $io0 = (input3) => (void 0 === input3.mafOptions || "object" === typeof input3.mafOptions && null !== input3.mafOptions && $io1(input3.mafOptions)) && (void 0 === input3.cnvOptions || "object" === typeof input3.cnvOptions && null !== input3.cnvOptions && false === Array.isArray(input3.cnvOptions) && $io2(input3.cnvOptions)) && true;
32
- const $io1 = (input3) => "WXS" === input3.experimentalStrategy;
33
- const $io2 = (input3) => void 0 === input3.dataType || "string" === typeof input3.dataType;
31
+ const $io0 = (input3) => (void 0 === input3.mafOptions || "object" === typeof input3.mafOptions && null !== input3.mafOptions && $io1(input3.mafOptions)) && (void 0 === input3.cnvOptions || "object" === typeof input3.cnvOptions && null !== input3.cnvOptions && false === Array.isArray(input3.cnvOptions) && $io3(input3.cnvOptions)) && true;
32
+ const $io1 = (input3) => "object" === typeof input3.experimentalStrategy && null !== input3.experimentalStrategy && $io2(input3.experimentalStrategy);
33
+ const $io2 = (input3) => "WXS" === input3.wxs;
34
+ const $io3 = (input3) => void 0 === input3.dataType || "string" === typeof input3.dataType;
34
35
  return "object" === typeof input2 && null !== input2 && false === Array.isArray(input2) && $io0(input2);
35
36
  };
36
37
  if (false === __is(input)) {
@@ -48,17 +49,26 @@ var validGdcGRIN2listRequest = (input) => {
48
49
  path: _path2 + ".cnvOptions",
49
50
  expected: "(__type.o1 | undefined)",
50
51
  value: input3.cnvOptions
51
- })) && $vo2(input3.cnvOptions, _path2 + ".cnvOptions", _exceptionable2) || $report(_exceptionable2, {
52
+ })) && $vo3(input3.cnvOptions, _path2 + ".cnvOptions", _exceptionable2) || $report(_exceptionable2, {
52
53
  path: _path2 + ".cnvOptions",
53
54
  expected: "(__type.o1 | undefined)",
54
55
  value: input3.cnvOptions
55
56
  }), true].every((flag) => flag);
56
- const $vo1 = (input3, _path2, _exceptionable2 = true) => ["WXS" === input3.experimentalStrategy || $report(_exceptionable2, {
57
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.experimentalStrategy && null !== input3.experimentalStrategy || $report(_exceptionable2, {
57
58
  path: _path2 + ".experimentalStrategy",
58
- expected: '"WXS"',
59
+ expected: "ExperimentalStrategy",
60
+ value: input3.experimentalStrategy
61
+ })) && $vo2(input3.experimentalStrategy, _path2 + ".experimentalStrategy", _exceptionable2) || $report(_exceptionable2, {
62
+ path: _path2 + ".experimentalStrategy",
63
+ expected: "ExperimentalStrategy",
59
64
  value: input3.experimentalStrategy
60
65
  })].every((flag) => flag);
61
- const $vo2 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.dataType || "string" === typeof input3.dataType || $report(_exceptionable2, {
66
+ const $vo2 = (input3, _path2, _exceptionable2 = true) => ["WXS" === input3.wxs || $report(_exceptionable2, {
67
+ path: _path2 + ".wxs",
68
+ expected: '"WXS"',
69
+ value: input3.wxs
70
+ })].every((flag) => flag);
71
+ const $vo3 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.dataType || "string" === typeof input3.dataType || $report(_exceptionable2, {
62
72
  path: _path2 + ".dataType",
63
73
  expected: "(string | undefined)",
64
74
  value: input3.dataType
@@ -84,15 +94,16 @@ var validGdcGRIN2listRequest = (input) => {
84
94
  var validGdcGRIN2listResponse = (input) => {
85
95
  const errors = [];
86
96
  const __is = (input2) => {
87
- const $io0 = (input3) => (void 0 === input3.mafFiles || "object" === typeof input3.mafFiles && null !== input3.mafFiles && $io1(input3.mafFiles)) && (void 0 === input3.cnvFiles || "object" === typeof input3.cnvFiles && null !== input3.cnvFiles && $io8(input3.cnvFiles));
88
- const $io1 = (input3) => Array.isArray(input3.files) && input3.files.every((elem) => "object" === typeof elem && null !== elem && $io2(elem)) && "number" === typeof input3.filesTotal && "number" === typeof input3.maxTotalSizeCompressed && (void 0 === input3.fileCounts || "object" === typeof input3.fileCounts && null !== input3.fileCounts && $io3(input3.fileCounts)) && (void 0 === input3.appliedFilters || "object" === typeof input3.appliedFilters && null !== input3.appliedFilters && false === Array.isArray(input3.appliedFilters) && $io4(input3.appliedFilters)) && (void 0 === input3.deduplicationStats || "object" === typeof input3.deduplicationStats && null !== input3.deduplicationStats && $io5(input3.deduplicationStats));
97
+ const $io0 = (input3) => (void 0 === input3.mafFiles || "object" === typeof input3.mafFiles && null !== input3.mafFiles && $io1(input3.mafFiles)) && (void 0 === input3.cnvFiles || "object" === typeof input3.cnvFiles && null !== input3.cnvFiles && $io9(input3.cnvFiles));
98
+ const $io1 = (input3) => Array.isArray(input3.files) && input3.files.every((elem) => "object" === typeof elem && null !== elem && $io2(elem)) && "number" === typeof input3.filesTotal && "number" === typeof input3.maxTotalSizeCompressed && (void 0 === input3.fileCounts || "object" === typeof input3.fileCounts && null !== input3.fileCounts && $io3(input3.fileCounts)) && (void 0 === input3.appliedFilters || "object" === typeof input3.appliedFilters && null !== input3.appliedFilters && false === Array.isArray(input3.appliedFilters) && $io4(input3.appliedFilters)) && (void 0 === input3.deduplicationStats || "object" === typeof input3.deduplicationStats && null !== input3.deduplicationStats && $io6(input3.deduplicationStats));
89
99
  const $io2 = (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);
90
100
  const $io3 = (input3) => "number" === typeof input3.maf;
91
- const $io4 = (input3) => void 0 === input3.experimentalStrategy || "WXS" === input3.experimentalStrategy;
92
- const $io5 = (input3) => "number" === typeof input3.originalFileCount && "number" === typeof input3.deduplicatedFileCount && "number" === typeof input3.duplicatesRemoved && (void 0 === input3.caseDetails || Array.isArray(input3.caseDetails) && input3.caseDetails.every((elem) => "object" === typeof elem && null !== elem && $io6(elem))) && (Array.isArray(input3.filteredFiles) && input3.filteredFiles.every((elem) => "object" === typeof elem && null !== elem && $io7(elem)));
93
- const $io6 = (input3) => "string" === typeof input3.caseName && "number" === typeof input3.fileCount && "number" === typeof input3.keptFileSize;
94
- const $io7 = (input3) => "string" === typeof input3.fileId && "number" === typeof input3.fileSize && "string" === typeof input3.reason;
95
- const $io8 = (input3) => Array.isArray(input3.files) && input3.files.every((elem) => "object" === typeof elem && null !== elem && $io2(elem)) && "number" === typeof input3.maxTotalSizeCompressed;
101
+ const $io4 = (input3) => void 0 === input3.experimentalStrategy || "object" === typeof input3.experimentalStrategy && null !== input3.experimentalStrategy && $io5(input3.experimentalStrategy);
102
+ const $io5 = (input3) => "WXS" === input3.wxs;
103
+ const $io6 = (input3) => "number" === typeof input3.originalFileCount && "number" === typeof input3.deduplicatedFileCount && "number" === typeof input3.duplicatesRemoved && (void 0 === input3.caseDetails || Array.isArray(input3.caseDetails) && input3.caseDetails.every((elem) => "object" === typeof elem && null !== elem && $io7(elem))) && (Array.isArray(input3.filteredFiles) && input3.filteredFiles.every((elem) => "object" === typeof elem && null !== elem && $io8(elem)));
104
+ const $io7 = (input3) => "string" === typeof input3.caseName && "number" === typeof input3.fileCount && "number" === typeof input3.keptFileSize;
105
+ const $io8 = (input3) => "string" === typeof input3.fileId && "number" === typeof input3.fileSize && "string" === typeof input3.reason;
106
+ const $io9 = (input3) => Array.isArray(input3.files) && input3.files.every((elem) => "object" === typeof elem && null !== elem && $io2(elem)) && "number" === typeof input3.maxTotalSizeCompressed;
96
107
  return "object" === typeof input2 && null !== input2 && false === Array.isArray(input2) && $io0(input2);
97
108
  };
98
109
  if (false === __is(input)) {
@@ -110,7 +121,7 @@ var validGdcGRIN2listResponse = (input) => {
110
121
  path: _path2 + ".cnvFiles",
111
122
  expected: "(__type.o6 | undefined)",
112
123
  value: input3.cnvFiles
113
- })) && $vo8(input3.cnvFiles, _path2 + ".cnvFiles", _exceptionable2) || $report(_exceptionable2, {
124
+ })) && $vo9(input3.cnvFiles, _path2 + ".cnvFiles", _exceptionable2) || $report(_exceptionable2, {
114
125
  path: _path2 + ".cnvFiles",
115
126
  expected: "(__type.o6 | undefined)",
116
127
  value: input3.cnvFiles
@@ -159,7 +170,7 @@ var validGdcGRIN2listResponse = (input) => {
159
170
  path: _path2 + ".deduplicationStats",
160
171
  expected: "(__type.o3 | undefined)",
161
172
  value: input3.deduplicationStats
162
- })) && $vo5(input3.deduplicationStats, _path2 + ".deduplicationStats", _exceptionable2) || $report(_exceptionable2, {
173
+ })) && $vo6(input3.deduplicationStats, _path2 + ".deduplicationStats", _exceptionable2) || $report(_exceptionable2, {
163
174
  path: _path2 + ".deduplicationStats",
164
175
  expected: "(__type.o3 | undefined)",
165
176
  value: input3.deduplicationStats
@@ -206,12 +217,21 @@ var validGdcGRIN2listResponse = (input) => {
206
217
  expected: "number",
207
218
  value: input3.maf
208
219
  })].every((flag) => flag);
209
- const $vo4 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.experimentalStrategy || "WXS" === input3.experimentalStrategy || $report(_exceptionable2, {
220
+ const $vo4 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.experimentalStrategy || ("object" === typeof input3.experimentalStrategy && null !== input3.experimentalStrategy || $report(_exceptionable2, {
210
221
  path: _path2 + ".experimentalStrategy",
211
- expected: '("WXS" | undefined)',
222
+ expected: "(ExperimentalStrategy | undefined)",
212
223
  value: input3.experimentalStrategy
224
+ })) && $vo5(input3.experimentalStrategy, _path2 + ".experimentalStrategy", _exceptionable2) || $report(_exceptionable2, {
225
+ path: _path2 + ".experimentalStrategy",
226
+ expected: "(ExperimentalStrategy | undefined)",
227
+ value: input3.experimentalStrategy
228
+ })].every((flag) => flag);
229
+ const $vo5 = (input3, _path2, _exceptionable2 = true) => ["WXS" === input3.wxs || $report(_exceptionable2, {
230
+ path: _path2 + ".wxs",
231
+ expected: '"WXS"',
232
+ value: input3.wxs
213
233
  })].every((flag) => flag);
214
- const $vo5 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.originalFileCount || $report(_exceptionable2, {
234
+ const $vo6 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.originalFileCount || $report(_exceptionable2, {
215
235
  path: _path2 + ".originalFileCount",
216
236
  expected: "number",
217
237
  value: input3.originalFileCount
@@ -231,7 +251,7 @@ var validGdcGRIN2listResponse = (input) => {
231
251
  path: _path2 + ".caseDetails[" + _index3 + "]",
232
252
  expected: "__type.o4",
233
253
  value: elem
234
- })) && $vo6(elem, _path2 + ".caseDetails[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
254
+ })) && $vo7(elem, _path2 + ".caseDetails[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
235
255
  path: _path2 + ".caseDetails[" + _index3 + "]",
236
256
  expected: "__type.o4",
237
257
  value: elem
@@ -247,7 +267,7 @@ var validGdcGRIN2listResponse = (input) => {
247
267
  path: _path2 + ".filteredFiles[" + _index4 + "]",
248
268
  expected: "__type.o5",
249
269
  value: elem
250
- })) && $vo7(elem, _path2 + ".filteredFiles[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
270
+ })) && $vo8(elem, _path2 + ".filteredFiles[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
251
271
  path: _path2 + ".filteredFiles[" + _index4 + "]",
252
272
  expected: "__type.o5",
253
273
  value: elem
@@ -256,7 +276,7 @@ var validGdcGRIN2listResponse = (input) => {
256
276
  expected: "Array<__type>.o1",
257
277
  value: input3.filteredFiles
258
278
  })].every((flag) => flag);
259
- const $vo6 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.caseName || $report(_exceptionable2, {
279
+ const $vo7 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.caseName || $report(_exceptionable2, {
260
280
  path: _path2 + ".caseName",
261
281
  expected: "string",
262
282
  value: input3.caseName
@@ -269,7 +289,7 @@ var validGdcGRIN2listResponse = (input) => {
269
289
  expected: "number",
270
290
  value: input3.keptFileSize
271
291
  })].every((flag) => flag);
272
- const $vo7 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.fileId || $report(_exceptionable2, {
292
+ const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.fileId || $report(_exceptionable2, {
273
293
  path: _path2 + ".fileId",
274
294
  expected: "string",
275
295
  value: input3.fileId
@@ -282,7 +302,7 @@ var validGdcGRIN2listResponse = (input) => {
282
302
  expected: "string",
283
303
  value: input3.reason
284
304
  })].every((flag) => flag);
285
- const $vo8 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.files) || $report(_exceptionable2, {
305
+ const $vo9 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.files) || $report(_exceptionable2, {
286
306
  path: _path2 + ".files",
287
307
  expected: "Array<GdcGRIN2File>",
288
308
  value: input3.files