@sjcrh/proteinpaint-types 2.188.1 → 2.190.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 (245) hide show
  1. package/README.md +8 -20
  2. package/dist/index.js +422 -553
  3. package/dist/index.js.map +7 -0
  4. package/package.json +13 -25
  5. package/dist/aiProjectAdmin.js +0 -11
  6. package/dist/aiProjectSelectedWSImages.js +0 -11
  7. package/dist/aiProjectTrainModel.js +0 -11
  8. package/dist/alphaGenome.js +0 -11
  9. package/dist/alphaGenomeTypes.js +0 -11
  10. package/dist/brainImaging.js +0 -11
  11. package/dist/brainImagingSamples.js +0 -11
  12. package/dist/burden.js +0 -11
  13. package/dist/chunk-2744ACBX.js +0 -126
  14. package/dist/chunk-2BCLGYAG.js +0 -96
  15. package/dist/chunk-2C4X5B6N.js +0 -62
  16. package/dist/chunk-2VJRTZE2.js +0 -287
  17. package/dist/chunk-46YIGVUP.js +0 -908
  18. package/dist/chunk-4EAGOSMN.js +0 -128
  19. package/dist/chunk-5H2LJKPX.js +0 -104
  20. package/dist/chunk-5L4VF3ZL.js +0 -266
  21. package/dist/chunk-5N7V62ZL.js +0 -231
  22. package/dist/chunk-62XTWOVJ.js +0 -273
  23. package/dist/chunk-6GKG55BT.js +0 -232
  24. package/dist/chunk-7MUISZHS.js +0 -61
  25. package/dist/chunk-7OA6G77M.js +0 -113
  26. package/dist/chunk-AGMCAWBR.js +0 -454
  27. package/dist/chunk-BCBSHTHS.js +0 -75
  28. package/dist/chunk-BZVFHGN3.js +0 -350
  29. package/dist/chunk-CQXBQY2H.js +0 -161
  30. package/dist/chunk-D7AKQKDG.js +0 -238
  31. package/dist/chunk-DDKGTDDB.js +0 -6739
  32. package/dist/chunk-DI4Q26E7.js +0 -16
  33. package/dist/chunk-DUCWIRPX.js +0 -311
  34. package/dist/chunk-EIJT53QB.js +0 -240
  35. package/dist/chunk-EOKM345J.js +0 -222
  36. package/dist/chunk-FK7OCBPT.js +0 -341
  37. package/dist/chunk-FMC4G5BP.js +0 -62
  38. package/dist/chunk-G4MMYXP6.js +0 -405
  39. package/dist/chunk-GTS2G4R4.js +0 -62
  40. package/dist/chunk-HQV2A7JV.js +0 -62
  41. package/dist/chunk-IS74WYQF.js +0 -207
  42. package/dist/chunk-JDF7A2LY.js +0 -361
  43. package/dist/chunk-JEQGBUK2.js +0 -5993
  44. package/dist/chunk-K4FSDTDW.js +0 -109
  45. package/dist/chunk-KCMPDEH7.js +0 -62
  46. package/dist/chunk-LC6KLHCJ.js +0 -8903
  47. package/dist/chunk-LQYSPLDQ.js +0 -3613
  48. package/dist/chunk-LRVF7U64.js +0 -62
  49. package/dist/chunk-MHDQO7R5.js +0 -195
  50. package/dist/chunk-MKYLCBTP.js +0 -5475
  51. package/dist/chunk-MNT3GF7M.js +0 -3628
  52. package/dist/chunk-MVB7LQS5.js +0 -3986
  53. package/dist/chunk-P25WDNMD.js +0 -171
  54. package/dist/chunk-PTE2I7DF.js +0 -91
  55. package/dist/chunk-Q3HGHP3J.js +0 -174
  56. package/dist/chunk-QNH3PKJK.js +0 -343
  57. package/dist/chunk-RPX4TVMD.js +0 -14
  58. package/dist/chunk-RXJNXOZC.js +0 -326
  59. package/dist/chunk-SDZIGJY3.js +0 -5931
  60. package/dist/chunk-SZZXZZKO.js +0 -3991
  61. package/dist/chunk-TD4YLTHL.js +0 -158
  62. package/dist/chunk-TEXOICIS.js +0 -11810
  63. package/dist/chunk-THQOFV2K.js +0 -205
  64. package/dist/chunk-TQQWSHFM.js +0 -5980
  65. package/dist/chunk-U3BTVE5T.js +0 -111
  66. package/dist/chunk-UBOVHONH.js +0 -62
  67. package/dist/chunk-ULKGA7YY.js +0 -158
  68. package/dist/chunk-UYJA4UM7.js +0 -97
  69. package/dist/chunk-V3JDD3ZG.js +0 -3671
  70. package/dist/chunk-VJB6F2HL.js +0 -309
  71. package/dist/chunk-VUKRI3TG.js +0 -164
  72. package/dist/chunk-W3F3CLYP.js +0 -61
  73. package/dist/chunk-X4JBWMXY.js +0 -130
  74. package/dist/chunk-X5E72ZXA.js +0 -5979
  75. package/dist/chunk-YNHC5SXO.js +0 -1780
  76. package/dist/chunk-YPEFUAJW.js +0 -62
  77. package/dist/chunk-YSTMGNYR.js +0 -113
  78. package/dist/chunk-YW5G4M5D.js +0 -158
  79. package/dist/chunk-Z3IYM5OK.js +0 -296
  80. package/dist/chunk-ZCV62ELK.js +0 -96
  81. package/dist/chunk-ZIOJDN75.js +0 -197
  82. package/dist/chunk-ZMDZYG5B.js +0 -4224
  83. package/dist/clearwsisession.js +0 -78
  84. package/dist/clearwsisessions.js +0 -13
  85. package/dist/correlationVolcano.js +0 -11
  86. package/dist/dataset.js +0 -11
  87. package/dist/deleteWSITileSelection.js +0 -11
  88. package/dist/dsdata.js +0 -11
  89. package/dist/dzimages.js +0 -11
  90. package/dist/gdc.grin2.js +0 -17
  91. package/dist/gdc.maf.js +0 -11
  92. package/dist/gdc.mafBuild.js +0 -11
  93. package/dist/genelookup.js +0 -11
  94. package/dist/genesetEnrichment.js +0 -11
  95. package/dist/genesetOverrepresentation.js +0 -11
  96. package/dist/grin2.js +0 -11
  97. package/dist/healthcheck.js +0 -11
  98. package/dist/hicdata.js +0 -11
  99. package/dist/hicgenome.js +0 -11
  100. package/dist/hicstat.js +0 -11
  101. package/dist/img.js +0 -11
  102. package/dist/isoformlst.js +0 -11
  103. package/dist/ntseq.js +0 -11
  104. package/dist/pdomain.js +0 -11
  105. package/dist/samplewsimages.js +0 -13
  106. package/dist/saveWSIAnnotation.js +0 -11
  107. package/dist/snp.js +0 -11
  108. package/dist/termdb.DE.js +0 -11
  109. package/dist/termdb.categories.js +0 -11
  110. package/dist/termdb.chat.js +0 -3631
  111. package/dist/termdb.chat2.js +0 -15
  112. package/dist/termdb.cluster.js +0 -11
  113. package/dist/termdb.cohort.summary.js +0 -11
  114. package/dist/termdb.cohorts.js +0 -11
  115. package/dist/termdb.dapVolcano.js +0 -11
  116. package/dist/termdb.descrstats.js +0 -11
  117. package/dist/termdb.diffMeth.js +0 -11
  118. package/dist/termdb.dmr.js +0 -11
  119. package/dist/termdb.filterTermValues.js +0 -11
  120. package/dist/termdb.isoformAvailability.js +0 -11
  121. package/dist/termdb.numericcategories.js +0 -11
  122. package/dist/termdb.percentile.js +0 -11
  123. package/dist/termdb.profileFormScores.js +0 -11
  124. package/dist/termdb.profileForms2Scores.js +0 -11
  125. package/dist/termdb.profileScores.js +0 -11
  126. package/dist/termdb.proteome.js +0 -11
  127. package/dist/termdb.rootterm.js +0 -11
  128. package/dist/termdb.runChart.js +0 -13
  129. package/dist/termdb.sampleImages.js +0 -11
  130. package/dist/termdb.sampleScatter.js +0 -11
  131. package/dist/termdb.singleSampleMutation.js +0 -11
  132. package/dist/termdb.singlecellDEgenes.js +0 -11
  133. package/dist/termdb.singlecellData.js +0 -11
  134. package/dist/termdb.singlecellSamples.js +0 -11
  135. package/dist/termdb.termchildren.js +0 -11
  136. package/dist/termdb.termsbyids.js +0 -11
  137. package/dist/termdb.topMutatedGenes.js +0 -11
  138. package/dist/termdb.topTermsByType.js +0 -11
  139. package/dist/termdb.topVariablyExpressedGenes.js +0 -11
  140. package/dist/termdb.violinBox.js +0 -17
  141. package/dist/tileserver.js +0 -11
  142. package/dist/wsimages.js +0 -11
  143. package/dist/wsisamples.js +0 -11
  144. package/src/Mclass.ts +0 -8
  145. package/src/dataset.ts +0 -2186
  146. package/src/docs.json +0 -16417
  147. package/src/fileOrUrl.ts +0 -15
  148. package/src/filter.ts +0 -110
  149. package/src/genome.ts +0 -129
  150. package/src/index.ts +0 -94
  151. package/src/routes/aiProjectAdmin.ts +0 -37
  152. package/src/routes/aiProjectSelectedWSImages.ts +0 -48
  153. package/src/routes/aiProjectTrainModel.ts +0 -20
  154. package/src/routes/alphaGenome.ts +0 -27
  155. package/src/routes/alphaGenomeTypes.ts +0 -21
  156. package/src/routes/brainImaging.ts +0 -47
  157. package/src/routes/brainImagingSamples.ts +0 -25
  158. package/src/routes/burden.ts +0 -113
  159. package/src/routes/clearwsisessions.ts +0 -19
  160. package/src/routes/correlationVolcano.ts +0 -51
  161. package/src/routes/dataset.ts +0 -14
  162. package/src/routes/deleteWSITileSelection.ts +0 -25
  163. package/src/routes/dsdata.ts +0 -14
  164. package/src/routes/dzimages.ts +0 -25
  165. package/src/routes/errorResponse.ts +0 -6
  166. package/src/routes/filter.gdc.ts +0 -15
  167. package/src/routes/gdc.grin2.ts +0 -246
  168. package/src/routes/gdc.maf.ts +0 -52
  169. package/src/routes/gdc.mafBuild.ts +0 -20
  170. package/src/routes/genelookup.ts +0 -22
  171. package/src/routes/genesetEnrichment.ts +0 -116
  172. package/src/routes/genesetOverrepresentation.ts +0 -48
  173. package/src/routes/grin2.ts +0 -173
  174. package/src/routes/healthcheck.ts +0 -80
  175. package/src/routes/hicdata.ts +0 -48
  176. package/src/routes/hicgenome.ts +0 -50
  177. package/src/routes/hicstat.ts +0 -57
  178. package/src/routes/img.ts +0 -23
  179. package/src/routes/isoformlst.ts +0 -14
  180. package/src/routes/ntseq.ts +0 -14
  181. package/src/routes/pdomain.ts +0 -14
  182. package/src/routes/routeApi.ts +0 -47
  183. package/src/routes/samplewsimages.ts +0 -44
  184. package/src/routes/saveWSIAnnotation.ts +0 -25
  185. package/src/routes/snp.ts +0 -13
  186. package/src/routes/termdb.DE.ts +0 -220
  187. package/src/routes/termdb.categories.ts +0 -74
  188. package/src/routes/termdb.chat2.ts +0 -190
  189. package/src/routes/termdb.cluster.ts +0 -134
  190. package/src/routes/termdb.cohort.summary.ts +0 -14
  191. package/src/routes/termdb.cohorts.ts +0 -14
  192. package/src/routes/termdb.dapVolcano.ts +0 -35
  193. package/src/routes/termdb.descrstats.ts +0 -75
  194. package/src/routes/termdb.diffMeth.ts +0 -63
  195. package/src/routes/termdb.dmr.ts +0 -121
  196. package/src/routes/termdb.filterTermValues.ts +0 -23
  197. package/src/routes/termdb.isoformAvailability.ts +0 -22
  198. package/src/routes/termdb.numericcategories.ts +0 -32
  199. package/src/routes/termdb.percentile.ts +0 -67
  200. package/src/routes/termdb.profileFormScores.ts +0 -26
  201. package/src/routes/termdb.profileForms2Scores.ts +0 -25
  202. package/src/routes/termdb.profileScores.ts +0 -27
  203. package/src/routes/termdb.proteome.ts +0 -13
  204. package/src/routes/termdb.rootterm.ts +0 -49
  205. package/src/routes/termdb.runChart.ts +0 -66
  206. package/src/routes/termdb.sampleImages.ts +0 -26
  207. package/src/routes/termdb.sampleScatter.ts +0 -60
  208. package/src/routes/termdb.singleSampleMutation.ts +0 -51
  209. package/src/routes/termdb.singlecellDEgenes.ts +0 -50
  210. package/src/routes/termdb.singlecellData.ts +0 -75
  211. package/src/routes/termdb.singlecellSamples.ts +0 -50
  212. package/src/routes/termdb.termchildren.ts +0 -49
  213. package/src/routes/termdb.termsbyids.ts +0 -26
  214. package/src/routes/termdb.topMutatedGenes.ts +0 -51
  215. package/src/routes/termdb.topTermsByType.ts +0 -32
  216. package/src/routes/termdb.topVariablyExpressedGenes.ts +0 -54
  217. package/src/routes/termdb.violinBox.ts +0 -230
  218. package/src/routes/tileserver.ts +0 -14
  219. package/src/routes/wsimages.ts +0 -34
  220. package/src/routes/wsisamples.ts +0 -25
  221. package/src/termdb.matrix.ts +0 -57
  222. package/src/terms/categorical.ts +0 -18
  223. package/src/terms/condition.ts +0 -73
  224. package/src/terms/date.ts +0 -20
  225. package/src/terms/dnaMethylation.ts +0 -28
  226. package/src/terms/geneExpression.ts +0 -38
  227. package/src/terms/geneVariant.ts +0 -132
  228. package/src/terms/isoformExpression.ts +0 -36
  229. package/src/terms/metaboliteIntensity.ts +0 -30
  230. package/src/terms/numeric.ts +0 -278
  231. package/src/terms/proteomeAbundance.ts +0 -38
  232. package/src/terms/q.ts +0 -105
  233. package/src/terms/qualitative.ts +0 -73
  234. package/src/terms/samplelst.ts +0 -34
  235. package/src/terms/singleCellCellType.ts +0 -18
  236. package/src/terms/singleCellGeneExpression.ts +0 -32
  237. package/src/terms/snp.ts +0 -24
  238. package/src/terms/snps.ts +0 -111
  239. package/src/terms/ssGSEA.ts +0 -26
  240. package/src/terms/term.ts +0 -60
  241. package/src/terms/termCollection.ts +0 -139
  242. package/src/terms/tw.ts +0 -64
  243. package/src/termsetting.ts +0 -201
  244. package/src/test/numeric.type.spec.ts +0 -275
  245. package/src/vocab.ts +0 -37
@@ -1,3631 +0,0 @@
1
- import {
2
- ChatPayload
3
- } from "./chunk-DI4Q26E7.js";
4
- import {
5
- __toESM,
6
- require_lib
7
- } from "./chunk-YNHC5SXO.js";
8
-
9
- // dist/termdb.chat.ts
10
- var import_typia = __toESM(require_lib(), 1);
11
- var validChatRequest = (input) => {
12
- const errors = [];
13
- const __is = (input2) => {
14
- const $join = import_typia.createValidate.join;
15
- const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.prompt && true;
16
- const $io1 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem))) && (void 0 === input3.$id || "string" === typeof input3.$id);
17
- const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu5(input3.tvs));
18
- const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $io4(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io6(elem))) && (void 0 === input3.valueset || input3.valueset instanceof Set);
19
- const $io4 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting));
20
- const $io5 = (input3) => Object.keys(input3).every((key) => {
21
- const value = input3[key];
22
- if (void 0 === value)
23
- return true;
24
- if (RegExp(/(.*)/).test(key))
25
- return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
26
- if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
27
- return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
28
- return true;
29
- });
30
- const $io6 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter));
31
- const $io7 = (input3) => "string" === typeof input3.fromUnit && "string" === typeof input3.toUnit && "string" === typeof input3.scaleFactor;
32
- const $io8 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io9(elem)));
33
- const $io9 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.dt || "number" === typeof input3.dt) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
34
- const $io10 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io11(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
35
- const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
36
- const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
37
- const $io13 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $iu6(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (void 0 === input3.values || Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io36(elem)));
38
- const $io14 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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));
39
- const $io15 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
40
- const $io16 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu7(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu7(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
41
- const $io17 = (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) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu8(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu9(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset);
42
- const $io18 = (input3) => Object.keys(input3).every((key) => {
43
- const value = input3[key];
44
- if (void 0 === value)
45
- return true;
46
- if (RegExp(/(.*)/).test(key))
47
- return "number" === typeof value;
48
- return true;
49
- });
50
- 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);
51
- 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);
52
- 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);
53
- 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] && $iu4(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu4(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins) && (void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset);
54
- 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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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);
55
- const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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;
56
- const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "isoformExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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 || "isoform" === input3.kind) && "string" === typeof input3.isoform && (void 0 === input3.gene || "string" === typeof input3.gene) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
57
- const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "isoformExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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.isoform || "string" === typeof input3.isoform) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
58
- const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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));
59
- const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && ("object" === typeof input3.dataTypeDetails && null !== input3.dataTypeDetails && ("string" === typeof input3.dataTypeDetails.organism && "string" === typeof input3.dataTypeDetails.assay && "string" === typeof input3.dataTypeDetails.cohort));
60
- const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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));
61
- const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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));
62
- const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("gene" === input3.genomicFeatureType || "promoter" === input3.genomicFeatureType || "region" === input3.genomicFeatureType || "enhancer" === input3.genomicFeatureType) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
63
- const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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 && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && (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
- const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (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 && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
65
- const $io35 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
66
- const $io36 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
67
- const $io37 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $io38(input3.term)) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io39(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io40(elem)));
68
- const $io38 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion));
69
- const $io39 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
70
- const $io40 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label) && Object.keys(input3).every((key) => {
71
- if (["key", "label"].some((prop) => key === prop))
72
- return true;
73
- const value = input3[key];
74
- if (void 0 === value)
75
- return true;
76
- if (RegExp(/(.*)/).test(key))
77
- return true;
78
- return true;
79
- });
80
- const $io41 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $io42(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io47(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName) && (void 0 === input3.genotype || "variant" === input3.genotype || "nt" === input3.genotype || "wt" === input3.genotype) && (void 0 === input3.mcount || "any" === input3.mcount || "single" === input3.mcount || "multiple" === input3.mcount || "all" === input3.mcount) && (void 0 === input3.continuousCnv || "boolean" === typeof input3.continuousCnv) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvWT || "boolean" === typeof input3.cnvWT) && (void 0 === input3.fractionOverlap || "number" === typeof input3.fractionOverlap);
81
- const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu10(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
82
- const $io43 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io42(elem)));
83
- const $io44 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "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);
84
- const $io45 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
85
- const $io46 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "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 && $io42(elem)));
86
- const $io47 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.value || "string" === typeof input3.value) && (void 0 === input3.dt || "number" === typeof input3.dt) && (void 0 === input3.mclasslst || Array.isArray(input3.mclasslst) && input3.mclasslst.every((elem) => "string" === typeof elem)) && (void 0 === input3.mclassExcludeLst || Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "string" === typeof elem)) && (void 0 === input3.origin || "string" === typeof input3.origin);
87
- const $io48 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $iu11(input3.term)) && "number" === typeof input3.ratio;
88
- const $io49 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io50(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io51(input3.propsByTermId)) && (void 0 === input3.isCustom || "boolean" === typeof input3.isCustom) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.valueTransform || "object" === typeof input3.valueTransform && null !== input3.valueTransform && false === Array.isArray(input3.valueTransform) && $io53(input3.valueTransform));
89
- const $io50 = (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) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion));
90
- const $io51 = (input3) => Object.keys(input3).every((key) => {
91
- const value = input3[key];
92
- if (void 0 === value)
93
- return true;
94
- if (RegExp(/(.*)/).test(key))
95
- return "object" === typeof value && null !== value && false === Array.isArray(value) && $io52(value);
96
- return true;
97
- });
98
- const $io52 = (input3) => Object.keys(input3).every((key) => {
99
- const value = input3[key];
100
- if (void 0 === value)
101
- return true;
102
- if (RegExp(/(.*)/).test(key))
103
- return true;
104
- return true;
105
- });
106
- const $io53 = (input3) => void 0 === input3.offset || "number" === typeof input3.offset;
107
- const $io54 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io50(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io51(input3.propsByTermId)) && (void 0 === input3.isCustom || "boolean" === typeof input3.isCustom) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io55(elem)));
108
- const $io55 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
109
- const $iu0 = (input3) => (() => {
110
- if ("tvslst" === input3.type)
111
- return $io1(input3);
112
- if ("tvs" === input3.type)
113
- return $io2(input3);
114
- return false;
115
- })();
116
- const $iu1 = (input3) => (() => {
117
- if ("string" === typeof input3.type)
118
- return $io10(input3);
119
- if ("filter" === input3.type)
120
- return $io12(input3);
121
- return false;
122
- })();
123
- const $iu2 = (input3) => (() => {
124
- if (true === input3.startunbounded)
125
- return $io19(input3);
126
- if (true === input3.stopunbounded)
127
- return $io21(input3);
128
- if (void 0 !== input3.value)
129
- return $io35(input3);
130
- return $io20(input3);
131
- })();
132
- const $iu3 = (input3) => (() => {
133
- if ("gene" === input3.kind)
134
- return $io44(input3);
135
- if ("coord" === input3.kind)
136
- return $io45(input3);
137
- return false;
138
- })();
139
- const $iu4 = (input3) => (() => {
140
- if (true === input3.startunbounded)
141
- return $io19(input3);
142
- if (true === input3.stopunbounded)
143
- return $io21(input3);
144
- return $io20(input3);
145
- })();
146
- const $iu5 = (input3) => (() => {
147
- if (void 0 !== input3.ranges)
148
- return $io13(input3);
149
- if (void 0 !== input3.ratio)
150
- return $io48(input3);
151
- return (() => {
152
- if ($io3(input3))
153
- return $io3(input3);
154
- if ($io37(input3))
155
- return $io37(input3);
156
- if ($io41(input3))
157
- return $io41(input3);
158
- return false;
159
- })();
160
- })();
161
- const $iu6 = (input3) => (() => {
162
- if ("integer" === input3.type || "float" === input3.type)
163
- return $io14(input3);
164
- if ("metaboliteIntensity" === input3.type)
165
- return $io27(input3);
166
- if ("proteomeAbundance" === input3.type)
167
- return $io28(input3);
168
- if ("date" === input3.type)
169
- return $io30(input3);
170
- if ("ssGSEA" === input3.type)
171
- return $io31(input3);
172
- if ("dnaMethylation" === input3.type)
173
- return $io32(input3);
174
- return (() => {
175
- if ($io24(input3))
176
- return $io24(input3);
177
- if ($io23(input3))
178
- return $io23(input3);
179
- if ($io26(input3))
180
- return $io26(input3);
181
- if ($io25(input3))
182
- return $io25(input3);
183
- if ($io34(input3))
184
- return $io34(input3);
185
- if ($io33(input3))
186
- return $io33(input3);
187
- return false;
188
- })();
189
- })();
190
- const $iu7 = (input3) => (() => {
191
- if ("regular-bin" === input3.type)
192
- return $io17(input3);
193
- if ("custom-bin" === input3.type)
194
- return $io22(input3);
195
- return false;
196
- })();
197
- const $iu8 = (input3) => (() => {
198
- if (true === input3.startunbounded)
199
- return $io19(input3);
200
- if (void 0 !== input3.start)
201
- return $io20(input3);
202
- return false;
203
- })();
204
- const $iu9 = (input3) => (() => {
205
- if (void 0 !== input3.stop)
206
- return $io20(input3);
207
- if (true === input3.stopunbounded)
208
- return $io21(input3);
209
- return false;
210
- })();
211
- const $iu10 = (input3) => (() => {
212
- if ("gene" === input3.kind)
213
- return $io43(input3);
214
- if ("coord" === input3.kind)
215
- return $io46(input3);
216
- return false;
217
- })();
218
- const $iu11 = (input3) => (() => {
219
- if ("numeric" === input3.memberType)
220
- return $io49(input3);
221
- if ("categorical" === input3.memberType)
222
- return $io54(input3);
223
- return false;
224
- })();
225
- return "object" === typeof input2 && null !== input2 && $io0(input2);
226
- };
227
- if (false === __is(input)) {
228
- const $report = import_typia.createValidate.report(errors);
229
- ((input2, _path, _exceptionable = true) => {
230
- const $join = import_typia.createValidate.join;
231
- const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
232
- path: _path2 + ".genome",
233
- expected: "string",
234
- value: input3.genome
235
- }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
236
- path: _path2 + ".dslabel",
237
- expected: "string",
238
- value: input3.dslabel
239
- }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
240
- path: _path2 + ".filter",
241
- expected: "(Filter | undefined)",
242
- value: input3.filter
243
- })) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
244
- path: _path2 + ".filter",
245
- expected: "(Filter | undefined)",
246
- value: input3.filter
247
- }), "string" === typeof input3.prompt || $report(_exceptionable2, {
248
- path: _path2 + ".prompt",
249
- expected: "string",
250
- value: input3.prompt
251
- }), true].every((flag) => flag);
252
- const $vo1 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
253
- path: _path2 + ".type",
254
- expected: '"tvslst"',
255
- value: input3.type
256
- }), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
257
- path: _path2 + '["in"]',
258
- expected: "boolean",
259
- value: input3["in"]
260
- }), "string" === typeof input3.join || $report(_exceptionable2, {
261
- path: _path2 + ".join",
262
- expected: "string",
263
- value: input3.join
264
- }), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
265
- path: _path2 + ".tag",
266
- expected: "(string | undefined)",
267
- value: input3.tag
268
- }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
269
- path: _path2 + ".lst",
270
- expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
271
- value: input3.lst
272
- })) && input3.lst.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
273
- path: _path2 + ".lst[" + _index1 + "]",
274
- expected: "(Filter | __type)",
275
- value: elem
276
- })) && $vu0(elem, _path2 + ".lst[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
277
- path: _path2 + ".lst[" + _index1 + "]",
278
- expected: "(Filter | __type)",
279
- value: elem
280
- })).every((flag) => flag) || $report(_exceptionable2, {
281
- path: _path2 + ".lst",
282
- expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
283
- value: input3.lst
284
- }), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
285
- path: _path2 + ".$id",
286
- expected: "(string | undefined)",
287
- value: input3.$id
288
- })].every((flag) => flag);
289
- const $vo2 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
290
- path: _path2 + ".type",
291
- expected: '"tvs"',
292
- value: input3.type
293
- }), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
294
- path: _path2 + ".tvs",
295
- expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
296
- value: input3.tvs
297
- })) && $vu5(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
298
- path: _path2 + ".tvs",
299
- expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
300
- value: input3.tvs
301
- })].every((flag) => flag);
302
- const $vo3 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
303
- path: _path2 + ".join",
304
- expected: "(string | undefined)",
305
- value: input3.join
306
- }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
307
- path: _path2 + ".isnot",
308
- expected: "(boolean | undefined)",
309
- value: input3.isnot
310
- }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
311
- path: _path2 + ".bar_by_grade",
312
- expected: "(boolean | undefined)",
313
- value: input3.bar_by_grade
314
- }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
315
- path: _path2 + ".bar_by_children",
316
- expected: "(boolean | undefined)",
317
- value: input3.bar_by_children
318
- }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
319
- path: _path2 + ".value_by_max_grade",
320
- expected: "(boolean | undefined)",
321
- value: input3.value_by_max_grade
322
- }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
323
- path: _path2 + ".value_by_most_recent",
324
- expected: "(boolean | undefined)",
325
- value: input3.value_by_most_recent
326
- }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
327
- path: _path2 + ".value_by_computable_grade",
328
- expected: "(boolean | undefined)",
329
- value: input3.value_by_computable_grade
330
- }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
331
- path: _path2 + ".term",
332
- expected: "CategoricalTerm",
333
- value: input3.term
334
- })) && $vo4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
335
- path: _path2 + ".term",
336
- expected: "CategoricalTerm",
337
- value: input3.term
338
- }), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
339
- path: _path2 + ".groupset_label",
340
- expected: "(string | undefined)",
341
- value: input3.groupset_label
342
- }), (Array.isArray(input3.values) || $report(_exceptionable2, {
343
- path: _path2 + ".values",
344
- expected: "Array<BaseValue>",
345
- value: input3.values
346
- })) && input3.values.map((elem, _index2) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
347
- path: _path2 + ".values[" + _index2 + "]",
348
- expected: "BaseValue",
349
- value: elem
350
- })) && $vo6(elem, _path2 + ".values[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
351
- path: _path2 + ".values[" + _index2 + "]",
352
- expected: "BaseValue",
353
- value: elem
354
- })).every((flag) => flag) || $report(_exceptionable2, {
355
- path: _path2 + ".values",
356
- expected: "Array<BaseValue>",
357
- value: input3.values
358
- }), void 0 === input3.valueset || input3.valueset instanceof Set || $report(_exceptionable2, {
359
- path: _path2 + ".valueset",
360
- expected: "(Set<any> | undefined)",
361
- value: input3.valueset
362
- })].every((flag) => flag);
363
- const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
364
- path: _path2 + ".id",
365
- expected: "string",
366
- value: input3.id
367
- }), "string" === typeof input3.name || $report(_exceptionable2, {
368
- path: _path2 + ".name",
369
- expected: "string",
370
- value: input3.name
371
- }), "categorical" === input3.type || $report(_exceptionable2, {
372
- path: _path2 + ".type",
373
- expected: '"categorical"',
374
- value: input3.type
375
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
376
- path: _path2 + ".child_types",
377
- expected: "(Array<string> | undefined)",
378
- value: input3.child_types
379
- })) && input3.child_types.map((elem, _index3) => "string" === typeof elem || $report(_exceptionable2, {
380
- path: _path2 + ".child_types[" + _index3 + "]",
381
- expected: "string",
382
- value: elem
383
- })).every((flag) => flag) || $report(_exceptionable2, {
384
- path: _path2 + ".child_types",
385
- expected: "(Array<string> | undefined)",
386
- value: input3.child_types
387
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
388
- path: _path2 + ".hashtmldetail",
389
- expected: "(boolean | undefined)",
390
- value: input3.hashtmldetail
391
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
392
- path: _path2 + ".included_types",
393
- expected: "(Array<string> | undefined)",
394
- value: input3.included_types
395
- })) && input3.included_types.map((elem, _index4) => "string" === typeof elem || $report(_exceptionable2, {
396
- path: _path2 + ".included_types[" + _index4 + "]",
397
- expected: "string",
398
- value: elem
399
- })).every((flag) => flag) || $report(_exceptionable2, {
400
- path: _path2 + ".included_types",
401
- expected: "(Array<string> | undefined)",
402
- value: input3.included_types
403
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
404
- path: _path2 + ".isleaf",
405
- expected: "(boolean | undefined)",
406
- value: input3.isleaf
407
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
408
- path: _path2 + ".values",
409
- expected: "(TermValues | undefined)",
410
- value: input3.values
411
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
412
- path: _path2 + ".values",
413
- expected: "(TermValues | undefined)",
414
- value: input3.values
415
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
416
- path: _path2 + ".skipValuesBuild",
417
- expected: "(boolean | undefined)",
418
- value: input3.skipValuesBuild
419
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
420
- path: _path2 + ".valueConversion",
421
- expected: "(__type.o1 | undefined)",
422
- value: input3.valueConversion
423
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
424
- path: _path2 + ".valueConversion",
425
- expected: "(__type.o1 | undefined)",
426
- value: input3.valueConversion
427
- }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
428
- path: _path2 + ".groupsetting",
429
- expected: "TermGroupSetting",
430
- value: input3.groupsetting
431
- })) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
432
- path: _path2 + ".groupsetting",
433
- expected: "TermGroupSetting",
434
- value: input3.groupsetting
435
- })].every((flag) => flag);
436
- const $vo5 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
437
- const value = input3[key];
438
- if (void 0 === value)
439
- return true;
440
- if (RegExp(/(.*)/).test(key))
441
- return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
442
- path: _path2 + $join(key),
443
- expected: "BaseValue",
444
- value
445
- })) && $vo6(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
446
- path: _path2 + $join(key),
447
- expected: "BaseValue",
448
- value
449
- });
450
- if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
451
- return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
452
- path: _path2 + $join(key),
453
- expected: "BaseValue",
454
- value
455
- })) && $vo6(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
456
- path: _path2 + $join(key),
457
- expected: "BaseValue",
458
- value
459
- });
460
- return true;
461
- }).every((flag) => flag)].every((flag) => flag);
462
- const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
463
- path: _path2 + ".key",
464
- expected: "(string | undefined)",
465
- value: input3.key
466
- }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
467
- path: _path2 + ".uncomputable",
468
- expected: "(boolean | undefined)",
469
- value: input3.uncomputable
470
- }), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
471
- path: _path2 + ".label",
472
- expected: "(number | string | undefined)",
473
- value: input3.label
474
- }), void 0 === input3.order || "string" === typeof input3.order || $report(_exceptionable2, {
475
- path: _path2 + ".order",
476
- expected: "(string | undefined)",
477
- value: input3.order
478
- }), void 0 === input3.color || "string" === typeof input3.color || $report(_exceptionable2, {
479
- path: _path2 + ".color",
480
- expected: "(string | undefined)",
481
- value: input3.color
482
- }), void 0 === input3.group || "number" === typeof input3.group || $report(_exceptionable2, {
483
- path: _path2 + ".group",
484
- expected: "(number | undefined)",
485
- value: input3.group
486
- }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
487
- path: _path2 + ".filter",
488
- expected: "(Filter | undefined)",
489
- value: input3.filter
490
- })) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
491
- path: _path2 + ".filter",
492
- expected: "(Filter | undefined)",
493
- value: input3.filter
494
- })].every((flag) => flag);
495
- const $vo7 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.fromUnit || $report(_exceptionable2, {
496
- path: _path2 + ".fromUnit",
497
- expected: "string",
498
- value: input3.fromUnit
499
- }), "string" === typeof input3.toUnit || $report(_exceptionable2, {
500
- path: _path2 + ".toUnit",
501
- expected: "string",
502
- value: input3.toUnit
503
- }), "string" === typeof input3.scaleFactor || $report(_exceptionable2, {
504
- path: _path2 + ".scaleFactor",
505
- expected: "string",
506
- value: input3.scaleFactor
507
- })].every((flag) => flag);
508
- const $vo8 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
509
- path: _path2 + ".disabled",
510
- expected: "boolean",
511
- value: input3.disabled
512
- }), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
513
- path: _path2 + ".lst",
514
- expected: "(Array<Groupset> | undefined)",
515
- value: input3.lst
516
- })) && input3.lst.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
517
- path: _path2 + ".lst[" + _index5 + "]",
518
- expected: "Groupset",
519
- value: elem
520
- })) && $vo9(elem, _path2 + ".lst[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
521
- path: _path2 + ".lst[" + _index5 + "]",
522
- expected: "Groupset",
523
- value: elem
524
- })).every((flag) => flag) || $report(_exceptionable2, {
525
- path: _path2 + ".lst",
526
- expected: "(Array<Groupset> | undefined)",
527
- value: input3.lst
528
- })].every((flag) => flag);
529
- const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
530
- path: _path2 + ".name",
531
- expected: "string",
532
- value: input3.name
533
- }), void 0 === input3.is_grade || "boolean" === typeof input3.is_grade || $report(_exceptionable2, {
534
- path: _path2 + ".is_grade",
535
- expected: "(boolean | undefined)",
536
- value: input3.is_grade
537
- }), void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition || $report(_exceptionable2, {
538
- path: _path2 + ".is_subcondition",
539
- expected: "(boolean | undefined)",
540
- value: input3.is_subcondition
541
- }), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
542
- path: _path2 + ".dt",
543
- expected: "(number | undefined)",
544
- value: input3.dt
545
- }), (Array.isArray(input3.groups) || $report(_exceptionable2, {
546
- path: _path2 + ".groups",
547
- expected: "Array<GroupEntry>",
548
- value: input3.groups
549
- })) && input3.groups.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
550
- path: _path2 + ".groups[" + _index6 + "]",
551
- expected: "(FilterGroup | ValuesGroup)",
552
- value: elem
553
- })) && $vu1(elem, _path2 + ".groups[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
554
- path: _path2 + ".groups[" + _index6 + "]",
555
- expected: "(FilterGroup | ValuesGroup)",
556
- value: elem
557
- })).every((flag) => flag) || $report(_exceptionable2, {
558
- path: _path2 + ".groups",
559
- expected: "Array<GroupEntry>",
560
- value: input3.groups
561
- })].every((flag) => flag);
562
- const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
563
- path: _path2 + ".name",
564
- expected: "string",
565
- value: input3.name
566
- }), "string" === typeof input3.type || $report(_exceptionable2, {
567
- path: _path2 + ".type",
568
- expected: "string",
569
- value: input3.type
570
- }), (Array.isArray(input3.values) || $report(_exceptionable2, {
571
- path: _path2 + ".values",
572
- expected: "Array<__type>",
573
- value: input3.values
574
- })) && input3.values.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
575
- path: _path2 + ".values[" + _index7 + "]",
576
- expected: "__type.o2",
577
- value: elem
578
- })) && $vo11(elem, _path2 + ".values[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
579
- path: _path2 + ".values[" + _index7 + "]",
580
- expected: "__type.o2",
581
- value: elem
582
- })).every((flag) => flag) || $report(_exceptionable2, {
583
- path: _path2 + ".values",
584
- expected: "Array<__type>",
585
- value: input3.values
586
- }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
587
- path: _path2 + ".uncomputable",
588
- expected: "(boolean | undefined)",
589
- value: input3.uncomputable
590
- })].every((flag) => flag);
591
- const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
592
- path: _path2 + ".key",
593
- expected: "(number | string)",
594
- value: input3.key
595
- }), "string" === typeof input3.label || $report(_exceptionable2, {
596
- path: _path2 + ".label",
597
- expected: "string",
598
- value: input3.label
599
- })].every((flag) => flag);
600
- const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
601
- path: _path2 + ".name",
602
- expected: "string",
603
- value: input3.name
604
- }), "filter" === input3.type || $report(_exceptionable2, {
605
- path: _path2 + ".type",
606
- expected: '"filter"',
607
- value: input3.type
608
- }), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
609
- path: _path2 + ".filter",
610
- expected: "Filter",
611
- value: input3.filter
612
- })) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
613
- path: _path2 + ".filter",
614
- expected: "Filter",
615
- value: input3.filter
616
- }), "string" === typeof input3.color || $report(_exceptionable2, {
617
- path: _path2 + ".color",
618
- expected: "string",
619
- value: input3.color
620
- })].every((flag) => flag);
621
- const $vo13 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
622
- path: _path2 + ".join",
623
- expected: "(string | undefined)",
624
- value: input3.join
625
- }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
626
- path: _path2 + ".isnot",
627
- expected: "(boolean | undefined)",
628
- value: input3.isnot
629
- }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
630
- path: _path2 + ".bar_by_grade",
631
- expected: "(boolean | undefined)",
632
- value: input3.bar_by_grade
633
- }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
634
- path: _path2 + ".bar_by_children",
635
- expected: "(boolean | undefined)",
636
- value: input3.bar_by_children
637
- }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
638
- path: _path2 + ".value_by_max_grade",
639
- expected: "(boolean | undefined)",
640
- value: input3.value_by_max_grade
641
- }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
642
- path: _path2 + ".value_by_most_recent",
643
- expected: "(boolean | undefined)",
644
- value: input3.value_by_most_recent
645
- }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
646
- path: _path2 + ".value_by_computable_grade",
647
- expected: "(boolean | undefined)",
648
- value: input3.value_by_computable_grade
649
- }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
650
- path: _path2 + ".term",
651
- 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 | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "isoformExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "isoformExpression"; bins?: PresetNumericBins | undefined; } & Isoform | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | DnaMethylationTerm | MetaboliteIntensityTerm | NumericDictTerm | ProteomeAbundanceTerm | SsGSEATerm)',
652
- value: input3.term
653
- })) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
654
- path: _path2 + ".term",
655
- 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 | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "isoformExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "isoformExpression"; bins?: PresetNumericBins | undefined; } & Isoform | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | DnaMethylationTerm | MetaboliteIntensityTerm | NumericDictTerm | ProteomeAbundanceTerm | SsGSEATerm)',
656
- value: input3.term
657
- }), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
658
- path: _path2 + ".ranges",
659
- expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
660
- value: input3.ranges
661
- })) && input3.ranges.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
662
- path: _path2 + ".ranges[" + _index8 + "]",
663
- expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
664
- value: elem
665
- })) && $vu2(elem, _path2 + ".ranges[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
666
- path: _path2 + ".ranges[" + _index8 + "]",
667
- expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
668
- value: elem
669
- })).every((flag) => flag) || $report(_exceptionable2, {
670
- path: _path2 + ".ranges",
671
- expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
672
- value: input3.ranges
673
- }), void 0 === input3.values || (Array.isArray(input3.values) || $report(_exceptionable2, {
674
- path: _path2 + ".values",
675
- expected: "(Array<__type>.o1 | undefined)",
676
- value: input3.values
677
- })) && input3.values.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
678
- path: _path2 + ".values[" + _index9 + "]",
679
- expected: "__type.o5",
680
- value: elem
681
- })) && $vo36(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
682
- path: _path2 + ".values[" + _index9 + "]",
683
- expected: "__type.o5",
684
- value: elem
685
- })).every((flag) => flag) || $report(_exceptionable2, {
686
- path: _path2 + ".values",
687
- expected: "(Array<__type>.o1 | undefined)",
688
- value: input3.values
689
- })].every((flag) => flag);
690
- const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
691
- path: _path2 + ".id",
692
- expected: "string",
693
- value: input3.id
694
- }), "string" === typeof input3.name || $report(_exceptionable2, {
695
- path: _path2 + ".name",
696
- expected: "string",
697
- value: input3.name
698
- }), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
699
- path: _path2 + ".type",
700
- expected: '("float" | "integer")',
701
- value: input3.type
702
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
703
- path: _path2 + ".child_types",
704
- expected: "(Array<string> | undefined)",
705
- value: input3.child_types
706
- })) && input3.child_types.map((elem, _index10) => "string" === typeof elem || $report(_exceptionable2, {
707
- path: _path2 + ".child_types[" + _index10 + "]",
708
- expected: "string",
709
- value: elem
710
- })).every((flag) => flag) || $report(_exceptionable2, {
711
- path: _path2 + ".child_types",
712
- expected: "(Array<string> | undefined)",
713
- value: input3.child_types
714
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
715
- path: _path2 + ".hashtmldetail",
716
- expected: "(boolean | undefined)",
717
- value: input3.hashtmldetail
718
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
719
- path: _path2 + ".included_types",
720
- expected: "(Array<string> | undefined)",
721
- value: input3.included_types
722
- })) && input3.included_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
723
- path: _path2 + ".included_types[" + _index11 + "]",
724
- expected: "string",
725
- value: elem
726
- })).every((flag) => flag) || $report(_exceptionable2, {
727
- path: _path2 + ".included_types",
728
- expected: "(Array<string> | undefined)",
729
- value: input3.included_types
730
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
731
- path: _path2 + ".isleaf",
732
- expected: "(boolean | undefined)",
733
- value: input3.isleaf
734
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
735
- path: _path2 + ".values",
736
- expected: "(TermValues | undefined)",
737
- value: input3.values
738
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
739
- path: _path2 + ".values",
740
- expected: "(TermValues | undefined)",
741
- value: input3.values
742
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
743
- path: _path2 + ".skipValuesBuild",
744
- expected: "(boolean | undefined)",
745
- value: input3.skipValuesBuild
746
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
747
- path: _path2 + ".valueConversion",
748
- expected: "(__type.o1 | undefined)",
749
- value: input3.valueConversion
750
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
751
- path: _path2 + ".valueConversion",
752
- expected: "(__type.o1 | undefined)",
753
- value: input3.valueConversion
754
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
755
- path: _path2 + ".continuousColorScale",
756
- expected: "(__type.o3 | undefined)",
757
- value: input3.continuousColorScale
758
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
759
- path: _path2 + ".continuousColorScale",
760
- expected: "(__type.o3 | undefined)",
761
- value: input3.continuousColorScale
762
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
763
- path: _path2 + ".unit",
764
- expected: "(string | undefined)",
765
- value: input3.unit
766
- }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
767
- path: _path2 + ".bins",
768
- expected: "PresetNumericBins",
769
- value: input3.bins
770
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
771
- path: _path2 + ".bins",
772
- expected: "PresetNumericBins",
773
- value: input3.bins
774
- })].every((flag) => flag);
775
- const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
776
- path: _path2 + ".minColor",
777
- expected: "string",
778
- value: input3.minColor
779
- }), "string" === typeof input3.maxColor || $report(_exceptionable2, {
780
- path: _path2 + ".maxColor",
781
- expected: "string",
782
- value: input3.maxColor
783
- })].every((flag) => flag);
784
- const $vo16 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
785
- path: _path2 + '["default"]',
786
- expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
787
- value: input3["default"]
788
- })) && $vu7(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
789
- path: _path2 + '["default"]',
790
- expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
791
- value: input3["default"]
792
- }), ("object" === typeof input3.less && null !== input3.less || $report(_exceptionable2, {
793
- path: _path2 + ".less",
794
- expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
795
- value: input3.less
796
- })) && $vu7(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
797
- path: _path2 + ".less",
798
- expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
799
- value: input3.less
800
- }), void 0 === input3.label_offset || "number" === typeof input3.label_offset || $report(_exceptionable2, {
801
- path: _path2 + ".label_offset",
802
- expected: "(number | undefined)",
803
- value: input3.label_offset
804
- }), void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored || $report(_exceptionable2, {
805
- path: _path2 + ".label_offset_ignored",
806
- expected: "(boolean | undefined)",
807
- value: input3.label_offset_ignored
808
- }), void 0 === input3.rounding || "string" === typeof input3.rounding || $report(_exceptionable2, {
809
- path: _path2 + ".rounding",
810
- expected: "(string | undefined)",
811
- value: input3.rounding
812
- }), void 0 === input3.min || "number" === typeof input3.min || $report(_exceptionable2, {
813
- path: _path2 + ".min",
814
- expected: "(number | undefined)",
815
- value: input3.min
816
- }), void 0 === input3.max || "number" === typeof input3.max || $report(_exceptionable2, {
817
- path: _path2 + ".max",
818
- expected: "(number | undefined)",
819
- value: input3.max
820
- })].every((flag) => flag);
821
- const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
822
- path: _path2 + ".hiddenValues",
823
- expected: "(HiddenValues | undefined)",
824
- value: input3.hiddenValues
825
- })) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
826
- path: _path2 + ".hiddenValues",
827
- expected: "(HiddenValues | undefined)",
828
- value: input3.hiddenValues
829
- }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
830
- path: _path2 + ".isAtomic",
831
- expected: "(true | undefined)",
832
- value: input3.isAtomic
833
- }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
834
- path: _path2 + ".name",
835
- expected: "(string | undefined)",
836
- value: input3.name
837
- }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
838
- path: _path2 + ".reuseId",
839
- expected: "(string | undefined)",
840
- value: input3.reuseId
841
- }), "regular-bin" === input3.type || $report(_exceptionable2, {
842
- path: _path2 + ".type",
843
- expected: '"regular-bin"',
844
- value: input3.type
845
- }), void 0 === input3.mode || "discrete" === input3.mode || $report(_exceptionable2, {
846
- path: _path2 + ".mode",
847
- expected: '("discrete" | undefined)',
848
- value: input3.mode
849
- }), "number" === typeof input3.bin_size || $report(_exceptionable2, {
850
- path: _path2 + ".bin_size",
851
- expected: "number",
852
- value: input3.bin_size
853
- }), ("object" === typeof input3.first_bin && null !== input3.first_bin || $report(_exceptionable2, {
854
- path: _path2 + ".first_bin",
855
- expected: "(FullyBoundedBin | StartUnboundedBin)",
856
- value: input3.first_bin
857
- })) && $vu8(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
858
- path: _path2 + ".first_bin",
859
- expected: "(FullyBoundedBin | StartUnboundedBin)",
860
- value: input3.first_bin
861
- }), void 0 === input3.last_bin || ("object" === typeof input3.last_bin && null !== input3.last_bin || $report(_exceptionable2, {
862
- path: _path2 + ".last_bin",
863
- expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
864
- value: input3.last_bin
865
- })) && $vu9(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
866
- path: _path2 + ".last_bin",
867
- expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
868
- value: input3.last_bin
869
- }), void 0 === input3.label_offset || "number" === typeof input3.label_offset || $report(_exceptionable2, {
870
- path: _path2 + ".label_offset",
871
- expected: "(number | undefined)",
872
- value: input3.label_offset
873
- }), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
874
- path: _path2 + ".startinclusive",
875
- expected: "(boolean | undefined)",
876
- value: input3.startinclusive
877
- }), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
878
- path: _path2 + ".stopinclusive",
879
- expected: "(boolean | undefined)",
880
- value: input3.stopinclusive
881
- }), void 0 === input3.rounding || "string" === typeof input3.rounding || $report(_exceptionable2, {
882
- path: _path2 + ".rounding",
883
- expected: "(string | undefined)",
884
- value: input3.rounding
885
- }), void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset || $report(_exceptionable2, {
886
- path: _path2 + ".isDummyPreset",
887
- expected: "(boolean | undefined)",
888
- value: input3.isDummyPreset
889
- })].every((flag) => flag);
890
- const $vo18 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
891
- const value = input3[key];
892
- if (void 0 === value)
893
- return true;
894
- if (RegExp(/(.*)/).test(key))
895
- return "number" === typeof value || $report(_exceptionable2, {
896
- path: _path2 + $join(key),
897
- expected: "number",
898
- value
899
- });
900
- return true;
901
- }).every((flag) => flag)].every((flag) => flag);
902
- const $vo19 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
903
- path: _path2 + ".startunbounded",
904
- expected: "true",
905
- value: input3.startunbounded
906
- }), void 0 === input3.startinclusive || false === input3.startinclusive || $report(_exceptionable2, {
907
- path: _path2 + ".startinclusive",
908
- expected: "(false | undefined)",
909
- value: input3.startinclusive
910
- }), "number" === typeof input3.stop || $report(_exceptionable2, {
911
- path: _path2 + ".stop",
912
- expected: "number",
913
- value: input3.stop
914
- }), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
915
- path: _path2 + ".stopinclusive",
916
- expected: "(boolean | undefined)",
917
- value: input3.stopinclusive
918
- }), void 0 === input3.stopunbounded || false === input3.stopunbounded || $report(_exceptionable2, {
919
- path: _path2 + ".stopunbounded",
920
- expected: "(false | undefined)",
921
- value: input3.stopunbounded
922
- }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
923
- path: _path2 + ".label",
924
- expected: "(string | undefined)",
925
- value: input3.label
926
- }), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
927
- path: _path2 + ".range",
928
- expected: "(string | undefined)",
929
- value: input3.range
930
- })].every((flag) => flag);
931
- const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
932
- path: _path2 + ".startunbounded",
933
- expected: "(false | undefined)",
934
- value: input3.startunbounded
935
- }), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
936
- path: _path2 + ".startinclusive",
937
- expected: "(boolean | undefined)",
938
- value: input3.startinclusive
939
- }), "number" === typeof input3.start || $report(_exceptionable2, {
940
- path: _path2 + ".start",
941
- expected: "number",
942
- value: input3.start
943
- }), "number" === typeof input3.stop || $report(_exceptionable2, {
944
- path: _path2 + ".stop",
945
- expected: "number",
946
- value: input3.stop
947
- }), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
948
- path: _path2 + ".stopinclusive",
949
- expected: "(boolean | undefined)",
950
- value: input3.stopinclusive
951
- }), void 0 === input3.stopunbounded || false === input3.stopunbounded || $report(_exceptionable2, {
952
- path: _path2 + ".stopunbounded",
953
- expected: "(false | undefined)",
954
- value: input3.stopunbounded
955
- }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
956
- path: _path2 + ".label",
957
- expected: "(string | undefined)",
958
- value: input3.label
959
- }), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
960
- path: _path2 + ".range",
961
- expected: "(string | undefined)",
962
- value: input3.range
963
- })].every((flag) => flag);
964
- const $vo21 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
965
- path: _path2 + ".start",
966
- expected: "number",
967
- value: input3.start
968
- }), true === input3.stopunbounded || $report(_exceptionable2, {
969
- path: _path2 + ".stopunbounded",
970
- expected: "true",
971
- value: input3.stopunbounded
972
- }), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
973
- path: _path2 + ".startinclusive",
974
- expected: "(boolean | undefined)",
975
- value: input3.startinclusive
976
- }), void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
977
- path: _path2 + ".startunbounded",
978
- expected: "(false | undefined)",
979
- value: input3.startunbounded
980
- }), void 0 === input3.stopinclusive || false === input3.stopinclusive || $report(_exceptionable2, {
981
- path: _path2 + ".stopinclusive",
982
- expected: "(false | undefined)",
983
- value: input3.stopinclusive
984
- }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
985
- path: _path2 + ".label",
986
- expected: "(string | undefined)",
987
- value: input3.label
988
- }), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
989
- path: _path2 + ".range",
990
- expected: "(string | undefined)",
991
- value: input3.range
992
- })].every((flag) => flag);
993
- const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
994
- path: _path2 + ".hiddenValues",
995
- expected: "(HiddenValues | undefined)",
996
- value: input3.hiddenValues
997
- })) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
998
- path: _path2 + ".hiddenValues",
999
- expected: "(HiddenValues | undefined)",
1000
- value: input3.hiddenValues
1001
- }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
1002
- path: _path2 + ".isAtomic",
1003
- expected: "(true | undefined)",
1004
- value: input3.isAtomic
1005
- }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
1006
- path: _path2 + ".name",
1007
- expected: "(string | undefined)",
1008
- value: input3.name
1009
- }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
1010
- path: _path2 + ".reuseId",
1011
- expected: "(string | undefined)",
1012
- value: input3.reuseId
1013
- }), "custom-bin" === input3.type || $report(_exceptionable2, {
1014
- path: _path2 + ".type",
1015
- expected: '"custom-bin"',
1016
- value: input3.type
1017
- }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
1018
- path: _path2 + ".mode",
1019
- expected: '("binary" | "discrete" | undefined)',
1020
- value: input3.mode
1021
- }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
1022
- path: _path2 + ".lst",
1023
- expected: "CustomNumericBinConfigLst",
1024
- value: input3.lst
1025
- })) && ([
1026
- ("object" === typeof input3.lst[0] && null !== input3.lst[0] || $report(_exceptionable2, {
1027
- path: _path2 + ".lst[0]",
1028
- expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1029
- value: input3.lst[0]
1030
- })) && $vu4(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
1031
- path: _path2 + ".lst[0]",
1032
- expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1033
- value: input3.lst[0]
1034
- })
1035
- ].every((flag) => flag) && ((Array.isArray(input3.lst.slice(1)) || $report(_exceptionable2, {
1036
- path: _path2 + ".lst",
1037
- expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1038
- value: input3.lst.slice(1)
1039
- })) && input3.lst.slice(1).map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1040
- path: _path2 + ".lst[" + (1 + _index12) + "]",
1041
- expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1042
- value: elem
1043
- })) && $vu4(elem, _path2 + ".lst[" + (1 + _index12) + "]", _exceptionable2) || $report(_exceptionable2, {
1044
- path: _path2 + ".lst[" + (1 + _index12) + "]",
1045
- expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1046
- value: elem
1047
- })).every((flag) => flag) || $report(_exceptionable2, {
1048
- path: _path2 + ".lst",
1049
- expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1050
- value: input3.lst.slice(1)
1051
- }))) || $report(_exceptionable2, {
1052
- path: _path2 + ".lst",
1053
- expected: "CustomNumericBinConfigLst",
1054
- value: input3.lst
1055
- }), void 0 === input3.preferredBins || "median" === input3.preferredBins || $report(_exceptionable2, {
1056
- path: _path2 + ".preferredBins",
1057
- expected: '("median" | undefined)',
1058
- value: input3.preferredBins
1059
- }), void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset || $report(_exceptionable2, {
1060
- path: _path2 + ".isDummyPreset",
1061
- expected: "(boolean | undefined)",
1062
- value: input3.isDummyPreset
1063
- })].every((flag) => flag);
1064
- const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1065
- path: _path2 + ".id",
1066
- expected: "string",
1067
- value: input3.id
1068
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1069
- path: _path2 + ".name",
1070
- expected: "string",
1071
- value: input3.name
1072
- }), "geneExpression" === input3.type || $report(_exceptionable2, {
1073
- path: _path2 + ".type",
1074
- expected: '"geneExpression"',
1075
- value: input3.type
1076
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1077
- path: _path2 + ".child_types",
1078
- expected: "(Array<string> | undefined)",
1079
- value: input3.child_types
1080
- })) && input3.child_types.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable2, {
1081
- path: _path2 + ".child_types[" + _index13 + "]",
1082
- expected: "string",
1083
- value: elem
1084
- })).every((flag) => flag) || $report(_exceptionable2, {
1085
- path: _path2 + ".child_types",
1086
- expected: "(Array<string> | undefined)",
1087
- value: input3.child_types
1088
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1089
- path: _path2 + ".hashtmldetail",
1090
- expected: "(boolean | undefined)",
1091
- value: input3.hashtmldetail
1092
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1093
- path: _path2 + ".included_types",
1094
- expected: "(Array<string> | undefined)",
1095
- value: input3.included_types
1096
- })) && input3.included_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
1097
- path: _path2 + ".included_types[" + _index14 + "]",
1098
- expected: "string",
1099
- value: elem
1100
- })).every((flag) => flag) || $report(_exceptionable2, {
1101
- path: _path2 + ".included_types",
1102
- expected: "(Array<string> | undefined)",
1103
- value: input3.included_types
1104
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1105
- path: _path2 + ".isleaf",
1106
- expected: "(boolean | undefined)",
1107
- value: input3.isleaf
1108
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1109
- path: _path2 + ".values",
1110
- expected: "(TermValues | undefined)",
1111
- value: input3.values
1112
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1113
- path: _path2 + ".values",
1114
- expected: "(TermValues | undefined)",
1115
- value: input3.values
1116
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1117
- path: _path2 + ".skipValuesBuild",
1118
- expected: "(boolean | undefined)",
1119
- value: input3.skipValuesBuild
1120
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
1121
- path: _path2 + ".valueConversion",
1122
- expected: "(__type.o1 | undefined)",
1123
- value: input3.valueConversion
1124
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
1125
- path: _path2 + ".valueConversion",
1126
- expected: "(__type.o1 | undefined)",
1127
- value: input3.valueConversion
1128
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1129
- path: _path2 + ".continuousColorScale",
1130
- expected: "(__type.o3 | undefined)",
1131
- value: input3.continuousColorScale
1132
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1133
- path: _path2 + ".continuousColorScale",
1134
- expected: "(__type.o3 | undefined)",
1135
- value: input3.continuousColorScale
1136
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1137
- path: _path2 + ".unit",
1138
- expected: "(string | undefined)",
1139
- value: input3.unit
1140
- }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1141
- path: _path2 + ".bins",
1142
- expected: "(PresetNumericBins | undefined)",
1143
- value: input3.bins
1144
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1145
- path: _path2 + ".bins",
1146
- expected: "(PresetNumericBins | undefined)",
1147
- value: input3.bins
1148
- }), void 0 === input3.kind || "gene" === input3.kind || $report(_exceptionable2, {
1149
- path: _path2 + ".kind",
1150
- expected: '("gene" | undefined)',
1151
- value: input3.kind
1152
- }), "string" === typeof input3.gene || $report(_exceptionable2, {
1153
- path: _path2 + ".gene",
1154
- expected: "string",
1155
- value: input3.gene
1156
- }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
1157
- path: _path2 + ".chr",
1158
- expected: "(string | undefined)",
1159
- value: input3.chr
1160
- }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
1161
- path: _path2 + ".start",
1162
- expected: "(number | undefined)",
1163
- value: input3.start
1164
- }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
1165
- path: _path2 + ".stop",
1166
- expected: "(number | undefined)",
1167
- value: input3.stop
1168
- })].every((flag) => flag);
1169
- const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1170
- path: _path2 + ".id",
1171
- expected: "string",
1172
- value: input3.id
1173
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1174
- path: _path2 + ".name",
1175
- expected: "string",
1176
- value: input3.name
1177
- }), "geneExpression" === input3.type || $report(_exceptionable2, {
1178
- path: _path2 + ".type",
1179
- expected: '"geneExpression"',
1180
- value: input3.type
1181
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1182
- path: _path2 + ".child_types",
1183
- expected: "(Array<string> | undefined)",
1184
- value: input3.child_types
1185
- })) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
1186
- path: _path2 + ".child_types[" + _index15 + "]",
1187
- expected: "string",
1188
- value: elem
1189
- })).every((flag) => flag) || $report(_exceptionable2, {
1190
- path: _path2 + ".child_types",
1191
- expected: "(Array<string> | undefined)",
1192
- value: input3.child_types
1193
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1194
- path: _path2 + ".hashtmldetail",
1195
- expected: "(boolean | undefined)",
1196
- value: input3.hashtmldetail
1197
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1198
- path: _path2 + ".included_types",
1199
- expected: "(Array<string> | undefined)",
1200
- value: input3.included_types
1201
- })) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
1202
- path: _path2 + ".included_types[" + _index16 + "]",
1203
- expected: "string",
1204
- value: elem
1205
- })).every((flag) => flag) || $report(_exceptionable2, {
1206
- path: _path2 + ".included_types",
1207
- expected: "(Array<string> | undefined)",
1208
- value: input3.included_types
1209
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1210
- path: _path2 + ".isleaf",
1211
- expected: "(boolean | undefined)",
1212
- value: input3.isleaf
1213
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1214
- path: _path2 + ".values",
1215
- expected: "(TermValues | undefined)",
1216
- value: input3.values
1217
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1218
- path: _path2 + ".values",
1219
- expected: "(TermValues | undefined)",
1220
- value: input3.values
1221
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1222
- path: _path2 + ".skipValuesBuild",
1223
- expected: "(boolean | undefined)",
1224
- value: input3.skipValuesBuild
1225
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
1226
- path: _path2 + ".valueConversion",
1227
- expected: "(__type.o1 | undefined)",
1228
- value: input3.valueConversion
1229
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
1230
- path: _path2 + ".valueConversion",
1231
- expected: "(__type.o1 | undefined)",
1232
- value: input3.valueConversion
1233
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1234
- path: _path2 + ".continuousColorScale",
1235
- expected: "(__type.o3 | undefined)",
1236
- value: input3.continuousColorScale
1237
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1238
- path: _path2 + ".continuousColorScale",
1239
- expected: "(__type.o3 | undefined)",
1240
- value: input3.continuousColorScale
1241
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1242
- path: _path2 + ".unit",
1243
- expected: "(string | undefined)",
1244
- value: input3.unit
1245
- }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1246
- path: _path2 + ".bins",
1247
- expected: "(PresetNumericBins | undefined)",
1248
- value: input3.bins
1249
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1250
- path: _path2 + ".bins",
1251
- expected: "(PresetNumericBins | undefined)",
1252
- value: input3.bins
1253
- }), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
1254
- path: _path2 + ".kind",
1255
- expected: '("coord" | undefined)',
1256
- value: input3.kind
1257
- }), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
1258
- path: _path2 + ".gene",
1259
- expected: "(string | undefined)",
1260
- value: input3.gene
1261
- }), "string" === typeof input3.chr || $report(_exceptionable2, {
1262
- path: _path2 + ".chr",
1263
- expected: "string",
1264
- value: input3.chr
1265
- }), "number" === typeof input3.start || $report(_exceptionable2, {
1266
- path: _path2 + ".start",
1267
- expected: "number",
1268
- value: input3.start
1269
- }), "number" === typeof input3.stop || $report(_exceptionable2, {
1270
- path: _path2 + ".stop",
1271
- expected: "number",
1272
- value: input3.stop
1273
- })].every((flag) => flag);
1274
- const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1275
- path: _path2 + ".id",
1276
- expected: "string",
1277
- value: input3.id
1278
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1279
- path: _path2 + ".name",
1280
- expected: "string",
1281
- value: input3.name
1282
- }), "isoformExpression" === input3.type || $report(_exceptionable2, {
1283
- path: _path2 + ".type",
1284
- expected: '"isoformExpression"',
1285
- value: input3.type
1286
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1287
- path: _path2 + ".child_types",
1288
- expected: "(Array<string> | undefined)",
1289
- value: input3.child_types
1290
- })) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
1291
- path: _path2 + ".child_types[" + _index17 + "]",
1292
- expected: "string",
1293
- value: elem
1294
- })).every((flag) => flag) || $report(_exceptionable2, {
1295
- path: _path2 + ".child_types",
1296
- expected: "(Array<string> | undefined)",
1297
- value: input3.child_types
1298
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1299
- path: _path2 + ".hashtmldetail",
1300
- expected: "(boolean | undefined)",
1301
- value: input3.hashtmldetail
1302
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1303
- path: _path2 + ".included_types",
1304
- expected: "(Array<string> | undefined)",
1305
- value: input3.included_types
1306
- })) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
1307
- path: _path2 + ".included_types[" + _index18 + "]",
1308
- expected: "string",
1309
- value: elem
1310
- })).every((flag) => flag) || $report(_exceptionable2, {
1311
- path: _path2 + ".included_types",
1312
- expected: "(Array<string> | undefined)",
1313
- value: input3.included_types
1314
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1315
- path: _path2 + ".isleaf",
1316
- expected: "(boolean | undefined)",
1317
- value: input3.isleaf
1318
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1319
- path: _path2 + ".values",
1320
- expected: "(TermValues | undefined)",
1321
- value: input3.values
1322
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1323
- path: _path2 + ".values",
1324
- expected: "(TermValues | undefined)",
1325
- value: input3.values
1326
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1327
- path: _path2 + ".skipValuesBuild",
1328
- expected: "(boolean | undefined)",
1329
- value: input3.skipValuesBuild
1330
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
1331
- path: _path2 + ".valueConversion",
1332
- expected: "(__type.o1 | undefined)",
1333
- value: input3.valueConversion
1334
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
1335
- path: _path2 + ".valueConversion",
1336
- expected: "(__type.o1 | undefined)",
1337
- value: input3.valueConversion
1338
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1339
- path: _path2 + ".continuousColorScale",
1340
- expected: "(__type.o3 | undefined)",
1341
- value: input3.continuousColorScale
1342
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1343
- path: _path2 + ".continuousColorScale",
1344
- expected: "(__type.o3 | undefined)",
1345
- value: input3.continuousColorScale
1346
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1347
- path: _path2 + ".unit",
1348
- expected: "(string | undefined)",
1349
- value: input3.unit
1350
- }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1351
- path: _path2 + ".bins",
1352
- expected: "(PresetNumericBins | undefined)",
1353
- value: input3.bins
1354
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1355
- path: _path2 + ".bins",
1356
- expected: "(PresetNumericBins | undefined)",
1357
- value: input3.bins
1358
- }), void 0 === input3.kind || "isoform" === input3.kind || $report(_exceptionable2, {
1359
- path: _path2 + ".kind",
1360
- expected: '("isoform" | undefined)',
1361
- value: input3.kind
1362
- }), "string" === typeof input3.isoform || $report(_exceptionable2, {
1363
- path: _path2 + ".isoform",
1364
- expected: "string",
1365
- value: input3.isoform
1366
- }), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
1367
- path: _path2 + ".gene",
1368
- expected: "(string | undefined)",
1369
- value: input3.gene
1370
- }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
1371
- path: _path2 + ".chr",
1372
- expected: "(string | undefined)",
1373
- value: input3.chr
1374
- }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
1375
- path: _path2 + ".start",
1376
- expected: "(number | undefined)",
1377
- value: input3.start
1378
- }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
1379
- path: _path2 + ".stop",
1380
- expected: "(number | undefined)",
1381
- value: input3.stop
1382
- })].every((flag) => flag);
1383
- const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1384
- path: _path2 + ".id",
1385
- expected: "string",
1386
- value: input3.id
1387
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1388
- path: _path2 + ".name",
1389
- expected: "string",
1390
- value: input3.name
1391
- }), "isoformExpression" === input3.type || $report(_exceptionable2, {
1392
- path: _path2 + ".type",
1393
- expected: '"isoformExpression"',
1394
- value: input3.type
1395
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1396
- path: _path2 + ".child_types",
1397
- expected: "(Array<string> | undefined)",
1398
- value: input3.child_types
1399
- })) && input3.child_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
1400
- path: _path2 + ".child_types[" + _index19 + "]",
1401
- expected: "string",
1402
- value: elem
1403
- })).every((flag) => flag) || $report(_exceptionable2, {
1404
- path: _path2 + ".child_types",
1405
- expected: "(Array<string> | undefined)",
1406
- value: input3.child_types
1407
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1408
- path: _path2 + ".hashtmldetail",
1409
- expected: "(boolean | undefined)",
1410
- value: input3.hashtmldetail
1411
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1412
- path: _path2 + ".included_types",
1413
- expected: "(Array<string> | undefined)",
1414
- value: input3.included_types
1415
- })) && input3.included_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
1416
- path: _path2 + ".included_types[" + _index20 + "]",
1417
- expected: "string",
1418
- value: elem
1419
- })).every((flag) => flag) || $report(_exceptionable2, {
1420
- path: _path2 + ".included_types",
1421
- expected: "(Array<string> | undefined)",
1422
- value: input3.included_types
1423
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1424
- path: _path2 + ".isleaf",
1425
- expected: "(boolean | undefined)",
1426
- value: input3.isleaf
1427
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1428
- path: _path2 + ".values",
1429
- expected: "(TermValues | undefined)",
1430
- value: input3.values
1431
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1432
- path: _path2 + ".values",
1433
- expected: "(TermValues | undefined)",
1434
- value: input3.values
1435
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1436
- path: _path2 + ".skipValuesBuild",
1437
- expected: "(boolean | undefined)",
1438
- value: input3.skipValuesBuild
1439
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
1440
- path: _path2 + ".valueConversion",
1441
- expected: "(__type.o1 | undefined)",
1442
- value: input3.valueConversion
1443
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
1444
- path: _path2 + ".valueConversion",
1445
- expected: "(__type.o1 | undefined)",
1446
- value: input3.valueConversion
1447
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1448
- path: _path2 + ".continuousColorScale",
1449
- expected: "(__type.o3 | undefined)",
1450
- value: input3.continuousColorScale
1451
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1452
- path: _path2 + ".continuousColorScale",
1453
- expected: "(__type.o3 | undefined)",
1454
- value: input3.continuousColorScale
1455
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1456
- path: _path2 + ".unit",
1457
- expected: "(string | undefined)",
1458
- value: input3.unit
1459
- }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1460
- path: _path2 + ".bins",
1461
- expected: "(PresetNumericBins | undefined)",
1462
- value: input3.bins
1463
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1464
- path: _path2 + ".bins",
1465
- expected: "(PresetNumericBins | undefined)",
1466
- value: input3.bins
1467
- }), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
1468
- path: _path2 + ".kind",
1469
- expected: '("coord" | undefined)',
1470
- value: input3.kind
1471
- }), void 0 === input3.isoform || "string" === typeof input3.isoform || $report(_exceptionable2, {
1472
- path: _path2 + ".isoform",
1473
- expected: "(string | undefined)",
1474
- value: input3.isoform
1475
- }), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
1476
- path: _path2 + ".gene",
1477
- expected: "(string | undefined)",
1478
- value: input3.gene
1479
- }), "string" === typeof input3.chr || $report(_exceptionable2, {
1480
- path: _path2 + ".chr",
1481
- expected: "string",
1482
- value: input3.chr
1483
- }), "number" === typeof input3.start || $report(_exceptionable2, {
1484
- path: _path2 + ".start",
1485
- expected: "number",
1486
- value: input3.start
1487
- }), "number" === typeof input3.stop || $report(_exceptionable2, {
1488
- path: _path2 + ".stop",
1489
- expected: "number",
1490
- value: input3.stop
1491
- })].every((flag) => flag);
1492
- const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1493
- path: _path2 + ".id",
1494
- expected: "string",
1495
- value: input3.id
1496
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1497
- path: _path2 + ".name",
1498
- expected: "string",
1499
- value: input3.name
1500
- }), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
1501
- path: _path2 + ".type",
1502
- expected: '"metaboliteIntensity"',
1503
- value: input3.type
1504
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1505
- path: _path2 + ".child_types",
1506
- expected: "(Array<string> | undefined)",
1507
- value: input3.child_types
1508
- })) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
1509
- path: _path2 + ".child_types[" + _index21 + "]",
1510
- expected: "string",
1511
- value: elem
1512
- })).every((flag) => flag) || $report(_exceptionable2, {
1513
- path: _path2 + ".child_types",
1514
- expected: "(Array<string> | undefined)",
1515
- value: input3.child_types
1516
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1517
- path: _path2 + ".hashtmldetail",
1518
- expected: "(boolean | undefined)",
1519
- value: input3.hashtmldetail
1520
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1521
- path: _path2 + ".included_types",
1522
- expected: "(Array<string> | undefined)",
1523
- value: input3.included_types
1524
- })) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
1525
- path: _path2 + ".included_types[" + _index22 + "]",
1526
- expected: "string",
1527
- value: elem
1528
- })).every((flag) => flag) || $report(_exceptionable2, {
1529
- path: _path2 + ".included_types",
1530
- expected: "(Array<string> | undefined)",
1531
- value: input3.included_types
1532
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1533
- path: _path2 + ".isleaf",
1534
- expected: "(boolean | undefined)",
1535
- value: input3.isleaf
1536
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1537
- path: _path2 + ".values",
1538
- expected: "(TermValues | undefined)",
1539
- value: input3.values
1540
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1541
- path: _path2 + ".values",
1542
- expected: "(TermValues | undefined)",
1543
- value: input3.values
1544
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1545
- path: _path2 + ".skipValuesBuild",
1546
- expected: "(boolean | undefined)",
1547
- value: input3.skipValuesBuild
1548
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
1549
- path: _path2 + ".valueConversion",
1550
- expected: "(__type.o1 | undefined)",
1551
- value: input3.valueConversion
1552
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
1553
- path: _path2 + ".valueConversion",
1554
- expected: "(__type.o1 | undefined)",
1555
- value: input3.valueConversion
1556
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1557
- path: _path2 + ".continuousColorScale",
1558
- expected: "(__type.o3 | undefined)",
1559
- value: input3.continuousColorScale
1560
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1561
- path: _path2 + ".continuousColorScale",
1562
- expected: "(__type.o3 | undefined)",
1563
- value: input3.continuousColorScale
1564
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1565
- path: _path2 + ".unit",
1566
- expected: "(string | undefined)",
1567
- value: input3.unit
1568
- }), "string" === typeof input3.metabolite || $report(_exceptionable2, {
1569
- path: _path2 + ".metabolite",
1570
- expected: "string",
1571
- value: input3.metabolite
1572
- }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1573
- path: _path2 + ".bins",
1574
- expected: "(PresetNumericBins | undefined)",
1575
- value: input3.bins
1576
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1577
- path: _path2 + ".bins",
1578
- expected: "(PresetNumericBins | undefined)",
1579
- value: input3.bins
1580
- })].every((flag) => flag);
1581
- const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1582
- path: _path2 + ".id",
1583
- expected: "string",
1584
- value: input3.id
1585
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1586
- path: _path2 + ".name",
1587
- expected: "string",
1588
- value: input3.name
1589
- }), "proteomeAbundance" === input3.type || $report(_exceptionable2, {
1590
- path: _path2 + ".type",
1591
- expected: '"proteomeAbundance"',
1592
- value: input3.type
1593
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1594
- path: _path2 + ".child_types",
1595
- expected: "(Array<string> | undefined)",
1596
- value: input3.child_types
1597
- })) && input3.child_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
1598
- path: _path2 + ".child_types[" + _index23 + "]",
1599
- expected: "string",
1600
- value: elem
1601
- })).every((flag) => flag) || $report(_exceptionable2, {
1602
- path: _path2 + ".child_types",
1603
- expected: "(Array<string> | undefined)",
1604
- value: input3.child_types
1605
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1606
- path: _path2 + ".hashtmldetail",
1607
- expected: "(boolean | undefined)",
1608
- value: input3.hashtmldetail
1609
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1610
- path: _path2 + ".included_types",
1611
- expected: "(Array<string> | undefined)",
1612
- value: input3.included_types
1613
- })) && input3.included_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
1614
- path: _path2 + ".included_types[" + _index24 + "]",
1615
- expected: "string",
1616
- value: elem
1617
- })).every((flag) => flag) || $report(_exceptionable2, {
1618
- path: _path2 + ".included_types",
1619
- expected: "(Array<string> | undefined)",
1620
- value: input3.included_types
1621
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1622
- path: _path2 + ".isleaf",
1623
- expected: "(boolean | undefined)",
1624
- value: input3.isleaf
1625
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1626
- path: _path2 + ".values",
1627
- expected: "(TermValues | undefined)",
1628
- value: input3.values
1629
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1630
- path: _path2 + ".values",
1631
- expected: "(TermValues | undefined)",
1632
- value: input3.values
1633
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1634
- path: _path2 + ".skipValuesBuild",
1635
- expected: "(boolean | undefined)",
1636
- value: input3.skipValuesBuild
1637
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
1638
- path: _path2 + ".valueConversion",
1639
- expected: "(__type.o1 | undefined)",
1640
- value: input3.valueConversion
1641
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
1642
- path: _path2 + ".valueConversion",
1643
- expected: "(__type.o1 | undefined)",
1644
- value: input3.valueConversion
1645
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1646
- path: _path2 + ".continuousColorScale",
1647
- expected: "(__type.o3 | undefined)",
1648
- value: input3.continuousColorScale
1649
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1650
- path: _path2 + ".continuousColorScale",
1651
- expected: "(__type.o3 | undefined)",
1652
- value: input3.continuousColorScale
1653
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1654
- path: _path2 + ".unit",
1655
- expected: "(string | undefined)",
1656
- value: input3.unit
1657
- }), "string" === typeof input3.protein || $report(_exceptionable2, {
1658
- path: _path2 + ".protein",
1659
- expected: "string",
1660
- value: input3.protein
1661
- }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1662
- path: _path2 + ".bins",
1663
- expected: "(PresetNumericBins | undefined)",
1664
- value: input3.bins
1665
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1666
- path: _path2 + ".bins",
1667
- expected: "(PresetNumericBins | undefined)",
1668
- value: input3.bins
1669
- }), ("object" === typeof input3.dataTypeDetails && null !== input3.dataTypeDetails || $report(_exceptionable2, {
1670
- path: _path2 + ".dataTypeDetails",
1671
- expected: "ProteomeDetails",
1672
- value: input3.dataTypeDetails
1673
- })) && $vo29(input3.dataTypeDetails, _path2 + ".dataTypeDetails", _exceptionable2) || $report(_exceptionable2, {
1674
- path: _path2 + ".dataTypeDetails",
1675
- expected: "ProteomeDetails",
1676
- value: input3.dataTypeDetails
1677
- })].every((flag) => flag);
1678
- const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.organism || $report(_exceptionable2, {
1679
- path: _path2 + ".organism",
1680
- expected: "string",
1681
- value: input3.organism
1682
- }), "string" === typeof input3.assay || $report(_exceptionable2, {
1683
- path: _path2 + ".assay",
1684
- expected: "string",
1685
- value: input3.assay
1686
- }), "string" === typeof input3.cohort || $report(_exceptionable2, {
1687
- path: _path2 + ".cohort",
1688
- expected: "string",
1689
- value: input3.cohort
1690
- })].every((flag) => flag);
1691
- const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1692
- path: _path2 + ".id",
1693
- expected: "string",
1694
- value: input3.id
1695
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1696
- path: _path2 + ".name",
1697
- expected: "string",
1698
- value: input3.name
1699
- }), "date" === input3.type || $report(_exceptionable2, {
1700
- path: _path2 + ".type",
1701
- expected: '"date"',
1702
- value: input3.type
1703
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1704
- path: _path2 + ".child_types",
1705
- expected: "(Array<string> | undefined)",
1706
- value: input3.child_types
1707
- })) && input3.child_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
1708
- path: _path2 + ".child_types[" + _index25 + "]",
1709
- expected: "string",
1710
- value: elem
1711
- })).every((flag) => flag) || $report(_exceptionable2, {
1712
- path: _path2 + ".child_types",
1713
- expected: "(Array<string> | undefined)",
1714
- value: input3.child_types
1715
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1716
- path: _path2 + ".hashtmldetail",
1717
- expected: "(boolean | undefined)",
1718
- value: input3.hashtmldetail
1719
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1720
- path: _path2 + ".included_types",
1721
- expected: "(Array<string> | undefined)",
1722
- value: input3.included_types
1723
- })) && input3.included_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
1724
- path: _path2 + ".included_types[" + _index26 + "]",
1725
- expected: "string",
1726
- value: elem
1727
- })).every((flag) => flag) || $report(_exceptionable2, {
1728
- path: _path2 + ".included_types",
1729
- expected: "(Array<string> | undefined)",
1730
- value: input3.included_types
1731
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1732
- path: _path2 + ".isleaf",
1733
- expected: "(boolean | undefined)",
1734
- value: input3.isleaf
1735
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1736
- path: _path2 + ".values",
1737
- expected: "(TermValues | undefined)",
1738
- value: input3.values
1739
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1740
- path: _path2 + ".values",
1741
- expected: "(TermValues | undefined)",
1742
- value: input3.values
1743
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1744
- path: _path2 + ".skipValuesBuild",
1745
- expected: "(boolean | undefined)",
1746
- value: input3.skipValuesBuild
1747
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
1748
- path: _path2 + ".valueConversion",
1749
- expected: "(__type.o1 | undefined)",
1750
- value: input3.valueConversion
1751
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
1752
- path: _path2 + ".valueConversion",
1753
- expected: "(__type.o1 | undefined)",
1754
- value: input3.valueConversion
1755
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1756
- path: _path2 + ".continuousColorScale",
1757
- expected: "(__type.o3 | undefined)",
1758
- value: input3.continuousColorScale
1759
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1760
- path: _path2 + ".continuousColorScale",
1761
- expected: "(__type.o3 | undefined)",
1762
- value: input3.continuousColorScale
1763
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1764
- path: _path2 + ".unit",
1765
- expected: "(string | undefined)",
1766
- value: input3.unit
1767
- }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1768
- path: _path2 + ".bins",
1769
- expected: "(PresetNumericBins | undefined)",
1770
- value: input3.bins
1771
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1772
- path: _path2 + ".bins",
1773
- expected: "(PresetNumericBins | undefined)",
1774
- value: input3.bins
1775
- })].every((flag) => flag);
1776
- const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1777
- path: _path2 + ".id",
1778
- expected: "string",
1779
- value: input3.id
1780
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1781
- path: _path2 + ".name",
1782
- expected: "string",
1783
- value: input3.name
1784
- }), "ssGSEA" === input3.type || $report(_exceptionable2, {
1785
- path: _path2 + ".type",
1786
- expected: '"ssGSEA"',
1787
- value: input3.type
1788
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1789
- path: _path2 + ".child_types",
1790
- expected: "(Array<string> | undefined)",
1791
- value: input3.child_types
1792
- })) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
1793
- path: _path2 + ".child_types[" + _index27 + "]",
1794
- expected: "string",
1795
- value: elem
1796
- })).every((flag) => flag) || $report(_exceptionable2, {
1797
- path: _path2 + ".child_types",
1798
- expected: "(Array<string> | undefined)",
1799
- value: input3.child_types
1800
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1801
- path: _path2 + ".hashtmldetail",
1802
- expected: "(boolean | undefined)",
1803
- value: input3.hashtmldetail
1804
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1805
- path: _path2 + ".included_types",
1806
- expected: "(Array<string> | undefined)",
1807
- value: input3.included_types
1808
- })) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
1809
- path: _path2 + ".included_types[" + _index28 + "]",
1810
- expected: "string",
1811
- value: elem
1812
- })).every((flag) => flag) || $report(_exceptionable2, {
1813
- path: _path2 + ".included_types",
1814
- expected: "(Array<string> | undefined)",
1815
- value: input3.included_types
1816
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1817
- path: _path2 + ".isleaf",
1818
- expected: "(boolean | undefined)",
1819
- value: input3.isleaf
1820
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1821
- path: _path2 + ".values",
1822
- expected: "(TermValues | undefined)",
1823
- value: input3.values
1824
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1825
- path: _path2 + ".values",
1826
- expected: "(TermValues | undefined)",
1827
- value: input3.values
1828
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1829
- path: _path2 + ".skipValuesBuild",
1830
- expected: "(boolean | undefined)",
1831
- value: input3.skipValuesBuild
1832
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
1833
- path: _path2 + ".valueConversion",
1834
- expected: "(__type.o1 | undefined)",
1835
- value: input3.valueConversion
1836
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
1837
- path: _path2 + ".valueConversion",
1838
- expected: "(__type.o1 | undefined)",
1839
- value: input3.valueConversion
1840
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1841
- path: _path2 + ".continuousColorScale",
1842
- expected: "(__type.o3 | undefined)",
1843
- value: input3.continuousColorScale
1844
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1845
- path: _path2 + ".continuousColorScale",
1846
- expected: "(__type.o3 | undefined)",
1847
- value: input3.continuousColorScale
1848
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1849
- path: _path2 + ".unit",
1850
- expected: "(string | undefined)",
1851
- value: input3.unit
1852
- }), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
1853
- path: _path2 + ".genes",
1854
- expected: "(Array<string> | undefined)",
1855
- value: input3.genes
1856
- })) && input3.genes.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
1857
- path: _path2 + ".genes[" + _index29 + "]",
1858
- expected: "string",
1859
- value: elem
1860
- })).every((flag) => flag) || $report(_exceptionable2, {
1861
- path: _path2 + ".genes",
1862
- expected: "(Array<string> | undefined)",
1863
- value: input3.genes
1864
- }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1865
- path: _path2 + ".bins",
1866
- expected: "(PresetNumericBins | undefined)",
1867
- value: input3.bins
1868
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1869
- path: _path2 + ".bins",
1870
- expected: "(PresetNumericBins | undefined)",
1871
- value: input3.bins
1872
- })].every((flag) => flag);
1873
- const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1874
- path: _path2 + ".id",
1875
- expected: "string",
1876
- value: input3.id
1877
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1878
- path: _path2 + ".name",
1879
- expected: "string",
1880
- value: input3.name
1881
- }), "dnaMethylation" === input3.type || $report(_exceptionable2, {
1882
- path: _path2 + ".type",
1883
- expected: '"dnaMethylation"',
1884
- value: input3.type
1885
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1886
- path: _path2 + ".child_types",
1887
- expected: "(Array<string> | undefined)",
1888
- value: input3.child_types
1889
- })) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
1890
- path: _path2 + ".child_types[" + _index30 + "]",
1891
- expected: "string",
1892
- value: elem
1893
- })).every((flag) => flag) || $report(_exceptionable2, {
1894
- path: _path2 + ".child_types",
1895
- expected: "(Array<string> | undefined)",
1896
- value: input3.child_types
1897
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1898
- path: _path2 + ".hashtmldetail",
1899
- expected: "(boolean | undefined)",
1900
- value: input3.hashtmldetail
1901
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1902
- path: _path2 + ".included_types",
1903
- expected: "(Array<string> | undefined)",
1904
- value: input3.included_types
1905
- })) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
1906
- path: _path2 + ".included_types[" + _index31 + "]",
1907
- expected: "string",
1908
- value: elem
1909
- })).every((flag) => flag) || $report(_exceptionable2, {
1910
- path: _path2 + ".included_types",
1911
- expected: "(Array<string> | undefined)",
1912
- value: input3.included_types
1913
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1914
- path: _path2 + ".isleaf",
1915
- expected: "(boolean | undefined)",
1916
- value: input3.isleaf
1917
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1918
- path: _path2 + ".values",
1919
- expected: "(TermValues | undefined)",
1920
- value: input3.values
1921
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1922
- path: _path2 + ".values",
1923
- expected: "(TermValues | undefined)",
1924
- value: input3.values
1925
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1926
- path: _path2 + ".skipValuesBuild",
1927
- expected: "(boolean | undefined)",
1928
- value: input3.skipValuesBuild
1929
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
1930
- path: _path2 + ".valueConversion",
1931
- expected: "(__type.o1 | undefined)",
1932
- value: input3.valueConversion
1933
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
1934
- path: _path2 + ".valueConversion",
1935
- expected: "(__type.o1 | undefined)",
1936
- value: input3.valueConversion
1937
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1938
- path: _path2 + ".continuousColorScale",
1939
- expected: "(__type.o3 | undefined)",
1940
- value: input3.continuousColorScale
1941
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1942
- path: _path2 + ".continuousColorScale",
1943
- expected: "(__type.o3 | undefined)",
1944
- value: input3.continuousColorScale
1945
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1946
- path: _path2 + ".unit",
1947
- expected: "(string | undefined)",
1948
- value: input3.unit
1949
- }), "string" === typeof input3.chr || $report(_exceptionable2, {
1950
- path: _path2 + ".chr",
1951
- expected: "string",
1952
- value: input3.chr
1953
- }), "number" === typeof input3.start || $report(_exceptionable2, {
1954
- path: _path2 + ".start",
1955
- expected: "number",
1956
- value: input3.start
1957
- }), "number" === typeof input3.stop || $report(_exceptionable2, {
1958
- path: _path2 + ".stop",
1959
- expected: "number",
1960
- value: input3.stop
1961
- }), "gene" === input3.genomicFeatureType || "promoter" === input3.genomicFeatureType || "region" === input3.genomicFeatureType || "enhancer" === input3.genomicFeatureType || $report(_exceptionable2, {
1962
- path: _path2 + ".genomicFeatureType",
1963
- expected: '("enhancer" | "gene" | "promoter" | "region")',
1964
- value: input3.genomicFeatureType
1965
- }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1966
- path: _path2 + ".bins",
1967
- expected: "(PresetNumericBins | undefined)",
1968
- value: input3.bins
1969
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1970
- path: _path2 + ".bins",
1971
- expected: "(PresetNumericBins | undefined)",
1972
- value: input3.bins
1973
- })].every((flag) => flag);
1974
- const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1975
- path: _path2 + ".id",
1976
- expected: "string",
1977
- value: input3.id
1978
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1979
- path: _path2 + ".name",
1980
- expected: "string",
1981
- value: input3.name
1982
- }), "singleCellGeneExpression" === input3.type || $report(_exceptionable2, {
1983
- path: _path2 + ".type",
1984
- expected: '"singleCellGeneExpression"',
1985
- value: input3.type
1986
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1987
- path: _path2 + ".child_types",
1988
- expected: "(Array<string> | undefined)",
1989
- value: input3.child_types
1990
- })) && input3.child_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
1991
- path: _path2 + ".child_types[" + _index32 + "]",
1992
- expected: "string",
1993
- value: elem
1994
- })).every((flag) => flag) || $report(_exceptionable2, {
1995
- path: _path2 + ".child_types",
1996
- expected: "(Array<string> | undefined)",
1997
- value: input3.child_types
1998
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1999
- path: _path2 + ".hashtmldetail",
2000
- expected: "(boolean | undefined)",
2001
- value: input3.hashtmldetail
2002
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2003
- path: _path2 + ".included_types",
2004
- expected: "(Array<string> | undefined)",
2005
- value: input3.included_types
2006
- })) && input3.included_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
2007
- path: _path2 + ".included_types[" + _index33 + "]",
2008
- expected: "string",
2009
- value: elem
2010
- })).every((flag) => flag) || $report(_exceptionable2, {
2011
- path: _path2 + ".included_types",
2012
- expected: "(Array<string> | undefined)",
2013
- value: input3.included_types
2014
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2015
- path: _path2 + ".isleaf",
2016
- expected: "(boolean | undefined)",
2017
- value: input3.isleaf
2018
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2019
- path: _path2 + ".values",
2020
- expected: "(TermValues | undefined)",
2021
- value: input3.values
2022
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2023
- path: _path2 + ".values",
2024
- expected: "(TermValues | undefined)",
2025
- value: input3.values
2026
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2027
- path: _path2 + ".skipValuesBuild",
2028
- expected: "(boolean | undefined)",
2029
- value: input3.skipValuesBuild
2030
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
2031
- path: _path2 + ".valueConversion",
2032
- expected: "(__type.o1 | undefined)",
2033
- value: input3.valueConversion
2034
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
2035
- path: _path2 + ".valueConversion",
2036
- expected: "(__type.o1 | undefined)",
2037
- value: input3.valueConversion
2038
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
2039
- path: _path2 + ".continuousColorScale",
2040
- expected: "(__type.o3 | undefined)",
2041
- value: input3.continuousColorScale
2042
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
2043
- path: _path2 + ".continuousColorScale",
2044
- expected: "(__type.o3 | undefined)",
2045
- value: input3.continuousColorScale
2046
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
2047
- path: _path2 + ".unit",
2048
- expected: "(string | undefined)",
2049
- value: input3.unit
2050
- }), "string" === typeof input3.gene || $report(_exceptionable2, {
2051
- path: _path2 + ".gene",
2052
- expected: "string",
2053
- value: input3.gene
2054
- }), "string" === typeof input3.sample || $report(_exceptionable2, {
2055
- path: _path2 + ".sample",
2056
- expected: "string",
2057
- value: input3.sample
2058
- }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
2059
- path: _path2 + ".bins",
2060
- expected: "(PresetNumericBins | undefined)",
2061
- value: input3.bins
2062
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
2063
- path: _path2 + ".bins",
2064
- expected: "(PresetNumericBins | undefined)",
2065
- value: input3.bins
2066
- }), void 0 === input3.kind || "gene" === input3.kind || $report(_exceptionable2, {
2067
- path: _path2 + ".kind",
2068
- expected: '("gene" | undefined)',
2069
- value: input3.kind
2070
- }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
2071
- path: _path2 + ".chr",
2072
- expected: "(string | undefined)",
2073
- value: input3.chr
2074
- }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
2075
- path: _path2 + ".start",
2076
- expected: "(number | undefined)",
2077
- value: input3.start
2078
- }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
2079
- path: _path2 + ".stop",
2080
- expected: "(number | undefined)",
2081
- value: input3.stop
2082
- })].every((flag) => flag);
2083
- const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2084
- path: _path2 + ".id",
2085
- expected: "string",
2086
- value: input3.id
2087
- }), "string" === typeof input3.name || $report(_exceptionable2, {
2088
- path: _path2 + ".name",
2089
- expected: "string",
2090
- value: input3.name
2091
- }), "singleCellGeneExpression" === input3.type || $report(_exceptionable2, {
2092
- path: _path2 + ".type",
2093
- expected: '"singleCellGeneExpression"',
2094
- value: input3.type
2095
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2096
- path: _path2 + ".child_types",
2097
- expected: "(Array<string> | undefined)",
2098
- value: input3.child_types
2099
- })) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
2100
- path: _path2 + ".child_types[" + _index34 + "]",
2101
- expected: "string",
2102
- value: elem
2103
- })).every((flag) => flag) || $report(_exceptionable2, {
2104
- path: _path2 + ".child_types",
2105
- expected: "(Array<string> | undefined)",
2106
- value: input3.child_types
2107
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2108
- path: _path2 + ".hashtmldetail",
2109
- expected: "(boolean | undefined)",
2110
- value: input3.hashtmldetail
2111
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2112
- path: _path2 + ".included_types",
2113
- expected: "(Array<string> | undefined)",
2114
- value: input3.included_types
2115
- })) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
2116
- path: _path2 + ".included_types[" + _index35 + "]",
2117
- expected: "string",
2118
- value: elem
2119
- })).every((flag) => flag) || $report(_exceptionable2, {
2120
- path: _path2 + ".included_types",
2121
- expected: "(Array<string> | undefined)",
2122
- value: input3.included_types
2123
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2124
- path: _path2 + ".isleaf",
2125
- expected: "(boolean | undefined)",
2126
- value: input3.isleaf
2127
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2128
- path: _path2 + ".values",
2129
- expected: "(TermValues | undefined)",
2130
- value: input3.values
2131
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2132
- path: _path2 + ".values",
2133
- expected: "(TermValues | undefined)",
2134
- value: input3.values
2135
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2136
- path: _path2 + ".skipValuesBuild",
2137
- expected: "(boolean | undefined)",
2138
- value: input3.skipValuesBuild
2139
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
2140
- path: _path2 + ".valueConversion",
2141
- expected: "(__type.o1 | undefined)",
2142
- value: input3.valueConversion
2143
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
2144
- path: _path2 + ".valueConversion",
2145
- expected: "(__type.o1 | undefined)",
2146
- value: input3.valueConversion
2147
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
2148
- path: _path2 + ".continuousColorScale",
2149
- expected: "(__type.o3 | undefined)",
2150
- value: input3.continuousColorScale
2151
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
2152
- path: _path2 + ".continuousColorScale",
2153
- expected: "(__type.o3 | undefined)",
2154
- value: input3.continuousColorScale
2155
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
2156
- path: _path2 + ".unit",
2157
- expected: "(string | undefined)",
2158
- value: input3.unit
2159
- }), "string" === typeof input3.gene || $report(_exceptionable2, {
2160
- path: _path2 + ".gene",
2161
- expected: "string",
2162
- value: input3.gene
2163
- }), "string" === typeof input3.sample || $report(_exceptionable2, {
2164
- path: _path2 + ".sample",
2165
- expected: "string",
2166
- value: input3.sample
2167
- }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
2168
- path: _path2 + ".bins",
2169
- expected: "(PresetNumericBins | undefined)",
2170
- value: input3.bins
2171
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
2172
- path: _path2 + ".bins",
2173
- expected: "(PresetNumericBins | undefined)",
2174
- value: input3.bins
2175
- }), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
2176
- path: _path2 + ".kind",
2177
- expected: '("coord" | undefined)',
2178
- value: input3.kind
2179
- }), "string" === typeof input3.chr || $report(_exceptionable2, {
2180
- path: _path2 + ".chr",
2181
- expected: "string",
2182
- value: input3.chr
2183
- }), "number" === typeof input3.start || $report(_exceptionable2, {
2184
- path: _path2 + ".start",
2185
- expected: "number",
2186
- value: input3.start
2187
- }), "number" === typeof input3.stop || $report(_exceptionable2, {
2188
- path: _path2 + ".stop",
2189
- expected: "number",
2190
- value: input3.stop
2191
- })].every((flag) => flag);
2192
- const $vo35 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
2193
- path: _path2 + ".value",
2194
- expected: "number",
2195
- value: input3.value
2196
- }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
2197
- path: _path2 + ".label",
2198
- expected: "(string | undefined)",
2199
- value: input3.label
2200
- }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
2201
- path: _path2 + ".name",
2202
- expected: "(string | undefined)",
2203
- value: input3.name
2204
- })].every((flag) => flag);
2205
- const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
2206
- path: _path2 + ".key",
2207
- expected: "string",
2208
- value: input3.key
2209
- }), "number" === typeof input3.value || $report(_exceptionable2, {
2210
- path: _path2 + ".value",
2211
- expected: "number",
2212
- value: input3.value
2213
- }), true === input3.uncomputable || $report(_exceptionable2, {
2214
- path: _path2 + ".uncomputable",
2215
- expected: "true",
2216
- value: input3.uncomputable
2217
- }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
2218
- path: _path2 + ".label",
2219
- expected: "(string | undefined)",
2220
- value: input3.label
2221
- })].every((flag) => flag);
2222
- const $vo37 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2223
- path: _path2 + ".join",
2224
- expected: "(string | undefined)",
2225
- value: input3.join
2226
- }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
2227
- path: _path2 + ".isnot",
2228
- expected: "(boolean | undefined)",
2229
- value: input3.isnot
2230
- }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
2231
- path: _path2 + ".bar_by_grade",
2232
- expected: "(boolean | undefined)",
2233
- value: input3.bar_by_grade
2234
- }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
2235
- path: _path2 + ".bar_by_children",
2236
- expected: "(boolean | undefined)",
2237
- value: input3.bar_by_children
2238
- }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
2239
- path: _path2 + ".value_by_max_grade",
2240
- expected: "(boolean | undefined)",
2241
- value: input3.value_by_max_grade
2242
- }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
2243
- path: _path2 + ".value_by_most_recent",
2244
- expected: "(boolean | undefined)",
2245
- value: input3.value_by_most_recent
2246
- }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
2247
- path: _path2 + ".value_by_computable_grade",
2248
- expected: "(boolean | undefined)",
2249
- value: input3.value_by_computable_grade
2250
- }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2251
- path: _path2 + ".term",
2252
- expected: "ConditionTerm",
2253
- value: input3.term
2254
- })) && $vo38(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2255
- path: _path2 + ".term",
2256
- expected: "ConditionTerm",
2257
- value: input3.term
2258
- }), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
2259
- path: _path2 + ".grade_and_child",
2260
- expected: "(Array<GradeAndChildEntry> | undefined)",
2261
- value: input3.grade_and_child
2262
- })) && input3.grade_and_child.map((elem, _index36) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2263
- path: _path2 + ".grade_and_child[" + _index36 + "]",
2264
- expected: "GradeAndChildEntry",
2265
- value: elem
2266
- })) && $vo39(elem, _path2 + ".grade_and_child[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
2267
- path: _path2 + ".grade_and_child[" + _index36 + "]",
2268
- expected: "GradeAndChildEntry",
2269
- value: elem
2270
- })).every((flag) => flag) || $report(_exceptionable2, {
2271
- path: _path2 + ".grade_and_child",
2272
- expected: "(Array<GradeAndChildEntry> | undefined)",
2273
- value: input3.grade_and_child
2274
- }), (Array.isArray(input3.values) || $report(_exceptionable2, {
2275
- path: _path2 + ".values",
2276
- expected: "Array<__type>.o2",
2277
- value: input3.values
2278
- })) && input3.values.map((elem, _index37) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2279
- path: _path2 + ".values[" + _index37 + "]",
2280
- expected: "__type.o6",
2281
- value: elem
2282
- })) && $vo40(elem, _path2 + ".values[" + _index37 + "]", _exceptionable2) || $report(_exceptionable2, {
2283
- path: _path2 + ".values[" + _index37 + "]",
2284
- expected: "__type.o6",
2285
- value: elem
2286
- })).every((flag) => flag) || $report(_exceptionable2, {
2287
- path: _path2 + ".values",
2288
- expected: "Array<__type>.o2",
2289
- value: input3.values
2290
- })].every((flag) => flag);
2291
- const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2292
- path: _path2 + ".id",
2293
- expected: "string",
2294
- value: input3.id
2295
- }), "string" === typeof input3.name || $report(_exceptionable2, {
2296
- path: _path2 + ".name",
2297
- expected: "string",
2298
- value: input3.name
2299
- }), "condition" === input3.type || $report(_exceptionable2, {
2300
- path: _path2 + ".type",
2301
- expected: '"condition"',
2302
- value: input3.type
2303
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2304
- path: _path2 + ".child_types",
2305
- expected: "(Array<string> | undefined)",
2306
- value: input3.child_types
2307
- })) && input3.child_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
2308
- path: _path2 + ".child_types[" + _index38 + "]",
2309
- expected: "string",
2310
- value: elem
2311
- })).every((flag) => flag) || $report(_exceptionable2, {
2312
- path: _path2 + ".child_types",
2313
- expected: "(Array<string> | undefined)",
2314
- value: input3.child_types
2315
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2316
- path: _path2 + ".hashtmldetail",
2317
- expected: "(boolean | undefined)",
2318
- value: input3.hashtmldetail
2319
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2320
- path: _path2 + ".included_types",
2321
- expected: "(Array<string> | undefined)",
2322
- value: input3.included_types
2323
- })) && input3.included_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
2324
- path: _path2 + ".included_types[" + _index39 + "]",
2325
- expected: "string",
2326
- value: elem
2327
- })).every((flag) => flag) || $report(_exceptionable2, {
2328
- path: _path2 + ".included_types",
2329
- expected: "(Array<string> | undefined)",
2330
- value: input3.included_types
2331
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2332
- path: _path2 + ".isleaf",
2333
- expected: "(boolean | undefined)",
2334
- value: input3.isleaf
2335
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2336
- path: _path2 + ".values",
2337
- expected: "(TermValues | undefined)",
2338
- value: input3.values
2339
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2340
- path: _path2 + ".values",
2341
- expected: "(TermValues | undefined)",
2342
- value: input3.values
2343
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2344
- path: _path2 + ".skipValuesBuild",
2345
- expected: "(boolean | undefined)",
2346
- value: input3.skipValuesBuild
2347
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
2348
- path: _path2 + ".valueConversion",
2349
- expected: "(__type.o1 | undefined)",
2350
- value: input3.valueConversion
2351
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
2352
- path: _path2 + ".valueConversion",
2353
- expected: "(__type.o1 | undefined)",
2354
- value: input3.valueConversion
2355
- })].every((flag) => flag);
2356
- const $vo39 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
2357
- path: _path2 + ".grade",
2358
- expected: "number",
2359
- value: input3.grade
2360
- }), "string" === typeof input3.grade_label || $report(_exceptionable2, {
2361
- path: _path2 + ".grade_label",
2362
- expected: "string",
2363
- value: input3.grade_label
2364
- }), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
2365
- path: _path2 + ".child_id",
2366
- expected: "(string | undefined)",
2367
- value: input3.child_id
2368
- }), "string" === typeof input3.child_label || $report(_exceptionable2, {
2369
- path: _path2 + ".child_label",
2370
- expected: "string",
2371
- value: input3.child_label
2372
- })].every((flag) => flag);
2373
- const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
2374
- path: _path2 + ".key",
2375
- expected: "(number | string)",
2376
- value: input3.key
2377
- }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
2378
- path: _path2 + ".label",
2379
- expected: "(string | undefined)",
2380
- value: input3.label
2381
- }), false === _exceptionable2 || Object.keys(input3).map((key) => {
2382
- if (["key", "label"].some((prop) => key === prop))
2383
- return true;
2384
- const value = input3[key];
2385
- if (void 0 === value)
2386
- return true;
2387
- if (RegExp(/(.*)/).test(key))
2388
- return true;
2389
- return true;
2390
- }).every((flag) => flag)].every((flag) => flag);
2391
- const $vo41 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2392
- path: _path2 + ".join",
2393
- expected: "(string | undefined)",
2394
- value: input3.join
2395
- }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
2396
- path: _path2 + ".isnot",
2397
- expected: "(boolean | undefined)",
2398
- value: input3.isnot
2399
- }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
2400
- path: _path2 + ".bar_by_grade",
2401
- expected: "(boolean | undefined)",
2402
- value: input3.bar_by_grade
2403
- }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
2404
- path: _path2 + ".bar_by_children",
2405
- expected: "(boolean | undefined)",
2406
- value: input3.bar_by_children
2407
- }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
2408
- path: _path2 + ".value_by_max_grade",
2409
- expected: "(boolean | undefined)",
2410
- value: input3.value_by_max_grade
2411
- }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
2412
- path: _path2 + ".value_by_most_recent",
2413
- expected: "(boolean | undefined)",
2414
- value: input3.value_by_most_recent
2415
- }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
2416
- path: _path2 + ".value_by_computable_grade",
2417
- expected: "(boolean | undefined)",
2418
- value: input3.value_by_computable_grade
2419
- }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2420
- path: _path2 + ".term",
2421
- expected: "DtTerm",
2422
- value: input3.term
2423
- })) && $vo42(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2424
- path: _path2 + ".term",
2425
- expected: "DtTerm",
2426
- value: input3.term
2427
- }), (Array.isArray(input3.values) || $report(_exceptionable2, {
2428
- path: _path2 + ".values",
2429
- expected: "Array<GeneVariantValue>",
2430
- value: input3.values
2431
- })) && input3.values.map((elem, _index40) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
2432
- path: _path2 + ".values[" + _index40 + "]",
2433
- expected: "GeneVariantValue",
2434
- value: elem
2435
- })) && $vo47(elem, _path2 + ".values[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
2436
- path: _path2 + ".values[" + _index40 + "]",
2437
- expected: "GeneVariantValue",
2438
- value: elem
2439
- })).every((flag) => flag) || $report(_exceptionable2, {
2440
- path: _path2 + ".values",
2441
- expected: "Array<GeneVariantValue>",
2442
- value: input3.values
2443
- }), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
2444
- path: _path2 + ".includeNotTested",
2445
- expected: "(boolean | undefined)",
2446
- value: input3.includeNotTested
2447
- }), void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName || $report(_exceptionable2, {
2448
- path: _path2 + ".excludeGeneName",
2449
- expected: "(boolean | undefined)",
2450
- value: input3.excludeGeneName
2451
- }), void 0 === input3.genotype || "variant" === input3.genotype || "nt" === input3.genotype || "wt" === input3.genotype || $report(_exceptionable2, {
2452
- path: _path2 + ".genotype",
2453
- expected: '("nt" | "variant" | "wt" | undefined)',
2454
- value: input3.genotype
2455
- }), void 0 === input3.mcount || "any" === input3.mcount || "single" === input3.mcount || "multiple" === input3.mcount || "all" === input3.mcount || $report(_exceptionable2, {
2456
- path: _path2 + ".mcount",
2457
- expected: '("all" | "any" | "multiple" | "single" | undefined)',
2458
- value: input3.mcount
2459
- }), void 0 === input3.continuousCnv || "boolean" === typeof input3.continuousCnv || $report(_exceptionable2, {
2460
- path: _path2 + ".continuousCnv",
2461
- expected: "(boolean | undefined)",
2462
- value: input3.continuousCnv
2463
- }), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
2464
- path: _path2 + ".cnvLossCutoff",
2465
- expected: "(number | undefined)",
2466
- value: input3.cnvLossCutoff
2467
- }), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
2468
- path: _path2 + ".cnvGainCutoff",
2469
- expected: "(number | undefined)",
2470
- value: input3.cnvGainCutoff
2471
- }), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
2472
- path: _path2 + ".cnvMaxLength",
2473
- expected: "(number | undefined)",
2474
- value: input3.cnvMaxLength
2475
- }), void 0 === input3.cnvWT || "boolean" === typeof input3.cnvWT || $report(_exceptionable2, {
2476
- path: _path2 + ".cnvWT",
2477
- expected: "(boolean | undefined)",
2478
- value: input3.cnvWT
2479
- }), void 0 === input3.fractionOverlap || "number" === typeof input3.fractionOverlap || $report(_exceptionable2, {
2480
- path: _path2 + ".fractionOverlap",
2481
- expected: "(number | undefined)",
2482
- value: input3.fractionOverlap
2483
- })].every((flag) => flag);
2484
- const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2485
- path: _path2 + ".id",
2486
- expected: "string",
2487
- value: input3.id
2488
- }), "string" === typeof input3.query || $report(_exceptionable2, {
2489
- path: _path2 + ".query",
2490
- expected: "string",
2491
- value: input3.query
2492
- }), "string" === typeof input3.name || $report(_exceptionable2, {
2493
- path: _path2 + ".name",
2494
- expected: "string",
2495
- value: input3.name
2496
- }), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
2497
- path: _path2 + ".name_noOrigin",
2498
- expected: "string",
2499
- value: input3.name_noOrigin
2500
- }), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
2501
- path: _path2 + ".parentTerm",
2502
- expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
2503
- value: input3.parentTerm
2504
- })) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
2505
- path: _path2 + ".parentTerm",
2506
- expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
2507
- value: input3.parentTerm
2508
- }), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2509
- path: _path2 + ".isleaf",
2510
- expected: "boolean",
2511
- value: input3.isleaf
2512
- }), "string" === typeof input3.type || $report(_exceptionable2, {
2513
- path: _path2 + ".type",
2514
- expected: "string",
2515
- value: input3.type
2516
- }), "number" === typeof input3.dt || $report(_exceptionable2, {
2517
- path: _path2 + ".dt",
2518
- expected: "number",
2519
- value: input3.dt
2520
- }), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
2521
- path: _path2 + ".origin",
2522
- expected: "(string | undefined)",
2523
- value: input3.origin
2524
- }), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2525
- path: _path2 + ".values",
2526
- expected: "TermValues",
2527
- value: input3.values
2528
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2529
- path: _path2 + ".values",
2530
- expected: "TermValues",
2531
- value: input3.values
2532
- })].every((flag) => flag);
2533
- const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2534
- path: _path2 + ".id",
2535
- expected: "string",
2536
- value: input3.id
2537
- }), "string" === typeof input3.name || $report(_exceptionable2, {
2538
- path: _path2 + ".name",
2539
- expected: "string",
2540
- value: input3.name
2541
- }), "geneVariant" === input3.type || $report(_exceptionable2, {
2542
- path: _path2 + ".type",
2543
- expected: '"geneVariant"',
2544
- value: input3.type
2545
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2546
- path: _path2 + ".child_types",
2547
- expected: "(Array<string> | undefined)",
2548
- value: input3.child_types
2549
- })) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
2550
- path: _path2 + ".child_types[" + _index41 + "]",
2551
- expected: "string",
2552
- value: elem
2553
- })).every((flag) => flag) || $report(_exceptionable2, {
2554
- path: _path2 + ".child_types",
2555
- expected: "(Array<string> | undefined)",
2556
- value: input3.child_types
2557
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2558
- path: _path2 + ".hashtmldetail",
2559
- expected: "(boolean | undefined)",
2560
- value: input3.hashtmldetail
2561
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2562
- path: _path2 + ".included_types",
2563
- expected: "(Array<string> | undefined)",
2564
- value: input3.included_types
2565
- })) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
2566
- path: _path2 + ".included_types[" + _index42 + "]",
2567
- expected: "string",
2568
- value: elem
2569
- })).every((flag) => flag) || $report(_exceptionable2, {
2570
- path: _path2 + ".included_types",
2571
- expected: "(Array<string> | undefined)",
2572
- value: input3.included_types
2573
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2574
- path: _path2 + ".isleaf",
2575
- expected: "(boolean | undefined)",
2576
- value: input3.isleaf
2577
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2578
- path: _path2 + ".values",
2579
- expected: "(TermValues | undefined)",
2580
- value: input3.values
2581
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2582
- path: _path2 + ".values",
2583
- expected: "(TermValues | undefined)",
2584
- value: input3.values
2585
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2586
- path: _path2 + ".skipValuesBuild",
2587
- expected: "(boolean | undefined)",
2588
- value: input3.skipValuesBuild
2589
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
2590
- path: _path2 + ".valueConversion",
2591
- expected: "(__type.o1 | undefined)",
2592
- value: input3.valueConversion
2593
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
2594
- path: _path2 + ".valueConversion",
2595
- expected: "(__type.o1 | undefined)",
2596
- value: input3.valueConversion
2597
- }), "gene" === input3.kind || $report(_exceptionable2, {
2598
- path: _path2 + ".kind",
2599
- expected: '"gene"',
2600
- value: input3.kind
2601
- }), "string" === typeof input3.gene || $report(_exceptionable2, {
2602
- path: _path2 + ".gene",
2603
- expected: "string",
2604
- value: input3.gene
2605
- }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
2606
- path: _path2 + ".chr",
2607
- expected: "(string | undefined)",
2608
- value: input3.chr
2609
- }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
2610
- path: _path2 + ".start",
2611
- expected: "(number | undefined)",
2612
- value: input3.start
2613
- }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
2614
- path: _path2 + ".stop",
2615
- expected: "(number | undefined)",
2616
- value: input3.stop
2617
- }), (Array.isArray(input3.genes) || $report(_exceptionable2, {
2618
- path: _path2 + ".genes",
2619
- expected: "Array<GvGeneTerm>",
2620
- value: input3.genes
2621
- })) && input3.genes.map((elem, _index43) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2622
- path: _path2 + ".genes[" + _index43 + "]",
2623
- expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2624
- value: elem
2625
- })) && $vu3(elem, _path2 + ".genes[" + _index43 + "]", _exceptionable2) || $report(_exceptionable2, {
2626
- path: _path2 + ".genes[" + _index43 + "]",
2627
- expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2628
- value: elem
2629
- })).every((flag) => flag) || $report(_exceptionable2, {
2630
- path: _path2 + ".genes",
2631
- expected: "Array<GvGeneTerm>",
2632
- value: input3.genes
2633
- }), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
2634
- path: _path2 + ".groupsetting",
2635
- expected: "(TermGroupSetting | undefined)",
2636
- value: input3.groupsetting
2637
- })) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
2638
- path: _path2 + ".groupsetting",
2639
- expected: "(TermGroupSetting | undefined)",
2640
- value: input3.groupsetting
2641
- }), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
2642
- path: _path2 + ".childTerms",
2643
- expected: "(Array<DtTerm> | undefined)",
2644
- value: input3.childTerms
2645
- })) && input3.childTerms.map((elem, _index44) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2646
- path: _path2 + ".childTerms[" + _index44 + "]",
2647
- expected: "DtTerm",
2648
- value: elem
2649
- })) && $vo42(elem, _path2 + ".childTerms[" + _index44 + "]", _exceptionable2) || $report(_exceptionable2, {
2650
- path: _path2 + ".childTerms[" + _index44 + "]",
2651
- expected: "DtTerm",
2652
- value: elem
2653
- })).every((flag) => flag) || $report(_exceptionable2, {
2654
- path: _path2 + ".childTerms",
2655
- expected: "(Array<DtTerm> | undefined)",
2656
- value: input3.childTerms
2657
- })].every((flag) => flag);
2658
- const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2659
- path: _path2 + ".id",
2660
- expected: "string",
2661
- value: input3.id
2662
- }), "string" === typeof input3.name || $report(_exceptionable2, {
2663
- path: _path2 + ".name",
2664
- expected: "string",
2665
- value: input3.name
2666
- }), "string" === typeof input3.type || $report(_exceptionable2, {
2667
- path: _path2 + ".type",
2668
- expected: "string",
2669
- value: input3.type
2670
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2671
- path: _path2 + ".child_types",
2672
- expected: "(Array<string> | undefined)",
2673
- value: input3.child_types
2674
- })) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
2675
- path: _path2 + ".child_types[" + _index45 + "]",
2676
- expected: "string",
2677
- value: elem
2678
- })).every((flag) => flag) || $report(_exceptionable2, {
2679
- path: _path2 + ".child_types",
2680
- expected: "(Array<string> | undefined)",
2681
- value: input3.child_types
2682
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2683
- path: _path2 + ".hashtmldetail",
2684
- expected: "(boolean | undefined)",
2685
- value: input3.hashtmldetail
2686
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2687
- path: _path2 + ".included_types",
2688
- expected: "(Array<string> | undefined)",
2689
- value: input3.included_types
2690
- })) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
2691
- path: _path2 + ".included_types[" + _index46 + "]",
2692
- expected: "string",
2693
- value: elem
2694
- })).every((flag) => flag) || $report(_exceptionable2, {
2695
- path: _path2 + ".included_types",
2696
- expected: "(Array<string> | undefined)",
2697
- value: input3.included_types
2698
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2699
- path: _path2 + ".isleaf",
2700
- expected: "(boolean | undefined)",
2701
- value: input3.isleaf
2702
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2703
- path: _path2 + ".values",
2704
- expected: "(TermValues | undefined)",
2705
- value: input3.values
2706
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2707
- path: _path2 + ".values",
2708
- expected: "(TermValues | undefined)",
2709
- value: input3.values
2710
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2711
- path: _path2 + ".skipValuesBuild",
2712
- expected: "(boolean | undefined)",
2713
- value: input3.skipValuesBuild
2714
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
2715
- path: _path2 + ".valueConversion",
2716
- expected: "(__type.o1 | undefined)",
2717
- value: input3.valueConversion
2718
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
2719
- path: _path2 + ".valueConversion",
2720
- expected: "(__type.o1 | undefined)",
2721
- value: input3.valueConversion
2722
- }), "gene" === input3.kind || $report(_exceptionable2, {
2723
- path: _path2 + ".kind",
2724
- expected: '"gene"',
2725
- value: input3.kind
2726
- }), "string" === typeof input3.gene || $report(_exceptionable2, {
2727
- path: _path2 + ".gene",
2728
- expected: "string",
2729
- value: input3.gene
2730
- }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
2731
- path: _path2 + ".chr",
2732
- expected: "(string | undefined)",
2733
- value: input3.chr
2734
- }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
2735
- path: _path2 + ".start",
2736
- expected: "(number | undefined)",
2737
- value: input3.start
2738
- }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
2739
- path: _path2 + ".stop",
2740
- expected: "(number | undefined)",
2741
- value: input3.stop
2742
- })].every((flag) => flag);
2743
- const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2744
- path: _path2 + ".id",
2745
- expected: "string",
2746
- value: input3.id
2747
- }), "string" === typeof input3.name || $report(_exceptionable2, {
2748
- path: _path2 + ".name",
2749
- expected: "string",
2750
- value: input3.name
2751
- }), "string" === typeof input3.type || $report(_exceptionable2, {
2752
- path: _path2 + ".type",
2753
- expected: "string",
2754
- value: input3.type
2755
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2756
- path: _path2 + ".child_types",
2757
- expected: "(Array<string> | undefined)",
2758
- value: input3.child_types
2759
- })) && input3.child_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
2760
- path: _path2 + ".child_types[" + _index47 + "]",
2761
- expected: "string",
2762
- value: elem
2763
- })).every((flag) => flag) || $report(_exceptionable2, {
2764
- path: _path2 + ".child_types",
2765
- expected: "(Array<string> | undefined)",
2766
- value: input3.child_types
2767
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2768
- path: _path2 + ".hashtmldetail",
2769
- expected: "(boolean | undefined)",
2770
- value: input3.hashtmldetail
2771
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2772
- path: _path2 + ".included_types",
2773
- expected: "(Array<string> | undefined)",
2774
- value: input3.included_types
2775
- })) && input3.included_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
2776
- path: _path2 + ".included_types[" + _index48 + "]",
2777
- expected: "string",
2778
- value: elem
2779
- })).every((flag) => flag) || $report(_exceptionable2, {
2780
- path: _path2 + ".included_types",
2781
- expected: "(Array<string> | undefined)",
2782
- value: input3.included_types
2783
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2784
- path: _path2 + ".isleaf",
2785
- expected: "(boolean | undefined)",
2786
- value: input3.isleaf
2787
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2788
- path: _path2 + ".values",
2789
- expected: "(TermValues | undefined)",
2790
- value: input3.values
2791
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2792
- path: _path2 + ".values",
2793
- expected: "(TermValues | undefined)",
2794
- value: input3.values
2795
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2796
- path: _path2 + ".skipValuesBuild",
2797
- expected: "(boolean | undefined)",
2798
- value: input3.skipValuesBuild
2799
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
2800
- path: _path2 + ".valueConversion",
2801
- expected: "(__type.o1 | undefined)",
2802
- value: input3.valueConversion
2803
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
2804
- path: _path2 + ".valueConversion",
2805
- expected: "(__type.o1 | undefined)",
2806
- value: input3.valueConversion
2807
- }), "coord" === input3.kind || $report(_exceptionable2, {
2808
- path: _path2 + ".kind",
2809
- expected: '"coord"',
2810
- value: input3.kind
2811
- }), "string" === typeof input3.chr || $report(_exceptionable2, {
2812
- path: _path2 + ".chr",
2813
- expected: "string",
2814
- value: input3.chr
2815
- }), "number" === typeof input3.start || $report(_exceptionable2, {
2816
- path: _path2 + ".start",
2817
- expected: "number",
2818
- value: input3.start
2819
- }), "number" === typeof input3.stop || $report(_exceptionable2, {
2820
- path: _path2 + ".stop",
2821
- expected: "number",
2822
- value: input3.stop
2823
- })].every((flag) => flag);
2824
- const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2825
- path: _path2 + ".id",
2826
- expected: "string",
2827
- value: input3.id
2828
- }), "string" === typeof input3.name || $report(_exceptionable2, {
2829
- path: _path2 + ".name",
2830
- expected: "string",
2831
- value: input3.name
2832
- }), "geneVariant" === input3.type || $report(_exceptionable2, {
2833
- path: _path2 + ".type",
2834
- expected: '"geneVariant"',
2835
- value: input3.type
2836
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2837
- path: _path2 + ".child_types",
2838
- expected: "(Array<string> | undefined)",
2839
- value: input3.child_types
2840
- })) && input3.child_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
2841
- path: _path2 + ".child_types[" + _index49 + "]",
2842
- expected: "string",
2843
- value: elem
2844
- })).every((flag) => flag) || $report(_exceptionable2, {
2845
- path: _path2 + ".child_types",
2846
- expected: "(Array<string> | undefined)",
2847
- value: input3.child_types
2848
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2849
- path: _path2 + ".hashtmldetail",
2850
- expected: "(boolean | undefined)",
2851
- value: input3.hashtmldetail
2852
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2853
- path: _path2 + ".included_types",
2854
- expected: "(Array<string> | undefined)",
2855
- value: input3.included_types
2856
- })) && input3.included_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
2857
- path: _path2 + ".included_types[" + _index50 + "]",
2858
- expected: "string",
2859
- value: elem
2860
- })).every((flag) => flag) || $report(_exceptionable2, {
2861
- path: _path2 + ".included_types",
2862
- expected: "(Array<string> | undefined)",
2863
- value: input3.included_types
2864
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2865
- path: _path2 + ".isleaf",
2866
- expected: "(boolean | undefined)",
2867
- value: input3.isleaf
2868
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2869
- path: _path2 + ".values",
2870
- expected: "(TermValues | undefined)",
2871
- value: input3.values
2872
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2873
- path: _path2 + ".values",
2874
- expected: "(TermValues | undefined)",
2875
- value: input3.values
2876
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2877
- path: _path2 + ".skipValuesBuild",
2878
- expected: "(boolean | undefined)",
2879
- value: input3.skipValuesBuild
2880
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
2881
- path: _path2 + ".valueConversion",
2882
- expected: "(__type.o1 | undefined)",
2883
- value: input3.valueConversion
2884
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
2885
- path: _path2 + ".valueConversion",
2886
- expected: "(__type.o1 | undefined)",
2887
- value: input3.valueConversion
2888
- }), "coord" === input3.kind || $report(_exceptionable2, {
2889
- path: _path2 + ".kind",
2890
- expected: '"coord"',
2891
- value: input3.kind
2892
- }), "string" === typeof input3.chr || $report(_exceptionable2, {
2893
- path: _path2 + ".chr",
2894
- expected: "string",
2895
- value: input3.chr
2896
- }), "number" === typeof input3.start || $report(_exceptionable2, {
2897
- path: _path2 + ".start",
2898
- expected: "number",
2899
- value: input3.start
2900
- }), "number" === typeof input3.stop || $report(_exceptionable2, {
2901
- path: _path2 + ".stop",
2902
- expected: "number",
2903
- value: input3.stop
2904
- }), (Array.isArray(input3.genes) || $report(_exceptionable2, {
2905
- path: _path2 + ".genes",
2906
- expected: "Array<GvGeneTerm>",
2907
- value: input3.genes
2908
- })) && input3.genes.map((elem, _index51) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2909
- path: _path2 + ".genes[" + _index51 + "]",
2910
- expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2911
- value: elem
2912
- })) && $vu3(elem, _path2 + ".genes[" + _index51 + "]", _exceptionable2) || $report(_exceptionable2, {
2913
- path: _path2 + ".genes[" + _index51 + "]",
2914
- expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2915
- value: elem
2916
- })).every((flag) => flag) || $report(_exceptionable2, {
2917
- path: _path2 + ".genes",
2918
- expected: "Array<GvGeneTerm>",
2919
- value: input3.genes
2920
- }), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
2921
- path: _path2 + ".groupsetting",
2922
- expected: "(TermGroupSetting | undefined)",
2923
- value: input3.groupsetting
2924
- })) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
2925
- path: _path2 + ".groupsetting",
2926
- expected: "(TermGroupSetting | undefined)",
2927
- value: input3.groupsetting
2928
- }), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
2929
- path: _path2 + ".childTerms",
2930
- expected: "(Array<DtTerm> | undefined)",
2931
- value: input3.childTerms
2932
- })) && input3.childTerms.map((elem, _index52) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2933
- path: _path2 + ".childTerms[" + _index52 + "]",
2934
- expected: "DtTerm",
2935
- value: elem
2936
- })) && $vo42(elem, _path2 + ".childTerms[" + _index52 + "]", _exceptionable2) || $report(_exceptionable2, {
2937
- path: _path2 + ".childTerms[" + _index52 + "]",
2938
- expected: "DtTerm",
2939
- value: elem
2940
- })).every((flag) => flag) || $report(_exceptionable2, {
2941
- path: _path2 + ".childTerms",
2942
- expected: "(Array<DtTerm> | undefined)",
2943
- value: input3.childTerms
2944
- })].every((flag) => flag);
2945
- const $vo47 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
2946
- path: _path2 + ".key",
2947
- expected: "(string | undefined)",
2948
- value: input3.key
2949
- }), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
2950
- path: _path2 + ".label",
2951
- expected: "(number | string | undefined)",
2952
- value: input3.label
2953
- }), void 0 === input3.value || "string" === typeof input3.value || $report(_exceptionable2, {
2954
- path: _path2 + ".value",
2955
- expected: "(string | undefined)",
2956
- value: input3.value
2957
- }), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
2958
- path: _path2 + ".dt",
2959
- expected: "(number | undefined)",
2960
- value: input3.dt
2961
- }), void 0 === input3.mclasslst || (Array.isArray(input3.mclasslst) || $report(_exceptionable2, {
2962
- path: _path2 + ".mclasslst",
2963
- expected: "(Array<string> | undefined)",
2964
- value: input3.mclasslst
2965
- })) && input3.mclasslst.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
2966
- path: _path2 + ".mclasslst[" + _index53 + "]",
2967
- expected: "string",
2968
- value: elem
2969
- })).every((flag) => flag) || $report(_exceptionable2, {
2970
- path: _path2 + ".mclasslst",
2971
- expected: "(Array<string> | undefined)",
2972
- value: input3.mclasslst
2973
- }), void 0 === input3.mclassExcludeLst || (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
2974
- path: _path2 + ".mclassExcludeLst",
2975
- expected: "(Array<string> | undefined)",
2976
- value: input3.mclassExcludeLst
2977
- })) && input3.mclassExcludeLst.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
2978
- path: _path2 + ".mclassExcludeLst[" + _index54 + "]",
2979
- expected: "string",
2980
- value: elem
2981
- })).every((flag) => flag) || $report(_exceptionable2, {
2982
- path: _path2 + ".mclassExcludeLst",
2983
- expected: "(Array<string> | undefined)",
2984
- value: input3.mclassExcludeLst
2985
- }), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
2986
- path: _path2 + ".origin",
2987
- expected: "(string | undefined)",
2988
- value: input3.origin
2989
- })].every((flag) => flag);
2990
- const $vo48 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2991
- path: _path2 + ".join",
2992
- expected: "(string | undefined)",
2993
- value: input3.join
2994
- }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
2995
- path: _path2 + ".isnot",
2996
- expected: "(boolean | undefined)",
2997
- value: input3.isnot
2998
- }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
2999
- path: _path2 + ".bar_by_grade",
3000
- expected: "(boolean | undefined)",
3001
- value: input3.bar_by_grade
3002
- }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
3003
- path: _path2 + ".bar_by_children",
3004
- expected: "(boolean | undefined)",
3005
- value: input3.bar_by_children
3006
- }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
3007
- path: _path2 + ".value_by_max_grade",
3008
- expected: "(boolean | undefined)",
3009
- value: input3.value_by_max_grade
3010
- }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
3011
- path: _path2 + ".value_by_most_recent",
3012
- expected: "(boolean | undefined)",
3013
- value: input3.value_by_most_recent
3014
- }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
3015
- path: _path2 + ".value_by_computable_grade",
3016
- expected: "(boolean | undefined)",
3017
- value: input3.value_by_computable_grade
3018
- }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
3019
- path: _path2 + ".term",
3020
- expected: "(CategoricalTermCollection | NumericTermCollection)",
3021
- value: input3.term
3022
- })) && $vu11(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
3023
- path: _path2 + ".term",
3024
- expected: "(CategoricalTermCollection | NumericTermCollection)",
3025
- value: input3.term
3026
- }), "number" === typeof input3.ratio || $report(_exceptionable2, {
3027
- path: _path2 + ".ratio",
3028
- expected: "number",
3029
- value: input3.ratio
3030
- })].every((flag) => flag);
3031
- const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3032
- path: _path2 + ".id",
3033
- expected: "string",
3034
- value: input3.id
3035
- }), "string" === typeof input3.name || $report(_exceptionable2, {
3036
- path: _path2 + ".name",
3037
- expected: "string",
3038
- value: input3.name
3039
- }), "termCollection" === input3.type || $report(_exceptionable2, {
3040
- path: _path2 + ".type",
3041
- expected: '"termCollection"',
3042
- value: input3.type
3043
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
3044
- path: _path2 + ".child_types",
3045
- expected: "(Array<string> | undefined)",
3046
- value: input3.child_types
3047
- })) && input3.child_types.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
3048
- path: _path2 + ".child_types[" + _index55 + "]",
3049
- expected: "string",
3050
- value: elem
3051
- })).every((flag) => flag) || $report(_exceptionable2, {
3052
- path: _path2 + ".child_types",
3053
- expected: "(Array<string> | undefined)",
3054
- value: input3.child_types
3055
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
3056
- path: _path2 + ".hashtmldetail",
3057
- expected: "(boolean | undefined)",
3058
- value: input3.hashtmldetail
3059
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
3060
- path: _path2 + ".included_types",
3061
- expected: "(Array<string> | undefined)",
3062
- value: input3.included_types
3063
- })) && input3.included_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
3064
- path: _path2 + ".included_types[" + _index56 + "]",
3065
- expected: "string",
3066
- value: elem
3067
- })).every((flag) => flag) || $report(_exceptionable2, {
3068
- path: _path2 + ".included_types",
3069
- expected: "(Array<string> | undefined)",
3070
- value: input3.included_types
3071
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
3072
- path: _path2 + ".isleaf",
3073
- expected: "(boolean | undefined)",
3074
- value: input3.isleaf
3075
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
3076
- path: _path2 + ".values",
3077
- expected: "(TermValues | undefined)",
3078
- value: input3.values
3079
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
3080
- path: _path2 + ".values",
3081
- expected: "(TermValues | undefined)",
3082
- value: input3.values
3083
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
3084
- path: _path2 + ".skipValuesBuild",
3085
- expected: "(boolean | undefined)",
3086
- value: input3.skipValuesBuild
3087
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
3088
- path: _path2 + ".valueConversion",
3089
- expected: "(__type.o1 | undefined)",
3090
- value: input3.valueConversion
3091
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
3092
- path: _path2 + ".valueConversion",
3093
- expected: "(__type.o1 | undefined)",
3094
- value: input3.valueConversion
3095
- }), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
3096
- path: _path2 + ".termIds",
3097
- expected: "(Array<string> | undefined)",
3098
- value: input3.termIds
3099
- })) && input3.termIds.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
3100
- path: _path2 + ".termIds[" + _index57 + "]",
3101
- expected: "string",
3102
- value: elem
3103
- })).every((flag) => flag) || $report(_exceptionable2, {
3104
- path: _path2 + ".termIds",
3105
- expected: "(Array<string> | undefined)",
3106
- value: input3.termIds
3107
- }), (Array.isArray(input3.termlst) || $report(_exceptionable2, {
3108
- path: _path2 + ".termlst",
3109
- expected: "Array<BaseTerm>",
3110
- value: input3.termlst
3111
- })) && input3.termlst.map((elem, _index58) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3112
- path: _path2 + ".termlst[" + _index58 + "]",
3113
- expected: "BaseTerm",
3114
- value: elem
3115
- })) && $vo50(elem, _path2 + ".termlst[" + _index58 + "]", _exceptionable2) || $report(_exceptionable2, {
3116
- path: _path2 + ".termlst[" + _index58 + "]",
3117
- expected: "BaseTerm",
3118
- value: elem
3119
- })).every((flag) => flag) || $report(_exceptionable2, {
3120
- path: _path2 + ".termlst",
3121
- expected: "Array<BaseTerm>",
3122
- value: input3.termlst
3123
- }), void 0 === input3.newTvs || "boolean" === typeof input3.newTvs || $report(_exceptionable2, {
3124
- path: _path2 + ".newTvs",
3125
- expected: "(boolean | undefined)",
3126
- value: input3.newTvs
3127
- }), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
3128
- path: _path2 + ".propsByTermId",
3129
- expected: "__type.o7",
3130
- value: input3.propsByTermId
3131
- })) && $vo51(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
3132
- path: _path2 + ".propsByTermId",
3133
- expected: "__type.o7",
3134
- value: input3.propsByTermId
3135
- }), void 0 === input3.isCustom || "boolean" === typeof input3.isCustom || $report(_exceptionable2, {
3136
- path: _path2 + ".isCustom",
3137
- expected: "(boolean | undefined)",
3138
- value: input3.isCustom
3139
- }), "numeric" === input3.memberType || $report(_exceptionable2, {
3140
- path: _path2 + ".memberType",
3141
- expected: '"numeric"',
3142
- value: input3.memberType
3143
- }), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
3144
- path: _path2 + ".numerators",
3145
- expected: "(Array<string> | undefined)",
3146
- value: input3.numerators
3147
- })) && input3.numerators.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
3148
- path: _path2 + ".numerators[" + _index59 + "]",
3149
- expected: "string",
3150
- value: elem
3151
- })).every((flag) => flag) || $report(_exceptionable2, {
3152
- path: _path2 + ".numerators",
3153
- expected: "(Array<string> | undefined)",
3154
- value: input3.numerators
3155
- }), void 0 === input3.valueTransform || ("object" === typeof input3.valueTransform && null !== input3.valueTransform && false === Array.isArray(input3.valueTransform) || $report(_exceptionable2, {
3156
- path: _path2 + ".valueTransform",
3157
- expected: "(__type.o9 | undefined)",
3158
- value: input3.valueTransform
3159
- })) && $vo53(input3.valueTransform, _path2 + ".valueTransform", _exceptionable2) || $report(_exceptionable2, {
3160
- path: _path2 + ".valueTransform",
3161
- expected: "(__type.o9 | undefined)",
3162
- value: input3.valueTransform
3163
- })].every((flag) => flag);
3164
- const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3165
- path: _path2 + ".id",
3166
- expected: "string",
3167
- value: input3.id
3168
- }), "string" === typeof input3.name || $report(_exceptionable2, {
3169
- path: _path2 + ".name",
3170
- expected: "string",
3171
- value: input3.name
3172
- }), "string" === typeof input3.type || $report(_exceptionable2, {
3173
- path: _path2 + ".type",
3174
- expected: "string",
3175
- value: input3.type
3176
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
3177
- path: _path2 + ".child_types",
3178
- expected: "(Array<string> | undefined)",
3179
- value: input3.child_types
3180
- })) && input3.child_types.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
3181
- path: _path2 + ".child_types[" + _index60 + "]",
3182
- expected: "string",
3183
- value: elem
3184
- })).every((flag) => flag) || $report(_exceptionable2, {
3185
- path: _path2 + ".child_types",
3186
- expected: "(Array<string> | undefined)",
3187
- value: input3.child_types
3188
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
3189
- path: _path2 + ".hashtmldetail",
3190
- expected: "(boolean | undefined)",
3191
- value: input3.hashtmldetail
3192
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
3193
- path: _path2 + ".included_types",
3194
- expected: "(Array<string> | undefined)",
3195
- value: input3.included_types
3196
- })) && input3.included_types.map((elem, _index61) => "string" === typeof elem || $report(_exceptionable2, {
3197
- path: _path2 + ".included_types[" + _index61 + "]",
3198
- expected: "string",
3199
- value: elem
3200
- })).every((flag) => flag) || $report(_exceptionable2, {
3201
- path: _path2 + ".included_types",
3202
- expected: "(Array<string> | undefined)",
3203
- value: input3.included_types
3204
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
3205
- path: _path2 + ".isleaf",
3206
- expected: "(boolean | undefined)",
3207
- value: input3.isleaf
3208
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
3209
- path: _path2 + ".values",
3210
- expected: "(TermValues | undefined)",
3211
- value: input3.values
3212
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
3213
- path: _path2 + ".values",
3214
- expected: "(TermValues | undefined)",
3215
- value: input3.values
3216
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
3217
- path: _path2 + ".skipValuesBuild",
3218
- expected: "(boolean | undefined)",
3219
- value: input3.skipValuesBuild
3220
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
3221
- path: _path2 + ".valueConversion",
3222
- expected: "(__type.o1 | undefined)",
3223
- value: input3.valueConversion
3224
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
3225
- path: _path2 + ".valueConversion",
3226
- expected: "(__type.o1 | undefined)",
3227
- value: input3.valueConversion
3228
- })].every((flag) => flag);
3229
- const $vo51 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
3230
- const value = input3[key];
3231
- if (void 0 === value)
3232
- return true;
3233
- if (RegExp(/(.*)/).test(key))
3234
- return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
3235
- path: _path2 + $join(key),
3236
- expected: "__type.o8",
3237
- value
3238
- })) && $vo52(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
3239
- path: _path2 + $join(key),
3240
- expected: "__type.o8",
3241
- value
3242
- });
3243
- return true;
3244
- }).every((flag) => flag)].every((flag) => flag);
3245
- const $vo52 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
3246
- const value = input3[key];
3247
- if (void 0 === value)
3248
- return true;
3249
- if (RegExp(/(.*)/).test(key))
3250
- return true;
3251
- return true;
3252
- }).every((flag) => flag)].every((flag) => flag);
3253
- const $vo53 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.offset || "number" === typeof input3.offset || $report(_exceptionable2, {
3254
- path: _path2 + ".offset",
3255
- expected: "(number | undefined)",
3256
- value: input3.offset
3257
- })].every((flag) => flag);
3258
- const $vo54 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3259
- path: _path2 + ".id",
3260
- expected: "string",
3261
- value: input3.id
3262
- }), "string" === typeof input3.name || $report(_exceptionable2, {
3263
- path: _path2 + ".name",
3264
- expected: "string",
3265
- value: input3.name
3266
- }), "termCollection" === input3.type || $report(_exceptionable2, {
3267
- path: _path2 + ".type",
3268
- expected: '"termCollection"',
3269
- value: input3.type
3270
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
3271
- path: _path2 + ".child_types",
3272
- expected: "(Array<string> | undefined)",
3273
- value: input3.child_types
3274
- })) && input3.child_types.map((elem, _index62) => "string" === typeof elem || $report(_exceptionable2, {
3275
- path: _path2 + ".child_types[" + _index62 + "]",
3276
- expected: "string",
3277
- value: elem
3278
- })).every((flag) => flag) || $report(_exceptionable2, {
3279
- path: _path2 + ".child_types",
3280
- expected: "(Array<string> | undefined)",
3281
- value: input3.child_types
3282
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
3283
- path: _path2 + ".hashtmldetail",
3284
- expected: "(boolean | undefined)",
3285
- value: input3.hashtmldetail
3286
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
3287
- path: _path2 + ".included_types",
3288
- expected: "(Array<string> | undefined)",
3289
- value: input3.included_types
3290
- })) && input3.included_types.map((elem, _index63) => "string" === typeof elem || $report(_exceptionable2, {
3291
- path: _path2 + ".included_types[" + _index63 + "]",
3292
- expected: "string",
3293
- value: elem
3294
- })).every((flag) => flag) || $report(_exceptionable2, {
3295
- path: _path2 + ".included_types",
3296
- expected: "(Array<string> | undefined)",
3297
- value: input3.included_types
3298
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
3299
- path: _path2 + ".isleaf",
3300
- expected: "(boolean | undefined)",
3301
- value: input3.isleaf
3302
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
3303
- path: _path2 + ".values",
3304
- expected: "(TermValues | undefined)",
3305
- value: input3.values
3306
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
3307
- path: _path2 + ".values",
3308
- expected: "(TermValues | undefined)",
3309
- value: input3.values
3310
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
3311
- path: _path2 + ".skipValuesBuild",
3312
- expected: "(boolean | undefined)",
3313
- value: input3.skipValuesBuild
3314
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
3315
- path: _path2 + ".valueConversion",
3316
- expected: "(__type.o1 | undefined)",
3317
- value: input3.valueConversion
3318
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
3319
- path: _path2 + ".valueConversion",
3320
- expected: "(__type.o1 | undefined)",
3321
- value: input3.valueConversion
3322
- }), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
3323
- path: _path2 + ".termIds",
3324
- expected: "(Array<string> | undefined)",
3325
- value: input3.termIds
3326
- })) && input3.termIds.map((elem, _index64) => "string" === typeof elem || $report(_exceptionable2, {
3327
- path: _path2 + ".termIds[" + _index64 + "]",
3328
- expected: "string",
3329
- value: elem
3330
- })).every((flag) => flag) || $report(_exceptionable2, {
3331
- path: _path2 + ".termIds",
3332
- expected: "(Array<string> | undefined)",
3333
- value: input3.termIds
3334
- }), (Array.isArray(input3.termlst) || $report(_exceptionable2, {
3335
- path: _path2 + ".termlst",
3336
- expected: "Array<BaseTerm>",
3337
- value: input3.termlst
3338
- })) && input3.termlst.map((elem, _index65) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3339
- path: _path2 + ".termlst[" + _index65 + "]",
3340
- expected: "BaseTerm",
3341
- value: elem
3342
- })) && $vo50(elem, _path2 + ".termlst[" + _index65 + "]", _exceptionable2) || $report(_exceptionable2, {
3343
- path: _path2 + ".termlst[" + _index65 + "]",
3344
- expected: "BaseTerm",
3345
- value: elem
3346
- })).every((flag) => flag) || $report(_exceptionable2, {
3347
- path: _path2 + ".termlst",
3348
- expected: "Array<BaseTerm>",
3349
- value: input3.termlst
3350
- }), void 0 === input3.newTvs || "boolean" === typeof input3.newTvs || $report(_exceptionable2, {
3351
- path: _path2 + ".newTvs",
3352
- expected: "(boolean | undefined)",
3353
- value: input3.newTvs
3354
- }), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
3355
- path: _path2 + ".propsByTermId",
3356
- expected: "__type.o7",
3357
- value: input3.propsByTermId
3358
- })) && $vo51(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
3359
- path: _path2 + ".propsByTermId",
3360
- expected: "__type.o7",
3361
- value: input3.propsByTermId
3362
- }), void 0 === input3.isCustom || "boolean" === typeof input3.isCustom || $report(_exceptionable2, {
3363
- path: _path2 + ".isCustom",
3364
- expected: "(boolean | undefined)",
3365
- value: input3.isCustom
3366
- }), "categorical" === input3.memberType || $report(_exceptionable2, {
3367
- path: _path2 + ".memberType",
3368
- expected: '"categorical"',
3369
- value: input3.memberType
3370
- }), (Array.isArray(input3.categoryKeys) || $report(_exceptionable2, {
3371
- path: _path2 + ".categoryKeys",
3372
- expected: "Array<CategoryKey>",
3373
- value: input3.categoryKeys
3374
- })) && input3.categoryKeys.map((elem, _index66) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3375
- path: _path2 + ".categoryKeys[" + _index66 + "]",
3376
- expected: "CategoryKey",
3377
- value: elem
3378
- })) && $vo55(elem, _path2 + ".categoryKeys[" + _index66 + "]", _exceptionable2) || $report(_exceptionable2, {
3379
- path: _path2 + ".categoryKeys[" + _index66 + "]",
3380
- expected: "CategoryKey",
3381
- value: elem
3382
- })).every((flag) => flag) || $report(_exceptionable2, {
3383
- path: _path2 + ".categoryKeys",
3384
- expected: "Array<CategoryKey>",
3385
- value: input3.categoryKeys
3386
- })].every((flag) => flag);
3387
- const $vo55 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
3388
- path: _path2 + ".key",
3389
- expected: "string",
3390
- value: input3.key
3391
- }), "boolean" === typeof input3.shown || $report(_exceptionable2, {
3392
- path: _path2 + ".shown",
3393
- expected: "boolean",
3394
- value: input3.shown
3395
- })].every((flag) => flag);
3396
- const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
3397
- if ("tvslst" === input3.type)
3398
- return $vo1(input3, _path2, _exceptionable2);
3399
- if ("tvs" === input3.type)
3400
- return $vo2(input3, _path2, _exceptionable2);
3401
- return $report(_exceptionable2, {
3402
- path: _path2,
3403
- expected: "(Filter | __type)",
3404
- value: input3
3405
- });
3406
- })();
3407
- const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
3408
- if ("string" === typeof input3.type)
3409
- return $vo10(input3, _path2, _exceptionable2);
3410
- if ("filter" === input3.type)
3411
- return $vo12(input3, _path2, _exceptionable2);
3412
- return $report(_exceptionable2, {
3413
- path: _path2,
3414
- expected: "(ValuesGroup | FilterGroup)",
3415
- value: input3
3416
- });
3417
- })();
3418
- const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
3419
- if (true === input3.startunbounded)
3420
- return $vo19(input3, _path2, _exceptionable2);
3421
- if (true === input3.stopunbounded)
3422
- return $vo21(input3, _path2, _exceptionable2);
3423
- if (void 0 !== input3.value)
3424
- return $vo35(input3, _path2, _exceptionable2);
3425
- return $vo20(input3, _path2, _exceptionable2);
3426
- })();
3427
- const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
3428
- if ("gene" === input3.kind)
3429
- return $vo44(input3, _path2, _exceptionable2);
3430
- if ("coord" === input3.kind)
3431
- return $vo45(input3, _path2, _exceptionable2);
3432
- return $report(_exceptionable2, {
3433
- path: _path2,
3434
- expected: "(BaseTerm & Gene | BaseTerm & Coord)",
3435
- value: input3
3436
- });
3437
- })();
3438
- const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
3439
- if (true === input3.startunbounded)
3440
- return $vo19(input3, _path2, _exceptionable2);
3441
- if (true === input3.stopunbounded)
3442
- return $vo21(input3, _path2, _exceptionable2);
3443
- return $vo20(input3, _path2, _exceptionable2);
3444
- })();
3445
- const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
3446
- if (void 0 !== input3.ranges)
3447
- return $vo13(input3, _path2, _exceptionable2);
3448
- if (void 0 !== input3.ratio)
3449
- return $vo48(input3, _path2, _exceptionable2);
3450
- return $vo3(input3, _path2, false) || $vo37(input3, _path2, false) || $vo41(input3, _path2, false);
3451
- })();
3452
- const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
3453
- if ("integer" === input3.type || "float" === input3.type)
3454
- return $vo14(input3, _path2, _exceptionable2);
3455
- if ("metaboliteIntensity" === input3.type)
3456
- return $vo27(input3, _path2, _exceptionable2);
3457
- if ("proteomeAbundance" === input3.type)
3458
- return $vo28(input3, _path2, _exceptionable2);
3459
- if ("date" === input3.type)
3460
- return $vo30(input3, _path2, _exceptionable2);
3461
- if ("ssGSEA" === input3.type)
3462
- return $vo31(input3, _path2, _exceptionable2);
3463
- if ("dnaMethylation" === input3.type)
3464
- return $vo32(input3, _path2, _exceptionable2);
3465
- return $vo24(input3, _path2, false) || $vo23(input3, _path2, false) || $vo26(input3, _path2, false) || $vo25(input3, _path2, false) || $vo34(input3, _path2, false) || $vo33(input3, _path2, false);
3466
- })();
3467
- const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
3468
- if ("regular-bin" === input3.type)
3469
- return $vo17(input3, _path2, _exceptionable2);
3470
- if ("custom-bin" === input3.type)
3471
- return $vo22(input3, _path2, _exceptionable2);
3472
- return $report(_exceptionable2, {
3473
- path: _path2,
3474
- expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
3475
- value: input3
3476
- });
3477
- })();
3478
- const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
3479
- if (true === input3.startunbounded)
3480
- return $vo19(input3, _path2, _exceptionable2);
3481
- if (void 0 !== input3.start)
3482
- return $vo20(input3, _path2, _exceptionable2);
3483
- return $report(_exceptionable2, {
3484
- path: _path2,
3485
- expected: "(StartUnboundedBin | FullyBoundedBin)",
3486
- value: input3
3487
- });
3488
- })();
3489
- const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
3490
- if (void 0 !== input3.stop)
3491
- return $vo20(input3, _path2, _exceptionable2);
3492
- if (true === input3.stopunbounded)
3493
- return $vo21(input3, _path2, _exceptionable2);
3494
- return $report(_exceptionable2, {
3495
- path: _path2,
3496
- expected: "(FullyBoundedBin | StopUnboundedBin)",
3497
- value: input3
3498
- });
3499
- })();
3500
- const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
3501
- if ("gene" === input3.kind)
3502
- return $vo43(input3, _path2, _exceptionable2);
3503
- if ("coord" === input3.kind)
3504
- return $vo46(input3, _path2, _exceptionable2);
3505
- return $report(_exceptionable2, {
3506
- path: _path2,
3507
- expected: '(BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
3508
- value: input3
3509
- });
3510
- })();
3511
- const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
3512
- if ("numeric" === input3.memberType)
3513
- return $vo49(input3, _path2, _exceptionable2);
3514
- if ("categorical" === input3.memberType)
3515
- return $vo54(input3, _path2, _exceptionable2);
3516
- return $report(_exceptionable2, {
3517
- path: _path2,
3518
- expected: "(NumericTermCollection | CategoricalTermCollection)",
3519
- value: input3
3520
- });
3521
- })();
3522
- return ("object" === typeof input2 && null !== input2 || $report(true, {
3523
- path: _path + "",
3524
- expected: "ChatRequest",
3525
- value: input2
3526
- })) && $vo0(input2, _path + "", true) || $report(true, {
3527
- path: _path + "",
3528
- expected: "ChatRequest",
3529
- value: input2
3530
- });
3531
- })(input, "$input", true);
3532
- }
3533
- const success = 0 === errors.length;
3534
- return {
3535
- success,
3536
- errors,
3537
- data: success ? input : void 0
3538
- };
3539
- };
3540
- var validChatResponse = (input) => {
3541
- const errors = [];
3542
- const __is = (input2) => {
3543
- const $io0 = (input3) => "text" === input3.type && "string" === typeof input3.text;
3544
- const $io1 = (input3) => "html" === input3.type && "string" === typeof input3.html;
3545
- const $io2 = (input3) => "plot" === input3.type && ("object" === typeof input3.plot && null !== input3.plot && true) && (void 0 === input3.msg || "string" === typeof input3.msg);
3546
- const $iu0 = (input3) => (() => {
3547
- if ("text" === input3.type)
3548
- return $io0(input3);
3549
- if ("html" === input3.type)
3550
- return $io1(input3);
3551
- if ("plot" === input3.type)
3552
- return $io2(input3);
3553
- return false;
3554
- })();
3555
- return "object" === typeof input2 && null !== input2 && $iu0(input2);
3556
- };
3557
- if (false === __is(input)) {
3558
- const $report = import_typia.createValidate.report(errors);
3559
- ((input2, _path, _exceptionable = true) => {
3560
- const $vo0 = (input3, _path2, _exceptionable2 = true) => ["text" === input3.type || $report(_exceptionable2, {
3561
- path: _path2 + ".type",
3562
- expected: '"text"',
3563
- value: input3.type
3564
- }), "string" === typeof input3.text || $report(_exceptionable2, {
3565
- path: _path2 + ".text",
3566
- expected: "string",
3567
- value: input3.text
3568
- })].every((flag) => flag);
3569
- const $vo1 = (input3, _path2, _exceptionable2 = true) => ["html" === input3.type || $report(_exceptionable2, {
3570
- path: _path2 + ".type",
3571
- expected: '"html"',
3572
- value: input3.type
3573
- }), "string" === typeof input3.html || $report(_exceptionable2, {
3574
- path: _path2 + ".html",
3575
- expected: "string",
3576
- value: input3.html
3577
- })].every((flag) => flag);
3578
- const $vo2 = (input3, _path2, _exceptionable2 = true) => ["plot" === input3.type || $report(_exceptionable2, {
3579
- path: _path2 + ".type",
3580
- expected: '"plot"',
3581
- value: input3.type
3582
- }), ("object" === typeof input3.plot && null !== input3.plot && false === Array.isArray(input3.plot) || $report(_exceptionable2, {
3583
- path: _path2 + ".plot",
3584
- expected: "object",
3585
- value: input3.plot
3586
- })) && $vo3(input3.plot, _path2 + ".plot", _exceptionable2) || $report(_exceptionable2, {
3587
- path: _path2 + ".plot",
3588
- expected: "object",
3589
- value: input3.plot
3590
- }), void 0 === input3.msg || "string" === typeof input3.msg || $report(_exceptionable2, {
3591
- path: _path2 + ".msg",
3592
- expected: "(string | undefined)",
3593
- value: input3.msg
3594
- })].every((flag) => flag);
3595
- const $vo3 = (input3, _path2, _exceptionable2 = true) => true;
3596
- const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
3597
- if ("text" === input3.type)
3598
- return $vo0(input3, _path2, _exceptionable2);
3599
- if ("html" === input3.type)
3600
- return $vo1(input3, _path2, _exceptionable2);
3601
- if ("plot" === input3.type)
3602
- return $vo2(input3, _path2, _exceptionable2);
3603
- return $report(_exceptionable2, {
3604
- path: _path2,
3605
- expected: "(TextResponse | HtmlResponse | PlotResponse)",
3606
- value: input3
3607
- });
3608
- })();
3609
- return ("object" === typeof input2 && null !== input2 || $report(true, {
3610
- path: _path + "",
3611
- expected: "(HtmlResponse | PlotResponse | TextResponse)",
3612
- value: input2
3613
- })) && $vu0(input2, _path + "", true) || $report(true, {
3614
- path: _path + "",
3615
- expected: "(HtmlResponse | PlotResponse | TextResponse)",
3616
- value: input2
3617
- });
3618
- })(input, "$input", true);
3619
- }
3620
- const success = 0 === errors.length;
3621
- return {
3622
- success,
3623
- errors,
3624
- data: success ? input : void 0
3625
- };
3626
- };
3627
- export {
3628
- ChatPayload,
3629
- validChatRequest,
3630
- validChatResponse
3631
- };