@sjcrh/proteinpaint-types 2.187.0 → 2.188.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 (66) hide show
  1. package/dist/aiProjectSelectedWSImages.js +1 -1
  2. package/dist/brainImaging.js +1 -1
  3. package/dist/{chunk-TWNJZBZK.js → chunk-2VJRTZE2.js} +4 -0
  4. package/dist/{chunk-DII56MJ7.js → chunk-AGMCAWBR.js} +23 -1
  5. package/dist/{chunk-OCH5BJCV.js → chunk-BZVFHGN3.js} +3 -3
  6. package/dist/{chunk-IIWTMQJZ.js → chunk-DDKGTDDB.js} +19 -7
  7. package/dist/{chunk-FRXRNCDV.js → chunk-DI4Q26E7.js} +2 -0
  8. package/dist/{chunk-T2HQMRX7.js → chunk-DUCWIRPX.js} +26 -6
  9. package/dist/{chunk-EBSBUEOG.js → chunk-G4MMYXP6.js} +3 -3
  10. package/dist/{chunk-VCEWZVLZ.js → chunk-IS74WYQF.js} +7 -3
  11. package/dist/{chunk-FEMYT7FL.js → chunk-JDF7A2LY.js} +3 -3
  12. package/dist/{chunk-RY4Y5ESC.js → chunk-JEQGBUK2.js} +7 -7
  13. package/dist/{chunk-AYTV7V46.js → chunk-LC6KLHCJ.js} +23 -23
  14. package/dist/{chunk-VWLYQ33F.js → chunk-LQYSPLDQ.js} +7 -7
  15. package/dist/{chunk-I3QGRA7O.js → chunk-MKYLCBTP.js} +16 -16
  16. package/dist/{chunk-DVMD6CBJ.js → chunk-MNT3GF7M.js} +12 -8
  17. package/dist/{chunk-46DTJOK5.js → chunk-MVB7LQS5.js} +7 -7
  18. package/dist/chunk-QNH3PKJK.js +343 -0
  19. package/dist/{chunk-F2QRI6B2.js → chunk-SDZIGJY3.js} +7 -7
  20. package/dist/{chunk-W2Z4RFLX.js → chunk-SZZXZZKO.js} +7 -7
  21. package/dist/{chunk-SGMHY5K7.js → chunk-TEXOICIS.js} +40 -40
  22. package/dist/{chunk-MMNSJ72P.js → chunk-TQQWSHFM.js} +7 -7
  23. package/dist/{chunk-F5IWKWVX.js → chunk-ULKGA7YY.js} +17 -9
  24. package/dist/{chunk-DPJUULKQ.js → chunk-V3JDD3ZG.js} +11 -19
  25. package/dist/{chunk-V5NAE7YA.js → chunk-VJB6F2HL.js} +32 -6
  26. package/dist/{chunk-NKV3NWPF.js → chunk-X5E72ZXA.js} +7 -7
  27. package/dist/{chunk-KVE2NBC6.js → chunk-YW5G4M5D.js} +50 -24
  28. package/dist/{chunk-HG2TK6UO.js → chunk-ZMDZYG5B.js} +7 -7
  29. package/dist/correlationVolcano.js +1 -1
  30. package/dist/deleteWSITileSelection.js +1 -1
  31. package/dist/genesetEnrichment.js +1 -1
  32. package/dist/grin2.js +1 -1
  33. package/dist/index.js +58 -38
  34. package/dist/samplewsimages.js +3 -1
  35. package/dist/saveWSIAnnotation.js +1 -1
  36. package/dist/termdb.DE.js +1 -1
  37. package/dist/termdb.categories.js +1 -1
  38. package/dist/termdb.chat.js +13 -9
  39. package/dist/termdb.chat2.js +5 -3
  40. package/dist/termdb.cluster.js +1 -1
  41. package/dist/termdb.dapVolcano.js +11 -0
  42. package/dist/termdb.descrstats.js +1 -1
  43. package/dist/termdb.diffMeth.js +1 -1
  44. package/dist/termdb.dmr.js +1 -1
  45. package/dist/termdb.numericcategories.js +1 -1
  46. package/dist/termdb.percentile.js +1 -1
  47. package/dist/termdb.runChart.js +3 -1
  48. package/dist/termdb.singlecellDEgenes.js +1 -1
  49. package/dist/termdb.singlecellSamples.js +1 -1
  50. package/dist/termdb.termsbyids.js +1 -1
  51. package/dist/termdb.topTermsByType.js +1 -1
  52. package/dist/termdb.topVariablyExpressedGenes.js +1 -1
  53. package/dist/termdb.violinBox.js +7 -1
  54. package/package.json +4 -4
  55. package/src/dataset.ts +17 -10
  56. package/src/index.ts +1 -0
  57. package/src/routes/aiProjectSelectedWSImages.ts +9 -1
  58. package/src/routes/deleteWSITileSelection.ts +1 -2
  59. package/src/routes/genesetEnrichment.ts +2 -0
  60. package/src/routes/saveWSIAnnotation.ts +2 -1
  61. package/src/routes/termdb.DE.ts +9 -7
  62. package/src/routes/termdb.chat2.ts +7 -2
  63. package/src/routes/termdb.dapVolcano.ts +35 -0
  64. package/src/routes/termdb.singlecellSamples.ts +1 -1
  65. package/src/routes/termdb.topVariablyExpressedGenes.ts +3 -5
  66. package/src/terms/proteomeAbundance.ts +1 -1
@@ -2,7 +2,7 @@ import {
2
2
  aiProjectSelectedWSImagesResponsePayload,
3
3
  validAiProjectSelectedWSImagesRequest,
4
4
  validAiProjectSelectedWSImagesResponse
5
- } from "./chunk-T2HQMRX7.js";
5
+ } from "./chunk-DUCWIRPX.js";
6
6
  import "./chunk-YNHC5SXO.js";
7
7
  export {
8
8
  aiProjectSelectedWSImagesResponsePayload,
@@ -2,7 +2,7 @@ import {
2
2
  brainImagingPayload,
3
3
  validBrainImagingRequest,
4
4
  validBrainImagingResponse
5
- } from "./chunk-HG2TK6UO.js";
5
+ } from "./chunk-ZMDZYG5B.js";
6
6
  import "./chunk-YNHC5SXO.js";
7
7
  export {
8
8
  brainImagingPayload,
@@ -7,6 +7,9 @@ import {
7
7
  var import_typia = __toESM(require_lib(), 1);
8
8
 
9
9
  // src/routes/termdb.runChart.ts
10
+ function isRunChartSuccess(r) {
11
+ return "status" in r && r.status === "ok";
12
+ }
10
13
  var runChartPayload = {
11
14
  request: {
12
15
  typeId: "RunChartRequest"
@@ -277,6 +280,7 @@ var validRunChartResponse = (input) => {
277
280
  };
278
281
 
279
282
  export {
283
+ isRunChartSuccess,
280
284
  runChartPayload,
281
285
  validRunChartRequest,
282
286
  validRunChartResponse
@@ -21,10 +21,11 @@ var genesetEnrichmentPayload = {
21
21
  var validGenesetEnrichmentRequest = (input) => {
22
22
  const errors = [];
23
23
  const __is = (input2) => {
24
- const $io0 = (input3) => (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.fold_change || Array.isArray(input3.fold_change) && input3.fold_change.every((elem) => "number" === typeof elem)) && (void 0 === input3.cacheId || "string" === typeof input3.cacheId) && (void 0 === input3.dslabel || "string" === typeof input3.dslabel) && (void 0 === input3.daRequest || "object" === typeof input3.daRequest && null !== input3.daRequest && $io1(input3.daRequest)) && (void 0 === input3.fetchDE || "boolean" === typeof input3.fetchDE) && "boolean" === typeof input3.filter_non_coding_genes && "string" === typeof input3.genome && "string" === typeof input3.geneSetGroup && (void 0 === input3.geneset_name || "string" === typeof input3.geneset_name) && (void 0 === input3.num_permutations || "number" === typeof input3.num_permutations) && ("blitzgsea" === input3.method || "cerno" === input3.method);
24
+ const $io0 = (input3) => (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.fold_change || Array.isArray(input3.fold_change) && input3.fold_change.every((elem) => "number" === typeof elem)) && (void 0 === input3.cacheId || "string" === typeof input3.cacheId) && (void 0 === input3.dslabel || "string" === typeof input3.dslabel) && (void 0 === input3.daRequest || "object" === typeof input3.daRequest && null !== input3.daRequest && $io1(input3.daRequest)) && (void 0 === input3.fetchDE || "boolean" === typeof input3.fetchDE) && "boolean" === typeof input3.filter_non_coding_genes && "string" === typeof input3.genome && "string" === typeof input3.geneSetGroup && (void 0 === input3.geneset_name || "string" === typeof input3.geneset_name) && (void 0 === input3.num_permutations || "number" === typeof input3.num_permutations) && ("blitzgsea" === input3.method || "cerno" === input3.method) && (void 0 === input3.dapParams || "object" === typeof input3.dapParams && null !== input3.dapParams && $io4(input3.dapParams));
25
25
  const $io1 = (input3) => (void 0 === input3.genome || "string" === typeof input3.genome) && (void 0 === input3.dslabel || "string" === typeof input3.dslabel) && true && (void 0 === input3.min_count || "number" === typeof input3.min_count) && (void 0 === input3.min_total_count || "number" === typeof input3.min_total_count) && (void 0 === input3.cpm_cutoff || "number" === typeof input3.cpm_cutoff) && (void 0 === input3.storage_type || "text" === input3.storage_type || "HDF5" === input3.storage_type) && (void 0 === input3.method || "string" === typeof input3.method) && true && true && (void 0 === input3.preAnalysis || "boolean" === typeof input3.preAnalysis) && (void 0 === input3.volcanoRender || "object" === typeof input3.volcanoRender && null !== input3.volcanoRender && $io2(input3.volcanoRender));
26
26
  const $io2 = (input3) => "object" === typeof input3.significanceThresholds && null !== input3.significanceThresholds && $io3(input3.significanceThresholds) && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && (void 0 === input3.colorSignificant || "string" === typeof input3.colorSignificant) && (void 0 === input3.colorSignificantUp || "string" === typeof input3.colorSignificantUp) && (void 0 === input3.colorSignificantDown || "string" === typeof input3.colorSignificantDown) && (void 0 === input3.colorNonsignificant || "string" === typeof input3.colorNonsignificant) && (void 0 === input3.dotRadius || "number" === typeof input3.dotRadius) && (void 0 === input3.maxInteractiveDots || "number" === typeof input3.maxInteractiveDots);
27
27
  const $io3 = (input3) => "number" === typeof input3.pValueCutoff && ("adjusted" === input3.pValueType || "original" === input3.pValueType) && "number" === typeof input3.foldChangeCutoff;
28
+ const $io4 = (input3) => "string" === typeof input3.organism && "string" === typeof input3.assay && "string" === typeof input3.cohort;
28
29
  return "object" === typeof input2 && null !== input2 && $io0(input2);
29
30
  };
30
31
  if (false === __is(input)) {
@@ -98,6 +99,14 @@ var validGenesetEnrichmentRequest = (input) => {
98
99
  path: _path2 + ".method",
99
100
  expected: '("blitzgsea" | "cerno")',
100
101
  value: input3.method
102
+ }), void 0 === input3.dapParams || ("object" === typeof input3.dapParams && null !== input3.dapParams || $report(_exceptionable2, {
103
+ path: _path2 + ".dapParams",
104
+ expected: "(__type | undefined)",
105
+ value: input3.dapParams
106
+ })) && $vo4(input3.dapParams, _path2 + ".dapParams", _exceptionable2) || $report(_exceptionable2, {
107
+ path: _path2 + ".dapParams",
108
+ expected: "(__type | undefined)",
109
+ value: input3.dapParams
101
110
  })].every((flag) => flag);
102
111
  const $vo1 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.genome || "string" === typeof input3.genome || $report(_exceptionable2, {
103
112
  path: _path2 + ".genome",
@@ -194,6 +203,19 @@ var validGenesetEnrichmentRequest = (input) => {
194
203
  expected: "number",
195
204
  value: input3.foldChangeCutoff
196
205
  })].every((flag) => flag);
206
+ const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.organism || $report(_exceptionable2, {
207
+ path: _path2 + ".organism",
208
+ expected: "string",
209
+ value: input3.organism
210
+ }), "string" === typeof input3.assay || $report(_exceptionable2, {
211
+ path: _path2 + ".assay",
212
+ expected: "string",
213
+ value: input3.assay
214
+ }), "string" === typeof input3.cohort || $report(_exceptionable2, {
215
+ path: _path2 + ".cohort",
216
+ expected: "string",
217
+ value: input3.cohort
218
+ })].every((flag) => flag);
197
219
  return ("object" === typeof input2 && null !== input2 || $report(true, {
198
220
  path: _path + "",
199
221
  expected: "GenesetEnrichmentRequest",
@@ -158,7 +158,7 @@ var validTermdbSingleCellDEgenesResponse = (input) => {
158
158
  const $io0 = (input3) => "number" === typeof input3.status && "string" === typeof input3.error;
159
159
  const $io1 = (input3) => "object" === typeof input3.data && null !== input3.data && $io2(input3.data);
160
160
  const $io2 = (input3) => Array.isArray(input3.dots) && input3.dots.every((elem) => "object" === typeof elem && null !== elem && $io3(elem)) && "string" === typeof input3.volcanoPng && ("object" === typeof input3.plotExtent && null !== input3.plotExtent && $io4(input3.plotExtent)) && "number" === typeof input3.totalRows && "number" === typeof input3.totalSignificantRows && (void 0 === input3.cacheId || "string" === typeof input3.cacheId);
161
- const $io3 = (input3) => "number" === typeof input3.original_p_value && "number" === typeof input3.adjusted_p_value && "number" === typeof input3.fold_change && "string" === typeof input3.gene_name;
161
+ const $io3 = (input3) => "number" === typeof input3.original_p_value && (void 0 === input3.adjusted_p_value || "number" === typeof input3.adjusted_p_value) && "number" === typeof input3.fold_change && "string" === typeof input3.gene_name;
162
162
  const $io4 = (input3) => "number" === typeof input3.xMin && "number" === typeof input3.xMax && "number" === typeof input3.yMin && "number" === typeof input3.yMax && "number" === typeof input3.xMinUnpadded && "number" === typeof input3.xMaxUnpadded && "number" === typeof input3.yMinUnpadded && "number" === typeof input3.yMaxUnpadded && "number" === typeof input3.dotRadiusPx && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && "number" === typeof input3.plotLeft && "number" === typeof input3.plotTop && "number" === typeof input3.plotRight && "number" === typeof input3.plotBottom && "number" === typeof input3.minNonZeroPValue;
163
163
  const $iu0 = (input3) => (() => {
164
164
  if (void 0 !== input3.status)
@@ -235,9 +235,9 @@ var validTermdbSingleCellDEgenesResponse = (input) => {
235
235
  path: _path2 + ".original_p_value",
236
236
  expected: "number",
237
237
  value: input3.original_p_value
238
- }), "number" === typeof input3.adjusted_p_value || $report(_exceptionable2, {
238
+ }), void 0 === input3.adjusted_p_value || "number" === typeof input3.adjusted_p_value || $report(_exceptionable2, {
239
239
  path: _path2 + ".adjusted_p_value",
240
- expected: "number",
240
+ expected: "(number | undefined)",
241
241
  value: input3.adjusted_p_value
242
242
  }), "number" === typeof input3.fold_change || $report(_exceptionable2, {
243
243
  path: _path2 + ".fold_change",
@@ -7,6 +7,15 @@ import {
7
7
  var import_typia = __toESM(require_lib(), 1);
8
8
 
9
9
  // src/routes/termdb.violinBox.ts
10
+ function isErrorResponse(response) {
11
+ return "error" in response && "status" in response;
12
+ }
13
+ function isBoxPlotResponse(response) {
14
+ return !isErrorResponse(response) && "charts" in response && "descrStats" in response;
15
+ }
16
+ function isViolinResponse(response) {
17
+ return !isErrorResponse(response) && "min" in response && "max" in response;
18
+ }
10
19
  var violinBoxPayload = {
11
20
  request: {
12
21
  typeId: "ViolinBoxRequest"
@@ -121,7 +130,7 @@ var validViolinBoxRequest = (input) => {
121
130
  const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "isoformExpression" === 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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.kind || "isoform" === input3.kind) && "string" === typeof input3.isoform && (void 0 === input3.gene || "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);
122
131
  const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "isoformExpression" === 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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.isoform || "string" === typeof input3.isoform) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
123
132
  const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins));
124
- const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === 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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && ("object" === typeof input3.proteomeDetails && null !== input3.proteomeDetails && ("string" === typeof input3.proteomeDetails.organism && "string" === typeof input3.proteomeDetails.assay && "string" === typeof input3.proteomeDetails.cohort));
133
+ const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === 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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && ("object" === typeof input3.dataTypeDetails && null !== input3.dataTypeDetails && ("string" === typeof input3.dataTypeDetails.organism && "string" === typeof input3.dataTypeDetails.assay && "string" === typeof input3.dataTypeDetails.cohort));
125
134
  const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins));
126
135
  const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === 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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins));
127
136
  const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === 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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("gene" === input3.genomicFeatureType || "promoter" === input3.genomicFeatureType || "region" === input3.genomicFeatureType || "enhancer" === input3.genomicFeatureType) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins));
@@ -1875,14 +1884,14 @@ var validViolinBoxRequest = (input) => {
1875
1884
  path: _path2 + ".bins",
1876
1885
  expected: "(PresetNumericBins | undefined)",
1877
1886
  value: input3.bins
1878
- }), ("object" === typeof input3.proteomeDetails && null !== input3.proteomeDetails || $report(_exceptionable2, {
1879
- path: _path2 + ".proteomeDetails",
1887
+ }), ("object" === typeof input3.dataTypeDetails && null !== input3.dataTypeDetails || $report(_exceptionable2, {
1888
+ path: _path2 + ".dataTypeDetails",
1880
1889
  expected: "ProteomeDetails",
1881
- value: input3.proteomeDetails
1882
- })) && $vo27(input3.proteomeDetails, _path2 + ".proteomeDetails", _exceptionable2) || $report(_exceptionable2, {
1883
- path: _path2 + ".proteomeDetails",
1890
+ value: input3.dataTypeDetails
1891
+ })) && $vo27(input3.dataTypeDetails, _path2 + ".dataTypeDetails", _exceptionable2) || $report(_exceptionable2, {
1892
+ path: _path2 + ".dataTypeDetails",
1884
1893
  expected: "ProteomeDetails",
1885
- value: input3.proteomeDetails
1894
+ value: input3.dataTypeDetails
1886
1895
  })].every((flag) => flag);
1887
1896
  const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.organism || $report(_exceptionable2, {
1888
1897
  path: _path2 + ".organism",
@@ -6721,6 +6730,9 @@ var validViolinBoxResponse = (input) => {
6721
6730
  };
6722
6731
 
6723
6732
  export {
6733
+ isErrorResponse,
6734
+ isBoxPlotResponse,
6735
+ isViolinResponse,
6724
6736
  violinBoxPayload,
6725
6737
  validViolinBoxRequest,
6726
6738
  validViolinBoxResponse
@@ -1,4 +1,5 @@
1
1
  // src/routes/termdb.chat2.ts
2
+ var createAmbiguousPoints = () => [];
2
3
  var ChatPayload = {
3
4
  request: {
4
5
  typeId: "ChatRequest"
@@ -10,5 +11,6 @@ var ChatPayload = {
10
11
  };
11
12
 
12
13
  export {
14
+ createAmbiguousPoints,
13
15
  ChatPayload
14
16
  };
@@ -74,8 +74,8 @@ var validAiProjectSelectedWSImagesResponse = (input) => {
74
74
  const __is = (input2) => {
75
75
  const $io0 = (input3) => Array.isArray(input3.wsimages) && input3.wsimages.every((elem) => "object" === typeof elem && null !== elem && $io1(elem));
76
76
  const $io1 = (input3) => (void 0 === input3.id || "number" === typeof input3.id) && "string" === typeof input3.filename && (void 0 === input3.metadata || "string" === typeof input3.metadata) && (void 0 === input3.predictionLayers || Array.isArray(input3.predictionLayers) && input3.predictionLayers.every((elem) => "string" === typeof elem)) && (void 0 === input3.annotations || Array.isArray(input3.annotations) && input3.annotations.every((elem) => "object" === typeof elem && null !== elem && $io2(elem))) && (void 0 === input3.predictions || Array.isArray(input3.predictions) && input3.predictions.every((elem) => "object" === typeof elem && null !== elem && $io3(elem))) && (void 0 === input3.classes || Array.isArray(input3.classes) && input3.classes.every((elem) => "object" === typeof elem && null !== elem && $io4(elem))) && true && (void 0 === input3.activePatchColor || "string" === typeof input3.activePatchColor) && (void 0 === input3.tileSize || "number" === typeof input3.tileSize);
77
- const $io2 = (input3) => "string" === typeof input3["class"] && "number" === typeof input3.status && "string" === typeof input3.timestamp && (Array.isArray(input3.zoomCoordinates) && (input3.zoomCoordinates.length === 2 && "number" === typeof input3.zoomCoordinates[0] && "number" === typeof input3.zoomCoordinates[1]));
78
- const $io3 = (input3) => "string" === typeof input3["class"] && "number" === typeof input3.uncertainty && (Array.isArray(input3.zoomCoordinates) && (input3.zoomCoordinates.length === 2 && "number" === typeof input3.zoomCoordinates[0] && "number" === typeof input3.zoomCoordinates[1]));
77
+ const $io2 = (input3) => "string" === typeof input3["class"] && "number" === typeof input3.status && (Array.isArray(input3.zoomCoordinates) && (input3.zoomCoordinates.length === 2 && "number" === typeof input3.zoomCoordinates[0] && "number" === typeof input3.zoomCoordinates[1])) && (0 === input3.flag || 1 === input3.flag || 2 === input3.flag || 3 === input3.flag) && "string" === typeof input3.id && "string" === typeof input3.timestamp;
78
+ const $io3 = (input3) => "string" === typeof input3["class"] && "number" === typeof input3.uncertainty && (Array.isArray(input3.zoomCoordinates) && (input3.zoomCoordinates.length === 2 && "number" === typeof input3.zoomCoordinates[0] && "number" === typeof input3.zoomCoordinates[1])) && (0 === input3.flag || 1 === input3.flag || 2 === input3.flag || 3 === input3.flag) && "string" === typeof input3.id && "string" === typeof input3.timestamp;
79
79
  const $io4 = (input3) => "number" === typeof input3.id && "string" === typeof input3.key_shortcut && "string" === typeof input3.label && "string" === typeof input3.color;
80
80
  return "object" === typeof input2 && null !== input2 && $io0(input2);
81
81
  };
@@ -188,10 +188,6 @@ var validAiProjectSelectedWSImagesResponse = (input) => {
188
188
  path: _path2 + ".status",
189
189
  expected: "number",
190
190
  value: input3.status
191
- }), "string" === typeof input3.timestamp || $report(_exceptionable2, {
192
- path: _path2 + ".timestamp",
193
- expected: "string",
194
- value: input3.timestamp
195
191
  }), (Array.isArray(input3.zoomCoordinates) || $report(_exceptionable2, {
196
192
  path: _path2 + ".zoomCoordinates",
197
193
  expected: "[number, number]",
@@ -215,6 +211,18 @@ var validAiProjectSelectedWSImagesResponse = (input) => {
215
211
  path: _path2 + ".zoomCoordinates",
216
212
  expected: "[number, number]",
217
213
  value: input3.zoomCoordinates
214
+ }), 0 === input3.flag || 1 === input3.flag || 2 === input3.flag || 3 === input3.flag || $report(_exceptionable2, {
215
+ path: _path2 + ".flag",
216
+ expected: "(0 | 1 | 2 | 3)",
217
+ value: input3.flag
218
+ }), "string" === typeof input3.id || $report(_exceptionable2, {
219
+ path: _path2 + ".id",
220
+ expected: "string",
221
+ value: input3.id
222
+ }), "string" === typeof input3.timestamp || $report(_exceptionable2, {
223
+ path: _path2 + ".timestamp",
224
+ expected: "string",
225
+ value: input3.timestamp
218
226
  })].every((flag) => flag);
219
227
  const $vo3 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3["class"] || $report(_exceptionable2, {
220
228
  path: _path2 + '["class"]',
@@ -247,6 +255,18 @@ var validAiProjectSelectedWSImagesResponse = (input) => {
247
255
  path: _path2 + ".zoomCoordinates",
248
256
  expected: "[number, number]",
249
257
  value: input3.zoomCoordinates
258
+ }), 0 === input3.flag || 1 === input3.flag || 2 === input3.flag || 3 === input3.flag || $report(_exceptionable2, {
259
+ path: _path2 + ".flag",
260
+ expected: "(0 | 1 | 2 | 3)",
261
+ value: input3.flag
262
+ }), "string" === typeof input3.id || $report(_exceptionable2, {
263
+ path: _path2 + ".id",
264
+ expected: "string",
265
+ value: input3.id
266
+ }), "string" === typeof input3.timestamp || $report(_exceptionable2, {
267
+ path: _path2 + ".timestamp",
268
+ expected: "string",
269
+ value: input3.timestamp
250
270
  })].every((flag) => flag);
251
271
  const $vo4 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.id || $report(_exceptionable2, {
252
272
  path: _path2 + ".id",
@@ -158,7 +158,7 @@ var validDEResponse = (input) => {
158
158
  });
159
159
  const $io2 = (input3) => "object" === typeof input3.data && null !== input3.data && $io3(input3.data) && "number" === typeof input3.sample_size1 && "number" === typeof input3.sample_size2 && "string" === typeof input3.method && (void 0 === input3.images || Array.isArray(input3.images) && input3.images.every((elem) => "object" === typeof elem && null !== elem && $io6(elem))) && (void 0 === input3.bcv || "number" === typeof input3.bcv);
160
160
  const $io3 = (input3) => Array.isArray(input3.dots) && input3.dots.every((elem) => "object" === typeof elem && null !== elem && $io4(elem)) && "string" === typeof input3.volcanoPng && ("object" === typeof input3.plotExtent && null !== input3.plotExtent && $io5(input3.plotExtent)) && "number" === typeof input3.totalRows && "number" === typeof input3.totalSignificantRows && (void 0 === input3.cacheId || "string" === typeof input3.cacheId);
161
- const $io4 = (input3) => "number" === typeof input3.original_p_value && "number" === typeof input3.adjusted_p_value && "number" === typeof input3.fold_change && "string" === typeof input3.gene_id && "string" === typeof input3.gene_name;
161
+ const $io4 = (input3) => "number" === typeof input3.original_p_value && (void 0 === input3.adjusted_p_value || "number" === typeof input3.adjusted_p_value) && "number" === typeof input3.fold_change && "string" === typeof input3.gene_id && "string" === typeof input3.gene_name;
162
162
  const $io5 = (input3) => "number" === typeof input3.xMin && "number" === typeof input3.xMax && "number" === typeof input3.yMin && "number" === typeof input3.yMax && "number" === typeof input3.xMinUnpadded && "number" === typeof input3.xMaxUnpadded && "number" === typeof input3.yMinUnpadded && "number" === typeof input3.yMaxUnpadded && "number" === typeof input3.dotRadiusPx && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && "number" === typeof input3.plotLeft && "number" === typeof input3.plotTop && "number" === typeof input3.plotRight && "number" === typeof input3.plotBottom && "number" === typeof input3.minNonZeroPValue;
163
163
  const $io6 = (input3) => "string" === typeof input3.src && "number" === typeof input3.size && "string" === typeof input3.key;
164
164
  const $iu0 = (input3) => (() => {
@@ -279,9 +279,9 @@ var validDEResponse = (input) => {
279
279
  path: _path2 + ".original_p_value",
280
280
  expected: "number",
281
281
  value: input3.original_p_value
282
- }), "number" === typeof input3.adjusted_p_value || $report(_exceptionable2, {
282
+ }), void 0 === input3.adjusted_p_value || "number" === typeof input3.adjusted_p_value || $report(_exceptionable2, {
283
283
  path: _path2 + ".adjusted_p_value",
284
- expected: "number",
284
+ expected: "(number | undefined)",
285
285
  value: input3.adjusted_p_value
286
286
  }), "number" === typeof input3.fold_change || $report(_exceptionable2, {
287
287
  path: _path2 + ".fold_change",
@@ -59,8 +59,8 @@ var validTermdbSingleCellSamplesResponse = (input) => {
59
59
  const $join = import_typia.createValidate.join;
60
60
  const $io0 = (input3) => "number" === typeof input3.status && "string" === typeof input3.error;
61
61
  const $io1 = (input3) => Array.isArray(input3.samples) && input3.samples.every((elem) => "object" === typeof elem && null !== elem && $io2(elem)) && (void 0 === input3.metaResults || Array.isArray(input3.metaResults) && input3.metaResults.every((elem) => "object" === typeof elem && null !== elem && $io4(elem)));
62
- const $io2 = (input3) => "string" === typeof input3.sample && (void 0 === input3.experiments || Array.isArray(input3.experiments) && input3.experiments.every((elem) => "object" === typeof elem && null !== elem && $io3(elem))) && Object.keys(input3).every((key) => {
63
- if (["sample", "experiments"].some((prop) => key === prop))
62
+ const $io2 = (input3) => "string" === typeof input3.sample && (void 0 === input3.experiments || Array.isArray(input3.experiments) && input3.experiments.every((elem) => "object" === typeof elem && null !== elem && $io3(elem))) && (void 0 === input3.isMetaResult || "boolean" === typeof input3.isMetaResult) && Object.keys(input3).every((key) => {
63
+ if (["sample", "experiments", "isMetaResult"].some((prop) => key === prop))
64
64
  return true;
65
65
  const value = input3[key];
66
66
  if (void 0 === value)
@@ -146,8 +146,12 @@ var validTermdbSingleCellSamplesResponse = (input) => {
146
146
  path: _path2 + ".experiments",
147
147
  expected: "(Array<__type> | undefined)",
148
148
  value: input3.experiments
149
+ }), void 0 === input3.isMetaResult || "boolean" === typeof input3.isMetaResult || $report(_exceptionable2, {
150
+ path: _path2 + ".isMetaResult",
151
+ expected: "(boolean | undefined)",
152
+ value: input3.isMetaResult
149
153
  }), false === _exceptionable2 || Object.keys(input3).map((key) => {
150
- if (["sample", "experiments"].some((prop) => key === prop))
154
+ if (["sample", "experiments", "isMetaResult"].some((prop) => key === prop))
151
155
  return true;
152
156
  const value = input3[key];
153
157
  if (void 0 === value)
@@ -140,7 +140,7 @@ var validDiffMethResponse = (input) => {
140
140
  });
141
141
  const $io2 = (input3) => "object" === typeof input3.data && null !== input3.data && $io3(input3.data) && "number" === typeof input3.sample_size1 && "number" === typeof input3.sample_size2;
142
142
  const $io3 = (input3) => Array.isArray(input3.dots) && input3.dots.every((elem) => "object" === typeof elem && null !== elem && $io4(elem)) && "string" === typeof input3.volcanoPng && ("object" === typeof input3.plotExtent && null !== input3.plotExtent && $io5(input3.plotExtent)) && "number" === typeof input3.totalRows && "number" === typeof input3.totalSignificantRows && (void 0 === input3.cacheId || "string" === typeof input3.cacheId);
143
- const $io4 = (input3) => "number" === typeof input3.original_p_value && "number" === typeof input3.adjusted_p_value && "number" === typeof input3.fold_change && "string" === typeof input3.promoter_id && "string" === typeof input3.gene_name && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
143
+ const $io4 = (input3) => "number" === typeof input3.original_p_value && (void 0 === input3.adjusted_p_value || "number" === typeof input3.adjusted_p_value) && "number" === typeof input3.fold_change && "string" === typeof input3.promoter_id && "string" === typeof input3.gene_name && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
144
144
  const $io5 = (input3) => "number" === typeof input3.xMin && "number" === typeof input3.xMax && "number" === typeof input3.yMin && "number" === typeof input3.yMax && "number" === typeof input3.xMinUnpadded && "number" === typeof input3.xMaxUnpadded && "number" === typeof input3.yMinUnpadded && "number" === typeof input3.yMaxUnpadded && "number" === typeof input3.dotRadiusPx && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && "number" === typeof input3.plotLeft && "number" === typeof input3.plotTop && "number" === typeof input3.plotRight && "number" === typeof input3.plotBottom && "number" === typeof input3.minNonZeroPValue;
145
145
  const $iu0 = (input3) => (() => {
146
146
  if (void 0 !== input3.sample_size1)
@@ -236,9 +236,9 @@ var validDiffMethResponse = (input) => {
236
236
  path: _path2 + ".original_p_value",
237
237
  expected: "number",
238
238
  value: input3.original_p_value
239
- }), "number" === typeof input3.adjusted_p_value || $report(_exceptionable2, {
239
+ }), void 0 === input3.adjusted_p_value || "number" === typeof input3.adjusted_p_value || $report(_exceptionable2, {
240
240
  path: _path2 + ".adjusted_p_value",
241
- expected: "number",
241
+ expected: "(number | undefined)",
242
242
  value: input3.adjusted_p_value
243
243
  }), "number" === typeof input3.fold_change || $report(_exceptionable2, {
244
244
  path: _path2 + ".fold_change",
@@ -114,7 +114,7 @@ var validCategoriesRequest = (input) => {
114
114
  const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "isoformExpression" === 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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.kind || "isoform" === input3.kind) && "string" === typeof input3.isoform && (void 0 === input3.gene || "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);
115
115
  const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "isoformExpression" === 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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.isoform || "string" === typeof input3.isoform) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
116
116
  const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins));
117
- const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === 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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && ("object" === typeof input3.proteomeDetails && null !== input3.proteomeDetails && ("string" === typeof input3.proteomeDetails.organism && "string" === typeof input3.proteomeDetails.assay && "string" === typeof input3.proteomeDetails.cohort));
117
+ const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === 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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && ("object" === typeof input3.dataTypeDetails && null !== input3.dataTypeDetails && ("string" === typeof input3.dataTypeDetails.organism && "string" === typeof input3.dataTypeDetails.assay && "string" === typeof input3.dataTypeDetails.cohort));
118
118
  const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins));
119
119
  const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === 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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins));
120
120
  const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === 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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("gene" === input3.genomicFeatureType || "promoter" === input3.genomicFeatureType || "region" === input3.genomicFeatureType || "enhancer" === input3.genomicFeatureType) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins));
@@ -1800,14 +1800,14 @@ var validCategoriesRequest = (input) => {
1800
1800
  path: _path2 + ".bins",
1801
1801
  expected: "(PresetNumericBins | undefined)",
1802
1802
  value: input3.bins
1803
- }), ("object" === typeof input3.proteomeDetails && null !== input3.proteomeDetails || $report(_exceptionable2, {
1804
- path: _path2 + ".proteomeDetails",
1803
+ }), ("object" === typeof input3.dataTypeDetails && null !== input3.dataTypeDetails || $report(_exceptionable2, {
1804
+ path: _path2 + ".dataTypeDetails",
1805
1805
  expected: "ProteomeDetails",
1806
- value: input3.proteomeDetails
1807
- })) && $vo27(input3.proteomeDetails, _path2 + ".proteomeDetails", _exceptionable2) || $report(_exceptionable2, {
1808
- path: _path2 + ".proteomeDetails",
1806
+ value: input3.dataTypeDetails
1807
+ })) && $vo27(input3.dataTypeDetails, _path2 + ".dataTypeDetails", _exceptionable2) || $report(_exceptionable2, {
1808
+ path: _path2 + ".dataTypeDetails",
1809
1809
  expected: "ProteomeDetails",
1810
- value: input3.proteomeDetails
1810
+ value: input3.dataTypeDetails
1811
1811
  })].every((flag) => flag);
1812
1812
  const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.organism || $report(_exceptionable2, {
1813
1813
  path: _path2 + ".organism",