@sjcrh/proteinpaint-types 2.177.0 → 2.178.0

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