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