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