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