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