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