@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.percentile.ts
7
7
  var import_typia = __toESM(require_lib(), 1);
@@ -60,7 +60,7 @@ var validPercentileRequest = (input) => {
60
60
  const __is = (input2) => {
61
61
  const $join = import_typia.createValidate.join;
62
62
  const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && (Array.isArray(input3.getpercentile) && input3.getpercentile.every((elem) => "number" === typeof elem)) && ("object" === typeof input3.term && null !== input3.term && $iu4(input3.term)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io4(input3.filter)) && true;
63
- const $io1 = (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) && $io2(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))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
63
+ const $io1 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(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);
64
64
  const $io2 = (input3) => Object.keys(input3).every((key) => {
65
65
  const value = input3[key];
66
66
  if (void 0 === value)
@@ -94,13 +94,13 @@ var validPercentileRequest = (input) => {
94
94
  return "number" === typeof value;
95
95
  return true;
96
96
  });
97
- const $io19 = (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);
98
- const $io20 = (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);
99
- const $io21 = (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);
97
+ const $io19 = (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);
98
+ const $io20 = (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);
99
+ const $io21 = (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);
100
100
  const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "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);
101
- const $io23 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(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 && $io16(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);
101
+ const $io23 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(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;
102
102
  const $io24 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(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 && $io16(input3.bins));
103
- const $io25 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(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 && $io16(input3.bins));
103
+ const $io25 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
104
104
  const $io26 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(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 && $io16(input3.bins));
105
105
  const $io27 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
106
106
  const $io28 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io29(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 && $io30(elem)));
@@ -113,12 +113,12 @@ var validPercentileRequest = (input) => {
113
113
  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) && $io2(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;
114
114
  const $io36 = (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) && $io2(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 && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
115
115
  const $io37 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
116
- 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) && $io2(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))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
117
- const $io39 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(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 && $io16(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);
116
+ 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) && $io2(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))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
117
+ const $io39 = (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) && $io2(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))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
118
118
  const $io40 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(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 && $io16(input3.bins));
119
119
  const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting));
120
120
  const $io42 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
121
- const $io43 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(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 && $io16(input3.bins));
121
+ const $io43 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
122
122
  const $io44 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(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 && $io16(input3.bins));
123
123
  const $io45 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
124
124
  const $io46 = (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) && $io2(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io47(elem)));
@@ -167,25 +167,27 @@ var validPercentileRequest = (input) => {
167
167
  return false;
168
168
  })();
169
169
  const $iu4 = (input3) => (() => {
170
- if ("gene" === input3.kind)
171
- return $io1(input3);
172
- if ("coord" === input3.kind)
173
- return $io38(input3);
174
- if ("geneExpression" === input3.type)
175
- return $io39(input3);
176
170
  if ("metaboliteIntensity" === input3.type)
177
171
  return $io40(input3);
178
172
  if ("categorical" === input3.type)
179
173
  return $io41(input3);
180
- if ("integer" === input3.type || "float" === input3.type)
181
- return $io42(input3);
182
174
  if ("date" === input3.type)
183
175
  return $io43(input3);
176
+ if ("integer" === input3.type || "float" === input3.type)
177
+ return $io42(input3);
184
178
  if ("ssGSEA" === input3.type)
185
179
  return $io44(input3);
186
180
  if ("condition" === input3.type)
187
181
  return $io45(input3);
188
182
  return (() => {
183
+ if ($io23(input3))
184
+ return $io23(input3);
185
+ if ($io1(input3))
186
+ return $io1(input3);
187
+ if ($io38(input3))
188
+ return $io38(input3);
189
+ if ($io39(input3))
190
+ return $io39(input3);
189
191
  if ($io46(input3))
190
192
  return $io46(input3);
191
193
  if ($io50(input3))
@@ -209,15 +211,19 @@ var validPercentileRequest = (input) => {
209
211
  const $iu6 = (input3) => (() => {
210
212
  if ("integer" === input3.type || "float" === input3.type)
211
213
  return $io14(input3);
212
- if ("geneExpression" === input3.type)
213
- return $io23(input3);
214
- if ("date" === input3.type)
215
- return $io25(input3);
216
214
  if ("metaboliteIntensity" === input3.type)
217
215
  return $io24(input3);
216
+ if ("date" === input3.type)
217
+ return $io25(input3);
218
218
  if ("ssGSEA" === input3.type)
219
219
  return $io26(input3);
220
- return false;
220
+ return (() => {
221
+ if ($io23(input3))
222
+ return $io23(input3);
223
+ if ($io1(input3))
224
+ return $io1(input3);
225
+ return false;
226
+ })();
221
227
  })();
222
228
  const $iu7 = (input3) => (() => {
223
229
  if ("regular-bin" === input3.type)
@@ -279,11 +285,11 @@ var validPercentileRequest = (input) => {
279
285
  value: input3.getpercentile
280
286
  }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
281
287
  path: _path2 + ".term",
282
- expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { gene: string; name: string; type: "geneExpression"; bins?: PresetNumericBins | undefined; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { genes?: string[] | undefined; name?: string | undefined; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name?: string | undefined; type: "date"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name?: string | undefined; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
288
+ expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { genes?: string[] | undefined; name?: string | undefined; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name: string; type: "date"; bins?: PresetNumericBins | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name: string; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | 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 | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
283
289
  value: input3.term
284
290
  })) && $vu4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
285
291
  path: _path2 + ".term",
286
- expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { gene: string; name: string; type: "geneExpression"; bins?: PresetNumericBins | undefined; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { genes?: string[] | undefined; name?: string | undefined; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name?: string | undefined; type: "date"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name?: string | undefined; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
292
+ expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { genes?: string[] | undefined; name?: string | undefined; type: "ssGSEA"; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; type: "integer" | "float"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name: string; type: "date"; bins?: PresetNumericBins | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { name: string; type: "metaboliteIntensity"; metabolite: string; bins?: PresetNumericBins | undefined; unit?: string | undefined; } | 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 | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
287
293
  value: input3.term
288
294
  }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
289
295
  path: _path2 + ".filter",
@@ -302,9 +308,9 @@ var validPercentileRequest = (input) => {
302
308
  path: _path2 + ".name",
303
309
  expected: "string",
304
310
  value: input3.name
305
- }), "geneVariant" === input3.type || $report(_exceptionable2, {
311
+ }), "geneExpression" === input3.type || $report(_exceptionable2, {
306
312
  path: _path2 + ".type",
307
- expected: '"geneVariant"',
313
+ expected: '"geneExpression"',
308
314
  value: input3.type
309
315
  }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
310
316
  path: _path2 + ".child_types",
@@ -350,9 +356,29 @@ var validPercentileRequest = (input) => {
350
356
  path: _path2 + ".skipValuesBuild",
351
357
  expected: "(boolean | undefined)",
352
358
  value: input3.skipValuesBuild
353
- }), "gene" === input3.kind || $report(_exceptionable2, {
359
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
360
+ path: _path2 + ".continuousColorScale",
361
+ expected: "(__type.o2 | undefined)",
362
+ value: input3.continuousColorScale
363
+ })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
364
+ path: _path2 + ".continuousColorScale",
365
+ expected: "(__type.o2 | undefined)",
366
+ value: input3.continuousColorScale
367
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
368
+ path: _path2 + ".unit",
369
+ expected: "(string | undefined)",
370
+ value: input3.unit
371
+ }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
372
+ path: _path2 + ".bins",
373
+ expected: "(PresetNumericBins | undefined)",
374
+ value: input3.bins
375
+ })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
376
+ path: _path2 + ".bins",
377
+ expected: "(PresetNumericBins | undefined)",
378
+ value: input3.bins
379
+ }), void 0 === input3.kind || "gene" === input3.kind || $report(_exceptionable2, {
354
380
  path: _path2 + ".kind",
355
- expected: '"gene"',
381
+ expected: '("gene" | undefined)',
356
382
  value: input3.kind
357
383
  }), "string" === typeof input3.gene || $report(_exceptionable2, {
358
384
  path: _path2 + ".gene",
@@ -370,46 +396,6 @@ var validPercentileRequest = (input) => {
370
396
  path: _path2 + ".stop",
371
397
  expected: "(number | undefined)",
372
398
  value: input3.stop
373
- }), (Array.isArray(input3.genes) || $report(_exceptionable2, {
374
- path: _path2 + ".genes",
375
- expected: "Array<GvGeneTerm>",
376
- value: input3.genes
377
- })) && input3.genes.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
378
- path: _path2 + ".genes[" + _index4 + "]",
379
- expected: "(BaseTerm & Coord | BaseTerm & Gene)",
380
- value: elem
381
- })) && $vu3(elem, _path2 + ".genes[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
382
- path: _path2 + ".genes[" + _index4 + "]",
383
- expected: "(BaseTerm & Coord | BaseTerm & Gene)",
384
- value: elem
385
- })).every((flag) => flag) || $report(_exceptionable2, {
386
- path: _path2 + ".genes",
387
- expected: "Array<GvGeneTerm>",
388
- value: input3.genes
389
- }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
390
- path: _path2 + ".groupsetting",
391
- expected: "TermGroupSetting",
392
- value: input3.groupsetting
393
- })) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
394
- path: _path2 + ".groupsetting",
395
- expected: "TermGroupSetting",
396
- value: input3.groupsetting
397
- }), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
398
- path: _path2 + ".childTerms",
399
- expected: "Array<DtTerm>",
400
- value: input3.childTerms
401
- })) && input3.childTerms.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
402
- path: _path2 + ".childTerms[" + _index5 + "]",
403
- expected: "DtTerm",
404
- value: elem
405
- })) && $vo32(elem, _path2 + ".childTerms[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
406
- path: _path2 + ".childTerms[" + _index5 + "]",
407
- expected: "DtTerm",
408
- value: elem
409
- })).every((flag) => flag) || $report(_exceptionable2, {
410
- path: _path2 + ".childTerms",
411
- expected: "Array<DtTerm>",
412
- value: input3.childTerms
413
399
  })].every((flag) => flag);
414
400
  const $vo2 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
415
401
  const value = input3[key];
@@ -490,12 +476,12 @@ var validPercentileRequest = (input) => {
490
476
  path: _path2 + ".lst",
491
477
  expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
492
478
  value: input3.lst
493
- })) && input3.lst.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
494
- path: _path2 + ".lst[" + _index6 + "]",
479
+ })) && input3.lst.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
480
+ path: _path2 + ".lst[" + _index4 + "]",
495
481
  expected: "(Filter | __type)",
496
482
  value: elem
497
- })) && $vu0(elem, _path2 + ".lst[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
498
- path: _path2 + ".lst[" + _index6 + "]",
483
+ })) && $vu0(elem, _path2 + ".lst[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
484
+ path: _path2 + ".lst[" + _index4 + "]",
499
485
  expected: "(Filter | __type)",
500
486
  value: elem
501
487
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -540,12 +526,12 @@ var validPercentileRequest = (input) => {
540
526
  path: _path2 + ".values",
541
527
  expected: "Array<BaseValue>",
542
528
  value: input3.values
543
- })) && input3.values.map((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
544
- path: _path2 + ".values[" + _index7 + "]",
529
+ })) && input3.values.map((elem, _index5) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
530
+ path: _path2 + ".values[" + _index5 + "]",
545
531
  expected: "BaseValue",
546
532
  value: elem
547
- })) && $vo3(elem, _path2 + ".values[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
548
- path: _path2 + ".values[" + _index7 + "]",
533
+ })) && $vo3(elem, _path2 + ".values[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
534
+ path: _path2 + ".values[" + _index5 + "]",
549
535
  expected: "BaseValue",
550
536
  value: elem
551
537
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -569,8 +555,8 @@ var validPercentileRequest = (input) => {
569
555
  path: _path2 + ".child_types",
570
556
  expected: "(Array<string> | undefined)",
571
557
  value: input3.child_types
572
- })) && input3.child_types.map((elem, _index8) => "string" === typeof elem || $report(_exceptionable2, {
573
- path: _path2 + ".child_types[" + _index8 + "]",
558
+ })) && input3.child_types.map((elem, _index6) => "string" === typeof elem || $report(_exceptionable2, {
559
+ path: _path2 + ".child_types[" + _index6 + "]",
574
560
  expected: "string",
575
561
  value: elem
576
562
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -585,8 +571,8 @@ var validPercentileRequest = (input) => {
585
571
  path: _path2 + ".included_types",
586
572
  expected: "(Array<string> | undefined)",
587
573
  value: input3.included_types
588
- })) && input3.included_types.map((elem, _index9) => "string" === typeof elem || $report(_exceptionable2, {
589
- path: _path2 + ".included_types[" + _index9 + "]",
574
+ })) && input3.included_types.map((elem, _index7) => "string" === typeof elem || $report(_exceptionable2, {
575
+ path: _path2 + ".included_types[" + _index7 + "]",
590
576
  expected: "string",
591
577
  value: elem
592
578
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -626,12 +612,12 @@ var validPercentileRequest = (input) => {
626
612
  path: _path2 + ".lst",
627
613
  expected: "(Array<Groupset> | undefined)",
628
614
  value: input3.lst
629
- })) && input3.lst.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
630
- path: _path2 + ".lst[" + _index10 + "]",
615
+ })) && input3.lst.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
616
+ path: _path2 + ".lst[" + _index8 + "]",
631
617
  expected: "Groupset",
632
618
  value: elem
633
- })) && $vo9(elem, _path2 + ".lst[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
634
- path: _path2 + ".lst[" + _index10 + "]",
619
+ })) && $vo9(elem, _path2 + ".lst[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
620
+ path: _path2 + ".lst[" + _index8 + "]",
635
621
  expected: "Groupset",
636
622
  value: elem
637
623
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -659,12 +645,12 @@ var validPercentileRequest = (input) => {
659
645
  path: _path2 + ".groups",
660
646
  expected: "Array<GroupEntry>",
661
647
  value: input3.groups
662
- })) && input3.groups.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
663
- path: _path2 + ".groups[" + _index11 + "]",
648
+ })) && input3.groups.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
649
+ path: _path2 + ".groups[" + _index9 + "]",
664
650
  expected: "(FilterGroup | ValuesGroup)",
665
651
  value: elem
666
- })) && $vu1(elem, _path2 + ".groups[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
667
- path: _path2 + ".groups[" + _index11 + "]",
652
+ })) && $vu1(elem, _path2 + ".groups[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
653
+ path: _path2 + ".groups[" + _index9 + "]",
668
654
  expected: "(FilterGroup | ValuesGroup)",
669
655
  value: elem
670
656
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -684,12 +670,12 @@ var validPercentileRequest = (input) => {
684
670
  path: _path2 + ".values",
685
671
  expected: "Array<__type>",
686
672
  value: input3.values
687
- })) && input3.values.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
688
- path: _path2 + ".values[" + _index12 + "]",
673
+ })) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
674
+ path: _path2 + ".values[" + _index10 + "]",
689
675
  expected: "__type.o1",
690
676
  value: elem
691
- })) && $vo11(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
692
- path: _path2 + ".values[" + _index12 + "]",
677
+ })) && $vo11(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
678
+ path: _path2 + ".values[" + _index10 + "]",
693
679
  expected: "__type.o1",
694
680
  value: elem
695
681
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -741,22 +727,22 @@ var validPercentileRequest = (input) => {
741
727
  value: input3.isnot
742
728
  }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
743
729
  path: _path2 + ".term",
744
- expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
730
+ 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)',
745
731
  value: input3.term
746
732
  })) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
747
733
  path: _path2 + ".term",
748
- expected: "(DateTerm | GeneExpressionTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)",
734
+ 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)',
749
735
  value: input3.term
750
736
  }), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
751
737
  path: _path2 + ".ranges",
752
738
  expected: "Array<NumericBin>",
753
739
  value: input3.ranges
754
- })) && input3.ranges.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
755
- path: _path2 + ".ranges[" + _index13 + "]",
740
+ })) && input3.ranges.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
741
+ path: _path2 + ".ranges[" + _index11 + "]",
756
742
  expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
757
743
  value: elem
758
- })) && $vu2(elem, _path2 + ".ranges[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
759
- path: _path2 + ".ranges[" + _index13 + "]",
744
+ })) && $vu2(elem, _path2 + ".ranges[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
745
+ path: _path2 + ".ranges[" + _index11 + "]",
760
746
  expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
761
747
  value: elem
762
748
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -767,12 +753,12 @@ var validPercentileRequest = (input) => {
767
753
  path: _path2 + ".values",
768
754
  expected: "Array<__type>.o1",
769
755
  value: input3.values
770
- })) && input3.values.map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
771
- path: _path2 + ".values[" + _index14 + "]",
756
+ })) && input3.values.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
757
+ path: _path2 + ".values[" + _index12 + "]",
772
758
  expected: "__type.o3",
773
759
  value: elem
774
- })) && $vo27(elem, _path2 + ".values[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
775
- path: _path2 + ".values[" + _index14 + "]",
760
+ })) && $vo27(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
761
+ path: _path2 + ".values[" + _index12 + "]",
776
762
  expected: "__type.o3",
777
763
  value: elem
778
764
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -796,8 +782,8 @@ var validPercentileRequest = (input) => {
796
782
  path: _path2 + ".child_types",
797
783
  expected: "(Array<string> | undefined)",
798
784
  value: input3.child_types
799
- })) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
800
- path: _path2 + ".child_types[" + _index15 + "]",
785
+ })) && input3.child_types.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable2, {
786
+ path: _path2 + ".child_types[" + _index13 + "]",
801
787
  expected: "string",
802
788
  value: elem
803
789
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -812,8 +798,8 @@ var validPercentileRequest = (input) => {
812
798
  path: _path2 + ".included_types",
813
799
  expected: "(Array<string> | undefined)",
814
800
  value: input3.included_types
815
- })) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
816
- path: _path2 + ".included_types[" + _index16 + "]",
801
+ })) && input3.included_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
802
+ path: _path2 + ".included_types[" + _index14 + "]",
817
803
  expected: "string",
818
804
  value: elem
819
805
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -992,6 +978,10 @@ var validPercentileRequest = (input) => {
992
978
  path: _path2 + ".label",
993
979
  expected: "(string | undefined)",
994
980
  value: input3.label
981
+ }), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
982
+ path: _path2 + ".range",
983
+ expected: "(string | undefined)",
984
+ value: input3.range
995
985
  })].every((flag) => flag);
996
986
  const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
997
987
  path: _path2 + ".startunbounded",
@@ -1021,6 +1011,10 @@ var validPercentileRequest = (input) => {
1021
1011
  path: _path2 + ".label",
1022
1012
  expected: "(string | undefined)",
1023
1013
  value: input3.label
1014
+ }), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
1015
+ path: _path2 + ".range",
1016
+ expected: "(string | undefined)",
1017
+ value: input3.range
1024
1018
  })].every((flag) => flag);
1025
1019
  const $vo21 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
1026
1020
  path: _path2 + ".start",
@@ -1046,6 +1040,10 @@ var validPercentileRequest = (input) => {
1046
1040
  path: _path2 + ".label",
1047
1041
  expected: "(string | undefined)",
1048
1042
  value: input3.label
1043
+ }), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
1044
+ path: _path2 + ".range",
1045
+ expected: "(string | undefined)",
1046
+ value: input3.range
1049
1047
  })].every((flag) => flag);
1050
1048
  const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1051
1049
  path: _path2 + ".hiddenValues",
@@ -1093,12 +1091,12 @@ var validPercentileRequest = (input) => {
1093
1091
  path: _path2 + ".lst",
1094
1092
  expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1095
1093
  value: input3.lst.slice(1)
1096
- })) && input3.lst.slice(1).map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1097
- path: _path2 + ".lst[" + (1 + _index17) + "]",
1094
+ })) && input3.lst.slice(1).map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1095
+ path: _path2 + ".lst[" + (1 + _index15) + "]",
1098
1096
  expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1099
1097
  value: elem
1100
- })) && $vu2(elem, _path2 + ".lst[" + (1 + _index17) + "]", _exceptionable2) || $report(_exceptionable2, {
1101
- path: _path2 + ".lst[" + (1 + _index17) + "]",
1098
+ })) && $vu2(elem, _path2 + ".lst[" + (1 + _index15) + "]", _exceptionable2) || $report(_exceptionable2, {
1099
+ path: _path2 + ".lst[" + (1 + _index15) + "]",
1102
1100
  expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1103
1101
  value: elem
1104
1102
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1130,8 +1128,8 @@ var validPercentileRequest = (input) => {
1130
1128
  path: _path2 + ".child_types",
1131
1129
  expected: "(Array<string> | undefined)",
1132
1130
  value: input3.child_types
1133
- })) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
1134
- path: _path2 + ".child_types[" + _index18 + "]",
1131
+ })) && input3.child_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
1132
+ path: _path2 + ".child_types[" + _index16 + "]",
1135
1133
  expected: "string",
1136
1134
  value: elem
1137
1135
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1146,8 +1144,8 @@ var validPercentileRequest = (input) => {
1146
1144
  path: _path2 + ".included_types",
1147
1145
  expected: "(Array<string> | undefined)",
1148
1146
  value: input3.included_types
1149
- })) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
1150
- path: _path2 + ".included_types[" + _index19 + "]",
1147
+ })) && input3.included_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
1148
+ path: _path2 + ".included_types[" + _index17 + "]",
1151
1149
  expected: "string",
1152
1150
  value: elem
1153
1151
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1182,10 +1180,6 @@ var validPercentileRequest = (input) => {
1182
1180
  path: _path2 + ".unit",
1183
1181
  expected: "(string | undefined)",
1184
1182
  value: input3.unit
1185
- }), "string" === typeof input3.gene || $report(_exceptionable2, {
1186
- path: _path2 + ".gene",
1187
- expected: "string",
1188
- value: input3.gene
1189
1183
  }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1190
1184
  path: _path2 + ".bins",
1191
1185
  expected: "(PresetNumericBins | undefined)",
@@ -1194,17 +1188,25 @@ var validPercentileRequest = (input) => {
1194
1188
  path: _path2 + ".bins",
1195
1189
  expected: "(PresetNumericBins | undefined)",
1196
1190
  value: input3.bins
1197
- }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
1198
- path: _path2 + ".chr",
1191
+ }), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
1192
+ path: _path2 + ".kind",
1193
+ expected: '("coord" | undefined)',
1194
+ value: input3.kind
1195
+ }), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
1196
+ path: _path2 + ".gene",
1199
1197
  expected: "(string | undefined)",
1198
+ value: input3.gene
1199
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
1200
+ path: _path2 + ".chr",
1201
+ expected: "string",
1200
1202
  value: input3.chr
1201
- }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
1203
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
1202
1204
  path: _path2 + ".start",
1203
- expected: "(number | undefined)",
1205
+ expected: "number",
1204
1206
  value: input3.start
1205
- }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
1207
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
1206
1208
  path: _path2 + ".stop",
1207
- expected: "(number | undefined)",
1209
+ expected: "number",
1208
1210
  value: input3.stop
1209
1211
  })].every((flag) => flag);
1210
1212
  const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
@@ -1223,8 +1225,8 @@ var validPercentileRequest = (input) => {
1223
1225
  path: _path2 + ".child_types",
1224
1226
  expected: "(Array<string> | undefined)",
1225
1227
  value: input3.child_types
1226
- })) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
1227
- path: _path2 + ".child_types[" + _index20 + "]",
1228
+ })) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
1229
+ path: _path2 + ".child_types[" + _index18 + "]",
1228
1230
  expected: "string",
1229
1231
  value: elem
1230
1232
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1239,8 +1241,8 @@ var validPercentileRequest = (input) => {
1239
1241
  path: _path2 + ".included_types",
1240
1242
  expected: "(Array<string> | undefined)",
1241
1243
  value: input3.included_types
1242
- })) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
1243
- path: _path2 + ".included_types[" + _index21 + "]",
1244
+ })) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
1245
+ path: _path2 + ".included_types[" + _index19 + "]",
1244
1246
  expected: "string",
1245
1247
  value: elem
1246
1248
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1304,8 +1306,8 @@ var validPercentileRequest = (input) => {
1304
1306
  path: _path2 + ".child_types",
1305
1307
  expected: "(Array<string> | undefined)",
1306
1308
  value: input3.child_types
1307
- })) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
1308
- path: _path2 + ".child_types[" + _index22 + "]",
1309
+ })) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
1310
+ path: _path2 + ".child_types[" + _index20 + "]",
1309
1311
  expected: "string",
1310
1312
  value: elem
1311
1313
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1320,8 +1322,8 @@ var validPercentileRequest = (input) => {
1320
1322
  path: _path2 + ".included_types",
1321
1323
  expected: "(Array<string> | undefined)",
1322
1324
  value: input3.included_types
1323
- })) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
1324
- path: _path2 + ".included_types[" + _index23 + "]",
1325
+ })) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
1326
+ path: _path2 + ".included_types[" + _index21 + "]",
1325
1327
  expected: "string",
1326
1328
  value: elem
1327
1329
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1356,10 +1358,6 @@ var validPercentileRequest = (input) => {
1356
1358
  path: _path2 + ".unit",
1357
1359
  expected: "(string | undefined)",
1358
1360
  value: input3.unit
1359
- }), "string" === typeof input3.metabolite || $report(_exceptionable2, {
1360
- path: _path2 + ".metabolite",
1361
- expected: "string",
1362
- value: input3.metabolite
1363
1361
  }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1364
1362
  path: _path2 + ".bins",
1365
1363
  expected: "(PresetNumericBins | undefined)",
@@ -1385,8 +1383,8 @@ var validPercentileRequest = (input) => {
1385
1383
  path: _path2 + ".child_types",
1386
1384
  expected: "(Array<string> | undefined)",
1387
1385
  value: input3.child_types
1388
- })) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
1389
- path: _path2 + ".child_types[" + _index24 + "]",
1386
+ })) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
1387
+ path: _path2 + ".child_types[" + _index22 + "]",
1390
1388
  expected: "string",
1391
1389
  value: elem
1392
1390
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1401,8 +1399,8 @@ var validPercentileRequest = (input) => {
1401
1399
  path: _path2 + ".included_types",
1402
1400
  expected: "(Array<string> | undefined)",
1403
1401
  value: input3.included_types
1404
- })) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
1405
- path: _path2 + ".included_types[" + _index25 + "]",
1402
+ })) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
1403
+ path: _path2 + ".included_types[" + _index23 + "]",
1406
1404
  expected: "string",
1407
1405
  value: elem
1408
1406
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1441,8 +1439,8 @@ var validPercentileRequest = (input) => {
1441
1439
  path: _path2 + ".genes",
1442
1440
  expected: "(Array<string> | undefined)",
1443
1441
  value: input3.genes
1444
- })) && input3.genes.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
1445
- path: _path2 + ".genes[" + _index26 + "]",
1442
+ })) && input3.genes.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
1443
+ path: _path2 + ".genes[" + _index24 + "]",
1446
1444
  expected: "string",
1447
1445
  value: elem
1448
1446
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1507,12 +1505,12 @@ var validPercentileRequest = (input) => {
1507
1505
  path: _path2 + ".grade_and_child",
1508
1506
  expected: "(Array<GradeAndChildEntry> | undefined)",
1509
1507
  value: input3.grade_and_child
1510
- })) && input3.grade_and_child.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1511
- path: _path2 + ".grade_and_child[" + _index27 + "]",
1508
+ })) && input3.grade_and_child.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1509
+ path: _path2 + ".grade_and_child[" + _index25 + "]",
1512
1510
  expected: "GradeAndChildEntry",
1513
1511
  value: elem
1514
- })) && $vo30(elem, _path2 + ".grade_and_child[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
1515
- path: _path2 + ".grade_and_child[" + _index27 + "]",
1512
+ })) && $vo30(elem, _path2 + ".grade_and_child[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
1513
+ path: _path2 + ".grade_and_child[" + _index25 + "]",
1516
1514
  expected: "GradeAndChildEntry",
1517
1515
  value: elem
1518
1516
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1536,8 +1534,8 @@ var validPercentileRequest = (input) => {
1536
1534
  path: _path2 + ".child_types",
1537
1535
  expected: "(Array<string> | undefined)",
1538
1536
  value: input3.child_types
1539
- })) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
1540
- path: _path2 + ".child_types[" + _index28 + "]",
1537
+ })) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
1538
+ path: _path2 + ".child_types[" + _index26 + "]",
1541
1539
  expected: "string",
1542
1540
  value: elem
1543
1541
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1552,8 +1550,8 @@ var validPercentileRequest = (input) => {
1552
1550
  path: _path2 + ".included_types",
1553
1551
  expected: "(Array<string> | undefined)",
1554
1552
  value: input3.included_types
1555
- })) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
1556
- path: _path2 + ".included_types[" + _index29 + "]",
1553
+ })) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
1554
+ path: _path2 + ".included_types[" + _index27 + "]",
1557
1555
  expected: "string",
1558
1556
  value: elem
1559
1557
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1614,12 +1612,12 @@ var validPercentileRequest = (input) => {
1614
1612
  path: _path2 + ".values",
1615
1613
  expected: "Array<__type>.o2",
1616
1614
  value: input3.values
1617
- })) && input3.values.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1618
- path: _path2 + ".values[" + _index30 + "]",
1615
+ })) && input3.values.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1616
+ path: _path2 + ".values[" + _index28 + "]",
1619
1617
  expected: "__type.o4",
1620
1618
  value: elem
1621
- })) && $vo37(elem, _path2 + ".values[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
1622
- path: _path2 + ".values[" + _index30 + "]",
1619
+ })) && $vo37(elem, _path2 + ".values[" + _index28 + "]", _exceptionable2) || $report(_exceptionable2, {
1620
+ path: _path2 + ".values[" + _index28 + "]",
1623
1621
  expected: "__type.o4",
1624
1622
  value: elem
1625
1623
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1700,8 +1698,8 @@ var validPercentileRequest = (input) => {
1700
1698
  path: _path2 + ".child_types",
1701
1699
  expected: "(Array<string> | undefined)",
1702
1700
  value: input3.child_types
1703
- })) && input3.child_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
1704
- path: _path2 + ".child_types[" + _index31 + "]",
1701
+ })) && input3.child_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
1702
+ path: _path2 + ".child_types[" + _index29 + "]",
1705
1703
  expected: "string",
1706
1704
  value: elem
1707
1705
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1716,8 +1714,8 @@ var validPercentileRequest = (input) => {
1716
1714
  path: _path2 + ".included_types",
1717
1715
  expected: "(Array<string> | undefined)",
1718
1716
  value: input3.included_types
1719
- })) && input3.included_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
1720
- path: _path2 + ".included_types[" + _index32 + "]",
1717
+ })) && input3.included_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
1718
+ path: _path2 + ".included_types[" + _index30 + "]",
1721
1719
  expected: "string",
1722
1720
  value: elem
1723
1721
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1764,12 +1762,12 @@ var validPercentileRequest = (input) => {
1764
1762
  path: _path2 + ".genes",
1765
1763
  expected: "Array<GvGeneTerm>",
1766
1764
  value: input3.genes
1767
- })) && input3.genes.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1768
- path: _path2 + ".genes[" + _index33 + "]",
1765
+ })) && input3.genes.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1766
+ path: _path2 + ".genes[" + _index31 + "]",
1769
1767
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1770
1768
  value: elem
1771
- })) && $vu3(elem, _path2 + ".genes[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
1772
- path: _path2 + ".genes[" + _index33 + "]",
1769
+ })) && $vu3(elem, _path2 + ".genes[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
1770
+ path: _path2 + ".genes[" + _index31 + "]",
1773
1771
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1774
1772
  value: elem
1775
1773
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1788,12 +1786,12 @@ var validPercentileRequest = (input) => {
1788
1786
  path: _path2 + ".childTerms",
1789
1787
  expected: "(Array<DtTerm> | undefined)",
1790
1788
  value: input3.childTerms
1791
- })) && input3.childTerms.map((elem, _index34) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1792
- path: _path2 + ".childTerms[" + _index34 + "]",
1789
+ })) && input3.childTerms.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1790
+ path: _path2 + ".childTerms[" + _index32 + "]",
1793
1791
  expected: "DtTerm",
1794
1792
  value: elem
1795
- })) && $vo32(elem, _path2 + ".childTerms[" + _index34 + "]", _exceptionable2) || $report(_exceptionable2, {
1796
- path: _path2 + ".childTerms[" + _index34 + "]",
1793
+ })) && $vo32(elem, _path2 + ".childTerms[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
1794
+ path: _path2 + ".childTerms[" + _index32 + "]",
1797
1795
  expected: "DtTerm",
1798
1796
  value: elem
1799
1797
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1817,8 +1815,8 @@ var validPercentileRequest = (input) => {
1817
1815
  path: _path2 + ".child_types",
1818
1816
  expected: "(Array<string> | undefined)",
1819
1817
  value: input3.child_types
1820
- })) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
1821
- path: _path2 + ".child_types[" + _index35 + "]",
1818
+ })) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
1819
+ path: _path2 + ".child_types[" + _index33 + "]",
1822
1820
  expected: "string",
1823
1821
  value: elem
1824
1822
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1833,8 +1831,8 @@ var validPercentileRequest = (input) => {
1833
1831
  path: _path2 + ".included_types",
1834
1832
  expected: "(Array<string> | undefined)",
1835
1833
  value: input3.included_types
1836
- })) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
1837
- path: _path2 + ".included_types[" + _index36 + "]",
1834
+ })) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
1835
+ path: _path2 + ".included_types[" + _index34 + "]",
1838
1836
  expected: "string",
1839
1837
  value: elem
1840
1838
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1894,8 +1892,8 @@ var validPercentileRequest = (input) => {
1894
1892
  path: _path2 + ".child_types",
1895
1893
  expected: "(Array<string> | undefined)",
1896
1894
  value: input3.child_types
1897
- })) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
1898
- path: _path2 + ".child_types[" + _index37 + "]",
1895
+ })) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
1896
+ path: _path2 + ".child_types[" + _index35 + "]",
1899
1897
  expected: "string",
1900
1898
  value: elem
1901
1899
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1910,8 +1908,8 @@ var validPercentileRequest = (input) => {
1910
1908
  path: _path2 + ".included_types",
1911
1909
  expected: "(Array<string> | undefined)",
1912
1910
  value: input3.included_types
1913
- })) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
1914
- path: _path2 + ".included_types[" + _index38 + "]",
1911
+ })) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
1912
+ path: _path2 + ".included_types[" + _index36 + "]",
1915
1913
  expected: "string",
1916
1914
  value: elem
1917
1915
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1967,8 +1965,8 @@ var validPercentileRequest = (input) => {
1967
1965
  path: _path2 + ".child_types",
1968
1966
  expected: "(Array<string> | undefined)",
1969
1967
  value: input3.child_types
1970
- })) && input3.child_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
1971
- path: _path2 + ".child_types[" + _index39 + "]",
1968
+ })) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
1969
+ path: _path2 + ".child_types[" + _index37 + "]",
1972
1970
  expected: "string",
1973
1971
  value: elem
1974
1972
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1983,8 +1981,8 @@ var validPercentileRequest = (input) => {
1983
1981
  path: _path2 + ".included_types",
1984
1982
  expected: "(Array<string> | undefined)",
1985
1983
  value: input3.included_types
1986
- })) && input3.included_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
1987
- path: _path2 + ".included_types[" + _index40 + "]",
1984
+ })) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
1985
+ path: _path2 + ".included_types[" + _index38 + "]",
1988
1986
  expected: "string",
1989
1987
  value: elem
1990
1988
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2027,12 +2025,12 @@ var validPercentileRequest = (input) => {
2027
2025
  path: _path2 + ".genes",
2028
2026
  expected: "Array<GvGeneTerm>",
2029
2027
  value: input3.genes
2030
- })) && input3.genes.map((elem, _index41) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2031
- path: _path2 + ".genes[" + _index41 + "]",
2028
+ })) && input3.genes.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2029
+ path: _path2 + ".genes[" + _index39 + "]",
2032
2030
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2033
2031
  value: elem
2034
- })) && $vu3(elem, _path2 + ".genes[" + _index41 + "]", _exceptionable2) || $report(_exceptionable2, {
2035
- path: _path2 + ".genes[" + _index41 + "]",
2032
+ })) && $vu3(elem, _path2 + ".genes[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
2033
+ path: _path2 + ".genes[" + _index39 + "]",
2036
2034
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2037
2035
  value: elem
2038
2036
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2051,12 +2049,12 @@ var validPercentileRequest = (input) => {
2051
2049
  path: _path2 + ".childTerms",
2052
2050
  expected: "(Array<DtTerm> | undefined)",
2053
2051
  value: input3.childTerms
2054
- })) && input3.childTerms.map((elem, _index42) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2055
- path: _path2 + ".childTerms[" + _index42 + "]",
2052
+ })) && input3.childTerms.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2053
+ path: _path2 + ".childTerms[" + _index40 + "]",
2056
2054
  expected: "DtTerm",
2057
2055
  value: elem
2058
- })) && $vo32(elem, _path2 + ".childTerms[" + _index42 + "]", _exceptionable2) || $report(_exceptionable2, {
2059
- path: _path2 + ".childTerms[" + _index42 + "]",
2056
+ })) && $vo32(elem, _path2 + ".childTerms[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
2057
+ path: _path2 + ".childTerms[" + _index40 + "]",
2060
2058
  expected: "DtTerm",
2061
2059
  value: elem
2062
2060
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2093,8 +2091,8 @@ var validPercentileRequest = (input) => {
2093
2091
  path: _path2 + ".child_types",
2094
2092
  expected: "(Array<string> | undefined)",
2095
2093
  value: input3.child_types
2096
- })) && input3.child_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
2097
- path: _path2 + ".child_types[" + _index43 + "]",
2094
+ })) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
2095
+ path: _path2 + ".child_types[" + _index41 + "]",
2098
2096
  expected: "string",
2099
2097
  value: elem
2100
2098
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2109,8 +2107,8 @@ var validPercentileRequest = (input) => {
2109
2107
  path: _path2 + ".included_types",
2110
2108
  expected: "(Array<string> | undefined)",
2111
2109
  value: input3.included_types
2112
- })) && input3.included_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
2113
- path: _path2 + ".included_types[" + _index44 + "]",
2110
+ })) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
2111
+ path: _path2 + ".included_types[" + _index42 + "]",
2114
2112
  expected: "string",
2115
2113
  value: elem
2116
2114
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2133,32 +2131,36 @@ var validPercentileRequest = (input) => {
2133
2131
  path: _path2 + ".skipValuesBuild",
2134
2132
  expected: "(boolean | undefined)",
2135
2133
  value: input3.skipValuesBuild
2136
- }), "coord" === input3.kind || $report(_exceptionable2, {
2134
+ }), "gene" === input3.kind || $report(_exceptionable2, {
2137
2135
  path: _path2 + ".kind",
2138
- expected: '"coord"',
2136
+ expected: '"gene"',
2139
2137
  value: input3.kind
2140
- }), "string" === typeof input3.chr || $report(_exceptionable2, {
2141
- path: _path2 + ".chr",
2138
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
2139
+ path: _path2 + ".gene",
2142
2140
  expected: "string",
2141
+ value: input3.gene
2142
+ }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
2143
+ path: _path2 + ".chr",
2144
+ expected: "(string | undefined)",
2143
2145
  value: input3.chr
2144
- }), "number" === typeof input3.start || $report(_exceptionable2, {
2146
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
2145
2147
  path: _path2 + ".start",
2146
- expected: "number",
2148
+ expected: "(number | undefined)",
2147
2149
  value: input3.start
2148
- }), "number" === typeof input3.stop || $report(_exceptionable2, {
2150
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
2149
2151
  path: _path2 + ".stop",
2150
- expected: "number",
2152
+ expected: "(number | undefined)",
2151
2153
  value: input3.stop
2152
2154
  }), (Array.isArray(input3.genes) || $report(_exceptionable2, {
2153
2155
  path: _path2 + ".genes",
2154
2156
  expected: "Array<GvGeneTerm>",
2155
2157
  value: input3.genes
2156
- })) && input3.genes.map((elem, _index45) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2157
- path: _path2 + ".genes[" + _index45 + "]",
2158
+ })) && input3.genes.map((elem, _index43) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2159
+ path: _path2 + ".genes[" + _index43 + "]",
2158
2160
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2159
2161
  value: elem
2160
- })) && $vu3(elem, _path2 + ".genes[" + _index45 + "]", _exceptionable2) || $report(_exceptionable2, {
2161
- path: _path2 + ".genes[" + _index45 + "]",
2162
+ })) && $vu3(elem, _path2 + ".genes[" + _index43 + "]", _exceptionable2) || $report(_exceptionable2, {
2163
+ path: _path2 + ".genes[" + _index43 + "]",
2162
2164
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2163
2165
  value: elem
2164
2166
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2177,12 +2179,12 @@ var validPercentileRequest = (input) => {
2177
2179
  path: _path2 + ".childTerms",
2178
2180
  expected: "Array<DtTerm>",
2179
2181
  value: input3.childTerms
2180
- })) && input3.childTerms.map((elem, _index46) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2181
- path: _path2 + ".childTerms[" + _index46 + "]",
2182
+ })) && input3.childTerms.map((elem, _index44) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2183
+ path: _path2 + ".childTerms[" + _index44 + "]",
2182
2184
  expected: "DtTerm",
2183
2185
  value: elem
2184
- })) && $vo32(elem, _path2 + ".childTerms[" + _index46 + "]", _exceptionable2) || $report(_exceptionable2, {
2185
- path: _path2 + ".childTerms[" + _index46 + "]",
2186
+ })) && $vo32(elem, _path2 + ".childTerms[" + _index44 + "]", _exceptionable2) || $report(_exceptionable2, {
2187
+ path: _path2 + ".childTerms[" + _index44 + "]",
2186
2188
  expected: "DtTerm",
2187
2189
  value: elem
2188
2190
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2198,16 +2200,16 @@ var validPercentileRequest = (input) => {
2198
2200
  path: _path2 + ".name",
2199
2201
  expected: "string",
2200
2202
  value: input3.name
2201
- }), "geneExpression" === input3.type || $report(_exceptionable2, {
2203
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
2202
2204
  path: _path2 + ".type",
2203
- expected: '"geneExpression"',
2205
+ expected: '"geneVariant"',
2204
2206
  value: input3.type
2205
2207
  }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2206
2208
  path: _path2 + ".child_types",
2207
2209
  expected: "(Array<string> | undefined)",
2208
2210
  value: input3.child_types
2209
- })) && input3.child_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
2210
- path: _path2 + ".child_types[" + _index47 + "]",
2211
+ })) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
2212
+ path: _path2 + ".child_types[" + _index45 + "]",
2211
2213
  expected: "string",
2212
2214
  value: elem
2213
2215
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2222,8 +2224,8 @@ var validPercentileRequest = (input) => {
2222
2224
  path: _path2 + ".included_types",
2223
2225
  expected: "(Array<string> | undefined)",
2224
2226
  value: input3.included_types
2225
- })) && input3.included_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
2226
- path: _path2 + ".included_types[" + _index48 + "]",
2227
+ })) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
2228
+ path: _path2 + ".included_types[" + _index46 + "]",
2227
2229
  expected: "string",
2228
2230
  value: elem
2229
2231
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2246,42 +2248,62 @@ var validPercentileRequest = (input) => {
2246
2248
  path: _path2 + ".skipValuesBuild",
2247
2249
  expected: "(boolean | undefined)",
2248
2250
  value: input3.skipValuesBuild
2249
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
2250
- path: _path2 + ".continuousColorScale",
2251
- expected: "(__type.o2 | undefined)",
2252
- value: input3.continuousColorScale
2253
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
2254
- path: _path2 + ".continuousColorScale",
2255
- expected: "(__type.o2 | undefined)",
2256
- value: input3.continuousColorScale
2257
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
2258
- path: _path2 + ".unit",
2259
- expected: "(string | undefined)",
2260
- value: input3.unit
2261
- }), "string" === typeof input3.gene || $report(_exceptionable2, {
2262
- path: _path2 + ".gene",
2263
- expected: "string",
2264
- value: input3.gene
2265
- }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
2266
- path: _path2 + ".bins",
2267
- expected: "(PresetNumericBins | undefined)",
2268
- value: input3.bins
2269
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
2270
- path: _path2 + ".bins",
2271
- expected: "(PresetNumericBins | undefined)",
2272
- value: input3.bins
2273
- }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
2251
+ }), "coord" === input3.kind || $report(_exceptionable2, {
2252
+ path: _path2 + ".kind",
2253
+ expected: '"coord"',
2254
+ value: input3.kind
2255
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
2274
2256
  path: _path2 + ".chr",
2275
- expected: "(string | undefined)",
2257
+ expected: "string",
2276
2258
  value: input3.chr
2277
- }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
2259
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
2278
2260
  path: _path2 + ".start",
2279
- expected: "(number | undefined)",
2261
+ expected: "number",
2280
2262
  value: input3.start
2281
- }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
2263
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
2282
2264
  path: _path2 + ".stop",
2283
- expected: "(number | undefined)",
2265
+ expected: "number",
2284
2266
  value: input3.stop
2267
+ }), (Array.isArray(input3.genes) || $report(_exceptionable2, {
2268
+ path: _path2 + ".genes",
2269
+ expected: "Array<GvGeneTerm>",
2270
+ value: input3.genes
2271
+ })) && input3.genes.map((elem, _index47) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2272
+ path: _path2 + ".genes[" + _index47 + "]",
2273
+ expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2274
+ value: elem
2275
+ })) && $vu3(elem, _path2 + ".genes[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
2276
+ path: _path2 + ".genes[" + _index47 + "]",
2277
+ expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2278
+ value: elem
2279
+ })).every((flag) => flag) || $report(_exceptionable2, {
2280
+ path: _path2 + ".genes",
2281
+ expected: "Array<GvGeneTerm>",
2282
+ value: input3.genes
2283
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
2284
+ path: _path2 + ".groupsetting",
2285
+ expected: "TermGroupSetting",
2286
+ value: input3.groupsetting
2287
+ })) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
2288
+ path: _path2 + ".groupsetting",
2289
+ expected: "TermGroupSetting",
2290
+ value: input3.groupsetting
2291
+ }), (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
2292
+ path: _path2 + ".childTerms",
2293
+ expected: "Array<DtTerm>",
2294
+ value: input3.childTerms
2295
+ })) && input3.childTerms.map((elem, _index48) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2296
+ path: _path2 + ".childTerms[" + _index48 + "]",
2297
+ expected: "DtTerm",
2298
+ value: elem
2299
+ })) && $vo32(elem, _path2 + ".childTerms[" + _index48 + "]", _exceptionable2) || $report(_exceptionable2, {
2300
+ path: _path2 + ".childTerms[" + _index48 + "]",
2301
+ expected: "DtTerm",
2302
+ value: elem
2303
+ })).every((flag) => flag) || $report(_exceptionable2, {
2304
+ path: _path2 + ".childTerms",
2305
+ expected: "Array<DtTerm>",
2306
+ value: input3.childTerms
2285
2307
  })].every((flag) => flag);
2286
2308
  const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2287
2309
  path: _path2 + ".id",
@@ -2574,10 +2596,6 @@ var validPercentileRequest = (input) => {
2574
2596
  path: _path2 + ".unit",
2575
2597
  expected: "(string | undefined)",
2576
2598
  value: input3.unit
2577
- }), "string" === typeof input3.metabolite || $report(_exceptionable2, {
2578
- path: _path2 + ".metabolite",
2579
- expected: "string",
2580
- value: input3.metabolite
2581
2599
  }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
2582
2600
  path: _path2 + ".bins",
2583
2601
  expected: "(PresetNumericBins | undefined)",
@@ -3087,25 +3105,19 @@ var validPercentileRequest = (input) => {
3087
3105
  });
3088
3106
  })();
3089
3107
  const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
3090
- if ("gene" === input3.kind)
3091
- return $vo1(input3, _path2, _exceptionable2);
3092
- if ("coord" === input3.kind)
3093
- return $vo38(input3, _path2, _exceptionable2);
3094
- if ("geneExpression" === input3.type)
3095
- return $vo39(input3, _path2, _exceptionable2);
3096
3108
  if ("metaboliteIntensity" === input3.type)
3097
3109
  return $vo40(input3, _path2, _exceptionable2);
3098
3110
  if ("categorical" === input3.type)
3099
3111
  return $vo41(input3, _path2, _exceptionable2);
3100
- if ("integer" === input3.type || "float" === input3.type)
3101
- return $vo42(input3, _path2, _exceptionable2);
3102
3112
  if ("date" === input3.type)
3103
3113
  return $vo43(input3, _path2, _exceptionable2);
3114
+ if ("integer" === input3.type || "float" === input3.type)
3115
+ return $vo42(input3, _path2, _exceptionable2);
3104
3116
  if ("ssGSEA" === input3.type)
3105
3117
  return $vo44(input3, _path2, _exceptionable2);
3106
3118
  if ("condition" === input3.type)
3107
3119
  return $vo45(input3, _path2, _exceptionable2);
3108
- return $vo46(input3, _path2, false) || $vo50(input3, _path2, false);
3120
+ return $vo23(input3, _path2, false) || $vo1(input3, _path2, false) || $vo38(input3, _path2, false) || $vo39(input3, _path2, false) || $vo46(input3, _path2, false) || $vo50(input3, _path2, false);
3109
3121
  })();
3110
3122
  const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
3111
3123
  if (void 0 !== input3.ranges)
@@ -3115,19 +3127,13 @@ var validPercentileRequest = (input) => {
3115
3127
  const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
3116
3128
  if ("integer" === input3.type || "float" === input3.type)
3117
3129
  return $vo14(input3, _path2, _exceptionable2);
3118
- if ("geneExpression" === input3.type)
3119
- return $vo23(input3, _path2, _exceptionable2);
3120
- if ("date" === input3.type)
3121
- return $vo25(input3, _path2, _exceptionable2);
3122
3130
  if ("metaboliteIntensity" === input3.type)
3123
3131
  return $vo24(input3, _path2, _exceptionable2);
3132
+ if ("date" === input3.type)
3133
+ return $vo25(input3, _path2, _exceptionable2);
3124
3134
  if ("ssGSEA" === input3.type)
3125
3135
  return $vo26(input3, _path2, _exceptionable2);
3126
- return $report(_exceptionable2, {
3127
- path: _path2,
3128
- expected: "(NumericDictTerm | GeneExpressionTerm | DateTerm | MetaboliteIntensityTerm | SsGSEATerm)",
3129
- value: input3
3130
- });
3136
+ return $vo23(input3, _path2, false) || $vo1(input3, _path2, false);
3131
3137
  })();
3132
3138
  const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
3133
3139
  if ("regular-bin" === input3.type)