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