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