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