@sjcrh/proteinpaint-types 2.141.0 → 2.143.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 (144) hide show
  1. package/dist/aiProjectAdmin.js +2 -2
  2. package/dist/aiProjectSelectedWSImages.js +11 -0
  3. package/dist/brainImaging.js +2 -2
  4. package/dist/brainImagingSamples.js +2 -2
  5. package/dist/burden.js +2 -2
  6. package/dist/{chunk-W6NLM363.js → chunk-2744ACBX.js} +1 -1
  7. package/dist/{chunk-F5XGJIUS.js → chunk-2BCLGYAG.js} +1 -1
  8. package/dist/{chunk-L5DFYFWX.js → chunk-2C4X5B6N.js} +1 -1
  9. package/dist/{chunk-KEJROUTM.js → chunk-4DNCZQOB.js} +271 -265
  10. package/dist/{chunk-WCWYMCZD.js → chunk-4MLQS6N7.js} +235 -127
  11. package/dist/{chunk-I7FTK55B.js → chunk-4VEXL32Q.js} +560 -410
  12. package/dist/{chunk-K5POIB3P.js → chunk-4ZMQ5CTL.js} +1 -1
  13. package/dist/{chunk-QWAPDNYB.js → chunk-5KADNZH2.js} +578 -428
  14. package/dist/{chunk-I2KWGMNM.js → chunk-62XTWOVJ.js} +1 -1
  15. package/dist/{chunk-FXCCZCTN.js → chunk-6GKG55BT.js} +1 -1
  16. package/dist/{chunk-EOBFYFLQ.js → chunk-6SOULHNE.js} +692 -460
  17. package/dist/{chunk-77RH7U6G.js → chunk-74B7B2CV.js} +505 -391
  18. package/dist/{chunk-S6OBK4RE.js → chunk-7ICZFAGK.js} +252 -140
  19. package/dist/{chunk-J4QAF4EU.js → chunk-7MUISZHS.js} +1 -1
  20. package/dist/{chunk-SMS3Y2XZ.js → chunk-BCBSHTHS.js} +1 -1
  21. package/dist/{chunk-56JQGGZJ.js → chunk-C246BWQE.js} +812 -568
  22. package/dist/{chunk-3C26VWPU.js → chunk-CP26DR4V.js} +1 -1
  23. package/dist/{chunk-ERSTC6X6.js → chunk-CQXBQY2H.js} +1 -1
  24. package/dist/{chunk-CQDDRHRY.js → chunk-CT6IBFVP.js} +9 -4
  25. package/dist/{chunk-ZVTZJRGS.js → chunk-D7AKQKDG.js} +1 -1
  26. package/dist/{chunk-YGX6BZZY.js → chunk-EIJT53QB.js} +1 -1
  27. package/dist/{chunk-VKBTOKI2.js → chunk-EOKM345J.js} +1 -1
  28. package/dist/{chunk-XEQWKMZN.js → chunk-EYKGJDKU.js} +1 -1
  29. package/dist/{chunk-EH7VAE5S.js → chunk-FMC4G5BP.js} +1 -1
  30. package/dist/{chunk-KRYTJ2SL.js → chunk-FTPYJPUB.js} +1 -1
  31. package/dist/{chunk-VMQUAU5V.js → chunk-FXXE4S7M.js} +574 -424
  32. package/dist/{chunk-UYBVE3DL.js → chunk-GCAZSDCW.js} +574 -424
  33. package/dist/{chunk-5S3UWYSK.js → chunk-GTS2G4R4.js} +1 -1
  34. package/dist/{chunk-KFVYRW7D.js → chunk-HQV2A7JV.js} +1 -1
  35. package/dist/{chunk-TMQI47YT.js → chunk-J2Y7RIN2.js} +29 -25
  36. package/dist/{chunk-HNETXFC7.js → chunk-K4FSDTDW.js} +1 -1
  37. package/dist/{chunk-HIPWQ6AW.js → chunk-KCMPDEH7.js} +1 -1
  38. package/dist/chunk-KVE2NBC6.js +132 -0
  39. package/dist/{chunk-QX3MRSSK.js → chunk-LRVF7U64.js} +1 -1
  40. package/dist/{chunk-5XCPOWFN.js → chunk-MHDQO7R5.js} +1 -1
  41. package/dist/{chunk-K4RV3N2T.js → chunk-MIOIOFBZ.js} +1 -1
  42. package/dist/{chunk-424IUJWR.js → chunk-MMFL6N5M.js} +237 -129
  43. package/dist/{chunk-LDQNJLYQ.js → chunk-N7C4SRFX.js} +1 -1
  44. package/dist/chunk-NO2EZKW4.js +291 -0
  45. package/dist/{chunk-HKGWC7OO.js → chunk-P25WDNMD.js} +1 -1
  46. package/dist/{chunk-FYRWYZEE.js → chunk-PPPSDO6G.js} +36 -40
  47. package/dist/{chunk-KVUJPR42.js → chunk-PTE2I7DF.js} +1 -1
  48. package/dist/{chunk-AASWRJMS.js → chunk-Q3HGHP3J.js} +1 -1
  49. package/dist/{chunk-WMI4VKU3.js → chunk-TCEHHLIZ.js} +206 -51
  50. package/dist/{chunk-T3GTEGQN.js → chunk-U3AOS5QJ.js} +235 -127
  51. package/dist/{chunk-X2CX5K24.js → chunk-U3BTVE5T.js} +1 -1
  52. package/dist/{chunk-HUMZDPUU.js → chunk-U4A647KI.js} +1 -1
  53. package/dist/{chunk-4GCROGGK.js → chunk-UBOVHONH.js} +1 -1
  54. package/dist/{chunk-GGZUN2GE.js → chunk-UGYLBYUU.js} +1 -1
  55. package/dist/{chunk-XJU4JALX.js → chunk-USAQULWA.js} +35 -31
  56. package/dist/{chunk-IVU6STSJ.js → chunk-X4JBWMXY.js} +1 -1
  57. package/dist/{chunk-LPBYQJG4.js → chunk-XIRCL7KT.js} +1 -1
  58. package/dist/{chunk-CNSSF43V.js → chunk-YNHC5SXO.js} +14 -14
  59. package/dist/{chunk-B43GFRT4.js → chunk-YPEFUAJW.js} +1 -1
  60. package/dist/{chunk-VMSVBNM6.js → chunk-YSTMGNYR.js} +1 -1
  61. package/dist/{chunk-XT2IWGYK.js → chunk-ZCV62ELK.js} +1 -1
  62. package/dist/{chunk-E5MPHTIA.js → chunk-ZIOJDN75.js} +1 -1
  63. package/dist/clearwsisession.js +1 -1
  64. package/dist/clearwsisessions.js +2 -2
  65. package/dist/correlationVolcano.js +2 -2
  66. package/dist/dataset.js +2 -2
  67. package/dist/deleteWSIAnnotation.js +11 -0
  68. package/dist/dsdata.js +2 -2
  69. package/dist/dzimages.js +2 -2
  70. package/dist/gdc.grin2.js +2 -2
  71. package/dist/gdc.maf.js +2 -2
  72. package/dist/gdc.mafBuild.js +2 -2
  73. package/dist/genelookup.js +2 -2
  74. package/dist/genesetEnrichment.js +2 -2
  75. package/dist/genesetOverrepresentation.js +2 -2
  76. package/dist/grin2.js +2 -2
  77. package/dist/healthcheck.js +2 -2
  78. package/dist/hicdata.js +2 -2
  79. package/dist/hicgenome.js +2 -2
  80. package/dist/hicstat.js +2 -2
  81. package/dist/img.js +2 -2
  82. package/dist/index.js +118 -102
  83. package/dist/isoformlst.js +2 -2
  84. package/dist/ntseq.js +2 -2
  85. package/dist/pdomain.js +2 -2
  86. package/dist/samplewsimages.js +2 -2
  87. package/dist/saveWSIAnnotation.js +11 -0
  88. package/dist/snp.js +2 -2
  89. package/dist/termdb.DE.js +2 -2
  90. package/dist/termdb.boxplot.js +2 -2
  91. package/dist/termdb.categories.js +2 -2
  92. package/dist/termdb.cluster.js +2 -2
  93. package/dist/termdb.cohort.summary.js +2 -2
  94. package/dist/termdb.cohorts.js +2 -2
  95. package/dist/termdb.descrstats.js +2 -2
  96. package/dist/termdb.filterTermValues.js +2 -2
  97. package/dist/termdb.numericcategories.js +2 -2
  98. package/dist/termdb.percentile.js +2 -2
  99. package/dist/termdb.profileFormScores.js +2 -2
  100. package/dist/termdb.profileScores.js +2 -2
  101. package/dist/termdb.rootterm.js +2 -2
  102. package/dist/termdb.sampleImages.js +2 -2
  103. package/dist/termdb.singleSampleMutation.js +2 -2
  104. package/dist/termdb.singlecellDEgenes.js +2 -2
  105. package/dist/termdb.singlecellData.js +2 -2
  106. package/dist/termdb.singlecellSamples.js +2 -2
  107. package/dist/termdb.termchildren.js +2 -2
  108. package/dist/termdb.termsbyids.js +2 -2
  109. package/dist/termdb.topMutatedGenes.js +2 -2
  110. package/dist/termdb.topTermsByType.js +2 -2
  111. package/dist/termdb.topVariablyExpressedGenes.js +2 -2
  112. package/dist/termdb.violin.js +2 -2
  113. package/dist/tileserver.js +2 -2
  114. package/dist/wsimages.js +2 -2
  115. package/dist/wsisamples.js +2 -2
  116. package/package.json +1 -1
  117. package/src/dataset.ts +19 -7
  118. package/src/index.ts +3 -1
  119. package/src/routes/aiProjectAdmin.ts +10 -8
  120. package/src/routes/aiProjectSelectedWSImages.ts +23 -0
  121. package/src/routes/deleteWSIAnnotation.ts +23 -0
  122. package/src/routes/grin2.ts +42 -0
  123. package/src/routes/samplewsimages.ts +5 -3
  124. package/src/routes/saveWSIAnnotation.ts +24 -0
  125. package/src/routes/termdb.boxplot.ts +23 -1
  126. package/src/routes/termdb.violin.ts +4 -2
  127. package/src/routes/wsimages.ts +2 -1
  128. package/src/termdb.matrix.ts +2 -0
  129. package/src/terms/categorical.ts +3 -2
  130. package/src/terms/condition.ts +25 -8
  131. package/src/terms/date.ts +7 -5
  132. package/src/terms/geneExpression.ts +22 -8
  133. package/src/terms/metaboliteIntensity.ts +13 -3
  134. package/src/terms/numeric.ts +6 -1
  135. package/src/terms/q.ts +60 -1
  136. package/src/terms/samplelst.ts +2 -2
  137. package/src/terms/singleCellCellType.ts +1 -1
  138. package/src/terms/snp.ts +2 -2
  139. package/src/terms/snps.ts +2 -2
  140. package/src/terms/ssGSEA.ts +4 -2
  141. package/src/terms/term.ts +2 -134
  142. package/src/terms/tw.ts +17 -2
  143. package/dist/sampleWsiAiApi.js +0 -11
  144. package/src/routes/sampleWsiAiApi.ts +0 -21
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __toESM,
3
3
  require_lib
4
- } from "./chunk-CNSSF43V.js";
4
+ } from "./chunk-YNHC5SXO.js";
5
5
 
6
6
  // dist/termdb.topVariablyExpressedGenes.ts
7
7
  var import_typia = __toESM(require_lib(), 1);
@@ -45,7 +45,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
45
45
  const $io11 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io12(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
46
46
  const $io12 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
47
47
  const $io13 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io3(input3.filter)) && "string" === typeof input3.color;
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 && $iu5(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 && $io28(elem)));
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 && $iu5(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 && $io29(elem)));
49
49
  const $io15 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io17(input3.bins));
50
50
  const $io16 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
51
51
  const $io17 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu6(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu6(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);
@@ -58,25 +58,26 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
58
58
  return "number" === typeof value;
59
59
  return true;
60
60
  });
61
- const $io20 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
62
- const $io21 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
63
- const $io22 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
61
+ const $io20 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
62
+ const $io21 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
63
+ const $io22 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
64
64
  const $io23 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io19(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
65
- const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io17(input3.bins)) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
66
- 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(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 && $io17(input3.bins));
67
- const $io26 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(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 && $io17(input3.bins));
68
- const $io27 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(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 && $io17(input3.bins));
69
- const $io28 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
70
- const $io29 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io30(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 && $io31(elem)));
71
- const $io30 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
72
- const $io31 = (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;
73
- const $io32 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io33(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io38(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
74
- const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu9(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values));
75
- const $io34 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io9(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
76
- const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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);
77
- const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
78
- const $io37 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io9(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
79
- const $io38 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
65
+ const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io17(input3.bins)) && (void 0 === input3.kind || "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);
66
+ const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io17(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
67
+ const $io26 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(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 && $io17(input3.bins));
68
+ const $io27 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io17(input3.bins));
69
+ const $io28 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io16(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 && $io17(input3.bins));
70
+ const $io29 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
71
+ const $io30 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io31(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 && $io32(elem)));
72
+ const $io31 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
73
+ const $io32 = (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;
74
+ const $io33 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io34(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io39(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
75
+ const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu9(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values));
76
+ const $io35 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io9(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io34(elem)));
77
+ const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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);
78
+ const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
79
+ const $io38 = (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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io9(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io34(elem)));
80
+ const $io39 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
80
81
  const $iu0 = (input3) => (() => {
81
82
  if ("tvslst" === input3.type)
82
83
  return $io3(input3);
@@ -100,9 +101,9 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
100
101
  })();
101
102
  const $iu3 = (input3) => (() => {
102
103
  if ("gene" === input3.kind)
103
- return $io35(input3);
104
- if ("coord" === input3.kind)
105
104
  return $io36(input3);
105
+ if ("coord" === input3.kind)
106
+ return $io37(input3);
106
107
  return false;
107
108
  })();
108
109
  const $iu4 = (input3) => (() => {
@@ -111,25 +112,29 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
111
112
  return (() => {
112
113
  if ($io5(input3))
113
114
  return $io5(input3);
114
- if ($io29(input3))
115
- return $io29(input3);
116
- if ($io32(input3))
117
- return $io32(input3);
115
+ if ($io30(input3))
116
+ return $io30(input3);
117
+ if ($io33(input3))
118
+ return $io33(input3);
118
119
  return false;
119
120
  })();
120
121
  })();
121
122
  const $iu5 = (input3) => (() => {
122
123
  if ("integer" === input3.type || "float" === input3.type)
123
124
  return $io15(input3);
124
- if ("geneExpression" === input3.type)
125
- return $io24(input3);
126
- if ("date" === input3.type)
127
- return $io26(input3);
128
125
  if ("metaboliteIntensity" === input3.type)
129
- return $io25(input3);
130
- if ("ssGSEA" === input3.type)
126
+ return $io26(input3);
127
+ if ("date" === input3.type)
131
128
  return $io27(input3);
132
- return false;
129
+ if ("ssGSEA" === input3.type)
130
+ return $io28(input3);
131
+ return (() => {
132
+ if ($io25(input3))
133
+ return $io25(input3);
134
+ if ($io24(input3))
135
+ return $io24(input3);
136
+ return false;
137
+ })();
133
138
  })();
134
139
  const $iu6 = (input3) => (() => {
135
140
  if ("regular-bin" === input3.type)
@@ -154,9 +159,9 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
154
159
  })();
155
160
  const $iu9 = (input3) => (() => {
156
161
  if ("gene" === input3.kind)
157
- return $io34(input3);
162
+ return $io35(input3);
158
163
  if ("coord" === input3.kind)
159
- return $io37(input3);
164
+ return $io38(input3);
160
165
  return false;
161
166
  })();
162
167
  return "object" === typeof input2 && null !== input2 && $io0(input2);
@@ -570,11 +575,11 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
570
575
  value: input3.isnot
571
576
  }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
572
577
  path: _path2 + ".term",
573
- expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
578
+ expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
574
579
  value: input3.term
575
580
  })) && $vu5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
576
581
  path: _path2 + ".term",
577
- expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
582
+ expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
578
583
  value: input3.term
579
584
  }), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
580
585
  path: _path2 + ".ranges",
@@ -600,7 +605,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
600
605
  path: _path2 + ".values[" + _index10 + "]",
601
606
  expected: "__type.o5",
602
607
  value: elem
603
- })) && $vo28(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
608
+ })) && $vo29(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
604
609
  path: _path2 + ".values[" + _index10 + "]",
605
610
  expected: "__type.o5",
606
611
  value: elem
@@ -821,6 +826,10 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
821
826
  path: _path2 + ".label",
822
827
  expected: "(string | undefined)",
823
828
  value: input3.label
829
+ }), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
830
+ path: _path2 + ".range",
831
+ expected: "(string | undefined)",
832
+ value: input3.range
824
833
  })].every((flag) => flag);
825
834
  const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
826
835
  path: _path2 + ".startunbounded",
@@ -850,6 +859,10 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
850
859
  path: _path2 + ".label",
851
860
  expected: "(string | undefined)",
852
861
  value: input3.label
862
+ }), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
863
+ path: _path2 + ".range",
864
+ expected: "(string | undefined)",
865
+ value: input3.range
853
866
  })].every((flag) => flag);
854
867
  const $vo22 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
855
868
  path: _path2 + ".start",
@@ -875,6 +888,10 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
875
888
  path: _path2 + ".label",
876
889
  expected: "(string | undefined)",
877
890
  value: input3.label
891
+ }), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
892
+ path: _path2 + ".range",
893
+ expected: "(string | undefined)",
894
+ value: input3.range
878
895
  })].every((flag) => flag);
879
896
  const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
880
897
  path: _path2 + ".hiddenValues",
@@ -1011,10 +1028,6 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1011
1028
  path: _path2 + ".unit",
1012
1029
  expected: "(string | undefined)",
1013
1030
  value: input3.unit
1014
- }), "string" === typeof input3.gene || $report(_exceptionable2, {
1015
- path: _path2 + ".gene",
1016
- expected: "string",
1017
- value: input3.gene
1018
1031
  }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1019
1032
  path: _path2 + ".bins",
1020
1033
  expected: "(PresetNumericBins | undefined)",
@@ -1023,6 +1036,14 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1023
1036
  path: _path2 + ".bins",
1024
1037
  expected: "(PresetNumericBins | undefined)",
1025
1038
  value: input3.bins
1039
+ }), void 0 === input3.kind || "gene" === input3.kind || $report(_exceptionable2, {
1040
+ path: _path2 + ".kind",
1041
+ expected: '("gene" | undefined)',
1042
+ value: input3.kind
1043
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
1044
+ path: _path2 + ".gene",
1045
+ expected: "string",
1046
+ value: input3.gene
1026
1047
  }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
1027
1048
  path: _path2 + ".chr",
1028
1049
  expected: "(string | undefined)",
@@ -1044,9 +1065,9 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1044
1065
  path: _path2 + ".name",
1045
1066
  expected: "string",
1046
1067
  value: input3.name
1047
- }), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
1068
+ }), "geneExpression" === input3.type || $report(_exceptionable2, {
1048
1069
  path: _path2 + ".type",
1049
- expected: '"metaboliteIntensity"',
1070
+ expected: '"geneExpression"',
1050
1071
  value: input3.type
1051
1072
  }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1052
1073
  path: _path2 + ".child_types",
@@ -1104,10 +1125,6 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1104
1125
  path: _path2 + ".unit",
1105
1126
  expected: "(string | undefined)",
1106
1127
  value: input3.unit
1107
- }), "string" === typeof input3.metabolite || $report(_exceptionable2, {
1108
- path: _path2 + ".metabolite",
1109
- expected: "string",
1110
- value: input3.metabolite
1111
1128
  }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1112
1129
  path: _path2 + ".bins",
1113
1130
  expected: "(PresetNumericBins | undefined)",
@@ -1116,6 +1133,26 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1116
1133
  path: _path2 + ".bins",
1117
1134
  expected: "(PresetNumericBins | undefined)",
1118
1135
  value: input3.bins
1136
+ }), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
1137
+ path: _path2 + ".kind",
1138
+ expected: '("coord" | undefined)',
1139
+ value: input3.kind
1140
+ }), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
1141
+ path: _path2 + ".gene",
1142
+ expected: "(string | undefined)",
1143
+ value: input3.gene
1144
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
1145
+ path: _path2 + ".chr",
1146
+ expected: "string",
1147
+ value: input3.chr
1148
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
1149
+ path: _path2 + ".start",
1150
+ expected: "number",
1151
+ value: input3.start
1152
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
1153
+ path: _path2 + ".stop",
1154
+ expected: "number",
1155
+ value: input3.stop
1119
1156
  })].every((flag) => flag);
1120
1157
  const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1121
1158
  path: _path2 + ".id",
@@ -1125,9 +1162,9 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1125
1162
  path: _path2 + ".name",
1126
1163
  expected: "string",
1127
1164
  value: input3.name
1128
- }), "date" === input3.type || $report(_exceptionable2, {
1165
+ }), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
1129
1166
  path: _path2 + ".type",
1130
- expected: '"date"',
1167
+ expected: '"metaboliteIntensity"',
1131
1168
  value: input3.type
1132
1169
  }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1133
1170
  path: _path2 + ".child_types",
@@ -1206,9 +1243,9 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1206
1243
  path: _path2 + ".name",
1207
1244
  expected: "string",
1208
1245
  value: input3.name
1209
- }), "ssGSEA" === input3.type || $report(_exceptionable2, {
1246
+ }), "date" === input3.type || $report(_exceptionable2, {
1210
1247
  path: _path2 + ".type",
1211
- expected: '"ssGSEA"',
1248
+ expected: '"date"',
1212
1249
  value: input3.type
1213
1250
  }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1214
1251
  path: _path2 + ".child_types",
@@ -1266,12 +1303,89 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1266
1303
  path: _path2 + ".unit",
1267
1304
  expected: "(string | undefined)",
1268
1305
  value: input3.unit
1306
+ }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1307
+ path: _path2 + ".bins",
1308
+ expected: "(PresetNumericBins | undefined)",
1309
+ value: input3.bins
1310
+ })) && $vo17(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1311
+ path: _path2 + ".bins",
1312
+ expected: "(PresetNumericBins | undefined)",
1313
+ value: input3.bins
1314
+ })].every((flag) => flag);
1315
+ const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1316
+ path: _path2 + ".id",
1317
+ expected: "string",
1318
+ value: input3.id
1319
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1320
+ path: _path2 + ".name",
1321
+ expected: "string",
1322
+ value: input3.name
1323
+ }), "ssGSEA" === input3.type || $report(_exceptionable2, {
1324
+ path: _path2 + ".type",
1325
+ expected: '"ssGSEA"',
1326
+ value: input3.type
1327
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1328
+ path: _path2 + ".child_types",
1329
+ expected: "(Array<string> | undefined)",
1330
+ value: input3.child_types
1331
+ })) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
1332
+ path: _path2 + ".child_types[" + _index22 + "]",
1333
+ expected: "string",
1334
+ value: elem
1335
+ })).every((flag) => flag) || $report(_exceptionable2, {
1336
+ path: _path2 + ".child_types",
1337
+ expected: "(Array<string> | undefined)",
1338
+ value: input3.child_types
1339
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1340
+ path: _path2 + ".hashtmldetail",
1341
+ expected: "(boolean | undefined)",
1342
+ value: input3.hashtmldetail
1343
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1344
+ path: _path2 + ".included_types",
1345
+ expected: "(Array<string> | undefined)",
1346
+ value: input3.included_types
1347
+ })) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
1348
+ path: _path2 + ".included_types[" + _index23 + "]",
1349
+ expected: "string",
1350
+ value: elem
1351
+ })).every((flag) => flag) || $report(_exceptionable2, {
1352
+ path: _path2 + ".included_types",
1353
+ expected: "(Array<string> | undefined)",
1354
+ value: input3.included_types
1355
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1356
+ path: _path2 + ".isleaf",
1357
+ expected: "(boolean | undefined)",
1358
+ value: input3.isleaf
1359
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1360
+ path: _path2 + ".values",
1361
+ expected: "(TermValues | undefined)",
1362
+ value: input3.values
1363
+ })) && $vo7(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1364
+ path: _path2 + ".values",
1365
+ expected: "(TermValues | undefined)",
1366
+ value: input3.values
1367
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1368
+ path: _path2 + ".skipValuesBuild",
1369
+ expected: "(boolean | undefined)",
1370
+ value: input3.skipValuesBuild
1371
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1372
+ path: _path2 + ".continuousColorScale",
1373
+ expected: "(__type.o4 | undefined)",
1374
+ value: input3.continuousColorScale
1375
+ })) && $vo16(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1376
+ path: _path2 + ".continuousColorScale",
1377
+ expected: "(__type.o4 | undefined)",
1378
+ value: input3.continuousColorScale
1379
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1380
+ path: _path2 + ".unit",
1381
+ expected: "(string | undefined)",
1382
+ value: input3.unit
1269
1383
  }), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
1270
1384
  path: _path2 + ".genes",
1271
1385
  expected: "(Array<string> | undefined)",
1272
1386
  value: input3.genes
1273
- })) && input3.genes.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
1274
- path: _path2 + ".genes[" + _index22 + "]",
1387
+ })) && input3.genes.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
1388
+ path: _path2 + ".genes[" + _index24 + "]",
1275
1389
  expected: "string",
1276
1390
  value: elem
1277
1391
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1287,7 +1401,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1287
1401
  expected: "(PresetNumericBins | undefined)",
1288
1402
  value: input3.bins
1289
1403
  })].every((flag) => flag);
1290
- const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1404
+ const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1291
1405
  path: _path2 + ".key",
1292
1406
  expected: "string",
1293
1407
  value: input3.key
@@ -1304,7 +1418,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1304
1418
  expected: "(string | undefined)",
1305
1419
  value: input3.label
1306
1420
  })].every((flag) => flag);
1307
- const $vo29 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1421
+ const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1308
1422
  path: _path2 + ".join",
1309
1423
  expected: "(string | undefined)",
1310
1424
  value: input3.join
@@ -1316,7 +1430,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1316
1430
  path: _path2 + ".term",
1317
1431
  expected: "ConditionTerm",
1318
1432
  value: input3.term
1319
- })) && $vo30(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1433
+ })) && $vo31(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1320
1434
  path: _path2 + ".term",
1321
1435
  expected: "ConditionTerm",
1322
1436
  value: input3.term
@@ -1336,12 +1450,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1336
1450
  path: _path2 + ".grade_and_child",
1337
1451
  expected: "(Array<GradeAndChildEntry> | undefined)",
1338
1452
  value: input3.grade_and_child
1339
- })) && input3.grade_and_child.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1340
- path: _path2 + ".grade_and_child[" + _index23 + "]",
1453
+ })) && input3.grade_and_child.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1454
+ path: _path2 + ".grade_and_child[" + _index25 + "]",
1341
1455
  expected: "GradeAndChildEntry",
1342
1456
  value: elem
1343
- })) && $vo31(elem, _path2 + ".grade_and_child[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
1344
- path: _path2 + ".grade_and_child[" + _index23 + "]",
1457
+ })) && $vo32(elem, _path2 + ".grade_and_child[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
1458
+ path: _path2 + ".grade_and_child[" + _index25 + "]",
1345
1459
  expected: "GradeAndChildEntry",
1346
1460
  value: elem
1347
1461
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1349,7 +1463,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1349
1463
  expected: "(Array<GradeAndChildEntry> | undefined)",
1350
1464
  value: input3.grade_and_child
1351
1465
  })].every((flag) => flag);
1352
- const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1466
+ const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1353
1467
  path: _path2 + ".id",
1354
1468
  expected: "string",
1355
1469
  value: input3.id
@@ -1365,8 +1479,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1365
1479
  path: _path2 + ".child_types",
1366
1480
  expected: "(Array<string> | undefined)",
1367
1481
  value: input3.child_types
1368
- })) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
1369
- path: _path2 + ".child_types[" + _index24 + "]",
1482
+ })) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
1483
+ path: _path2 + ".child_types[" + _index26 + "]",
1370
1484
  expected: "string",
1371
1485
  value: elem
1372
1486
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1381,8 +1495,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1381
1495
  path: _path2 + ".included_types",
1382
1496
  expected: "(Array<string> | undefined)",
1383
1497
  value: input3.included_types
1384
- })) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
1385
- path: _path2 + ".included_types[" + _index25 + "]",
1498
+ })) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
1499
+ path: _path2 + ".included_types[" + _index27 + "]",
1386
1500
  expected: "string",
1387
1501
  value: elem
1388
1502
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1406,7 +1520,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1406
1520
  expected: "(boolean | undefined)",
1407
1521
  value: input3.skipValuesBuild
1408
1522
  })].every((flag) => flag);
1409
- const $vo31 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1523
+ const $vo32 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1410
1524
  path: _path2 + ".grade",
1411
1525
  expected: "number",
1412
1526
  value: input3.grade
@@ -1423,7 +1537,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1423
1537
  expected: "string",
1424
1538
  value: input3.child_label
1425
1539
  })].every((flag) => flag);
1426
- const $vo32 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1540
+ const $vo33 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1427
1541
  path: _path2 + ".join",
1428
1542
  expected: "(string | undefined)",
1429
1543
  value: input3.join
@@ -1435,7 +1549,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1435
1549
  path: _path2 + ".term",
1436
1550
  expected: "DtTerm",
1437
1551
  value: input3.term
1438
- })) && $vo33(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1552
+ })) && $vo34(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1439
1553
  path: _path2 + ".term",
1440
1554
  expected: "DtTerm",
1441
1555
  value: input3.term
@@ -1443,12 +1557,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1443
1557
  path: _path2 + ".values",
1444
1558
  expected: "Array<__type>.o2",
1445
1559
  value: input3.values
1446
- })) && input3.values.map((elem, _index26) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1447
- path: _path2 + ".values[" + _index26 + "]",
1560
+ })) && input3.values.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1561
+ path: _path2 + ".values[" + _index28 + "]",
1448
1562
  expected: "__type.o6",
1449
1563
  value: elem
1450
- })) && $vo38(elem, _path2 + ".values[" + _index26 + "]", _exceptionable2) || $report(_exceptionable2, {
1451
- path: _path2 + ".values[" + _index26 + "]",
1564
+ })) && $vo39(elem, _path2 + ".values[" + _index28 + "]", _exceptionable2) || $report(_exceptionable2, {
1565
+ path: _path2 + ".values[" + _index28 + "]",
1452
1566
  expected: "__type.o6",
1453
1567
  value: elem
1454
1568
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1464,7 +1578,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1464
1578
  expected: "(boolean | undefined)",
1465
1579
  value: input3.excludeGeneName
1466
1580
  })].every((flag) => flag);
1467
- const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1581
+ const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1468
1582
  path: _path2 + ".id",
1469
1583
  expected: "string",
1470
1584
  value: input3.id
@@ -1513,7 +1627,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1513
1627
  expected: "TermValues",
1514
1628
  value: input3.values
1515
1629
  })].every((flag) => flag);
1516
- const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1630
+ const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1517
1631
  path: _path2 + ".id",
1518
1632
  expected: "string",
1519
1633
  value: input3.id
@@ -1529,8 +1643,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1529
1643
  path: _path2 + ".child_types",
1530
1644
  expected: "(Array<string> | undefined)",
1531
1645
  value: input3.child_types
1532
- })) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
1533
- path: _path2 + ".child_types[" + _index27 + "]",
1646
+ })) && input3.child_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
1647
+ path: _path2 + ".child_types[" + _index29 + "]",
1534
1648
  expected: "string",
1535
1649
  value: elem
1536
1650
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1545,8 +1659,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1545
1659
  path: _path2 + ".included_types",
1546
1660
  expected: "(Array<string> | undefined)",
1547
1661
  value: input3.included_types
1548
- })) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
1549
- path: _path2 + ".included_types[" + _index28 + "]",
1662
+ })) && input3.included_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
1663
+ path: _path2 + ".included_types[" + _index30 + "]",
1550
1664
  expected: "string",
1551
1665
  value: elem
1552
1666
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1593,12 +1707,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1593
1707
  path: _path2 + ".genes",
1594
1708
  expected: "Array<GvGeneTerm>",
1595
1709
  value: input3.genes
1596
- })) && input3.genes.map((elem, _index29) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1597
- path: _path2 + ".genes[" + _index29 + "]",
1710
+ })) && input3.genes.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1711
+ path: _path2 + ".genes[" + _index31 + "]",
1598
1712
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1599
1713
  value: elem
1600
- })) && $vu3(elem, _path2 + ".genes[" + _index29 + "]", _exceptionable2) || $report(_exceptionable2, {
1601
- path: _path2 + ".genes[" + _index29 + "]",
1714
+ })) && $vu3(elem, _path2 + ".genes[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
1715
+ path: _path2 + ".genes[" + _index31 + "]",
1602
1716
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1603
1717
  value: elem
1604
1718
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1617,12 +1731,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1617
1731
  path: _path2 + ".childTerms",
1618
1732
  expected: "(Array<DtTerm> | undefined)",
1619
1733
  value: input3.childTerms
1620
- })) && input3.childTerms.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1621
- path: _path2 + ".childTerms[" + _index30 + "]",
1734
+ })) && input3.childTerms.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1735
+ path: _path2 + ".childTerms[" + _index32 + "]",
1622
1736
  expected: "DtTerm",
1623
1737
  value: elem
1624
- })) && $vo33(elem, _path2 + ".childTerms[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
1625
- path: _path2 + ".childTerms[" + _index30 + "]",
1738
+ })) && $vo34(elem, _path2 + ".childTerms[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
1739
+ path: _path2 + ".childTerms[" + _index32 + "]",
1626
1740
  expected: "DtTerm",
1627
1741
  value: elem
1628
1742
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1630,7 +1744,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1630
1744
  expected: "(Array<DtTerm> | undefined)",
1631
1745
  value: input3.childTerms
1632
1746
  })].every((flag) => flag);
1633
- const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1747
+ const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1634
1748
  path: _path2 + ".id",
1635
1749
  expected: "string",
1636
1750
  value: input3.id
@@ -1646,8 +1760,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1646
1760
  path: _path2 + ".child_types",
1647
1761
  expected: "(Array<string> | undefined)",
1648
1762
  value: input3.child_types
1649
- })) && input3.child_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
1650
- path: _path2 + ".child_types[" + _index31 + "]",
1763
+ })) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
1764
+ path: _path2 + ".child_types[" + _index33 + "]",
1651
1765
  expected: "string",
1652
1766
  value: elem
1653
1767
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1662,8 +1776,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1662
1776
  path: _path2 + ".included_types",
1663
1777
  expected: "(Array<string> | undefined)",
1664
1778
  value: input3.included_types
1665
- })) && input3.included_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
1666
- path: _path2 + ".included_types[" + _index32 + "]",
1779
+ })) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
1780
+ path: _path2 + ".included_types[" + _index34 + "]",
1667
1781
  expected: "string",
1668
1782
  value: elem
1669
1783
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1707,7 +1821,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1707
1821
  expected: "(number | undefined)",
1708
1822
  value: input3.stop
1709
1823
  })].every((flag) => flag);
1710
- const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1824
+ const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1711
1825
  path: _path2 + ".id",
1712
1826
  expected: "string",
1713
1827
  value: input3.id
@@ -1723,8 +1837,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1723
1837
  path: _path2 + ".child_types",
1724
1838
  expected: "(Array<string> | undefined)",
1725
1839
  value: input3.child_types
1726
- })) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
1727
- path: _path2 + ".child_types[" + _index33 + "]",
1840
+ })) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
1841
+ path: _path2 + ".child_types[" + _index35 + "]",
1728
1842
  expected: "string",
1729
1843
  value: elem
1730
1844
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1739,8 +1853,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1739
1853
  path: _path2 + ".included_types",
1740
1854
  expected: "(Array<string> | undefined)",
1741
1855
  value: input3.included_types
1742
- })) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
1743
- path: _path2 + ".included_types[" + _index34 + "]",
1856
+ })) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
1857
+ path: _path2 + ".included_types[" + _index36 + "]",
1744
1858
  expected: "string",
1745
1859
  value: elem
1746
1860
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1780,7 +1894,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1780
1894
  expected: "number",
1781
1895
  value: input3.stop
1782
1896
  })].every((flag) => flag);
1783
- const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1897
+ const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1784
1898
  path: _path2 + ".id",
1785
1899
  expected: "string",
1786
1900
  value: input3.id
@@ -1796,8 +1910,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1796
1910
  path: _path2 + ".child_types",
1797
1911
  expected: "(Array<string> | undefined)",
1798
1912
  value: input3.child_types
1799
- })) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
1800
- path: _path2 + ".child_types[" + _index35 + "]",
1913
+ })) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
1914
+ path: _path2 + ".child_types[" + _index37 + "]",
1801
1915
  expected: "string",
1802
1916
  value: elem
1803
1917
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1812,8 +1926,8 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1812
1926
  path: _path2 + ".included_types",
1813
1927
  expected: "(Array<string> | undefined)",
1814
1928
  value: input3.included_types
1815
- })) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
1816
- path: _path2 + ".included_types[" + _index36 + "]",
1929
+ })) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
1930
+ path: _path2 + ".included_types[" + _index38 + "]",
1817
1931
  expected: "string",
1818
1932
  value: elem
1819
1933
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1856,12 +1970,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1856
1970
  path: _path2 + ".genes",
1857
1971
  expected: "Array<GvGeneTerm>",
1858
1972
  value: input3.genes
1859
- })) && input3.genes.map((elem, _index37) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1860
- path: _path2 + ".genes[" + _index37 + "]",
1973
+ })) && input3.genes.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1974
+ path: _path2 + ".genes[" + _index39 + "]",
1861
1975
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1862
1976
  value: elem
1863
- })) && $vu3(elem, _path2 + ".genes[" + _index37 + "]", _exceptionable2) || $report(_exceptionable2, {
1864
- path: _path2 + ".genes[" + _index37 + "]",
1977
+ })) && $vu3(elem, _path2 + ".genes[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
1978
+ path: _path2 + ".genes[" + _index39 + "]",
1865
1979
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1866
1980
  value: elem
1867
1981
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1880,12 +1994,12 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1880
1994
  path: _path2 + ".childTerms",
1881
1995
  expected: "(Array<DtTerm> | undefined)",
1882
1996
  value: input3.childTerms
1883
- })) && input3.childTerms.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1884
- path: _path2 + ".childTerms[" + _index38 + "]",
1997
+ })) && input3.childTerms.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1998
+ path: _path2 + ".childTerms[" + _index40 + "]",
1885
1999
  expected: "DtTerm",
1886
2000
  value: elem
1887
- })) && $vo33(elem, _path2 + ".childTerms[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
1888
- path: _path2 + ".childTerms[" + _index38 + "]",
2001
+ })) && $vo34(elem, _path2 + ".childTerms[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
2002
+ path: _path2 + ".childTerms[" + _index40 + "]",
1889
2003
  expected: "DtTerm",
1890
2004
  value: elem
1891
2005
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1893,7 +2007,7 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1893
2007
  expected: "(Array<DtTerm> | undefined)",
1894
2008
  value: input3.childTerms
1895
2009
  })].every((flag) => flag);
1896
- const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
2010
+ const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1897
2011
  path: _path2 + ".key",
1898
2012
  expected: "string",
1899
2013
  value: input3.key
@@ -1937,9 +2051,9 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1937
2051
  })();
1938
2052
  const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
1939
2053
  if ("gene" === input3.kind)
1940
- return $vo35(input3, _path2, _exceptionable2);
1941
- if ("coord" === input3.kind)
1942
2054
  return $vo36(input3, _path2, _exceptionable2);
2055
+ if ("coord" === input3.kind)
2056
+ return $vo37(input3, _path2, _exceptionable2);
1943
2057
  return $report(_exceptionable2, {
1944
2058
  path: _path2,
1945
2059
  expected: "(BaseTerm & Gene | BaseTerm & Coord)",
@@ -1949,24 +2063,18 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
1949
2063
  const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
1950
2064
  if (void 0 !== input3.ranges)
1951
2065
  return $vo14(input3, _path2, _exceptionable2);
1952
- return $vo5(input3, _path2, false) || $vo29(input3, _path2, false) || $vo32(input3, _path2, false);
2066
+ return $vo5(input3, _path2, false) || $vo30(input3, _path2, false) || $vo33(input3, _path2, false);
1953
2067
  })();
1954
2068
  const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
1955
2069
  if ("integer" === input3.type || "float" === input3.type)
1956
2070
  return $vo15(input3, _path2, _exceptionable2);
1957
- if ("geneExpression" === input3.type)
1958
- return $vo24(input3, _path2, _exceptionable2);
1959
- if ("date" === input3.type)
1960
- return $vo26(input3, _path2, _exceptionable2);
1961
2071
  if ("metaboliteIntensity" === input3.type)
1962
- return $vo25(input3, _path2, _exceptionable2);
1963
- if ("ssGSEA" === input3.type)
2072
+ return $vo26(input3, _path2, _exceptionable2);
2073
+ if ("date" === input3.type)
1964
2074
  return $vo27(input3, _path2, _exceptionable2);
1965
- return $report(_exceptionable2, {
1966
- path: _path2,
1967
- expected: "(NumericDictTerm | GeneExpressionTerm | DateTerm | MetaboliteIntensityTerm | SsGSEATerm)",
1968
- value: input3
1969
- });
2075
+ if ("ssGSEA" === input3.type)
2076
+ return $vo28(input3, _path2, _exceptionable2);
2077
+ return $vo25(input3, _path2, false) || $vo24(input3, _path2, false);
1970
2078
  })();
1971
2079
  const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
1972
2080
  if ("regular-bin" === input3.type)
@@ -2003,9 +2111,9 @@ var validTermdbTopVariablyExpressedGenesRequest = (input) => {
2003
2111
  })();
2004
2112
  const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
2005
2113
  if ("gene" === input3.kind)
2006
- return $vo34(input3, _path2, _exceptionable2);
2114
+ return $vo35(input3, _path2, _exceptionable2);
2007
2115
  if ("coord" === input3.kind)
2008
- return $vo37(input3, _path2, _exceptionable2);
2116
+ return $vo38(input3, _path2, _exceptionable2);
2009
2117
  return $report(_exceptionable2, {
2010
2118
  path: _path2,
2011
2119
  expected: '(BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',