@sjcrh/proteinpaint-types 2.142.0 → 2.144.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 (140) 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-SOM5WKDM.js → chunk-4DNCZQOB.js} +16 -4
  10. package/dist/{chunk-3BQ57P2P.js → chunk-4MLQS6N7.js} +16 -4
  11. package/dist/{chunk-MVMUZSLL.js → chunk-4VEXL32Q.js} +172 -118
  12. package/dist/{chunk-K5POIB3P.js → chunk-4ZMQ5CTL.js} +1 -1
  13. package/dist/{chunk-CEDL2QZT.js → chunk-5KADNZH2.js} +176 -122
  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-3L3ASC3B.js → chunk-6SOULHNE.js} +290 -154
  17. package/dist/{chunk-2VDOPTRV.js → chunk-74B7B2CV.js} +31 -7
  18. package/dist/{chunk-FVBXC7SY.js → chunk-7ICZFAGK.js} +33 -17
  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-SMVDKR2O.js → chunk-C246BWQE.js} +31 -7
  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-WMI4VKU3.js → chunk-D6IBJJ63.js} +210 -51
  26. package/dist/{chunk-ZVTZJRGS.js → chunk-D7AKQKDG.js} +1 -1
  27. package/dist/{chunk-YGX6BZZY.js → chunk-EIJT53QB.js} +1 -1
  28. package/dist/{chunk-VKBTOKI2.js → chunk-EOKM345J.js} +1 -1
  29. package/dist/{chunk-XEQWKMZN.js → chunk-EYKGJDKU.js} +1 -1
  30. package/dist/{chunk-EH7VAE5S.js → chunk-FMC4G5BP.js} +1 -1
  31. package/dist/{chunk-KRYTJ2SL.js → chunk-FTPYJPUB.js} +1 -1
  32. package/dist/{chunk-GDM7YUXH.js → chunk-FXXE4S7M.js} +172 -118
  33. package/dist/{chunk-IR4QSJI7.js → chunk-GCAZSDCW.js} +172 -118
  34. package/dist/{chunk-5S3UWYSK.js → chunk-GTS2G4R4.js} +1 -1
  35. package/dist/{chunk-KFVYRW7D.js → chunk-HQV2A7JV.js} +1 -1
  36. package/dist/{chunk-TMQI47YT.js → chunk-J2Y7RIN2.js} +29 -25
  37. package/dist/{chunk-HNETXFC7.js → chunk-K4FSDTDW.js} +1 -1
  38. package/dist/{chunk-HIPWQ6AW.js → chunk-KCMPDEH7.js} +1 -1
  39. package/dist/chunk-KVE2NBC6.js +132 -0
  40. package/dist/{chunk-QX3MRSSK.js → chunk-LRVF7U64.js} +1 -1
  41. package/dist/{chunk-5XCPOWFN.js → chunk-MHDQO7R5.js} +1 -1
  42. package/dist/{chunk-K4RV3N2T.js → chunk-MIOIOFBZ.js} +1 -1
  43. package/dist/{chunk-DMJFOII6.js → chunk-MMFL6N5M.js} +18 -6
  44. package/dist/{chunk-LDQNJLYQ.js → chunk-N7C4SRFX.js} +1 -1
  45. package/dist/chunk-NO2EZKW4.js +291 -0
  46. package/dist/{chunk-HKGWC7OO.js → chunk-P25WDNMD.js} +1 -1
  47. package/dist/{chunk-FYRWYZEE.js → chunk-PPPSDO6G.js} +36 -40
  48. package/dist/{chunk-KVUJPR42.js → chunk-PTE2I7DF.js} +1 -1
  49. package/dist/{chunk-AASWRJMS.js → chunk-Q3HGHP3J.js} +1 -1
  50. package/dist/{chunk-4R265LDJ.js → chunk-U3AOS5QJ.js} +16 -4
  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 +45 -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/numeric.ts +5 -0
  132. package/src/terms/q.ts +60 -1
  133. package/src/terms/samplelst.ts +2 -2
  134. package/src/terms/singleCellCellType.ts +1 -1
  135. package/src/terms/snp.ts +2 -2
  136. package/src/terms/snps.ts +2 -2
  137. package/src/terms/term.ts +2 -134
  138. package/src/terms/tw.ts +15 -0
  139. package/dist/sampleWsiAiApi.js +0 -11
  140. 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.categories.ts
7
7
  var import_typia = __toESM(require_lib(), 1);
@@ -58,7 +58,7 @@ var validCategoriesRequest = (input) => {
58
58
  const errors = [];
59
59
  const __is = (input2) => {
60
60
  const $join = import_typia.createValidate.join;
61
- const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && ("object" === typeof input3.tw && null !== input3.tw && $iu6(input3.tw)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io6(input3.filter)) && true && (void 0 === input3.currentGeneNames || Array.isArray(input3.currentGeneNames) && input3.currentGeneNames.every((elem) => "string" === typeof elem)) && true && (void 0 === input3.__protected__ || "object" === typeof input3.__protected__ && null !== input3.__protected__ && false === Array.isArray(input3.__protected__) && $io78(input3.__protected__));
61
+ const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && ("object" === typeof input3.tw && null !== input3.tw && $iu6(input3.tw)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io6(input3.filter)) && true && (void 0 === input3.currentGeneNames || Array.isArray(input3.currentGeneNames) && input3.currentGeneNames.every((elem) => "string" === typeof elem)) && true && (void 0 === input3.__protected__ || "object" === typeof input3.__protected__ && null !== input3.__protected__ && false === Array.isArray(input3.__protected__) && $io79(input3.__protected__));
62
62
  const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $io3(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io40(input3.q)) && "CatTWValues" === input3.type;
63
63
  const $io2 = (input3) => Object.keys(input3).every((key) => {
64
64
  const value = input3[key];
@@ -96,9 +96,9 @@ var validCategoriesRequest = (input) => {
96
96
  return "number" === typeof value;
97
97
  return true;
98
98
  });
99
- const $io15 = (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);
100
- const $io16 = (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);
101
- const $io17 = (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);
99
+ const $io15 = (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);
100
+ const $io16 = (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);
101
+ const $io17 = (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);
102
102
  const $io18 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(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] && $iu1(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu1(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
103
103
  const $io19 = (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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io11(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io12(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);
104
104
  const $io20 = (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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io11(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io12(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;
@@ -144,22 +144,23 @@ var validCategoriesRequest = (input) => {
144
144
  const $io60 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(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) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
145
145
  const $io61 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "GvCustomGsTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu11(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io62(input3.q));
146
146
  const $io62 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(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) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io45(input3.customset));
147
- const $io63 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "ConditionTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $io26(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io64(input3.q));
148
- const $io64 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && ("age" === input3.timeScale || "time" === input3.timeScale) && (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) && true;
149
- const $io65 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "SnpsTW" === input3.type && ("object" === typeof input3.q && null !== input3.q && $io66(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io68(input3.term));
150
- const $io66 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type) && "number" === typeof input3.AFcutoff && "number" === typeof input3.alleleType && "string" === typeof input3.cacheid && true && "number" === typeof input3.geneticModel && true && (void 0 === input3.missingGenotype || "number" === typeof input3.missingGenotype) && "number" === typeof input3.numOfSampleWithAnyValidGT && ("object" === typeof input3.restrictAncestry && null !== input3.restrictAncestry && $io67(input3.restrictAncestry)) && true && true && ("object" === typeof input3.variant_filter && null !== input3.variant_filter && $io6(input3.variant_filter)) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
151
- const $io67 = (input3) => "string" === typeof input3.name && ("object" === typeof input3.tvs && null !== input3.tvs && $iu7(input3.tvs));
152
- const $io68 = (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) && $io4(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 && $io69(elem)));
153
- const $io69 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io70(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io71(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
154
- const $io70 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
155
- const $io71 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
156
- const $io72 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "SnpTW" === input3.type && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu12(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io77(input3.term));
157
- const $io73 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type);
158
- const $io74 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "filter" === input3.type);
159
- const $io75 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "predefined-groupset" === input3.type) && "number" === typeof input3.predefined_groupset_idx;
160
- const $io76 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "custom-groupset" === input3.type) && ("object" === typeof input3.customset && null !== input3.customset && $io45(input3.customset));
161
- const $io77 = (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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && "string" === typeof input3.ref && (Array.isArray(input3.alt) && input3.alt.every((elem) => "string" === typeof elem)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io33(input3.groupsetting));
162
- const $io78 = (input3) => (void 0 === input3.sessionId || "string" === typeof input3.sessionId) && true && true;
147
+ const $io63 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "ConditionTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $io26(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $iu12(input3.q));
148
+ const $io64 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(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) && ("discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && "grade" === input3.valueFor && true === input3.bar_by_grade && ("age" === input3.timeScale || "time" === input3.timeScale) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && (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) && true;
149
+ const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(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) && "discrete" === input3.mode && "children" === input3.valueFor && true === input3.bar_by_children && true;
150
+ const $io66 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "SnpsTW" === input3.type && ("object" === typeof input3.q && null !== input3.q && $io67(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io69(input3.term));
151
+ const $io67 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(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) && "number" === typeof input3.AFcutoff && "number" === typeof input3.alleleType && "string" === typeof input3.cacheid && true && "number" === typeof input3.geneticModel && true && (void 0 === input3.missingGenotype || "number" === typeof input3.missingGenotype) && "number" === typeof input3.numOfSampleWithAnyValidGT && ("object" === typeof input3.restrictAncestry && null !== input3.restrictAncestry && $io68(input3.restrictAncestry)) && true && true && ("object" === typeof input3.variant_filter && null !== input3.variant_filter && $io6(input3.variant_filter)) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
152
+ const $io68 = (input3) => "string" === typeof input3.name && ("object" === typeof input3.tvs && null !== input3.tvs && $iu7(input3.tvs));
153
+ const $io69 = (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) && $io4(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 && $io70(elem)));
154
+ const $io70 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io71(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io72(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
155
+ const $io71 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
156
+ const $io72 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
157
+ const $io73 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && "SnpTW" === input3.type && ("object" === typeof input3.q && null !== input3.q && $iu13(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io78(input3.term));
158
+ const $io74 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "values" === input3.type;
159
+ const $io75 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(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) && "filter" === input3.type;
160
+ const $io76 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
161
+ const $io77 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io14(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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io45(input3.customset));
162
+ const $io78 = (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) && $io4(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && "string" === typeof input3.ref && (Array.isArray(input3.alt) && input3.alt.every((elem) => "string" === typeof elem)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io33(input3.groupsetting));
163
+ const $io79 = (input3) => (void 0 === input3.sessionId || "string" === typeof input3.sessionId) && true && true;
163
164
  const $iu0 = (input3) => (() => {
164
165
  if ("tvslst" === input3.type)
165
166
  return $io6(input3);
@@ -204,9 +205,9 @@ var validCategoriesRequest = (input) => {
204
205
  })();
205
206
  const $iu6 = (input3) => (() => {
206
207
  if ("SnpTW" === input3.type)
207
- return $io72(input3);
208
+ return $io73(input3);
208
209
  if ("SnpsTW" === input3.type)
209
- return $io65(input3);
210
+ return $io66(input3);
210
211
  if ("ConditionTW" === input3.type)
211
212
  return $io63(input3);
212
213
  if ("GvCustomGsTW" === input3.type)
@@ -285,17 +286,22 @@ var validCategoriesRequest = (input) => {
285
286
  return false;
286
287
  })();
287
288
  const $iu12 = (input3) => (() => {
288
- if (void 0 !== input3.predefined_groupset_idx)
289
+ if ("grade" === input3.valueFor)
290
+ return $io64(input3);
291
+ if ("children" === input3.valueFor)
292
+ return $io65(input3);
293
+ return false;
294
+ })();
295
+ const $iu13 = (input3) => (() => {
296
+ if ("values" === input3.type)
297
+ return $io74(input3);
298
+ if ("filter" === input3.type)
289
299
  return $io75(input3);
290
- if (void 0 !== input3.customset)
300
+ if ("predefined-groupset" === input3.type)
291
301
  return $io76(input3);
292
- return (() => {
293
- if ($io74(input3))
294
- return $io74(input3);
295
- if ($io73(input3))
296
- return $io73(input3);
297
- return false;
298
- })();
302
+ if ("custom-groupset" === input3.type)
303
+ return $io77(input3);
304
+ return false;
299
305
  })();
300
306
  return "object" === typeof input2 && null !== input2 && $io0(input2);
301
307
  };
@@ -347,7 +353,7 @@ var validCategoriesRequest = (input) => {
347
353
  path: _path2 + ".__protected__",
348
354
  expected: "(__type.o8 | undefined)",
349
355
  value: input3.__protected__
350
- })) && $vo78(input3.__protected__, _path2 + ".__protected__", _exceptionable2) || $report(_exceptionable2, {
356
+ })) && $vo79(input3.__protected__, _path2 + ".__protected__", _exceptionable2) || $report(_exceptionable2, {
351
357
  path: _path2 + ".__protected__",
352
358
  expected: "(__type.o8 | undefined)",
353
359
  value: input3.__protected__
@@ -873,6 +879,10 @@ var validCategoriesRequest = (input) => {
873
879
  path: _path2 + ".label",
874
880
  expected: "(string | undefined)",
875
881
  value: input3.label
882
+ }), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
883
+ path: _path2 + ".range",
884
+ expected: "(string | undefined)",
885
+ value: input3.range
876
886
  })].every((flag) => flag);
877
887
  const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
878
888
  path: _path2 + ".startunbounded",
@@ -902,6 +912,10 @@ var validCategoriesRequest = (input) => {
902
912
  path: _path2 + ".label",
903
913
  expected: "(string | undefined)",
904
914
  value: input3.label
915
+ }), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
916
+ path: _path2 + ".range",
917
+ expected: "(string | undefined)",
918
+ value: input3.range
905
919
  })].every((flag) => flag);
906
920
  const $vo17 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
907
921
  path: _path2 + ".start",
@@ -927,6 +941,10 @@ var validCategoriesRequest = (input) => {
927
941
  path: _path2 + ".label",
928
942
  expected: "(string | undefined)",
929
943
  value: input3.label
944
+ }), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
945
+ path: _path2 + ".range",
946
+ expected: "(string | undefined)",
947
+ value: input3.range
930
948
  })].every((flag) => flag);
931
949
  const $vo18 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
932
950
  path: _path2 + ".hiddenValues",
@@ -3288,11 +3306,11 @@ var validCategoriesRequest = (input) => {
3288
3306
  value: input3.term
3289
3307
  }), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
3290
3308
  path: _path2 + ".q",
3291
- expected: "ConditionQ",
3309
+ expected: "(ConditionChildrenQ | ConditionGradeQ)",
3292
3310
  value: input3.q
3293
- })) && $vo64(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
3311
+ })) && $vu12(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
3294
3312
  path: _path2 + ".q",
3295
- expected: "ConditionQ",
3313
+ expected: "(ConditionChildrenQ | ConditionGradeQ)",
3296
3314
  value: input3.q
3297
3315
  })].every((flag) => flag);
3298
3316
  const $vo64 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
@@ -3303,34 +3321,34 @@ var validCategoriesRequest = (input) => {
3303
3321
  path: _path2 + ".hiddenValues",
3304
3322
  expected: "(HiddenValues | undefined)",
3305
3323
  value: input3.hiddenValues
3306
- }), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
3324
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
3307
3325
  path: _path2 + ".isAtomic",
3308
- expected: "(boolean | undefined)",
3326
+ expected: "(true | undefined)",
3309
3327
  value: input3.isAtomic
3310
3328
  }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
3311
3329
  path: _path2 + ".name",
3312
3330
  expected: "(string | undefined)",
3313
3331
  value: input3.name
3314
- }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
3315
- path: _path2 + ".mode",
3316
- expected: '("binary" | "cox" | "cuminc" | "discrete" | undefined)',
3317
- value: input3.mode
3318
3332
  }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
3319
3333
  path: _path2 + ".reuseId",
3320
3334
  expected: "(string | undefined)",
3321
3335
  value: input3.reuseId
3322
- }), void 0 === input3.type || "values" === input3.type || $report(_exceptionable2, {
3323
- path: _path2 + ".type",
3324
- expected: '("values" | undefined)',
3325
- value: input3.type
3326
- }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
3327
- path: _path2 + ".bar_by_children",
3328
- expected: "(boolean | undefined)",
3329
- value: input3.bar_by_children
3330
- }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
3336
+ }), "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
3337
+ path: _path2 + ".mode",
3338
+ expected: '("binary" | "cox" | "cuminc" | "discrete")',
3339
+ value: input3.mode
3340
+ }), "grade" === input3.valueFor || $report(_exceptionable2, {
3341
+ path: _path2 + ".valueFor",
3342
+ expected: '"grade"',
3343
+ value: input3.valueFor
3344
+ }), true === input3.bar_by_grade || $report(_exceptionable2, {
3331
3345
  path: _path2 + ".bar_by_grade",
3332
- expected: "(boolean | undefined)",
3346
+ expected: "true",
3333
3347
  value: input3.bar_by_grade
3348
+ }), "age" === input3.timeScale || "time" === input3.timeScale || $report(_exceptionable2, {
3349
+ path: _path2 + ".timeScale",
3350
+ expected: '("age" | "time")',
3351
+ value: input3.timeScale
3334
3352
  }), void 0 === input3.breaks || (Array.isArray(input3.breaks) || $report(_exceptionable2, {
3335
3353
  path: _path2 + ".breaks",
3336
3354
  expected: "(Array<number> | undefined)",
@@ -3343,10 +3361,6 @@ var validCategoriesRequest = (input) => {
3343
3361
  path: _path2 + ".breaks",
3344
3362
  expected: "(Array<number> | undefined)",
3345
3363
  value: input3.breaks
3346
- }), "age" === input3.timeScale || "time" === input3.timeScale || $report(_exceptionable2, {
3347
- path: _path2 + ".timeScale",
3348
- expected: '("age" | "time")',
3349
- value: input3.timeScale
3350
3364
  }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
3351
3365
  path: _path2 + ".value_by_max_grade",
3352
3366
  expected: "(boolean | undefined)",
@@ -3360,7 +3374,40 @@ var validCategoriesRequest = (input) => {
3360
3374
  expected: "(boolean | undefined)",
3361
3375
  value: input3.value_by_computable_grade
3362
3376
  }), true].every((flag) => flag);
3363
- const $vo65 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
3377
+ const $vo65 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3378
+ path: _path2 + ".hiddenValues",
3379
+ expected: "(HiddenValues | undefined)",
3380
+ value: input3.hiddenValues
3381
+ })) && $vo14(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
3382
+ path: _path2 + ".hiddenValues",
3383
+ expected: "(HiddenValues | undefined)",
3384
+ value: input3.hiddenValues
3385
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
3386
+ path: _path2 + ".isAtomic",
3387
+ expected: "(true | undefined)",
3388
+ value: input3.isAtomic
3389
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
3390
+ path: _path2 + ".name",
3391
+ expected: "(string | undefined)",
3392
+ value: input3.name
3393
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
3394
+ path: _path2 + ".reuseId",
3395
+ expected: "(string | undefined)",
3396
+ value: input3.reuseId
3397
+ }), "discrete" === input3.mode || $report(_exceptionable2, {
3398
+ path: _path2 + ".mode",
3399
+ expected: '"discrete"',
3400
+ value: input3.mode
3401
+ }), "children" === input3.valueFor || $report(_exceptionable2, {
3402
+ path: _path2 + ".valueFor",
3403
+ expected: '"children"',
3404
+ value: input3.valueFor
3405
+ }), true === input3.bar_by_children || $report(_exceptionable2, {
3406
+ path: _path2 + ".bar_by_children",
3407
+ expected: "true",
3408
+ value: input3.bar_by_children
3409
+ }), true].every((flag) => flag);
3410
+ const $vo66 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
3364
3411
  path: _path2 + ".id",
3365
3412
  expected: "(string | undefined)",
3366
3413
  value: input3.id
@@ -3392,7 +3439,7 @@ var validCategoriesRequest = (input) => {
3392
3439
  path: _path2 + ".q",
3393
3440
  expected: "SnpsQ",
3394
3441
  value: input3.q
3395
- })) && $vo66(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
3442
+ })) && $vo67(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
3396
3443
  path: _path2 + ".q",
3397
3444
  expected: "SnpsQ",
3398
3445
  value: input3.q
@@ -3400,12 +3447,12 @@ var validCategoriesRequest = (input) => {
3400
3447
  path: _path2 + ".term",
3401
3448
  expected: "SnpsTerm",
3402
3449
  value: input3.term
3403
- })) && $vo68(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
3450
+ })) && $vo69(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
3404
3451
  path: _path2 + ".term",
3405
3452
  expected: "SnpsTerm",
3406
3453
  value: input3.term
3407
3454
  })].every((flag) => flag);
3408
- const $vo66 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3455
+ const $vo67 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3409
3456
  path: _path2 + ".hiddenValues",
3410
3457
  expected: "(HiddenValues | undefined)",
3411
3458
  value: input3.hiddenValues
@@ -3413,26 +3460,18 @@ var validCategoriesRequest = (input) => {
3413
3460
  path: _path2 + ".hiddenValues",
3414
3461
  expected: "(HiddenValues | undefined)",
3415
3462
  value: input3.hiddenValues
3416
- }), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
3463
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
3417
3464
  path: _path2 + ".isAtomic",
3418
- expected: "(boolean | undefined)",
3465
+ expected: "(true | undefined)",
3419
3466
  value: input3.isAtomic
3420
3467
  }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
3421
3468
  path: _path2 + ".name",
3422
3469
  expected: "(string | undefined)",
3423
3470
  value: input3.name
3424
- }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
3425
- path: _path2 + ".mode",
3426
- expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
3427
- value: input3.mode
3428
3471
  }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
3429
3472
  path: _path2 + ".reuseId",
3430
3473
  expected: "(string | undefined)",
3431
3474
  value: input3.reuseId
3432
- }), void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type || $report(_exceptionable2, {
3433
- path: _path2 + ".type",
3434
- expected: '("custom-bin" | "custom-groupset" | "custom-samplelst" | "filter" | "predefined-groupset" | "regular-bin" | "values" | undefined)',
3435
- value: input3.type
3436
3475
  }), "number" === typeof input3.AFcutoff || $report(_exceptionable2, {
3437
3476
  path: _path2 + ".AFcutoff",
3438
3477
  expected: "number",
@@ -3461,7 +3500,7 @@ var validCategoriesRequest = (input) => {
3461
3500
  path: _path2 + ".restrictAncestry",
3462
3501
  expected: "RestrictAncestry",
3463
3502
  value: input3.restrictAncestry
3464
- })) && $vo67(input3.restrictAncestry, _path2 + ".restrictAncestry", _exceptionable2) || $report(_exceptionable2, {
3503
+ })) && $vo68(input3.restrictAncestry, _path2 + ".restrictAncestry", _exceptionable2) || $report(_exceptionable2, {
3465
3504
  path: _path2 + ".restrictAncestry",
3466
3505
  expected: "RestrictAncestry",
3467
3506
  value: input3.restrictAncestry
@@ -3486,7 +3525,7 @@ var validCategoriesRequest = (input) => {
3486
3525
  expected: "number",
3487
3526
  value: input3.stop
3488
3527
  })].every((flag) => flag);
3489
- const $vo67 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
3528
+ const $vo68 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
3490
3529
  path: _path2 + ".name",
3491
3530
  expected: "string",
3492
3531
  value: input3.name
@@ -3499,7 +3538,7 @@ var validCategoriesRequest = (input) => {
3499
3538
  expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
3500
3539
  value: input3.tvs
3501
3540
  })].every((flag) => flag);
3502
- const $vo68 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3541
+ const $vo69 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3503
3542
  path: _path2 + ".id",
3504
3543
  expected: "string",
3505
3544
  value: input3.id
@@ -3567,7 +3606,7 @@ var validCategoriesRequest = (input) => {
3567
3606
  path: _path2 + ".snps[" + _index54 + "]",
3568
3607
  expected: "SnpsEntry",
3569
3608
  value: elem
3570
- })) && $vo69(elem, _path2 + ".snps[" + _index54 + "]", _exceptionable2) || $report(_exceptionable2, {
3609
+ })) && $vo70(elem, _path2 + ".snps[" + _index54 + "]", _exceptionable2) || $report(_exceptionable2, {
3571
3610
  path: _path2 + ".snps[" + _index54 + "]",
3572
3611
  expected: "SnpsEntry",
3573
3612
  value: elem
@@ -3576,7 +3615,7 @@ var validCategoriesRequest = (input) => {
3576
3615
  expected: "(Array<SnpsEntry> | undefined)",
3577
3616
  value: input3.snps
3578
3617
  })].every((flag) => flag);
3579
- const $vo69 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
3618
+ const $vo70 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
3580
3619
  path: _path2 + ".altAlleles",
3581
3620
  expected: "(Array<string> | undefined)",
3582
3621
  value: input3.altAlleles
@@ -3596,7 +3635,7 @@ var validCategoriesRequest = (input) => {
3596
3635
  path: _path2 + ".alleles[" + _index56 + "]",
3597
3636
  expected: "AllelesEntry",
3598
3637
  value: elem
3599
- })) && $vo70(elem, _path2 + ".alleles[" + _index56 + "]", _exceptionable2) || $report(_exceptionable2, {
3638
+ })) && $vo71(elem, _path2 + ".alleles[" + _index56 + "]", _exceptionable2) || $report(_exceptionable2, {
3600
3639
  path: _path2 + ".alleles[" + _index56 + "]",
3601
3640
  expected: "AllelesEntry",
3602
3641
  value: elem
@@ -3612,7 +3651,7 @@ var validCategoriesRequest = (input) => {
3612
3651
  path: _path2 + ".gt2count",
3613
3652
  expected: "(__type.o7 | undefined)",
3614
3653
  value: input3.gt2count
3615
- })) && $vo71(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
3654
+ })) && $vo72(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
3616
3655
  path: _path2 + ".gt2count",
3617
3656
  expected: "(__type.o7 | undefined)",
3618
3657
  value: input3.gt2count
@@ -3641,7 +3680,7 @@ var validCategoriesRequest = (input) => {
3641
3680
  expected: "(number | undefined)",
3642
3681
  value: input3.pos
3643
3682
  })].every((flag) => flag);
3644
- const $vo70 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
3683
+ const $vo71 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
3645
3684
  path: _path2 + ".allele",
3646
3685
  expected: "string",
3647
3686
  value: input3.allele
@@ -3654,7 +3693,7 @@ var validCategoriesRequest = (input) => {
3654
3693
  expected: "boolean",
3655
3694
  value: input3.isRef
3656
3695
  })].every((flag) => flag);
3657
- const $vo71 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
3696
+ const $vo72 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
3658
3697
  path: _path2 + ".k",
3659
3698
  expected: "string",
3660
3699
  value: input3.k
@@ -3663,7 +3702,7 @@ var validCategoriesRequest = (input) => {
3663
3702
  expected: "(number | string)",
3664
3703
  value: input3.v
3665
3704
  })].every((flag) => flag);
3666
- const $vo72 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
3705
+ const $vo73 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
3667
3706
  path: _path2 + ".id",
3668
3707
  expected: "(string | undefined)",
3669
3708
  value: input3.id
@@ -3691,24 +3730,24 @@ var validCategoriesRequest = (input) => {
3691
3730
  path: _path2 + ".type",
3692
3731
  expected: '"SnpTW"',
3693
3732
  value: input3.type
3694
- }), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
3733
+ }), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
3695
3734
  path: _path2 + ".q",
3696
- expected: '(BaseQ & MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "custom-groupset"; customset: BaseGroupSet; } | BaseQ & MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "predefined-groupset"; predefined_groupset_idx: number; } | BaseQ & MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "values"; } | BaseQ & { type: "filter"; })',
3735
+ expected: '(MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "custom-groupset"; customset: BaseGroupSet; } | MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "predefined-groupset"; predefined_groupset_idx: number; } | MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "values"; } | MinBaseQ & { type: "filter"; })',
3697
3736
  value: input3.q
3698
- })) && $vu12(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
3737
+ })) && $vu13(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
3699
3738
  path: _path2 + ".q",
3700
- expected: '(BaseQ & MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "custom-groupset"; customset: BaseGroupSet; } | BaseQ & MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "predefined-groupset"; predefined_groupset_idx: number; } | BaseQ & MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "values"; } | BaseQ & { type: "filter"; })',
3739
+ expected: '(MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "custom-groupset"; customset: BaseGroupSet; } | MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "predefined-groupset"; predefined_groupset_idx: number; } | MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "values"; } | MinBaseQ & { type: "filter"; })',
3701
3740
  value: input3.q
3702
3741
  }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
3703
3742
  path: _path2 + ".term",
3704
3743
  expected: "SnpTerm",
3705
3744
  value: input3.term
3706
- })) && $vo77(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
3745
+ })) && $vo78(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
3707
3746
  path: _path2 + ".term",
3708
3747
  expected: "SnpTerm",
3709
3748
  value: input3.term
3710
3749
  })].every((flag) => flag);
3711
- const $vo73 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3750
+ const $vo74 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3712
3751
  path: _path2 + ".hiddenValues",
3713
3752
  expected: "(HiddenValues | undefined)",
3714
3753
  value: input3.hiddenValues
@@ -3724,20 +3763,20 @@ var validCategoriesRequest = (input) => {
3724
3763
  path: _path2 + ".name",
3725
3764
  expected: "(string | undefined)",
3726
3765
  value: input3.name
3727
- }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
3728
- path: _path2 + ".mode",
3729
- expected: '("binary" | "discrete" | undefined)',
3730
- value: input3.mode
3731
3766
  }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
3732
3767
  path: _path2 + ".reuseId",
3733
3768
  expected: "(string | undefined)",
3734
3769
  value: input3.reuseId
3735
- }), void 0 === input3.type || "values" === input3.type || $report(_exceptionable2, {
3770
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
3771
+ path: _path2 + ".mode",
3772
+ expected: '("binary" | "discrete" | undefined)',
3773
+ value: input3.mode
3774
+ }), "values" === input3.type || $report(_exceptionable2, {
3736
3775
  path: _path2 + ".type",
3737
- expected: '("values" | undefined)',
3776
+ expected: '"values"',
3738
3777
  value: input3.type
3739
3778
  })].every((flag) => flag);
3740
- const $vo74 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3779
+ const $vo75 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3741
3780
  path: _path2 + ".hiddenValues",
3742
3781
  expected: "(HiddenValues | undefined)",
3743
3782
  value: input3.hiddenValues
@@ -3745,28 +3784,24 @@ var validCategoriesRequest = (input) => {
3745
3784
  path: _path2 + ".hiddenValues",
3746
3785
  expected: "(HiddenValues | undefined)",
3747
3786
  value: input3.hiddenValues
3748
- }), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
3787
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
3749
3788
  path: _path2 + ".isAtomic",
3750
- expected: "(boolean | undefined)",
3789
+ expected: "(true | undefined)",
3751
3790
  value: input3.isAtomic
3752
3791
  }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
3753
3792
  path: _path2 + ".name",
3754
3793
  expected: "(string | undefined)",
3755
3794
  value: input3.name
3756
- }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
3757
- path: _path2 + ".mode",
3758
- expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
3759
- value: input3.mode
3760
3795
  }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
3761
3796
  path: _path2 + ".reuseId",
3762
3797
  expected: "(string | undefined)",
3763
3798
  value: input3.reuseId
3764
- }), void 0 === input3.type || "filter" === input3.type || $report(_exceptionable2, {
3799
+ }), "filter" === input3.type || $report(_exceptionable2, {
3765
3800
  path: _path2 + ".type",
3766
- expected: '("filter" | undefined)',
3801
+ expected: '"filter"',
3767
3802
  value: input3.type
3768
3803
  })].every((flag) => flag);
3769
- const $vo75 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3804
+ const $vo76 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3770
3805
  path: _path2 + ".hiddenValues",
3771
3806
  expected: "(HiddenValues | undefined)",
3772
3807
  value: input3.hiddenValues
@@ -3782,24 +3817,24 @@ var validCategoriesRequest = (input) => {
3782
3817
  path: _path2 + ".name",
3783
3818
  expected: "(string | undefined)",
3784
3819
  value: input3.name
3785
- }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
3786
- path: _path2 + ".mode",
3787
- expected: '("binary" | "discrete" | undefined)',
3788
- value: input3.mode
3789
3820
  }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
3790
3821
  path: _path2 + ".reuseId",
3791
3822
  expected: "(string | undefined)",
3792
3823
  value: input3.reuseId
3793
- }), void 0 === input3.type || "predefined-groupset" === input3.type || $report(_exceptionable2, {
3824
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
3825
+ path: _path2 + ".mode",
3826
+ expected: '("binary" | "discrete" | undefined)',
3827
+ value: input3.mode
3828
+ }), "predefined-groupset" === input3.type || $report(_exceptionable2, {
3794
3829
  path: _path2 + ".type",
3795
- expected: '("predefined-groupset" | undefined)',
3830
+ expected: '"predefined-groupset"',
3796
3831
  value: input3.type
3797
3832
  }), "number" === typeof input3.predefined_groupset_idx || $report(_exceptionable2, {
3798
3833
  path: _path2 + ".predefined_groupset_idx",
3799
3834
  expected: "number",
3800
3835
  value: input3.predefined_groupset_idx
3801
3836
  })].every((flag) => flag);
3802
- const $vo76 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3837
+ const $vo77 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3803
3838
  path: _path2 + ".hiddenValues",
3804
3839
  expected: "(HiddenValues | undefined)",
3805
3840
  value: input3.hiddenValues
@@ -3815,17 +3850,17 @@ var validCategoriesRequest = (input) => {
3815
3850
  path: _path2 + ".name",
3816
3851
  expected: "(string | undefined)",
3817
3852
  value: input3.name
3818
- }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
3819
- path: _path2 + ".mode",
3820
- expected: '("binary" | "discrete" | undefined)',
3821
- value: input3.mode
3822
3853
  }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
3823
3854
  path: _path2 + ".reuseId",
3824
3855
  expected: "(string | undefined)",
3825
3856
  value: input3.reuseId
3826
- }), void 0 === input3.type || "custom-groupset" === input3.type || $report(_exceptionable2, {
3857
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
3858
+ path: _path2 + ".mode",
3859
+ expected: '("binary" | "discrete" | undefined)',
3860
+ value: input3.mode
3861
+ }), "custom-groupset" === input3.type || $report(_exceptionable2, {
3827
3862
  path: _path2 + ".type",
3828
- expected: '("custom-groupset" | undefined)',
3863
+ expected: '"custom-groupset"',
3829
3864
  value: input3.type
3830
3865
  }), ("object" === typeof input3.customset && null !== input3.customset || $report(_exceptionable2, {
3831
3866
  path: _path2 + ".customset",
@@ -3836,7 +3871,7 @@ var validCategoriesRequest = (input) => {
3836
3871
  expected: "BaseGroupSet",
3837
3872
  value: input3.customset
3838
3873
  })].every((flag) => flag);
3839
- const $vo77 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3874
+ const $vo78 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3840
3875
  path: _path2 + ".id",
3841
3876
  expected: "string",
3842
3877
  value: input3.id
@@ -3929,7 +3964,7 @@ var validCategoriesRequest = (input) => {
3929
3964
  expected: "TermGroupSetting",
3930
3965
  value: input3.groupsetting
3931
3966
  })].every((flag) => flag);
3932
- const $vo78 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.sessionId || "string" === typeof input3.sessionId || $report(_exceptionable2, {
3967
+ const $vo79 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.sessionId || "string" === typeof input3.sessionId || $report(_exceptionable2, {
3933
3968
  path: _path2 + ".sessionId",
3934
3969
  expected: "(string | undefined)",
3935
3970
  value: input3.sessionId
@@ -3998,9 +4033,9 @@ var validCategoriesRequest = (input) => {
3998
4033
  })();
3999
4034
  const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
4000
4035
  if ("SnpTW" === input3.type)
4001
- return $vo72(input3, _path2, _exceptionable2);
4036
+ return $vo73(input3, _path2, _exceptionable2);
4002
4037
  if ("SnpsTW" === input3.type)
4003
- return $vo65(input3, _path2, _exceptionable2);
4038
+ return $vo66(input3, _path2, _exceptionable2);
4004
4039
  if ("ConditionTW" === input3.type)
4005
4040
  return $vo63(input3, _path2, _exceptionable2);
4006
4041
  if ("GvCustomGsTW" === input3.type)
@@ -4081,11 +4116,30 @@ var validCategoriesRequest = (input) => {
4081
4116
  });
4082
4117
  })();
4083
4118
  const $vu12 = (input3, _path2, _exceptionable2 = true) => (() => {
4084
- if (void 0 !== input3.predefined_groupset_idx)
4119
+ if ("grade" === input3.valueFor)
4120
+ return $vo64(input3, _path2, _exceptionable2);
4121
+ if ("children" === input3.valueFor)
4122
+ return $vo65(input3, _path2, _exceptionable2);
4123
+ return $report(_exceptionable2, {
4124
+ path: _path2,
4125
+ expected: "(ConditionGradeQ | ConditionChildrenQ)",
4126
+ value: input3
4127
+ });
4128
+ })();
4129
+ const $vu13 = (input3, _path2, _exceptionable2 = true) => (() => {
4130
+ if ("values" === input3.type)
4131
+ return $vo74(input3, _path2, _exceptionable2);
4132
+ if ("filter" === input3.type)
4085
4133
  return $vo75(input3, _path2, _exceptionable2);
4086
- if (void 0 !== input3.customset)
4134
+ if ("predefined-groupset" === input3.type)
4087
4135
  return $vo76(input3, _path2, _exceptionable2);
4088
- return $vo74(input3, _path2, false) || $vo73(input3, _path2, false);
4136
+ if ("custom-groupset" === input3.type)
4137
+ return $vo77(input3, _path2, _exceptionable2);
4138
+ return $report(_exceptionable2, {
4139
+ path: _path2,
4140
+ expected: '(MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "values"; } | MinBaseQ & { type: "filter"; } | MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "predefined-groupset"; predefined_groupset_idx: number; } | MinBaseQ & { mode?: "discrete" | "binary" | undefined; } & { type: "custom-groupset"; customset: BaseGroupSet; })',
4141
+ value: input3
4142
+ });
4089
4143
  })();
4090
4144
  return ("object" === typeof input2 && null !== input2 || $report(true, {
4091
4145
  path: _path + "",