@sjcrh/proteinpaint-types 2.140.1-2 → 2.140.1

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 (31) hide show
  1. package/dist/brainImaging.js +1 -1
  2. package/dist/{chunk-KDHGWAOS.js → chunk-2WLN6PMW.js} +575 -367
  3. package/dist/{chunk-G5BYLEJC.js → chunk-AADDTYUL.js} +266 -154
  4. package/dist/{chunk-2QKCLUH3.js → chunk-BWLSDIHM.js} +575 -367
  5. package/dist/{chunk-P3Z422N2.js → chunk-ECF6WSOD.js} +266 -154
  6. package/dist/{chunk-NHELOLDH.js → chunk-EWON4FG5.js} +2401 -644
  7. package/dist/{chunk-ZHCVV36H.js → chunk-FZJ3E7JA.js} +579 -371
  8. package/dist/{chunk-34LXTZYA.js → chunk-IDP5KXE6.js} +632 -424
  9. package/dist/{chunk-HJ7XFSJK.js → chunk-KS74VVON.js} +262 -150
  10. package/dist/{chunk-Y6Z6XAFN.js → chunk-PPFFVFUI.js} +266 -154
  11. package/dist/{chunk-5BKOSJEU.js → chunk-WKT3H4P4.js} +731 -409
  12. package/dist/{chunk-F2ZZ5J3F.js → chunk-XXHHUIEV.js} +575 -367
  13. package/dist/{chunk-4S36DRJ4.js → chunk-ZA3FDGAD.js} +465 -255
  14. package/dist/correlationVolcano.js +1 -1
  15. package/dist/index.js +12 -12
  16. package/dist/termdb.boxplot.js +1 -1
  17. package/dist/termdb.categories.js +1 -1
  18. package/dist/termdb.cluster.js +1 -1
  19. package/dist/termdb.descrstats.js +1 -1
  20. package/dist/termdb.numericcategories.js +1 -1
  21. package/dist/termdb.percentile.js +1 -1
  22. package/dist/termdb.termsbyids.js +1 -1
  23. package/dist/termdb.topTermsByType.js +1 -1
  24. package/dist/termdb.topVariablyExpressedGenes.js +1 -1
  25. package/dist/termdb.violin.js +1 -1
  26. package/package.json +1 -1
  27. package/src/dataset.ts +10 -2
  28. package/src/routes/termdb.cluster.ts +6 -6
  29. package/src/terms/geneExpression.ts +13 -17
  30. package/src/terms/numeric.ts +7 -18
  31. package/src/terms/singleCellGeneExpression.ts +3 -4
@@ -22,9 +22,9 @@ var validTermdbClusterRequest = (input) => {
22
22
  const errors = [];
23
23
  const __is = (input2) => {
24
24
  const $join = import_typia.createValidate.join;
25
- const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "geneExpression" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io33(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
25
+ const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "geneExpression" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io34(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
26
26
  const $io1 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
27
- const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu4(input3.tvs));
27
+ const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu7(input3.tvs));
28
28
  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)));
29
29
  const $io4 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting));
30
30
  const $io5 = (input3) => Object.keys(input3).every((key) => {
@@ -43,11 +43,12 @@ var validTermdbClusterRequest = (input) => {
43
43
  const $io9 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io10(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
44
44
  const $io10 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
45
45
  const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
46
- const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io13(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 && $io22(elem)));
47
- const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || "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) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io21(input3.continuousColorScale));
48
- const $io14 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu5(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu5(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);
49
- const $io15 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu6(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu7(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
50
- const $io16 = (input3) => Object.keys(input3).every((key) => {
46
+ const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu8(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 && $io23(elem)));
47
+ const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "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.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
48
+ const $io14 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
49
+ const $io15 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu9(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu9(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
50
+ const $io16 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(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 && $iu5(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu6(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
51
+ const $io17 = (input3) => Object.keys(input3).every((key) => {
51
52
  const value = input3[key];
52
53
  if (void 0 === value)
53
54
  return true;
@@ -55,27 +56,98 @@ var validTermdbClusterRequest = (input) => {
55
56
  return "number" === typeof value;
56
57
  return true;
57
58
  });
58
- const $io17 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
59
- const $io18 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
60
- const $io19 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
61
- const $io20 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $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);
62
- const $io21 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
63
- const $io22 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
64
- const $io23 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io24(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 && $io25(elem)));
65
- const $io24 = (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);
66
- const $io25 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
67
- const $io26 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io27(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io32(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
68
- const $io27 = (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 && $iu8(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
69
- const $io28 = (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) && "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 && $io7(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io27(elem)));
70
- const $io29 = (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) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
71
- const $io30 = (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) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
72
- const $io31 = (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) && "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 && $io7(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io27(elem)));
73
- const $io32 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
74
- const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || "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) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io21(input3.continuousColorScale)) && "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);
75
- const $io34 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "metaboliteIntensity" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io35(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
76
- const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || "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) && true && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io21(input3.continuousColorScale)) && "string" === typeof input3.metabolite;
77
- const $io36 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "numericDictTerm" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io37(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
78
- const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "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) && ("object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
59
+ const $io18 = (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);
60
+ const $io19 = (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);
61
+ const $io20 = (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);
62
+ const $io21 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(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);
63
+ const $io22 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (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 $io23 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
65
+ const $io24 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io25(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 && $io26(elem)));
66
+ const $io25 = (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);
67
+ const $io26 = (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;
68
+ const $io27 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io28(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io33(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
69
+ const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu10(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
70
+ const $io29 = (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) && "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 && $io7(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io28(elem)));
71
+ const $io30 = (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) && "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);
72
+ const $io31 = (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) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
73
+ const $io32 = (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) && "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 && $io7(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io28(elem)));
74
+ const $io33 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
75
+ const $io34 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io35(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu11(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io22(input3.term)) && "string" === typeof input3.type;
76
+ const $io35 = (input3) => Object.keys(input3).every((key) => {
77
+ const value = input3[key];
78
+ if (void 0 === value)
79
+ return true;
80
+ if (RegExp(/(.*)/).test(key))
81
+ return true;
82
+ return true;
83
+ });
84
+ const $io36 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(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) && "binary" === input3.mode && "custom-bin" === input3.type && (Array.isArray(input3.lst) && (input3.lst.length === 2 && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu5(input3.lst[0])) && ("object" === typeof input3.lst[1] && null !== input3.lst[1] && $iu6(input3.lst[1]))));
85
+ const $io37 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.mode || "continuous" === input3.mode) && (void 0 === input3.convert2ZScore || "boolean" === typeof input3.convert2ZScore) && (null !== input3.type && void 0 === input3.type);
86
+ const $io38 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(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) && "spline" === input3.mode && (Array.isArray(input3.knots) && input3.knots.every((elem) => "object" === typeof elem && null !== elem && $io39(elem))) && (null !== input3.type && void 0 === input3.type);
87
+ const $io39 = (input3) => "number" === typeof input3.value;
88
+ const $io40 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "metaboliteIntensity" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $iu4(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
89
+ const $io41 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io35(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu12(input3.q)) && ("object" === typeof input3.term && null !== input3.term && false === Array.isArray(input3.term) && $iu13(input3.term));
90
+ const $io42 = (input3) => true;
91
+ const $io43 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "continuous" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "filter" === input3.type);
92
+ const $io44 = (input3) => true;
93
+ const $io45 = (input3) => true;
94
+ const $io46 = (input3) => true;
95
+ const $io47 = (input3) => true;
96
+ const $io48 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io35(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && false === Array.isArray(input3.term) && $iu14(input3.term)) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu15(input3.q));
97
+ const $io49 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "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.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && true && "string" === typeof input3.metabolite;
98
+ const $io50 = (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.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && "string" === typeof input3.metabolite;
99
+ const $io51 = (input3) => true;
100
+ const $io52 = (input3) => true;
101
+ const $io53 = (input3) => true;
102
+ const $io54 = (input3) => true;
103
+ const $io55 = (input3) => true;
104
+ const $io56 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.mode || "continuous" === input3.mode) && (void 0 === input3.convert2ZScore || "boolean" === typeof input3.convert2ZScore) && (null !== input3.type && void 0 === input3.type);
105
+ const $io57 = (input3) => true;
106
+ const $io58 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io35(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.q && null !== input3.q && $io59(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $iu16(input3.term));
107
+ const $io59 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "continuous" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type) && "number" === typeof input3.AFcutoff && "number" === typeof input3.alleleType && "string" === typeof input3.cacheid && true && "number" === typeof input3.geneticModel && true && (void 0 === input3.missingGenotype || "number" === typeof input3.missingGenotype) && "number" === typeof input3.numOfSampleWithAnyValidGT && ("object" === typeof input3.restrictAncestry && null !== input3.restrictAncestry && $io60(input3.restrictAncestry)) && true && true && ("object" === typeof input3.variant_filter && null !== input3.variant_filter && $io1(input3.variant_filter)) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
108
+ const $io60 = (input3) => "string" === typeof input3.name && ("object" === typeof input3.tvs && null !== input3.tvs && $iu7(input3.tvs));
109
+ const $io61 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "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.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io62(elem))) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && true && "string" === typeof input3.metabolite;
110
+ const $io62 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io63(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io64(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
111
+ const $io63 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
112
+ const $io64 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
113
+ const $io65 = (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.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io62(elem))) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && "string" === typeof input3.metabolite;
114
+ const $io66 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io35(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && false === Array.isArray(input3.term) && $iu17(input3.term)) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu18(input3.q));
115
+ const $io67 = (input3) => true;
116
+ const $io68 = (input3) => true;
117
+ const $io69 = (input3) => true;
118
+ const $io70 = (input3) => true;
119
+ const $io71 = (input3) => true;
120
+ const $io72 = (input3) => true;
121
+ const $io73 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "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) && $io74(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && true && "string" === typeof input3.metabolite;
122
+ const $io74 = (input3) => Object.keys(input3).every((key) => {
123
+ const value = input3[key];
124
+ if (void 0 === value)
125
+ return true;
126
+ if (RegExp(/(.*)/).test(key))
127
+ return "object" === typeof value && null !== value && $io75(value);
128
+ if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
129
+ return "object" === typeof value && null !== value && $io75(value);
130
+ return true;
131
+ });
132
+ const $io75 = (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)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io76(elem))) && true;
133
+ const $io76 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
134
+ const $io77 = (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) && $io74(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && "string" === typeof input3.metabolite;
135
+ const $io78 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "continuous" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type);
136
+ const $io79 = (input3) => true;
137
+ const $io80 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "continuous" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type) && ("object" === typeof input3.groups && null !== input3.groups && false === Array.isArray(input3.groups) && $io81(input3.groups));
138
+ const $io81 = (input3) => Object.keys(input3).every((key) => {
139
+ const value = input3[key];
140
+ if (void 0 === value)
141
+ return true;
142
+ if (RegExp(/(.*)/).test(key))
143
+ return "object" === typeof value && null !== value && $io82(value);
144
+ if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
145
+ return "object" === typeof value && null !== value && $io82(value);
146
+ return true;
147
+ });
148
+ const $io82 = (input3) => "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io76(elem))) && true;
149
+ const $io83 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.clusterMethod && "string" === typeof input3.distanceMethod && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "numericDictTerm" === input3.dataType && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io84(elem))) && (void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation);
150
+ const $io84 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io35(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu11(input3.q));
79
151
  const $iu0 = (input3) => (() => {
80
152
  if ("tvslst" === input3.type)
81
153
  return $io1(input3);
@@ -92,69 +164,221 @@ var validTermdbClusterRequest = (input) => {
92
164
  })();
93
165
  const $iu2 = (input3) => (() => {
94
166
  if (true === input3.startunbounded)
95
- return $io17(input3);
167
+ return $io18(input3);
96
168
  if (true === input3.stopunbounded)
97
- return $io19(input3);
98
- return $io18(input3);
169
+ return $io20(input3);
170
+ return $io19(input3);
99
171
  })();
100
172
  const $iu3 = (input3) => (() => {
101
173
  if ("gene" === input3.kind)
102
- return $io29(input3);
103
- if ("coord" === input3.kind)
104
174
  return $io30(input3);
175
+ if ("coord" === input3.kind)
176
+ return $io31(input3);
105
177
  return false;
106
178
  })();
107
179
  const $iu4 = (input3) => (() => {
108
- if (void 0 !== input3.ranges)
109
- return $io12(input3);
180
+ if (void 0 !== input3.type)
181
+ return $io41(input3);
110
182
  return (() => {
111
- if ($io3(input3))
112
- return $io3(input3);
113
- if ($io23(input3))
114
- return $io23(input3);
115
- if ($io26(input3))
116
- return $io26(input3);
183
+ if ($io66(input3))
184
+ return $io66(input3);
185
+ if ($io58(input3))
186
+ return $io58(input3);
187
+ if ($io48(input3))
188
+ return $io48(input3);
117
189
  return false;
118
190
  })();
119
191
  })();
120
192
  const $iu5 = (input3) => (() => {
121
- if ("regular-bin" === input3.type)
122
- return $io15(input3);
123
- if ("custom-bin" === input3.type)
124
- return $io20(input3);
125
- return false;
126
- })();
127
- const $iu6 = (input3) => (() => {
128
193
  if (true === input3.startunbounded)
129
- return $io17(input3);
130
- if (void 0 !== input3.start)
131
194
  return $io18(input3);
195
+ if (void 0 !== input3.start)
196
+ return $io19(input3);
132
197
  return false;
133
198
  })();
134
- const $iu7 = (input3) => (() => {
199
+ const $iu6 = (input3) => (() => {
135
200
  if (void 0 !== input3.stop)
136
- return $io18(input3);
137
- if (true === input3.stopunbounded)
138
201
  return $io19(input3);
202
+ if (true === input3.stopunbounded)
203
+ return $io20(input3);
139
204
  return false;
140
205
  })();
206
+ const $iu7 = (input3) => (() => {
207
+ if (void 0 !== input3.ranges)
208
+ return $io12(input3);
209
+ return (() => {
210
+ if ($io3(input3))
211
+ return $io3(input3);
212
+ if ($io24(input3))
213
+ return $io24(input3);
214
+ if ($io27(input3))
215
+ return $io27(input3);
216
+ return false;
217
+ })();
218
+ })();
141
219
  const $iu8 = (input3) => (() => {
220
+ if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
221
+ return $io13(input3);
222
+ if ("geneExpression" === input3.type)
223
+ return $io22(input3);
224
+ return false;
225
+ })();
226
+ const $iu9 = (input3) => (() => {
227
+ if ("regular-bin" === input3.type)
228
+ return $io16(input3);
229
+ if ("custom-bin" === input3.type)
230
+ return $io21(input3);
231
+ return false;
232
+ })();
233
+ const $iu10 = (input3) => (() => {
142
234
  if ("gene" === input3.kind)
143
- return $io28(input3);
235
+ return $io29(input3);
144
236
  if ("coord" === input3.kind)
145
- return $io31(input3);
237
+ return $io32(input3);
146
238
  return false;
147
239
  })();
148
- const $iu9 = (input3) => (() => {
240
+ const $iu11 = (input3) => (() => {
241
+ if ("regular-bin" === input3.type)
242
+ return $io16(input3);
243
+ if ("spline" === input3.mode)
244
+ return $io38(input3);
245
+ return (() => {
246
+ if ($io21(input3))
247
+ return $io21(input3);
248
+ if ($io36(input3))
249
+ return $io36(input3);
250
+ if ($io37(input3))
251
+ return $io37(input3);
252
+ return false;
253
+ })();
254
+ })();
255
+ const $iu12 = (input3) => (() => {
256
+ if ($io42(input3))
257
+ return $io42(input3);
258
+ if ($io43(input3))
259
+ return $io43(input3);
260
+ if ($io45(input3))
261
+ return $io45(input3);
262
+ if ($io44(input3))
263
+ return $io44(input3);
264
+ return false;
265
+ })();
266
+ const $iu13 = (input3) => (() => {
267
+ if ($io47(input3))
268
+ return $io47(input3);
269
+ if ($io46(input3))
270
+ return $io46(input3);
271
+ return false;
272
+ })();
273
+ const $iu14 = (input3) => (() => {
274
+ if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
275
+ return $io49(input3);
276
+ if ("geneExpression" === input3.type)
277
+ return $io50(input3);
278
+ return (() => {
279
+ if ($io52(input3))
280
+ return $io52(input3);
281
+ if ($io51(input3))
282
+ return $io51(input3);
283
+ return false;
284
+ })();
285
+ })();
286
+ const $iu15 = (input3) => (() => {
287
+ if ($io57(input3))
288
+ return $io57(input3);
289
+ if ($io55(input3))
290
+ return $io55(input3);
291
+ if ($io54(input3))
292
+ return $io54(input3);
293
+ if ($io53(input3))
294
+ return $io53(input3);
295
+ if ($io56(input3))
296
+ return $io56(input3);
297
+ return false;
298
+ })();
299
+ const $iu16 = (input3) => (() => {
300
+ if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
301
+ return $io61(input3);
302
+ if ("geneExpression" === input3.type)
303
+ return $io65(input3);
304
+ return false;
305
+ })();
306
+ const $iu17 = (input3) => (() => {
307
+ if ($io49(input3))
308
+ return $io49(input3);
309
+ if ($io50(input3))
310
+ return $io50(input3);
311
+ if ($io72(input3))
312
+ return $io72(input3);
313
+ if ($io71(input3))
314
+ return $io71(input3);
315
+ if ($io70(input3))
316
+ return $io70(input3);
317
+ if ($io69(input3))
318
+ return $io69(input3);
319
+ if ($io68(input3))
320
+ return $io68(input3);
321
+ if ($io67(input3))
322
+ return $io67(input3);
323
+ if ($io52(input3))
324
+ return $io52(input3);
325
+ if ($io51(input3))
326
+ return $io51(input3);
327
+ if ($io47(input3))
328
+ return $io47(input3);
329
+ if ($io46(input3))
330
+ return $io46(input3);
331
+ if ($io61(input3))
332
+ return $io61(input3);
333
+ if ($io65(input3))
334
+ return $io65(input3);
335
+ if ($io73(input3))
336
+ return $io73(input3);
337
+ if ($io77(input3))
338
+ return $io77(input3);
339
+ return false;
340
+ })();
341
+ const $iu18 = (input3) => (() => {
342
+ if (void 0 !== input3.AFcutoff)
343
+ return $io59(input3);
344
+ if (void 0 !== input3.groups)
345
+ return $io80(input3);
346
+ return (() => {
347
+ if ($io42(input3))
348
+ return $io42(input3);
349
+ if ($io43(input3))
350
+ return $io43(input3);
351
+ if ($io79(input3))
352
+ return $io79(input3);
353
+ if ($io57(input3))
354
+ return $io57(input3);
355
+ if ($io55(input3))
356
+ return $io55(input3);
357
+ if ($io54(input3))
358
+ return $io54(input3);
359
+ if ($io53(input3))
360
+ return $io53(input3);
361
+ if ($io45(input3))
362
+ return $io45(input3);
363
+ if ($io44(input3))
364
+ return $io44(input3);
365
+ if ($io56(input3))
366
+ return $io56(input3);
367
+ if ($io78(input3))
368
+ return $io78(input3);
369
+ return false;
370
+ })();
371
+ })();
372
+ const $iu19 = (input3) => (() => {
149
373
  if ("numericDictTerm" === input3.dataType)
150
- return $io36(input3);
374
+ return $io83(input3);
151
375
  if ("metaboliteIntensity" === input3.dataType)
152
- return $io34(input3);
376
+ return $io40(input3);
153
377
  if ("geneExpression" === input3.dataType)
154
378
  return $io0(input3);
155
379
  return false;
156
380
  })();
157
- return "object" === typeof input2 && null !== input2 && $iu9(input2);
381
+ return "object" === typeof input2 && null !== input2 && $iu19(input2);
158
382
  };
159
383
  if (false === __is(input)) {
160
384
  const $report = import_typia.createValidate.report(errors);
@@ -190,19 +414,19 @@ var validTermdbClusterRequest = (input) => {
190
414
  value: input3.dataType
191
415
  }), (Array.isArray(input3.terms) || $report(_exceptionable2, {
192
416
  path: _path2 + ".terms",
193
- expected: "Array<GeneExpressionTerm>",
417
+ expected: "Array<GeneExpressionTW>",
194
418
  value: input3.terms
195
419
  })) && input3.terms.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
196
420
  path: _path2 + ".terms[" + _index1 + "]",
197
- expected: "GeneExpressionTerm",
421
+ expected: "GeneExpressionTW",
198
422
  value: elem
199
- })) && $vo33(elem, _path2 + ".terms[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
423
+ })) && $vo34(elem, _path2 + ".terms[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
200
424
  path: _path2 + ".terms[" + _index1 + "]",
201
- expected: "GeneExpressionTerm",
425
+ expected: "GeneExpressionTW",
202
426
  value: elem
203
427
  })).every((flag) => flag) || $report(_exceptionable2, {
204
428
  path: _path2 + ".terms",
205
- expected: "Array<GeneExpressionTerm>",
429
+ expected: "Array<GeneExpressionTW>",
206
430
  value: input3.terms
207
431
  }), void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation || $report(_exceptionable2, {
208
432
  path: _path2 + ".zScoreTransformation",
@@ -250,7 +474,7 @@ var validTermdbClusterRequest = (input) => {
250
474
  path: _path2 + ".tvs",
251
475
  expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
252
476
  value: input3.tvs
253
- })) && $vu4(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
477
+ })) && $vu7(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
254
478
  path: _path2 + ".tvs",
255
479
  expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
256
480
  value: input3.tvs
@@ -539,11 +763,11 @@ var validTermdbClusterRequest = (input) => {
539
763
  value: input3.isnot
540
764
  }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
541
765
  path: _path2 + ".term",
542
- expected: "NumericTerm",
766
+ expected: "(GeneExpressionTerm | NumericDictTerm)",
543
767
  value: input3.term
544
- })) && $vo13(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
768
+ })) && $vu8(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
545
769
  path: _path2 + ".term",
546
- expected: "NumericTerm",
770
+ expected: "(GeneExpressionTerm | NumericDictTerm)",
547
771
  value: input3.term
548
772
  }), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
549
773
  path: _path2 + ".ranges",
@@ -569,7 +793,7 @@ var validTermdbClusterRequest = (input) => {
569
793
  path: _path2 + ".values[" + _index10 + "]",
570
794
  expected: "__type.o3",
571
795
  value: elem
572
- })) && $vo22(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
796
+ })) && $vo23(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
573
797
  path: _path2 + ".values[" + _index10 + "]",
574
798
  expected: "__type.o3",
575
799
  value: elem
@@ -586,9 +810,9 @@ var validTermdbClusterRequest = (input) => {
586
810
  path: _path2 + ".name",
587
811
  expected: "string",
588
812
  value: input3.name
589
- }), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || "ssGSEA" === input3.type || $report(_exceptionable2, {
813
+ }), "integer" === input3.type || "float" === input3.type || "date" === input3.type || $report(_exceptionable2, {
590
814
  path: _path2 + ".type",
591
- expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity" | "ssGSEA")',
815
+ expected: '("date" | "float" | "integer")',
592
816
  value: input3.type
593
817
  }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
594
818
  path: _path2 + ".child_types",
@@ -634,32 +858,41 @@ var validTermdbClusterRequest = (input) => {
634
858
  path: _path2 + ".skipValuesBuild",
635
859
  expected: "(boolean | undefined)",
636
860
  value: input3.skipValuesBuild
637
- }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
638
- path: _path2 + ".bins",
639
- expected: "PresetNumericBins",
640
- value: input3.bins
641
- })) && $vo14(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
642
- path: _path2 + ".bins",
643
- expected: "PresetNumericBins",
644
- value: input3.bins
645
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
646
- path: _path2 + ".unit",
647
- expected: "(string | undefined)",
648
- value: input3.unit
649
861
  }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
650
862
  path: _path2 + ".continuousColorScale",
651
863
  expected: "(__type.o2 | undefined)",
652
864
  value: input3.continuousColorScale
653
- })) && $vo21(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
865
+ })) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
654
866
  path: _path2 + ".continuousColorScale",
655
867
  expected: "(__type.o2 | undefined)",
656
868
  value: input3.continuousColorScale
869
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
870
+ path: _path2 + ".unit",
871
+ expected: "(string | undefined)",
872
+ value: input3.unit
873
+ }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
874
+ path: _path2 + ".bins",
875
+ expected: "PresetNumericBins",
876
+ value: input3.bins
877
+ })) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
878
+ path: _path2 + ".bins",
879
+ expected: "PresetNumericBins",
880
+ value: input3.bins
881
+ })].every((flag) => flag);
882
+ const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
883
+ path: _path2 + ".minColor",
884
+ expected: "string",
885
+ value: input3.minColor
886
+ }), "string" === typeof input3.maxColor || $report(_exceptionable2, {
887
+ path: _path2 + ".maxColor",
888
+ expected: "string",
889
+ value: input3.maxColor
657
890
  })].every((flag) => flag);
658
- const $vo14 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
891
+ const $vo15 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
659
892
  path: _path2 + '["default"]',
660
893
  expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
661
894
  value: input3["default"]
662
- })) && $vu5(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
895
+ })) && $vu9(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
663
896
  path: _path2 + '["default"]',
664
897
  expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
665
898
  value: input3["default"]
@@ -667,7 +900,7 @@ var validTermdbClusterRequest = (input) => {
667
900
  path: _path2 + ".less",
668
901
  expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
669
902
  value: input3.less
670
- })) && $vu5(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
903
+ })) && $vu9(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
671
904
  path: _path2 + ".less",
672
905
  expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
673
906
  value: input3.less
@@ -692,11 +925,11 @@ var validTermdbClusterRequest = (input) => {
692
925
  expected: "(number | undefined)",
693
926
  value: input3.max
694
927
  })].every((flag) => flag);
695
- const $vo15 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
928
+ const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
696
929
  path: _path2 + ".hiddenValues",
697
930
  expected: "(HiddenValues | undefined)",
698
931
  value: input3.hiddenValues
699
- })) && $vo16(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
932
+ })) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
700
933
  path: _path2 + ".hiddenValues",
701
934
  expected: "(HiddenValues | undefined)",
702
935
  value: input3.hiddenValues
@@ -728,7 +961,7 @@ var validTermdbClusterRequest = (input) => {
728
961
  path: _path2 + ".first_bin",
729
962
  expected: "(FullyBoundedBin | StartUnboundedBin)",
730
963
  value: input3.first_bin
731
- })) && $vu6(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
964
+ })) && $vu5(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
732
965
  path: _path2 + ".first_bin",
733
966
  expected: "(FullyBoundedBin | StartUnboundedBin)",
734
967
  value: input3.first_bin
@@ -736,7 +969,7 @@ var validTermdbClusterRequest = (input) => {
736
969
  path: _path2 + ".last_bin",
737
970
  expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
738
971
  value: input3.last_bin
739
- })) && $vu7(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
972
+ })) && $vu6(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
740
973
  path: _path2 + ".last_bin",
741
974
  expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
742
975
  value: input3.last_bin
@@ -745,7 +978,7 @@ var validTermdbClusterRequest = (input) => {
745
978
  expected: "(number | undefined)",
746
979
  value: input3.label_offset
747
980
  })].every((flag) => flag);
748
- const $vo16 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
981
+ const $vo17 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
749
982
  const value = input3[key];
750
983
  if (void 0 === value)
751
984
  return true;
@@ -757,7 +990,7 @@ var validTermdbClusterRequest = (input) => {
757
990
  });
758
991
  return true;
759
992
  }).every((flag) => flag)].every((flag) => flag);
760
- const $vo17 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
993
+ const $vo18 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
761
994
  path: _path2 + ".startunbounded",
762
995
  expected: "true",
763
996
  value: input3.startunbounded
@@ -782,7 +1015,7 @@ var validTermdbClusterRequest = (input) => {
782
1015
  expected: "(string | undefined)",
783
1016
  value: input3.label
784
1017
  })].every((flag) => flag);
785
- const $vo18 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
1018
+ const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
786
1019
  path: _path2 + ".startunbounded",
787
1020
  expected: "(false | undefined)",
788
1021
  value: input3.startunbounded
@@ -811,7 +1044,7 @@ var validTermdbClusterRequest = (input) => {
811
1044
  expected: "(string | undefined)",
812
1045
  value: input3.label
813
1046
  })].every((flag) => flag);
814
- const $vo19 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
1047
+ const $vo20 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
815
1048
  path: _path2 + ".start",
816
1049
  expected: "number",
817
1050
  value: input3.start
@@ -836,11 +1069,11 @@ var validTermdbClusterRequest = (input) => {
836
1069
  expected: "(string | undefined)",
837
1070
  value: input3.label
838
1071
  })].every((flag) => flag);
839
- const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1072
+ const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
840
1073
  path: _path2 + ".hiddenValues",
841
1074
  expected: "(HiddenValues | undefined)",
842
1075
  value: input3.hiddenValues
843
- })) && $vo16(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
1076
+ })) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
844
1077
  path: _path2 + ".hiddenValues",
845
1078
  expected: "(HiddenValues | undefined)",
846
1079
  value: input3.hiddenValues
@@ -903,16 +1136,100 @@ var validTermdbClusterRequest = (input) => {
903
1136
  expected: '("median" | undefined)',
904
1137
  value: input3.preferredBins
905
1138
  })].every((flag) => flag);
906
- const $vo21 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
907
- path: _path2 + ".minColor",
1139
+ const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1140
+ path: _path2 + ".id",
908
1141
  expected: "string",
909
- value: input3.minColor
910
- }), "string" === typeof input3.maxColor || $report(_exceptionable2, {
911
- path: _path2 + ".maxColor",
1142
+ value: input3.id
1143
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1144
+ path: _path2 + ".name",
912
1145
  expected: "string",
913
- value: input3.maxColor
1146
+ value: input3.name
1147
+ }), "geneExpression" === input3.type || $report(_exceptionable2, {
1148
+ path: _path2 + ".type",
1149
+ expected: '"geneExpression"',
1150
+ value: input3.type
1151
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1152
+ path: _path2 + ".child_types",
1153
+ expected: "(Array<string> | undefined)",
1154
+ value: input3.child_types
1155
+ })) && input3.child_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
1156
+ path: _path2 + ".child_types[" + _index14 + "]",
1157
+ expected: "string",
1158
+ value: elem
1159
+ })).every((flag) => flag) || $report(_exceptionable2, {
1160
+ path: _path2 + ".child_types",
1161
+ expected: "(Array<string> | undefined)",
1162
+ value: input3.child_types
1163
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1164
+ path: _path2 + ".hashtmldetail",
1165
+ expected: "(boolean | undefined)",
1166
+ value: input3.hashtmldetail
1167
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1168
+ path: _path2 + ".included_types",
1169
+ expected: "(Array<string> | undefined)",
1170
+ value: input3.included_types
1171
+ })) && input3.included_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
1172
+ path: _path2 + ".included_types[" + _index15 + "]",
1173
+ expected: "string",
1174
+ value: elem
1175
+ })).every((flag) => flag) || $report(_exceptionable2, {
1176
+ path: _path2 + ".included_types",
1177
+ expected: "(Array<string> | undefined)",
1178
+ value: input3.included_types
1179
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1180
+ path: _path2 + ".isleaf",
1181
+ expected: "(boolean | undefined)",
1182
+ value: input3.isleaf
1183
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1184
+ path: _path2 + ".values",
1185
+ expected: "(TermValues | undefined)",
1186
+ value: input3.values
1187
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1188
+ path: _path2 + ".values",
1189
+ expected: "(TermValues | undefined)",
1190
+ value: input3.values
1191
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1192
+ path: _path2 + ".skipValuesBuild",
1193
+ expected: "(boolean | undefined)",
1194
+ value: input3.skipValuesBuild
1195
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1196
+ path: _path2 + ".continuousColorScale",
1197
+ expected: "(__type.o2 | undefined)",
1198
+ value: input3.continuousColorScale
1199
+ })) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1200
+ path: _path2 + ".continuousColorScale",
1201
+ expected: "(__type.o2 | undefined)",
1202
+ value: input3.continuousColorScale
1203
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1204
+ path: _path2 + ".unit",
1205
+ expected: "(string | undefined)",
1206
+ value: input3.unit
1207
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
1208
+ path: _path2 + ".gene",
1209
+ expected: "string",
1210
+ value: input3.gene
1211
+ }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1212
+ path: _path2 + ".bins",
1213
+ expected: "(PresetNumericBins | undefined)",
1214
+ value: input3.bins
1215
+ })) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1216
+ path: _path2 + ".bins",
1217
+ expected: "(PresetNumericBins | undefined)",
1218
+ value: input3.bins
1219
+ }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
1220
+ path: _path2 + ".chr",
1221
+ expected: "(string | undefined)",
1222
+ value: input3.chr
1223
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
1224
+ path: _path2 + ".start",
1225
+ expected: "(number | undefined)",
1226
+ value: input3.start
1227
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
1228
+ path: _path2 + ".stop",
1229
+ expected: "(number | undefined)",
1230
+ value: input3.stop
914
1231
  })].every((flag) => flag);
915
- const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1232
+ const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
916
1233
  path: _path2 + ".key",
917
1234
  expected: "string",
918
1235
  value: input3.key
@@ -929,7 +1246,7 @@ var validTermdbClusterRequest = (input) => {
929
1246
  expected: "(string | undefined)",
930
1247
  value: input3.label
931
1248
  })].every((flag) => flag);
932
- const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1249
+ const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
933
1250
  path: _path2 + ".join",
934
1251
  expected: "(string | undefined)",
935
1252
  value: input3.join
@@ -941,7 +1258,7 @@ var validTermdbClusterRequest = (input) => {
941
1258
  path: _path2 + ".term",
942
1259
  expected: "ConditionTerm",
943
1260
  value: input3.term
944
- })) && $vo24(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1261
+ })) && $vo25(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
945
1262
  path: _path2 + ".term",
946
1263
  expected: "ConditionTerm",
947
1264
  value: input3.term
@@ -961,12 +1278,12 @@ var validTermdbClusterRequest = (input) => {
961
1278
  path: _path2 + ".grade_and_child",
962
1279
  expected: "(Array<GradeAndChildEntry> | undefined)",
963
1280
  value: input3.grade_and_child
964
- })) && input3.grade_and_child.map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
965
- path: _path2 + ".grade_and_child[" + _index14 + "]",
1281
+ })) && input3.grade_and_child.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1282
+ path: _path2 + ".grade_and_child[" + _index16 + "]",
966
1283
  expected: "GradeAndChildEntry",
967
1284
  value: elem
968
- })) && $vo25(elem, _path2 + ".grade_and_child[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
969
- path: _path2 + ".grade_and_child[" + _index14 + "]",
1285
+ })) && $vo26(elem, _path2 + ".grade_and_child[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
1286
+ path: _path2 + ".grade_and_child[" + _index16 + "]",
970
1287
  expected: "GradeAndChildEntry",
971
1288
  value: elem
972
1289
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -974,7 +1291,7 @@ var validTermdbClusterRequest = (input) => {
974
1291
  expected: "(Array<GradeAndChildEntry> | undefined)",
975
1292
  value: input3.grade_and_child
976
1293
  })].every((flag) => flag);
977
- const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1294
+ const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
978
1295
  path: _path2 + ".id",
979
1296
  expected: "string",
980
1297
  value: input3.id
@@ -990,8 +1307,8 @@ var validTermdbClusterRequest = (input) => {
990
1307
  path: _path2 + ".child_types",
991
1308
  expected: "(Array<string> | undefined)",
992
1309
  value: input3.child_types
993
- })) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
994
- path: _path2 + ".child_types[" + _index15 + "]",
1310
+ })) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
1311
+ path: _path2 + ".child_types[" + _index17 + "]",
995
1312
  expected: "string",
996
1313
  value: elem
997
1314
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1006,8 +1323,8 @@ var validTermdbClusterRequest = (input) => {
1006
1323
  path: _path2 + ".included_types",
1007
1324
  expected: "(Array<string> | undefined)",
1008
1325
  value: input3.included_types
1009
- })) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
1010
- path: _path2 + ".included_types[" + _index16 + "]",
1326
+ })) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
1327
+ path: _path2 + ".included_types[" + _index18 + "]",
1011
1328
  expected: "string",
1012
1329
  value: elem
1013
1330
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1031,7 +1348,7 @@ var validTermdbClusterRequest = (input) => {
1031
1348
  expected: "(boolean | undefined)",
1032
1349
  value: input3.skipValuesBuild
1033
1350
  })].every((flag) => flag);
1034
- const $vo25 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1351
+ const $vo26 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1035
1352
  path: _path2 + ".grade",
1036
1353
  expected: "number",
1037
1354
  value: input3.grade
@@ -1048,7 +1365,7 @@ var validTermdbClusterRequest = (input) => {
1048
1365
  expected: "string",
1049
1366
  value: input3.child_label
1050
1367
  })].every((flag) => flag);
1051
- const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1368
+ const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1052
1369
  path: _path2 + ".join",
1053
1370
  expected: "(string | undefined)",
1054
1371
  value: input3.join
@@ -1060,7 +1377,7 @@ var validTermdbClusterRequest = (input) => {
1060
1377
  path: _path2 + ".term",
1061
1378
  expected: "DtTerm",
1062
1379
  value: input3.term
1063
- })) && $vo27(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1380
+ })) && $vo28(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1064
1381
  path: _path2 + ".term",
1065
1382
  expected: "DtTerm",
1066
1383
  value: input3.term
@@ -1068,12 +1385,12 @@ var validTermdbClusterRequest = (input) => {
1068
1385
  path: _path2 + ".values",
1069
1386
  expected: "Array<__type>.o2",
1070
1387
  value: input3.values
1071
- })) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1072
- path: _path2 + ".values[" + _index17 + "]",
1388
+ })) && input3.values.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1389
+ path: _path2 + ".values[" + _index19 + "]",
1073
1390
  expected: "__type.o4",
1074
1391
  value: elem
1075
- })) && $vo32(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
1076
- path: _path2 + ".values[" + _index17 + "]",
1392
+ })) && $vo33(elem, _path2 + ".values[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
1393
+ path: _path2 + ".values[" + _index19 + "]",
1077
1394
  expected: "__type.o4",
1078
1395
  value: elem
1079
1396
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1089,7 +1406,7 @@ var validTermdbClusterRequest = (input) => {
1089
1406
  expected: "(boolean | undefined)",
1090
1407
  value: input3.excludeGeneName
1091
1408
  })].every((flag) => flag);
1092
- const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1409
+ const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1093
1410
  path: _path2 + ".id",
1094
1411
  expected: "string",
1095
1412
  value: input3.id
@@ -1109,7 +1426,7 @@ var validTermdbClusterRequest = (input) => {
1109
1426
  path: _path2 + ".parentTerm",
1110
1427
  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)',
1111
1428
  value: input3.parentTerm
1112
- })) && $vu8(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
1429
+ })) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
1113
1430
  path: _path2 + ".parentTerm",
1114
1431
  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)',
1115
1432
  value: input3.parentTerm
@@ -1138,7 +1455,7 @@ var validTermdbClusterRequest = (input) => {
1138
1455
  expected: "TermValues",
1139
1456
  value: input3.values
1140
1457
  })].every((flag) => flag);
1141
- const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1458
+ const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1142
1459
  path: _path2 + ".id",
1143
1460
  expected: "string",
1144
1461
  value: input3.id
@@ -1154,8 +1471,8 @@ var validTermdbClusterRequest = (input) => {
1154
1471
  path: _path2 + ".child_types",
1155
1472
  expected: "(Array<string> | undefined)",
1156
1473
  value: input3.child_types
1157
- })) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
1158
- path: _path2 + ".child_types[" + _index18 + "]",
1474
+ })) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
1475
+ path: _path2 + ".child_types[" + _index20 + "]",
1159
1476
  expected: "string",
1160
1477
  value: elem
1161
1478
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1170,8 +1487,8 @@ var validTermdbClusterRequest = (input) => {
1170
1487
  path: _path2 + ".included_types",
1171
1488
  expected: "(Array<string> | undefined)",
1172
1489
  value: input3.included_types
1173
- })) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
1174
- path: _path2 + ".included_types[" + _index19 + "]",
1490
+ })) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
1491
+ path: _path2 + ".included_types[" + _index21 + "]",
1175
1492
  expected: "string",
1176
1493
  value: elem
1177
1494
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1218,12 +1535,12 @@ var validTermdbClusterRequest = (input) => {
1218
1535
  path: _path2 + ".genes",
1219
1536
  expected: "Array<GvGeneTerm>",
1220
1537
  value: input3.genes
1221
- })) && input3.genes.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1222
- path: _path2 + ".genes[" + _index20 + "]",
1538
+ })) && input3.genes.map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1539
+ path: _path2 + ".genes[" + _index22 + "]",
1223
1540
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1224
1541
  value: elem
1225
- })) && $vu3(elem, _path2 + ".genes[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
1226
- path: _path2 + ".genes[" + _index20 + "]",
1542
+ })) && $vu3(elem, _path2 + ".genes[" + _index22 + "]", _exceptionable2) || $report(_exceptionable2, {
1543
+ path: _path2 + ".genes[" + _index22 + "]",
1227
1544
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1228
1545
  value: elem
1229
1546
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1242,12 +1559,12 @@ var validTermdbClusterRequest = (input) => {
1242
1559
  path: _path2 + ".childTerms",
1243
1560
  expected: "(Array<DtTerm> | undefined)",
1244
1561
  value: input3.childTerms
1245
- })) && input3.childTerms.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1246
- path: _path2 + ".childTerms[" + _index21 + "]",
1562
+ })) && input3.childTerms.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1563
+ path: _path2 + ".childTerms[" + _index23 + "]",
1247
1564
  expected: "DtTerm",
1248
1565
  value: elem
1249
- })) && $vo27(elem, _path2 + ".childTerms[" + _index21 + "]", _exceptionable2) || $report(_exceptionable2, {
1250
- path: _path2 + ".childTerms[" + _index21 + "]",
1566
+ })) && $vo28(elem, _path2 + ".childTerms[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
1567
+ path: _path2 + ".childTerms[" + _index23 + "]",
1251
1568
  expected: "DtTerm",
1252
1569
  value: elem
1253
1570
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1255,7 +1572,7 @@ var validTermdbClusterRequest = (input) => {
1255
1572
  expected: "(Array<DtTerm> | undefined)",
1256
1573
  value: input3.childTerms
1257
1574
  })].every((flag) => flag);
1258
- const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1575
+ const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1259
1576
  path: _path2 + ".id",
1260
1577
  expected: "string",
1261
1578
  value: input3.id
@@ -1271,8 +1588,8 @@ var validTermdbClusterRequest = (input) => {
1271
1588
  path: _path2 + ".child_types",
1272
1589
  expected: "(Array<string> | undefined)",
1273
1590
  value: input3.child_types
1274
- })) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
1275
- path: _path2 + ".child_types[" + _index22 + "]",
1591
+ })) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
1592
+ path: _path2 + ".child_types[" + _index24 + "]",
1276
1593
  expected: "string",
1277
1594
  value: elem
1278
1595
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1287,8 +1604,8 @@ var validTermdbClusterRequest = (input) => {
1287
1604
  path: _path2 + ".included_types",
1288
1605
  expected: "(Array<string> | undefined)",
1289
1606
  value: input3.included_types
1290
- })) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
1291
- path: _path2 + ".included_types[" + _index23 + "]",
1607
+ })) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
1608
+ path: _path2 + ".included_types[" + _index25 + "]",
1292
1609
  expected: "string",
1293
1610
  value: elem
1294
1611
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1332,7 +1649,7 @@ var validTermdbClusterRequest = (input) => {
1332
1649
  expected: "(number | undefined)",
1333
1650
  value: input3.stop
1334
1651
  })].every((flag) => flag);
1335
- const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1652
+ const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1336
1653
  path: _path2 + ".id",
1337
1654
  expected: "string",
1338
1655
  value: input3.id
@@ -1348,8 +1665,8 @@ var validTermdbClusterRequest = (input) => {
1348
1665
  path: _path2 + ".child_types",
1349
1666
  expected: "(Array<string> | undefined)",
1350
1667
  value: input3.child_types
1351
- })) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
1352
- path: _path2 + ".child_types[" + _index24 + "]",
1668
+ })) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
1669
+ path: _path2 + ".child_types[" + _index26 + "]",
1353
1670
  expected: "string",
1354
1671
  value: elem
1355
1672
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1364,9 +1681,9 @@ var validTermdbClusterRequest = (input) => {
1364
1681
  path: _path2 + ".included_types",
1365
1682
  expected: "(Array<string> | undefined)",
1366
1683
  value: input3.included_types
1367
- })) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
1368
- path: _path2 + ".included_types[" + _index25 + "]",
1369
- expected: "string",
1684
+ })) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
1685
+ path: _path2 + ".included_types[" + _index27 + "]",
1686
+ expected: "string",
1370
1687
  value: elem
1371
1688
  })).every((flag) => flag) || $report(_exceptionable2, {
1372
1689
  path: _path2 + ".included_types",
@@ -1405,7 +1722,7 @@ var validTermdbClusterRequest = (input) => {
1405
1722
  expected: "number",
1406
1723
  value: input3.stop
1407
1724
  })].every((flag) => flag);
1408
- const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1725
+ const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1409
1726
  path: _path2 + ".id",
1410
1727
  expected: "string",
1411
1728
  value: input3.id
@@ -1421,8 +1738,8 @@ var validTermdbClusterRequest = (input) => {
1421
1738
  path: _path2 + ".child_types",
1422
1739
  expected: "(Array<string> | undefined)",
1423
1740
  value: input3.child_types
1424
- })) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
1425
- path: _path2 + ".child_types[" + _index26 + "]",
1741
+ })) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
1742
+ path: _path2 + ".child_types[" + _index28 + "]",
1426
1743
  expected: "string",
1427
1744
  value: elem
1428
1745
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1437,8 +1754,8 @@ var validTermdbClusterRequest = (input) => {
1437
1754
  path: _path2 + ".included_types",
1438
1755
  expected: "(Array<string> | undefined)",
1439
1756
  value: input3.included_types
1440
- })) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
1441
- path: _path2 + ".included_types[" + _index27 + "]",
1757
+ })) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
1758
+ path: _path2 + ".included_types[" + _index29 + "]",
1442
1759
  expected: "string",
1443
1760
  value: elem
1444
1761
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1481,12 +1798,12 @@ var validTermdbClusterRequest = (input) => {
1481
1798
  path: _path2 + ".genes",
1482
1799
  expected: "Array<GvGeneTerm>",
1483
1800
  value: input3.genes
1484
- })) && input3.genes.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1485
- path: _path2 + ".genes[" + _index28 + "]",
1801
+ })) && input3.genes.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1802
+ path: _path2 + ".genes[" + _index30 + "]",
1486
1803
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1487
1804
  value: elem
1488
- })) && $vu3(elem, _path2 + ".genes[" + _index28 + "]", _exceptionable2) || $report(_exceptionable2, {
1489
- path: _path2 + ".genes[" + _index28 + "]",
1805
+ })) && $vu3(elem, _path2 + ".genes[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
1806
+ path: _path2 + ".genes[" + _index30 + "]",
1490
1807
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1491
1808
  value: elem
1492
1809
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1505,12 +1822,12 @@ var validTermdbClusterRequest = (input) => {
1505
1822
  path: _path2 + ".childTerms",
1506
1823
  expected: "(Array<DtTerm> | undefined)",
1507
1824
  value: input3.childTerms
1508
- })) && input3.childTerms.map((elem, _index29) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1509
- path: _path2 + ".childTerms[" + _index29 + "]",
1825
+ })) && input3.childTerms.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1826
+ path: _path2 + ".childTerms[" + _index31 + "]",
1510
1827
  expected: "DtTerm",
1511
1828
  value: elem
1512
- })) && $vo27(elem, _path2 + ".childTerms[" + _index29 + "]", _exceptionable2) || $report(_exceptionable2, {
1513
- path: _path2 + ".childTerms[" + _index29 + "]",
1829
+ })) && $vo28(elem, _path2 + ".childTerms[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
1830
+ path: _path2 + ".childTerms[" + _index31 + "]",
1514
1831
  expected: "DtTerm",
1515
1832
  value: elem
1516
1833
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1518,7 +1835,7 @@ var validTermdbClusterRequest = (input) => {
1518
1835
  expected: "(Array<DtTerm> | undefined)",
1519
1836
  value: input3.childTerms
1520
1837
  })].every((flag) => flag);
1521
- const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1838
+ const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1522
1839
  path: _path2 + ".key",
1523
1840
  expected: "string",
1524
1841
  value: input3.key
@@ -1531,100 +1848,211 @@ var validTermdbClusterRequest = (input) => {
1531
1848
  expected: "string",
1532
1849
  value: input3.value
1533
1850
  })].every((flag) => flag);
1534
- const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1851
+ const $vo34 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
1535
1852
  path: _path2 + ".id",
1536
- expected: "string",
1853
+ expected: "(string | undefined)",
1537
1854
  value: input3.id
1538
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1539
- path: _path2 + ".name",
1855
+ }), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
1856
+ path: _path2 + ".$id",
1857
+ expected: "(string | undefined)",
1858
+ value: input3.$id
1859
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
1860
+ path: _path2 + ".isAtomic",
1861
+ expected: "(true | undefined)",
1862
+ value: input3.isAtomic
1863
+ }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
1864
+ path: _path2 + ".settings",
1865
+ expected: "(__type.o5 | undefined)",
1866
+ value: input3.settings
1867
+ })) && $vo35(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
1868
+ path: _path2 + ".settings",
1869
+ expected: "(__type.o5 | undefined)",
1870
+ value: input3.settings
1871
+ }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
1872
+ path: _path2 + ".minNumSamples",
1873
+ expected: "(number | undefined)",
1874
+ value: input3.minNumSamples
1875
+ }), true, ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
1876
+ path: _path2 + ".q",
1877
+ expected: "(BinaryNumericQ | ContinuousNumericQ | CustomNumericBinConfig | RegularNumericBinConfig | SplineNumericQ)",
1878
+ value: input3.q
1879
+ })) && $vu11(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
1880
+ path: _path2 + ".q",
1881
+ expected: "(BinaryNumericQ | ContinuousNumericQ | CustomNumericBinConfig | RegularNumericBinConfig | SplineNumericQ)",
1882
+ value: input3.q
1883
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
1884
+ path: _path2 + ".term",
1885
+ expected: "GeneExpressionTerm",
1886
+ value: input3.term
1887
+ })) && $vo22(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1888
+ path: _path2 + ".term",
1889
+ expected: "GeneExpressionTerm",
1890
+ value: input3.term
1891
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
1892
+ path: _path2 + ".type",
1540
1893
  expected: "string",
1894
+ value: input3.type
1895
+ })].every((flag) => flag);
1896
+ const $vo35 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
1897
+ const value = input3[key];
1898
+ if (void 0 === value)
1899
+ return true;
1900
+ if (RegExp(/(.*)/).test(key))
1901
+ return true;
1902
+ return true;
1903
+ }).every((flag) => flag)].every((flag) => flag);
1904
+ const $vo36 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1905
+ path: _path2 + ".hiddenValues",
1906
+ expected: "(HiddenValues | undefined)",
1907
+ value: input3.hiddenValues
1908
+ })) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
1909
+ path: _path2 + ".hiddenValues",
1910
+ expected: "(HiddenValues | undefined)",
1911
+ value: input3.hiddenValues
1912
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
1913
+ path: _path2 + ".isAtomic",
1914
+ expected: "(true | undefined)",
1915
+ value: input3.isAtomic
1916
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
1917
+ path: _path2 + ".name",
1918
+ expected: "(string | undefined)",
1541
1919
  value: input3.name
1542
- }), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || "ssGSEA" === input3.type || $report(_exceptionable2, {
1920
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
1921
+ path: _path2 + ".reuseId",
1922
+ expected: "(string | undefined)",
1923
+ value: input3.reuseId
1924
+ }), "binary" === input3.mode || $report(_exceptionable2, {
1925
+ path: _path2 + ".mode",
1926
+ expected: '"binary"',
1927
+ value: input3.mode
1928
+ }), "custom-bin" === input3.type || $report(_exceptionable2, {
1543
1929
  path: _path2 + ".type",
1544
- expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity" | "ssGSEA")',
1930
+ expected: '"custom-bin"',
1545
1931
  value: input3.type
1546
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1547
- path: _path2 + ".child_types",
1548
- expected: "(Array<string> | undefined)",
1549
- value: input3.child_types
1550
- })) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
1551
- path: _path2 + ".child_types[" + _index30 + "]",
1552
- expected: "string",
1553
- value: elem
1554
- })).every((flag) => flag) || $report(_exceptionable2, {
1555
- path: _path2 + ".child_types",
1556
- expected: "(Array<string> | undefined)",
1557
- value: input3.child_types
1558
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1559
- path: _path2 + ".hashtmldetail",
1560
- expected: "(boolean | undefined)",
1561
- value: input3.hashtmldetail
1562
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1563
- path: _path2 + ".included_types",
1564
- expected: "(Array<string> | undefined)",
1565
- value: input3.included_types
1566
- })) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
1567
- path: _path2 + ".included_types[" + _index31 + "]",
1568
- expected: "string",
1569
- value: elem
1570
- })).every((flag) => flag) || $report(_exceptionable2, {
1571
- path: _path2 + ".included_types",
1572
- expected: "(Array<string> | undefined)",
1573
- value: input3.included_types
1574
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1575
- path: _path2 + ".isleaf",
1576
- expected: "(boolean | undefined)",
1577
- value: input3.isleaf
1578
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1579
- path: _path2 + ".values",
1580
- expected: "(TermValues | undefined)",
1581
- value: input3.values
1582
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1583
- path: _path2 + ".values",
1584
- expected: "(TermValues | undefined)",
1585
- value: input3.values
1586
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1587
- path: _path2 + ".skipValuesBuild",
1932
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
1933
+ path: _path2 + ".lst",
1934
+ expected: "[StartUnboundedBin | FullyBoundedBin, FullyBoundedBin | StopUnboundedBin]",
1935
+ value: input3.lst
1936
+ })) && ((input3.lst.length === 2 || $report(_exceptionable2, {
1937
+ path: _path2 + ".lst",
1938
+ expected: "[(FullyBoundedBin | StartUnboundedBin), (FullyBoundedBin | StopUnboundedBin)]",
1939
+ value: input3.lst
1940
+ })) && [
1941
+ ("object" === typeof input3.lst[0] && null !== input3.lst[0] || $report(_exceptionable2, {
1942
+ path: _path2 + ".lst[0]",
1943
+ expected: "(FullyBoundedBin | StartUnboundedBin)",
1944
+ value: input3.lst[0]
1945
+ })) && $vu5(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
1946
+ path: _path2 + ".lst[0]",
1947
+ expected: "(FullyBoundedBin | StartUnboundedBin)",
1948
+ value: input3.lst[0]
1949
+ }),
1950
+ ("object" === typeof input3.lst[1] && null !== input3.lst[1] || $report(_exceptionable2, {
1951
+ path: _path2 + ".lst[1]",
1952
+ expected: "(FullyBoundedBin | StopUnboundedBin)",
1953
+ value: input3.lst[1]
1954
+ })) && $vu6(input3.lst[1], _path2 + ".lst[1]", _exceptionable2) || $report(_exceptionable2, {
1955
+ path: _path2 + ".lst[1]",
1956
+ expected: "(FullyBoundedBin | StopUnboundedBin)",
1957
+ value: input3.lst[1]
1958
+ })
1959
+ ].every((flag) => flag)) || $report(_exceptionable2, {
1960
+ path: _path2 + ".lst",
1961
+ expected: "[StartUnboundedBin | FullyBoundedBin, FullyBoundedBin | StopUnboundedBin]",
1962
+ value: input3.lst
1963
+ })].every((flag) => flag);
1964
+ const $vo37 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1965
+ path: _path2 + ".hiddenValues",
1966
+ expected: "(HiddenValues | undefined)",
1967
+ value: input3.hiddenValues
1968
+ })) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
1969
+ path: _path2 + ".hiddenValues",
1970
+ expected: "(HiddenValues | undefined)",
1971
+ value: input3.hiddenValues
1972
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
1973
+ path: _path2 + ".isAtomic",
1974
+ expected: "(true | undefined)",
1975
+ value: input3.isAtomic
1976
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
1977
+ path: _path2 + ".name",
1978
+ expected: "(string | undefined)",
1979
+ value: input3.name
1980
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
1981
+ path: _path2 + ".reuseId",
1982
+ expected: "(string | undefined)",
1983
+ value: input3.reuseId
1984
+ }), void 0 === input3.mode || "continuous" === input3.mode || $report(_exceptionable2, {
1985
+ path: _path2 + ".mode",
1986
+ expected: '("continuous" | undefined)',
1987
+ value: input3.mode
1988
+ }), void 0 === input3.convert2ZScore || "boolean" === typeof input3.convert2ZScore || $report(_exceptionable2, {
1989
+ path: _path2 + ".convert2ZScore",
1588
1990
  expected: "(boolean | undefined)",
1589
- value: input3.skipValuesBuild
1590
- }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1591
- path: _path2 + ".bins",
1592
- expected: "PresetNumericBins",
1593
- value: input3.bins
1594
- })) && $vo14(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1595
- path: _path2 + ".bins",
1596
- expected: "PresetNumericBins",
1597
- value: input3.bins
1598
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1599
- path: _path2 + ".unit",
1991
+ value: input3.convert2ZScore
1992
+ }), (null !== input3.type || $report(_exceptionable2, {
1993
+ path: _path2 + ".type",
1994
+ expected: "undefined",
1995
+ value: input3.type
1996
+ })) && (void 0 === input3.type || $report(_exceptionable2, {
1997
+ path: _path2 + ".type",
1998
+ expected: "undefined",
1999
+ value: input3.type
2000
+ }))].every((flag) => flag);
2001
+ const $vo38 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
2002
+ path: _path2 + ".hiddenValues",
2003
+ expected: "(HiddenValues | undefined)",
2004
+ value: input3.hiddenValues
2005
+ })) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
2006
+ path: _path2 + ".hiddenValues",
2007
+ expected: "(HiddenValues | undefined)",
2008
+ value: input3.hiddenValues
2009
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
2010
+ path: _path2 + ".isAtomic",
2011
+ expected: "(true | undefined)",
2012
+ value: input3.isAtomic
2013
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
2014
+ path: _path2 + ".name",
1600
2015
  expected: "(string | undefined)",
1601
- value: input3.unit
1602
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1603
- path: _path2 + ".continuousColorScale",
1604
- expected: "(__type.o2 | undefined)",
1605
- value: input3.continuousColorScale
1606
- })) && $vo21(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1607
- path: _path2 + ".continuousColorScale",
1608
- expected: "(__type.o2 | undefined)",
1609
- value: input3.continuousColorScale
1610
- }), "string" === typeof input3.gene || $report(_exceptionable2, {
1611
- path: _path2 + ".gene",
1612
- expected: "string",
1613
- value: input3.gene
1614
- }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
1615
- path: _path2 + ".chr",
2016
+ value: input3.name
2017
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
2018
+ path: _path2 + ".reuseId",
1616
2019
  expected: "(string | undefined)",
1617
- value: input3.chr
1618
- }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
1619
- path: _path2 + ".start",
1620
- expected: "(number | undefined)",
1621
- value: input3.start
1622
- }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
1623
- path: _path2 + ".stop",
1624
- expected: "(number | undefined)",
1625
- value: input3.stop
2020
+ value: input3.reuseId
2021
+ }), "spline" === input3.mode || $report(_exceptionable2, {
2022
+ path: _path2 + ".mode",
2023
+ expected: '"spline"',
2024
+ value: input3.mode
2025
+ }), (Array.isArray(input3.knots) || $report(_exceptionable2, {
2026
+ path: _path2 + ".knots",
2027
+ expected: "Array<__type>.o3",
2028
+ value: input3.knots
2029
+ })) && input3.knots.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2030
+ path: _path2 + ".knots[" + _index32 + "]",
2031
+ expected: "__type.o6",
2032
+ value: elem
2033
+ })) && $vo39(elem, _path2 + ".knots[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
2034
+ path: _path2 + ".knots[" + _index32 + "]",
2035
+ expected: "__type.o6",
2036
+ value: elem
2037
+ })).every((flag) => flag) || $report(_exceptionable2, {
2038
+ path: _path2 + ".knots",
2039
+ expected: "Array<__type>.o3",
2040
+ value: input3.knots
2041
+ }), (null !== input3.type || $report(_exceptionable2, {
2042
+ path: _path2 + ".type",
2043
+ expected: "undefined",
2044
+ value: input3.type
2045
+ })) && (void 0 === input3.type || $report(_exceptionable2, {
2046
+ path: _path2 + ".type",
2047
+ expected: "undefined",
2048
+ value: input3.type
2049
+ }))].every((flag) => flag);
2050
+ const $vo39 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
2051
+ path: _path2 + ".value",
2052
+ expected: "number",
2053
+ value: input3.value
1626
2054
  })].every((flag) => flag);
1627
- const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
2055
+ const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
1628
2056
  path: _path2 + ".genome",
1629
2057
  expected: "string",
1630
2058
  value: input3.genome
@@ -1654,26 +2082,146 @@ var validTermdbClusterRequest = (input) => {
1654
2082
  value: input3.dataType
1655
2083
  }), (Array.isArray(input3.terms) || $report(_exceptionable2, {
1656
2084
  path: _path2 + ".terms",
1657
- expected: "Array<MetaboliteIntensityTerm>",
2085
+ expected: "Array<MetaboliteIntensityTW>",
1658
2086
  value: input3.terms
1659
- })) && input3.terms.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1660
- path: _path2 + ".terms[" + _index32 + "]",
1661
- expected: "MetaboliteIntensityTerm",
2087
+ })) && input3.terms.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2088
+ path: _path2 + ".terms[" + _index33 + "]",
2089
+ expected: '(BaseTW & { q: SnpsQ; term: SnpsTerm; } & { q: MetaboliteIntensityQ; term: MetaboliteIntensityTerm; } | BaseTW & { term: NumericTerm; q: NumericQ; } & { q: MetaboliteIntensityQ; term: MetaboliteIntensityTerm; } | BaseTW & { term: Term; q: Q; } & { q: MetaboliteIntensityQ; term: MetaboliteIntensityTerm; } | BaseTW & { type: "CatTWValues" | "CatTWPredefinedGS" | "CatTWCustomGS"; q: CategoricalQ; term: CategoricalTerm; } & { q: MetaboliteIntensityQ; term: MetaboliteIntensityTerm; })',
1662
2090
  value: elem
1663
- })) && $vo35(elem, _path2 + ".terms[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
1664
- path: _path2 + ".terms[" + _index32 + "]",
1665
- expected: "MetaboliteIntensityTerm",
2091
+ })) && $vu4(elem, _path2 + ".terms[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
2092
+ path: _path2 + ".terms[" + _index33 + "]",
2093
+ expected: '(BaseTW & { q: SnpsQ; term: SnpsTerm; } & { q: MetaboliteIntensityQ; term: MetaboliteIntensityTerm; } | BaseTW & { term: NumericTerm; q: NumericQ; } & { q: MetaboliteIntensityQ; term: MetaboliteIntensityTerm; } | BaseTW & { term: Term; q: Q; } & { q: MetaboliteIntensityQ; term: MetaboliteIntensityTerm; } | BaseTW & { type: "CatTWValues" | "CatTWPredefinedGS" | "CatTWCustomGS"; q: CategoricalQ; term: CategoricalTerm; } & { q: MetaboliteIntensityQ; term: MetaboliteIntensityTerm; })',
1666
2094
  value: elem
1667
2095
  })).every((flag) => flag) || $report(_exceptionable2, {
1668
2096
  path: _path2 + ".terms",
1669
- expected: "Array<MetaboliteIntensityTerm>",
2097
+ expected: "Array<MetaboliteIntensityTW>",
1670
2098
  value: input3.terms
1671
2099
  }), void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation || $report(_exceptionable2, {
1672
2100
  path: _path2 + ".zScoreTransformation",
1673
2101
  expected: "(string | undefined)",
1674
2102
  value: input3.zScoreTransformation
1675
2103
  })].every((flag) => flag);
1676
- const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2104
+ const $vo41 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
2105
+ path: _path2 + ".id",
2106
+ expected: "(string | undefined)",
2107
+ value: input3.id
2108
+ }), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
2109
+ path: _path2 + ".$id",
2110
+ expected: "(string | undefined)",
2111
+ value: input3.$id
2112
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
2113
+ path: _path2 + ".isAtomic",
2114
+ expected: "(true | undefined)",
2115
+ value: input3.isAtomic
2116
+ }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
2117
+ path: _path2 + ".settings",
2118
+ expected: "(__type.o5 | undefined)",
2119
+ value: input3.settings
2120
+ })) && $vo35(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
2121
+ path: _path2 + ".settings",
2122
+ expected: "(__type.o5 | undefined)",
2123
+ value: input3.settings
2124
+ }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
2125
+ path: _path2 + ".minNumSamples",
2126
+ expected: "(number | undefined)",
2127
+ value: input3.minNumSamples
2128
+ }), true, "CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type || $report(_exceptionable2, {
2129
+ path: _path2 + ".type",
2130
+ expected: '("CatTWCustomGS" | "CatTWPredefinedGS" | "CatTWValues")',
2131
+ value: input3.type
2132
+ }), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
2133
+ path: _path2 + ".q",
2134
+ expected: '(BaseQ & { type: "filter"; } & { mode: "continuous"; } | never | never.o1 | never.o2)',
2135
+ value: input3.q
2136
+ })) && $vu12(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
2137
+ path: _path2 + ".q",
2138
+ expected: '(BaseQ & { type: "filter"; } & { mode: "continuous"; } | never | never.o1 | never.o2)',
2139
+ value: input3.q
2140
+ }), ("object" === typeof input3.term && null !== input3.term && false === Array.isArray(input3.term) || $report(_exceptionable2, {
2141
+ path: _path2 + ".term",
2142
+ expected: "(never.o3 | never.o4)",
2143
+ value: input3.term
2144
+ })) && $vu13(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2145
+ path: _path2 + ".term",
2146
+ expected: "(never.o3 | never.o4)",
2147
+ value: input3.term
2148
+ })].every((flag) => flag);
2149
+ const $vo42 = (input3, _path2, _exceptionable2 = true) => true;
2150
+ const $vo43 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
2151
+ path: _path2 + ".hiddenValues",
2152
+ expected: "(HiddenValues | undefined)",
2153
+ value: input3.hiddenValues
2154
+ })) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
2155
+ path: _path2 + ".hiddenValues",
2156
+ expected: "(HiddenValues | undefined)",
2157
+ value: input3.hiddenValues
2158
+ }), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
2159
+ path: _path2 + ".isAtomic",
2160
+ expected: "(boolean | undefined)",
2161
+ value: input3.isAtomic
2162
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
2163
+ path: _path2 + ".name",
2164
+ expected: "(string | undefined)",
2165
+ value: input3.name
2166
+ }), void 0 === input3.mode || "continuous" === input3.mode || $report(_exceptionable2, {
2167
+ path: _path2 + ".mode",
2168
+ expected: '("continuous" | undefined)',
2169
+ value: input3.mode
2170
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
2171
+ path: _path2 + ".reuseId",
2172
+ expected: "(string | undefined)",
2173
+ value: input3.reuseId
2174
+ }), void 0 === input3.type || "filter" === input3.type || $report(_exceptionable2, {
2175
+ path: _path2 + ".type",
2176
+ expected: '("filter" | undefined)',
2177
+ value: input3.type
2178
+ })].every((flag) => flag);
2179
+ const $vo44 = (input3, _path2, _exceptionable2 = true) => true;
2180
+ const $vo45 = (input3, _path2, _exceptionable2 = true) => true;
2181
+ const $vo46 = (input3, _path2, _exceptionable2 = true) => true;
2182
+ const $vo47 = (input3, _path2, _exceptionable2 = true) => true;
2183
+ const $vo48 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
2184
+ path: _path2 + ".id",
2185
+ expected: "(string | undefined)",
2186
+ value: input3.id
2187
+ }), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
2188
+ path: _path2 + ".$id",
2189
+ expected: "(string | undefined)",
2190
+ value: input3.$id
2191
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
2192
+ path: _path2 + ".isAtomic",
2193
+ expected: "(true | undefined)",
2194
+ value: input3.isAtomic
2195
+ }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
2196
+ path: _path2 + ".settings",
2197
+ expected: "(__type.o5 | undefined)",
2198
+ value: input3.settings
2199
+ })) && $vo35(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
2200
+ path: _path2 + ".settings",
2201
+ expected: "(__type.o5 | undefined)",
2202
+ value: input3.settings
2203
+ }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
2204
+ path: _path2 + ".minNumSamples",
2205
+ expected: "(number | undefined)",
2206
+ value: input3.minNumSamples
2207
+ }), true, ("object" === typeof input3.term && null !== input3.term && false === Array.isArray(input3.term) || $report(_exceptionable2, {
2208
+ path: _path2 + ".term",
2209
+ expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { gene: string; name: string; type: "geneExpression"; bins?: PresetNumericBins | undefined; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } & { ...; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; type: "integer" | "float" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; } & { ...; } | never.o5 | never.o6)',
2210
+ value: input3.term
2211
+ })) && $vu14(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2212
+ path: _path2 + ".term",
2213
+ expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { gene: string; name: string; type: "geneExpression"; bins?: PresetNumericBins | undefined; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } & { ...; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; type: "integer" | "float" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; } & { ...; } | never.o5 | never.o6)',
2214
+ value: input3.term
2215
+ }), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
2216
+ path: _path2 + ".q",
2217
+ expected: '(MinBaseQ & { mode?: "continuous" | undefined; convert2ZScore?: boolean | undefined; type?: undefined; } & BaseQ & { mode: "continuous"; } | never.o10 | never.o7 | never.o8 | never.o9)',
2218
+ value: input3.q
2219
+ })) && $vu15(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
2220
+ path: _path2 + ".q",
2221
+ expected: '(MinBaseQ & { mode?: "continuous" | undefined; convert2ZScore?: boolean | undefined; type?: undefined; } & BaseQ & { mode: "continuous"; } | never.o10 | never.o7 | never.o8 | never.o9)',
2222
+ value: input3.q
2223
+ })].every((flag) => flag);
2224
+ const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1677
2225
  path: _path2 + ".id",
1678
2226
  expected: "string",
1679
2227
  value: input3.id
@@ -1681,16 +2229,16 @@ var validTermdbClusterRequest = (input) => {
1681
2229
  path: _path2 + ".name",
1682
2230
  expected: "string",
1683
2231
  value: input3.name
1684
- }), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || "ssGSEA" === input3.type || $report(_exceptionable2, {
2232
+ }), "integer" === input3.type || "float" === input3.type || "date" === input3.type || $report(_exceptionable2, {
1685
2233
  path: _path2 + ".type",
1686
- expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity" | "ssGSEA")',
2234
+ expected: '("date" | "float" | "integer")',
1687
2235
  value: input3.type
1688
2236
  }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1689
2237
  path: _path2 + ".child_types",
1690
2238
  expected: "(Array<string> | undefined)",
1691
2239
  value: input3.child_types
1692
- })) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
1693
- path: _path2 + ".child_types[" + _index33 + "]",
2240
+ })) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
2241
+ path: _path2 + ".child_types[" + _index34 + "]",
1694
2242
  expected: "string",
1695
2243
  value: elem
1696
2244
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1705,8 +2253,8 @@ var validTermdbClusterRequest = (input) => {
1705
2253
  path: _path2 + ".included_types",
1706
2254
  expected: "(Array<string> | undefined)",
1707
2255
  value: input3.included_types
1708
- })) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
1709
- path: _path2 + ".included_types[" + _index34 + "]",
2256
+ })) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
2257
+ path: _path2 + ".included_types[" + _index35 + "]",
1710
2258
  expected: "string",
1711
2259
  value: elem
1712
2260
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1729,24 +2277,999 @@ var validTermdbClusterRequest = (input) => {
1729
2277
  path: _path2 + ".skipValuesBuild",
1730
2278
  expected: "(boolean | undefined)",
1731
2279
  value: input3.skipValuesBuild
1732
- }), true, void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1733
- path: _path2 + ".unit",
1734
- expected: "(string | undefined)",
1735
- value: input3.unit
1736
2280
  }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1737
2281
  path: _path2 + ".continuousColorScale",
1738
2282
  expected: "(__type.o2 | undefined)",
1739
2283
  value: input3.continuousColorScale
1740
- })) && $vo21(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
2284
+ })) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1741
2285
  path: _path2 + ".continuousColorScale",
1742
2286
  expected: "(__type.o2 | undefined)",
1743
2287
  value: input3.continuousColorScale
1744
- }), "string" === typeof input3.metabolite || $report(_exceptionable2, {
1745
- path: _path2 + ".metabolite",
2288
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
2289
+ path: _path2 + ".unit",
2290
+ expected: "(string | undefined)",
2291
+ value: input3.unit
2292
+ }), true, "string" === typeof input3.metabolite || $report(_exceptionable2, {
2293
+ path: _path2 + ".metabolite",
2294
+ expected: "string",
2295
+ value: input3.metabolite
2296
+ })].every((flag) => flag);
2297
+ const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2298
+ path: _path2 + ".id",
2299
+ expected: "string",
2300
+ value: input3.id
2301
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2302
+ path: _path2 + ".name",
2303
+ expected: "string",
2304
+ value: input3.name
2305
+ }), "geneExpression" === input3.type || $report(_exceptionable2, {
2306
+ path: _path2 + ".type",
2307
+ expected: '"geneExpression"',
2308
+ value: input3.type
2309
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2310
+ path: _path2 + ".child_types",
2311
+ expected: "(Array<string> | undefined)",
2312
+ value: input3.child_types
2313
+ })) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
2314
+ path: _path2 + ".child_types[" + _index36 + "]",
2315
+ expected: "string",
2316
+ value: elem
2317
+ })).every((flag) => flag) || $report(_exceptionable2, {
2318
+ path: _path2 + ".child_types",
2319
+ expected: "(Array<string> | undefined)",
2320
+ value: input3.child_types
2321
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2322
+ path: _path2 + ".hashtmldetail",
2323
+ expected: "(boolean | undefined)",
2324
+ value: input3.hashtmldetail
2325
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2326
+ path: _path2 + ".included_types",
2327
+ expected: "(Array<string> | undefined)",
2328
+ value: input3.included_types
2329
+ })) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
2330
+ path: _path2 + ".included_types[" + _index37 + "]",
2331
+ expected: "string",
2332
+ value: elem
2333
+ })).every((flag) => flag) || $report(_exceptionable2, {
2334
+ path: _path2 + ".included_types",
2335
+ expected: "(Array<string> | undefined)",
2336
+ value: input3.included_types
2337
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2338
+ path: _path2 + ".isleaf",
2339
+ expected: "(boolean | undefined)",
2340
+ value: input3.isleaf
2341
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2342
+ path: _path2 + ".values",
2343
+ expected: "(TermValues | undefined)",
2344
+ value: input3.values
2345
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2346
+ path: _path2 + ".values",
2347
+ expected: "(TermValues | undefined)",
2348
+ value: input3.values
2349
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2350
+ path: _path2 + ".skipValuesBuild",
2351
+ expected: "(boolean | undefined)",
2352
+ value: input3.skipValuesBuild
2353
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
2354
+ path: _path2 + ".continuousColorScale",
2355
+ expected: "(__type.o2 | undefined)",
2356
+ value: input3.continuousColorScale
2357
+ })) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
2358
+ path: _path2 + ".continuousColorScale",
2359
+ expected: "(__type.o2 | undefined)",
2360
+ value: input3.continuousColorScale
2361
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
2362
+ path: _path2 + ".unit",
2363
+ expected: "(string | undefined)",
2364
+ value: input3.unit
2365
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
2366
+ path: _path2 + ".gene",
2367
+ expected: "string",
2368
+ value: input3.gene
2369
+ }), true, void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
2370
+ path: _path2 + ".chr",
2371
+ expected: "(string | undefined)",
2372
+ value: input3.chr
2373
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
2374
+ path: _path2 + ".start",
2375
+ expected: "(number | undefined)",
2376
+ value: input3.start
2377
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
2378
+ path: _path2 + ".stop",
2379
+ expected: "(number | undefined)",
2380
+ value: input3.stop
2381
+ }), "string" === typeof input3.metabolite || $report(_exceptionable2, {
2382
+ path: _path2 + ".metabolite",
2383
+ expected: "string",
2384
+ value: input3.metabolite
2385
+ })].every((flag) => flag);
2386
+ const $vo51 = (input3, _path2, _exceptionable2 = true) => true;
2387
+ const $vo52 = (input3, _path2, _exceptionable2 = true) => true;
2388
+ const $vo53 = (input3, _path2, _exceptionable2 = true) => true;
2389
+ const $vo54 = (input3, _path2, _exceptionable2 = true) => true;
2390
+ const $vo55 = (input3, _path2, _exceptionable2 = true) => true;
2391
+ const $vo56 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
2392
+ path: _path2 + ".hiddenValues",
2393
+ expected: "(HiddenValues | undefined)",
2394
+ value: input3.hiddenValues
2395
+ })) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
2396
+ path: _path2 + ".hiddenValues",
2397
+ expected: "(HiddenValues | undefined)",
2398
+ value: input3.hiddenValues
2399
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
2400
+ path: _path2 + ".isAtomic",
2401
+ expected: "(true | undefined)",
2402
+ value: input3.isAtomic
2403
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
2404
+ path: _path2 + ".name",
2405
+ expected: "(string | undefined)",
2406
+ value: input3.name
2407
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
2408
+ path: _path2 + ".reuseId",
2409
+ expected: "(string | undefined)",
2410
+ value: input3.reuseId
2411
+ }), void 0 === input3.mode || "continuous" === input3.mode || $report(_exceptionable2, {
2412
+ path: _path2 + ".mode",
2413
+ expected: '("continuous" | undefined)',
2414
+ value: input3.mode
2415
+ }), void 0 === input3.convert2ZScore || "boolean" === typeof input3.convert2ZScore || $report(_exceptionable2, {
2416
+ path: _path2 + ".convert2ZScore",
2417
+ expected: "(boolean | undefined)",
2418
+ value: input3.convert2ZScore
2419
+ }), (null !== input3.type || $report(_exceptionable2, {
2420
+ path: _path2 + ".type",
2421
+ expected: "undefined",
2422
+ value: input3.type
2423
+ })) && (void 0 === input3.type || $report(_exceptionable2, {
2424
+ path: _path2 + ".type",
2425
+ expected: "undefined",
2426
+ value: input3.type
2427
+ }))].every((flag) => flag);
2428
+ const $vo57 = (input3, _path2, _exceptionable2 = true) => true;
2429
+ const $vo58 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
2430
+ path: _path2 + ".id",
2431
+ expected: "(string | undefined)",
2432
+ value: input3.id
2433
+ }), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
2434
+ path: _path2 + ".$id",
2435
+ expected: "(string | undefined)",
2436
+ value: input3.$id
2437
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
2438
+ path: _path2 + ".isAtomic",
2439
+ expected: "(true | undefined)",
2440
+ value: input3.isAtomic
2441
+ }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
2442
+ path: _path2 + ".settings",
2443
+ expected: "(__type.o5 | undefined)",
2444
+ value: input3.settings
2445
+ })) && $vo35(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
2446
+ path: _path2 + ".settings",
2447
+ expected: "(__type.o5 | undefined)",
2448
+ value: input3.settings
2449
+ }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
2450
+ path: _path2 + ".minNumSamples",
2451
+ expected: "(number | undefined)",
2452
+ value: input3.minNumSamples
2453
+ }), true, ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
2454
+ path: _path2 + ".q",
2455
+ expected: "BaseQ & { AFcutoff: number; alleleType: number; cacheid: string; doNotRestrictAncestry: any; geneticModel: number; info_fields?: any; missingGenotype?: number | undefined; numOfSampleWithAnyValidGT: number; ... 6 more ...; stop: number; } & { ...; }",
2456
+ value: input3.q
2457
+ })) && $vo59(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
2458
+ path: _path2 + ".q",
2459
+ expected: "BaseQ & { AFcutoff: number; alleleType: number; cacheid: string; doNotRestrictAncestry: any; geneticModel: number; info_fields?: any; missingGenotype?: number | undefined; numOfSampleWithAnyValidGT: number; ... 6 more ...; stop: number; } & { ...; }",
2460
+ value: input3.q
2461
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2462
+ path: _path2 + ".term",
2463
+ expected: "(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { ...; } & { ...; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { ...; } & { ...; }.o1)",
2464
+ value: input3.term
2465
+ })) && $vu16(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2466
+ path: _path2 + ".term",
2467
+ expected: "(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { ...; } & { ...; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { ...; } & { ...; }.o1)",
2468
+ value: input3.term
2469
+ })].every((flag) => flag);
2470
+ const $vo59 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
2471
+ path: _path2 + ".hiddenValues",
2472
+ expected: "(HiddenValues | undefined)",
2473
+ value: input3.hiddenValues
2474
+ })) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
2475
+ path: _path2 + ".hiddenValues",
2476
+ expected: "(HiddenValues | undefined)",
2477
+ value: input3.hiddenValues
2478
+ }), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
2479
+ path: _path2 + ".isAtomic",
2480
+ expected: "(boolean | undefined)",
2481
+ value: input3.isAtomic
2482
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
2483
+ path: _path2 + ".name",
2484
+ expected: "(string | undefined)",
2485
+ value: input3.name
2486
+ }), void 0 === input3.mode || "continuous" === input3.mode || $report(_exceptionable2, {
2487
+ path: _path2 + ".mode",
2488
+ expected: '("continuous" | undefined)',
2489
+ value: input3.mode
2490
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
2491
+ path: _path2 + ".reuseId",
2492
+ expected: "(string | undefined)",
2493
+ value: input3.reuseId
2494
+ }), void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type || $report(_exceptionable2, {
2495
+ path: _path2 + ".type",
2496
+ expected: '("custom-bin" | "custom-groupset" | "custom-samplelst" | "filter" | "predefined-groupset" | "regular-bin" | "values" | undefined)',
2497
+ value: input3.type
2498
+ }), "number" === typeof input3.AFcutoff || $report(_exceptionable2, {
2499
+ path: _path2 + ".AFcutoff",
2500
+ expected: "number",
2501
+ value: input3.AFcutoff
2502
+ }), "number" === typeof input3.alleleType || $report(_exceptionable2, {
2503
+ path: _path2 + ".alleleType",
2504
+ expected: "number",
2505
+ value: input3.alleleType
2506
+ }), "string" === typeof input3.cacheid || $report(_exceptionable2, {
2507
+ path: _path2 + ".cacheid",
2508
+ expected: "string",
2509
+ value: input3.cacheid
2510
+ }), true, "number" === typeof input3.geneticModel || $report(_exceptionable2, {
2511
+ path: _path2 + ".geneticModel",
2512
+ expected: "number",
2513
+ value: input3.geneticModel
2514
+ }), true, void 0 === input3.missingGenotype || "number" === typeof input3.missingGenotype || $report(_exceptionable2, {
2515
+ path: _path2 + ".missingGenotype",
2516
+ expected: "(number | undefined)",
2517
+ value: input3.missingGenotype
2518
+ }), "number" === typeof input3.numOfSampleWithAnyValidGT || $report(_exceptionable2, {
2519
+ path: _path2 + ".numOfSampleWithAnyValidGT",
2520
+ expected: "number",
2521
+ value: input3.numOfSampleWithAnyValidGT
2522
+ }), ("object" === typeof input3.restrictAncestry && null !== input3.restrictAncestry || $report(_exceptionable2, {
2523
+ path: _path2 + ".restrictAncestry",
2524
+ expected: "RestrictAncestry",
2525
+ value: input3.restrictAncestry
2526
+ })) && $vo60(input3.restrictAncestry, _path2 + ".restrictAncestry", _exceptionable2) || $report(_exceptionable2, {
2527
+ path: _path2 + ".restrictAncestry",
2528
+ expected: "RestrictAncestry",
2529
+ value: input3.restrictAncestry
2530
+ }), true, true, ("object" === typeof input3.variant_filter && null !== input3.variant_filter || $report(_exceptionable2, {
2531
+ path: _path2 + ".variant_filter",
2532
+ expected: "Filter",
2533
+ value: input3.variant_filter
2534
+ })) && $vo1(input3.variant_filter, _path2 + ".variant_filter", _exceptionable2) || $report(_exceptionable2, {
2535
+ path: _path2 + ".variant_filter",
2536
+ expected: "Filter",
2537
+ value: input3.variant_filter
2538
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
2539
+ path: _path2 + ".chr",
2540
+ expected: "string",
2541
+ value: input3.chr
2542
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
2543
+ path: _path2 + ".start",
2544
+ expected: "number",
2545
+ value: input3.start
2546
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
2547
+ path: _path2 + ".stop",
2548
+ expected: "number",
2549
+ value: input3.stop
2550
+ })].every((flag) => flag);
2551
+ const $vo60 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
2552
+ path: _path2 + ".name",
2553
+ expected: "string",
2554
+ value: input3.name
2555
+ }), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
2556
+ path: _path2 + ".tvs",
2557
+ expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
2558
+ value: input3.tvs
2559
+ })) && $vu7(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
2560
+ path: _path2 + ".tvs",
2561
+ expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
2562
+ value: input3.tvs
2563
+ })].every((flag) => flag);
2564
+ const $vo61 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2565
+ path: _path2 + ".id",
2566
+ expected: "string",
2567
+ value: input3.id
2568
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2569
+ path: _path2 + ".name",
2570
+ expected: "string",
2571
+ value: input3.name
2572
+ }), "integer" === input3.type || "float" === input3.type || "date" === input3.type || $report(_exceptionable2, {
2573
+ path: _path2 + ".type",
2574
+ expected: '("date" | "float" | "integer")',
2575
+ value: input3.type
2576
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2577
+ path: _path2 + ".child_types",
2578
+ expected: "(Array<string> | undefined)",
2579
+ value: input3.child_types
2580
+ })) && input3.child_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
2581
+ path: _path2 + ".child_types[" + _index38 + "]",
2582
+ expected: "string",
2583
+ value: elem
2584
+ })).every((flag) => flag) || $report(_exceptionable2, {
2585
+ path: _path2 + ".child_types",
2586
+ expected: "(Array<string> | undefined)",
2587
+ value: input3.child_types
2588
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2589
+ path: _path2 + ".hashtmldetail",
2590
+ expected: "(boolean | undefined)",
2591
+ value: input3.hashtmldetail
2592
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2593
+ path: _path2 + ".included_types",
2594
+ expected: "(Array<string> | undefined)",
2595
+ value: input3.included_types
2596
+ })) && input3.included_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
2597
+ path: _path2 + ".included_types[" + _index39 + "]",
2598
+ expected: "string",
2599
+ value: elem
2600
+ })).every((flag) => flag) || $report(_exceptionable2, {
2601
+ path: _path2 + ".included_types",
2602
+ expected: "(Array<string> | undefined)",
2603
+ value: input3.included_types
2604
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2605
+ path: _path2 + ".isleaf",
2606
+ expected: "(boolean | undefined)",
2607
+ value: input3.isleaf
2608
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2609
+ path: _path2 + ".values",
2610
+ expected: "(TermValues | undefined)",
2611
+ value: input3.values
2612
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2613
+ path: _path2 + ".values",
2614
+ expected: "(TermValues | undefined)",
2615
+ value: input3.values
2616
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2617
+ path: _path2 + ".skipValuesBuild",
2618
+ expected: "(boolean | undefined)",
2619
+ value: input3.skipValuesBuild
2620
+ }), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
2621
+ path: _path2 + ".reachedVariantLimit",
2622
+ expected: "(boolean | undefined)",
2623
+ value: input3.reachedVariantLimit
2624
+ }), void 0 === input3.snps || (Array.isArray(input3.snps) || $report(_exceptionable2, {
2625
+ path: _path2 + ".snps",
2626
+ expected: "(Array<SnpsEntry> | undefined)",
2627
+ value: input3.snps
2628
+ })) && input3.snps.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2629
+ path: _path2 + ".snps[" + _index40 + "]",
2630
+ expected: "SnpsEntry",
2631
+ value: elem
2632
+ })) && $vo62(elem, _path2 + ".snps[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
2633
+ path: _path2 + ".snps[" + _index40 + "]",
2634
+ expected: "SnpsEntry",
2635
+ value: elem
2636
+ })).every((flag) => flag) || $report(_exceptionable2, {
2637
+ path: _path2 + ".snps",
2638
+ expected: "(Array<SnpsEntry> | undefined)",
2639
+ value: input3.snps
2640
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
2641
+ path: _path2 + ".continuousColorScale",
2642
+ expected: "(__type.o2 | undefined)",
2643
+ value: input3.continuousColorScale
2644
+ })) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
2645
+ path: _path2 + ".continuousColorScale",
2646
+ expected: "(__type.o2 | undefined)",
2647
+ value: input3.continuousColorScale
2648
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
2649
+ path: _path2 + ".unit",
2650
+ expected: "(string | undefined)",
2651
+ value: input3.unit
2652
+ }), true, "string" === typeof input3.metabolite || $report(_exceptionable2, {
2653
+ path: _path2 + ".metabolite",
2654
+ expected: "string",
2655
+ value: input3.metabolite
2656
+ })].every((flag) => flag);
2657
+ const $vo62 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
2658
+ path: _path2 + ".altAlleles",
2659
+ expected: "(Array<string> | undefined)",
2660
+ value: input3.altAlleles
2661
+ })) && input3.altAlleles.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
2662
+ path: _path2 + ".altAlleles[" + _index41 + "]",
2663
+ expected: "string",
2664
+ value: elem
2665
+ })).every((flag) => flag) || $report(_exceptionable2, {
2666
+ path: _path2 + ".altAlleles",
2667
+ expected: "(Array<string> | undefined)",
2668
+ value: input3.altAlleles
2669
+ }), void 0 === input3.alleles || (Array.isArray(input3.alleles) || $report(_exceptionable2, {
2670
+ path: _path2 + ".alleles",
2671
+ expected: "(Array<AllelesEntry> | undefined)",
2672
+ value: input3.alleles
2673
+ })) && input3.alleles.map((elem, _index42) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2674
+ path: _path2 + ".alleles[" + _index42 + "]",
2675
+ expected: "AllelesEntry",
2676
+ value: elem
2677
+ })) && $vo63(elem, _path2 + ".alleles[" + _index42 + "]", _exceptionable2) || $report(_exceptionable2, {
2678
+ path: _path2 + ".alleles[" + _index42 + "]",
2679
+ expected: "AllelesEntry",
2680
+ value: elem
2681
+ })).every((flag) => flag) || $report(_exceptionable2, {
2682
+ path: _path2 + ".alleles",
2683
+ expected: "(Array<AllelesEntry> | undefined)",
2684
+ value: input3.alleles
2685
+ }), "boolean" === typeof input3.effectAllele || $report(_exceptionable2, {
2686
+ path: _path2 + ".effectAllele",
2687
+ expected: "boolean",
2688
+ value: input3.effectAllele
2689
+ }), void 0 === input3.gt2count || ("object" === typeof input3.gt2count && null !== input3.gt2count || $report(_exceptionable2, {
2690
+ path: _path2 + ".gt2count",
2691
+ expected: "(__type.o7 | undefined)",
2692
+ value: input3.gt2count
2693
+ })) && $vo64(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
2694
+ path: _path2 + ".gt2count",
2695
+ expected: "(__type.o7 | undefined)",
2696
+ value: input3.gt2count
2697
+ }), void 0 === input3.invalid || "boolean" === typeof input3.invalid || $report(_exceptionable2, {
2698
+ path: _path2 + ".invalid",
2699
+ expected: "(boolean | undefined)",
2700
+ value: input3.invalid
2701
+ }), void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele || $report(_exceptionable2, {
2702
+ path: _path2 + ".referenceAllele",
2703
+ expected: "(string | undefined)",
2704
+ value: input3.referenceAllele
2705
+ }), "string" === typeof input3.rsid || $report(_exceptionable2, {
2706
+ path: _path2 + ".rsid",
2707
+ expected: "string",
2708
+ value: input3.rsid
2709
+ }), "string" === typeof input3.snpid || $report(_exceptionable2, {
2710
+ path: _path2 + ".snpid",
2711
+ expected: "string",
2712
+ value: input3.snpid
2713
+ }), true, void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
2714
+ path: _path2 + ".chr",
2715
+ expected: "(string | undefined)",
2716
+ value: input3.chr
2717
+ }), void 0 === input3.pos || "number" === typeof input3.pos || $report(_exceptionable2, {
2718
+ path: _path2 + ".pos",
2719
+ expected: "(number | undefined)",
2720
+ value: input3.pos
2721
+ })].every((flag) => flag);
2722
+ const $vo63 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
2723
+ path: _path2 + ".allele",
2724
+ expected: "string",
2725
+ value: input3.allele
2726
+ }), "number" === typeof input3.count || $report(_exceptionable2, {
2727
+ path: _path2 + ".count",
2728
+ expected: "number",
2729
+ value: input3.count
2730
+ }), "boolean" === typeof input3.isRef || $report(_exceptionable2, {
2731
+ path: _path2 + ".isRef",
2732
+ expected: "boolean",
2733
+ value: input3.isRef
2734
+ })].every((flag) => flag);
2735
+ const $vo64 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
2736
+ path: _path2 + ".k",
2737
+ expected: "string",
2738
+ value: input3.k
2739
+ }), "string" === typeof input3.v || "number" === typeof input3.v || $report(_exceptionable2, {
2740
+ path: _path2 + ".v",
2741
+ expected: "(number | string)",
2742
+ value: input3.v
2743
+ })].every((flag) => flag);
2744
+ const $vo65 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2745
+ path: _path2 + ".id",
2746
+ expected: "string",
2747
+ value: input3.id
2748
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2749
+ path: _path2 + ".name",
2750
+ expected: "string",
2751
+ value: input3.name
2752
+ }), "geneExpression" === input3.type || $report(_exceptionable2, {
2753
+ path: _path2 + ".type",
2754
+ expected: '"geneExpression"',
2755
+ value: input3.type
2756
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2757
+ path: _path2 + ".child_types",
2758
+ expected: "(Array<string> | undefined)",
2759
+ value: input3.child_types
2760
+ })) && input3.child_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
2761
+ path: _path2 + ".child_types[" + _index43 + "]",
2762
+ expected: "string",
2763
+ value: elem
2764
+ })).every((flag) => flag) || $report(_exceptionable2, {
2765
+ path: _path2 + ".child_types",
2766
+ expected: "(Array<string> | undefined)",
2767
+ value: input3.child_types
2768
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2769
+ path: _path2 + ".hashtmldetail",
2770
+ expected: "(boolean | undefined)",
2771
+ value: input3.hashtmldetail
2772
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2773
+ path: _path2 + ".included_types",
2774
+ expected: "(Array<string> | undefined)",
2775
+ value: input3.included_types
2776
+ })) && input3.included_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
2777
+ path: _path2 + ".included_types[" + _index44 + "]",
2778
+ expected: "string",
2779
+ value: elem
2780
+ })).every((flag) => flag) || $report(_exceptionable2, {
2781
+ path: _path2 + ".included_types",
2782
+ expected: "(Array<string> | undefined)",
2783
+ value: input3.included_types
2784
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2785
+ path: _path2 + ".isleaf",
2786
+ expected: "(boolean | undefined)",
2787
+ value: input3.isleaf
2788
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2789
+ path: _path2 + ".values",
2790
+ expected: "(TermValues | undefined)",
2791
+ value: input3.values
2792
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2793
+ path: _path2 + ".values",
2794
+ expected: "(TermValues | undefined)",
2795
+ value: input3.values
2796
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2797
+ path: _path2 + ".skipValuesBuild",
2798
+ expected: "(boolean | undefined)",
2799
+ value: input3.skipValuesBuild
2800
+ }), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
2801
+ path: _path2 + ".reachedVariantLimit",
2802
+ expected: "(boolean | undefined)",
2803
+ value: input3.reachedVariantLimit
2804
+ }), void 0 === input3.snps || (Array.isArray(input3.snps) || $report(_exceptionable2, {
2805
+ path: _path2 + ".snps",
2806
+ expected: "(Array<SnpsEntry> | undefined)",
2807
+ value: input3.snps
2808
+ })) && input3.snps.map((elem, _index45) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2809
+ path: _path2 + ".snps[" + _index45 + "]",
2810
+ expected: "SnpsEntry",
2811
+ value: elem
2812
+ })) && $vo62(elem, _path2 + ".snps[" + _index45 + "]", _exceptionable2) || $report(_exceptionable2, {
2813
+ path: _path2 + ".snps[" + _index45 + "]",
2814
+ expected: "SnpsEntry",
2815
+ value: elem
2816
+ })).every((flag) => flag) || $report(_exceptionable2, {
2817
+ path: _path2 + ".snps",
2818
+ expected: "(Array<SnpsEntry> | undefined)",
2819
+ value: input3.snps
2820
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
2821
+ path: _path2 + ".continuousColorScale",
2822
+ expected: "(__type.o2 | undefined)",
2823
+ value: input3.continuousColorScale
2824
+ })) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
2825
+ path: _path2 + ".continuousColorScale",
2826
+ expected: "(__type.o2 | undefined)",
2827
+ value: input3.continuousColorScale
2828
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
2829
+ path: _path2 + ".unit",
2830
+ expected: "(string | undefined)",
2831
+ value: input3.unit
2832
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
2833
+ path: _path2 + ".gene",
2834
+ expected: "string",
2835
+ value: input3.gene
2836
+ }), true, void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
2837
+ path: _path2 + ".chr",
2838
+ expected: "(string | undefined)",
2839
+ value: input3.chr
2840
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
2841
+ path: _path2 + ".start",
2842
+ expected: "(number | undefined)",
2843
+ value: input3.start
2844
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
2845
+ path: _path2 + ".stop",
2846
+ expected: "(number | undefined)",
2847
+ value: input3.stop
2848
+ }), "string" === typeof input3.metabolite || $report(_exceptionable2, {
2849
+ path: _path2 + ".metabolite",
2850
+ expected: "string",
2851
+ value: input3.metabolite
2852
+ })].every((flag) => flag);
2853
+ const $vo66 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
2854
+ path: _path2 + ".id",
2855
+ expected: "(string | undefined)",
2856
+ value: input3.id
2857
+ }), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
2858
+ path: _path2 + ".$id",
2859
+ expected: "(string | undefined)",
2860
+ value: input3.$id
2861
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
2862
+ path: _path2 + ".isAtomic",
2863
+ expected: "(true | undefined)",
2864
+ value: input3.isAtomic
2865
+ }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
2866
+ path: _path2 + ".settings",
2867
+ expected: "(__type.o5 | undefined)",
2868
+ value: input3.settings
2869
+ })) && $vo35(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
2870
+ path: _path2 + ".settings",
2871
+ expected: "(__type.o5 | undefined)",
2872
+ value: input3.settings
2873
+ }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
2874
+ path: _path2 + ".minNumSamples",
2875
+ expected: "(number | undefined)",
2876
+ value: input3.minNumSamples
2877
+ }), true, ("object" === typeof input3.term && null !== input3.term && false === Array.isArray(input3.term) || $report(_exceptionable2, {
2878
+ path: _path2 + ".term",
2879
+ expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { gene: string; name: string; type: "geneExpression"; bins?: PresetNumericBins | undefined; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } & { ...; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; type: "integer" | "float" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; } & { ...; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { ...; } & { ...; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { ...; } & { ...; }.o1 | BaseTerm & { values: SampleLstTermValues; } & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { ...; } & { ...; } | BaseTerm & { values: SampleLstTermValues; } & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { ...; } & { ...; }.o1 | never.o11 | never.o12 | never.o13 | never.o14 | never.o15 | never.o16 | never.o3 | never.o4 | never.o5 | never.o6)',
2880
+ value: input3.term
2881
+ })) && $vu17(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2882
+ path: _path2 + ".term",
2883
+ expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { gene: string; name: string; type: "geneExpression"; bins?: PresetNumericBins | undefined; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } & { ...; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; type: "integer" | "float" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; } & { ...; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { ...; } & { ...; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { ...; } & { ...; }.o1 | BaseTerm & { values: SampleLstTermValues; } & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { ...; } & { ...; } | BaseTerm & { values: SampleLstTermValues; } & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { ...; } & { ...; }.o1 | never.o11 | never.o12 | never.o13 | never.o14 | never.o15 | never.o16 | never.o3 | never.o4 | never.o5 | never.o6)',
2884
+ value: input3.term
2885
+ }), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
2886
+ path: _path2 + ".q",
2887
+ expected: '(BaseQ & { AFcutoff: number; alleleType: number; cacheid: string; doNotRestrictAncestry: any; geneticModel: number; info_fields?: any; missingGenotype?: number | undefined; numOfSampleWithAnyValidGT: number; ... 6 more ...; stop: number; } & { ...; } | BaseQ & { groups: SampleLstTermValues; } & { mode: "continuous"; } | BaseQ & { mode: "continuous"; } | BaseQ & { type: "filter"; } & { mode: "continuous"; } | MinBaseQ & { mode?: "continuous" | undefined; convert2ZScore?: boolean | undefined; type?: undefined; } & BaseQ & { mode: "continuous"; } | never | never.o1 | never.o10 | never.o17 | never.o2 | never.o7 | never.o8 | never.o9)',
2888
+ value: input3.q
2889
+ })) && $vu18(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
2890
+ path: _path2 + ".q",
2891
+ expected: '(BaseQ & { AFcutoff: number; alleleType: number; cacheid: string; doNotRestrictAncestry: any; geneticModel: number; info_fields?: any; missingGenotype?: number | undefined; numOfSampleWithAnyValidGT: number; ... 6 more ...; stop: number; } & { ...; } | BaseQ & { groups: SampleLstTermValues; } & { mode: "continuous"; } | BaseQ & { mode: "continuous"; } | BaseQ & { type: "filter"; } & { mode: "continuous"; } | MinBaseQ & { mode?: "continuous" | undefined; convert2ZScore?: boolean | undefined; type?: undefined; } & BaseQ & { mode: "continuous"; } | never | never.o1 | never.o10 | never.o17 | never.o2 | never.o7 | never.o8 | never.o9)',
2892
+ value: input3.q
2893
+ })].every((flag) => flag);
2894
+ const $vo67 = (input3, _path2, _exceptionable2 = true) => true;
2895
+ const $vo68 = (input3, _path2, _exceptionable2 = true) => true;
2896
+ const $vo69 = (input3, _path2, _exceptionable2 = true) => true;
2897
+ const $vo70 = (input3, _path2, _exceptionable2 = true) => true;
2898
+ const $vo71 = (input3, _path2, _exceptionable2 = true) => true;
2899
+ const $vo72 = (input3, _path2, _exceptionable2 = true) => true;
2900
+ const $vo73 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2901
+ path: _path2 + ".id",
2902
+ expected: "string",
2903
+ value: input3.id
2904
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2905
+ path: _path2 + ".name",
2906
+ expected: "string",
2907
+ value: input3.name
2908
+ }), "integer" === input3.type || "float" === input3.type || "date" === input3.type || $report(_exceptionable2, {
2909
+ path: _path2 + ".type",
2910
+ expected: '("date" | "float" | "integer")',
2911
+ value: input3.type
2912
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2913
+ path: _path2 + ".child_types",
2914
+ expected: "(Array<string> | undefined)",
2915
+ value: input3.child_types
2916
+ })) && input3.child_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
2917
+ path: _path2 + ".child_types[" + _index46 + "]",
2918
+ expected: "string",
2919
+ value: elem
2920
+ })).every((flag) => flag) || $report(_exceptionable2, {
2921
+ path: _path2 + ".child_types",
2922
+ expected: "(Array<string> | undefined)",
2923
+ value: input3.child_types
2924
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2925
+ path: _path2 + ".hashtmldetail",
2926
+ expected: "(boolean | undefined)",
2927
+ value: input3.hashtmldetail
2928
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2929
+ path: _path2 + ".included_types",
2930
+ expected: "(Array<string> | undefined)",
2931
+ value: input3.included_types
2932
+ })) && input3.included_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
2933
+ path: _path2 + ".included_types[" + _index47 + "]",
2934
+ expected: "string",
2935
+ value: elem
2936
+ })).every((flag) => flag) || $report(_exceptionable2, {
2937
+ path: _path2 + ".included_types",
2938
+ expected: "(Array<string> | undefined)",
2939
+ value: input3.included_types
2940
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2941
+ path: _path2 + ".isleaf",
2942
+ expected: "(boolean | undefined)",
2943
+ value: input3.isleaf
2944
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2945
+ path: _path2 + ".values",
2946
+ expected: "(TermValues & SampleLstTermValues | undefined)",
2947
+ value: input3.values
2948
+ })) && $vo74(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2949
+ path: _path2 + ".values",
2950
+ expected: "(TermValues & SampleLstTermValues | undefined)",
2951
+ value: input3.values
2952
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2953
+ path: _path2 + ".skipValuesBuild",
2954
+ expected: "(boolean | undefined)",
2955
+ value: input3.skipValuesBuild
2956
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
2957
+ path: _path2 + ".continuousColorScale",
2958
+ expected: "(__type.o2 | undefined)",
2959
+ value: input3.continuousColorScale
2960
+ })) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
2961
+ path: _path2 + ".continuousColorScale",
2962
+ expected: "(__type.o2 | undefined)",
2963
+ value: input3.continuousColorScale
2964
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
2965
+ path: _path2 + ".unit",
2966
+ expected: "(string | undefined)",
2967
+ value: input3.unit
2968
+ }), true, "string" === typeof input3.metabolite || $report(_exceptionable2, {
2969
+ path: _path2 + ".metabolite",
2970
+ expected: "string",
2971
+ value: input3.metabolite
2972
+ })].every((flag) => flag);
2973
+ const $vo74 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2974
+ const value = input3[key];
2975
+ if (void 0 === value)
2976
+ return true;
2977
+ if (RegExp(/(.*)/).test(key))
2978
+ return ("object" === typeof value && null !== value || $report(_exceptionable2, {
2979
+ path: _path2 + $join(key),
2980
+ expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
2981
+ value
2982
+ })) && $vo75(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
2983
+ path: _path2 + $join(key),
2984
+ expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
2985
+ value
2986
+ });
2987
+ if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
2988
+ return ("object" === typeof value && null !== value || $report(_exceptionable2, {
2989
+ path: _path2 + $join(key),
2990
+ expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
2991
+ value
2992
+ })) && $vo75(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
2993
+ path: _path2 + $join(key),
2994
+ expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
2995
+ value
2996
+ });
2997
+ return true;
2998
+ }).every((flag) => flag)].every((flag) => flag);
2999
+ const $vo75 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
3000
+ path: _path2 + ".key",
3001
+ expected: "(string | undefined)",
3002
+ value: input3.key
3003
+ }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
3004
+ path: _path2 + ".uncomputable",
3005
+ expected: "(boolean | undefined)",
3006
+ value: input3.uncomputable
3007
+ }), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
3008
+ path: _path2 + ".label",
3009
+ expected: "(number | string | undefined)",
3010
+ value: input3.label
3011
+ }), void 0 === input3.order || "string" === typeof input3.order || $report(_exceptionable2, {
3012
+ path: _path2 + ".order",
3013
+ expected: "(string | undefined)",
3014
+ value: input3.order
3015
+ }), void 0 === input3.color || "string" === typeof input3.color || $report(_exceptionable2, {
3016
+ path: _path2 + ".color",
3017
+ expected: "(string | undefined)",
3018
+ value: input3.color
3019
+ }), void 0 === input3.group || "number" === typeof input3.group || $report(_exceptionable2, {
3020
+ path: _path2 + ".group",
3021
+ expected: "(number | undefined)",
3022
+ value: input3.group
3023
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
3024
+ path: _path2 + ".filter",
3025
+ expected: "(Filter | undefined)",
3026
+ value: input3.filter
3027
+ })) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
3028
+ path: _path2 + ".filter",
3029
+ expected: "(Filter | undefined)",
3030
+ value: input3.filter
3031
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
3032
+ path: _path2 + ".name",
3033
+ expected: "string",
3034
+ value: input3.name
3035
+ }), "boolean" === typeof input3.inuse || $report(_exceptionable2, {
3036
+ path: _path2 + ".inuse",
3037
+ expected: "boolean",
3038
+ value: input3.inuse
3039
+ }), (Array.isArray(input3.list) || $report(_exceptionable2, {
3040
+ path: _path2 + ".list",
3041
+ expected: "Array<__type>.o4",
3042
+ value: input3.list
3043
+ })) && input3.list.map((elem, _index48) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3044
+ path: _path2 + ".list[" + _index48 + "]",
3045
+ expected: "__type.o8",
3046
+ value: elem
3047
+ })) && $vo76(elem, _path2 + ".list[" + _index48 + "]", _exceptionable2) || $report(_exceptionable2, {
3048
+ path: _path2 + ".list[" + _index48 + "]",
3049
+ expected: "__type.o8",
3050
+ value: elem
3051
+ })).every((flag) => flag) || $report(_exceptionable2, {
3052
+ path: _path2 + ".list",
3053
+ expected: "Array<__type>.o4",
3054
+ value: input3.list
3055
+ }), true].every((flag) => flag);
3056
+ const $vo76 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
3057
+ path: _path2 + ".sampleId",
3058
+ expected: "string",
3059
+ value: input3.sampleId
3060
+ }), "string" === typeof input3.sample || $report(_exceptionable2, {
3061
+ path: _path2 + ".sample",
3062
+ expected: "string",
3063
+ value: input3.sample
3064
+ })].every((flag) => flag);
3065
+ const $vo77 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3066
+ path: _path2 + ".id",
3067
+ expected: "string",
3068
+ value: input3.id
3069
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
3070
+ path: _path2 + ".name",
3071
+ expected: "string",
3072
+ value: input3.name
3073
+ }), "geneExpression" === input3.type || $report(_exceptionable2, {
3074
+ path: _path2 + ".type",
3075
+ expected: '"geneExpression"',
3076
+ value: input3.type
3077
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
3078
+ path: _path2 + ".child_types",
3079
+ expected: "(Array<string> | undefined)",
3080
+ value: input3.child_types
3081
+ })) && input3.child_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
3082
+ path: _path2 + ".child_types[" + _index49 + "]",
3083
+ expected: "string",
3084
+ value: elem
3085
+ })).every((flag) => flag) || $report(_exceptionable2, {
3086
+ path: _path2 + ".child_types",
3087
+ expected: "(Array<string> | undefined)",
3088
+ value: input3.child_types
3089
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
3090
+ path: _path2 + ".hashtmldetail",
3091
+ expected: "(boolean | undefined)",
3092
+ value: input3.hashtmldetail
3093
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
3094
+ path: _path2 + ".included_types",
3095
+ expected: "(Array<string> | undefined)",
3096
+ value: input3.included_types
3097
+ })) && input3.included_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
3098
+ path: _path2 + ".included_types[" + _index50 + "]",
3099
+ expected: "string",
3100
+ value: elem
3101
+ })).every((flag) => flag) || $report(_exceptionable2, {
3102
+ path: _path2 + ".included_types",
3103
+ expected: "(Array<string> | undefined)",
3104
+ value: input3.included_types
3105
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
3106
+ path: _path2 + ".isleaf",
3107
+ expected: "(boolean | undefined)",
3108
+ value: input3.isleaf
3109
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
3110
+ path: _path2 + ".values",
3111
+ expected: "(TermValues & SampleLstTermValues | undefined)",
3112
+ value: input3.values
3113
+ })) && $vo74(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
3114
+ path: _path2 + ".values",
3115
+ expected: "(TermValues & SampleLstTermValues | undefined)",
3116
+ value: input3.values
3117
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
3118
+ path: _path2 + ".skipValuesBuild",
3119
+ expected: "(boolean | undefined)",
3120
+ value: input3.skipValuesBuild
3121
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
3122
+ path: _path2 + ".continuousColorScale",
3123
+ expected: "(__type.o2 | undefined)",
3124
+ value: input3.continuousColorScale
3125
+ })) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
3126
+ path: _path2 + ".continuousColorScale",
3127
+ expected: "(__type.o2 | undefined)",
3128
+ value: input3.continuousColorScale
3129
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
3130
+ path: _path2 + ".unit",
3131
+ expected: "(string | undefined)",
3132
+ value: input3.unit
3133
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
3134
+ path: _path2 + ".gene",
3135
+ expected: "string",
3136
+ value: input3.gene
3137
+ }), true, void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
3138
+ path: _path2 + ".chr",
3139
+ expected: "(string | undefined)",
3140
+ value: input3.chr
3141
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
3142
+ path: _path2 + ".start",
3143
+ expected: "(number | undefined)",
3144
+ value: input3.start
3145
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
3146
+ path: _path2 + ".stop",
3147
+ expected: "(number | undefined)",
3148
+ value: input3.stop
3149
+ }), "string" === typeof input3.metabolite || $report(_exceptionable2, {
3150
+ path: _path2 + ".metabolite",
1746
3151
  expected: "string",
1747
3152
  value: input3.metabolite
1748
3153
  })].every((flag) => flag);
1749
- const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
3154
+ const $vo78 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3155
+ path: _path2 + ".hiddenValues",
3156
+ expected: "(HiddenValues | undefined)",
3157
+ value: input3.hiddenValues
3158
+ })) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
3159
+ path: _path2 + ".hiddenValues",
3160
+ expected: "(HiddenValues | undefined)",
3161
+ value: input3.hiddenValues
3162
+ }), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
3163
+ path: _path2 + ".isAtomic",
3164
+ expected: "(boolean | undefined)",
3165
+ value: input3.isAtomic
3166
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
3167
+ path: _path2 + ".name",
3168
+ expected: "(string | undefined)",
3169
+ value: input3.name
3170
+ }), void 0 === input3.mode || "continuous" === input3.mode || $report(_exceptionable2, {
3171
+ path: _path2 + ".mode",
3172
+ expected: '("continuous" | undefined)',
3173
+ value: input3.mode
3174
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
3175
+ path: _path2 + ".reuseId",
3176
+ expected: "(string | undefined)",
3177
+ value: input3.reuseId
3178
+ }), void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type || $report(_exceptionable2, {
3179
+ path: _path2 + ".type",
3180
+ expected: '("custom-bin" | "custom-groupset" | "custom-samplelst" | "filter" | "predefined-groupset" | "regular-bin" | "values" | undefined)',
3181
+ value: input3.type
3182
+ })].every((flag) => flag);
3183
+ const $vo79 = (input3, _path2, _exceptionable2 = true) => true;
3184
+ const $vo80 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3185
+ path: _path2 + ".hiddenValues",
3186
+ expected: "(HiddenValues | undefined)",
3187
+ value: input3.hiddenValues
3188
+ })) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
3189
+ path: _path2 + ".hiddenValues",
3190
+ expected: "(HiddenValues | undefined)",
3191
+ value: input3.hiddenValues
3192
+ }), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
3193
+ path: _path2 + ".isAtomic",
3194
+ expected: "(boolean | undefined)",
3195
+ value: input3.isAtomic
3196
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
3197
+ path: _path2 + ".name",
3198
+ expected: "(string | undefined)",
3199
+ value: input3.name
3200
+ }), void 0 === input3.mode || "continuous" === input3.mode || $report(_exceptionable2, {
3201
+ path: _path2 + ".mode",
3202
+ expected: '("continuous" | undefined)',
3203
+ value: input3.mode
3204
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
3205
+ path: _path2 + ".reuseId",
3206
+ expected: "(string | undefined)",
3207
+ value: input3.reuseId
3208
+ }), void 0 === input3.type || "values" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "custom-samplelst" === input3.type || "filter" === input3.type || $report(_exceptionable2, {
3209
+ path: _path2 + ".type",
3210
+ expected: '("custom-bin" | "custom-groupset" | "custom-samplelst" | "filter" | "predefined-groupset" | "regular-bin" | "values" | undefined)',
3211
+ value: input3.type
3212
+ }), ("object" === typeof input3.groups && null !== input3.groups && false === Array.isArray(input3.groups) || $report(_exceptionable2, {
3213
+ path: _path2 + ".groups",
3214
+ expected: "SampleLstTermValues",
3215
+ value: input3.groups
3216
+ })) && $vo81(input3.groups, _path2 + ".groups", _exceptionable2) || $report(_exceptionable2, {
3217
+ path: _path2 + ".groups",
3218
+ expected: "SampleLstTermValues",
3219
+ value: input3.groups
3220
+ })].every((flag) => flag);
3221
+ const $vo81 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
3222
+ const value = input3[key];
3223
+ if (void 0 === value)
3224
+ return true;
3225
+ if (RegExp(/(.*)/).test(key))
3226
+ return ("object" === typeof value && null !== value || $report(_exceptionable2, {
3227
+ path: _path2 + $join(key),
3228
+ expected: "__type.o9",
3229
+ value
3230
+ })) && $vo82(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
3231
+ path: _path2 + $join(key),
3232
+ expected: "__type.o9",
3233
+ value
3234
+ });
3235
+ if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
3236
+ return ("object" === typeof value && null !== value || $report(_exceptionable2, {
3237
+ path: _path2 + $join(key),
3238
+ expected: "__type.o9",
3239
+ value
3240
+ })) && $vo82(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
3241
+ path: _path2 + $join(key),
3242
+ expected: "__type.o9",
3243
+ value
3244
+ });
3245
+ return true;
3246
+ }).every((flag) => flag)].every((flag) => flag);
3247
+ const $vo82 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
3248
+ path: _path2 + ".name",
3249
+ expected: "string",
3250
+ value: input3.name
3251
+ }), "boolean" === typeof input3.inuse || $report(_exceptionable2, {
3252
+ path: _path2 + ".inuse",
3253
+ expected: "boolean",
3254
+ value: input3.inuse
3255
+ }), (Array.isArray(input3.list) || $report(_exceptionable2, {
3256
+ path: _path2 + ".list",
3257
+ expected: "Array<__type>.o4",
3258
+ value: input3.list
3259
+ })) && input3.list.map((elem, _index51) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3260
+ path: _path2 + ".list[" + _index51 + "]",
3261
+ expected: "__type.o8",
3262
+ value: elem
3263
+ })) && $vo76(elem, _path2 + ".list[" + _index51 + "]", _exceptionable2) || $report(_exceptionable2, {
3264
+ path: _path2 + ".list[" + _index51 + "]",
3265
+ expected: "__type.o8",
3266
+ value: elem
3267
+ })).every((flag) => flag) || $report(_exceptionable2, {
3268
+ path: _path2 + ".list",
3269
+ expected: "Array<__type>.o4",
3270
+ value: input3.list
3271
+ }), true].every((flag) => flag);
3272
+ const $vo83 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
1750
3273
  path: _path2 + ".genome",
1751
3274
  expected: "string",
1752
3275
  value: input3.genome
@@ -1776,93 +3299,65 @@ var validTermdbClusterRequest = (input) => {
1776
3299
  value: input3.dataType
1777
3300
  }), (Array.isArray(input3.terms) || $report(_exceptionable2, {
1778
3301
  path: _path2 + ".terms",
1779
- expected: "Array<NumericDictTerm>",
3302
+ expected: "Array<NumericTW>",
1780
3303
  value: input3.terms
1781
- })) && input3.terms.map((elem, _index35) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1782
- path: _path2 + ".terms[" + _index35 + "]",
1783
- expected: "NumericDictTerm",
3304
+ })) && input3.terms.map((elem, _index52) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3305
+ path: _path2 + ".terms[" + _index52 + "]",
3306
+ expected: "NumericTW",
1784
3307
  value: elem
1785
- })) && $vo37(elem, _path2 + ".terms[" + _index35 + "]", _exceptionable2) || $report(_exceptionable2, {
1786
- path: _path2 + ".terms[" + _index35 + "]",
1787
- expected: "NumericDictTerm",
3308
+ })) && $vo84(elem, _path2 + ".terms[" + _index52 + "]", _exceptionable2) || $report(_exceptionable2, {
3309
+ path: _path2 + ".terms[" + _index52 + "]",
3310
+ expected: "NumericTW",
1788
3311
  value: elem
1789
3312
  })).every((flag) => flag) || $report(_exceptionable2, {
1790
3313
  path: _path2 + ".terms",
1791
- expected: "Array<NumericDictTerm>",
3314
+ expected: "Array<NumericTW>",
1792
3315
  value: input3.terms
1793
3316
  }), void 0 === input3.zScoreTransformation || "string" === typeof input3.zScoreTransformation || $report(_exceptionable2, {
1794
3317
  path: _path2 + ".zScoreTransformation",
1795
3318
  expected: "(string | undefined)",
1796
3319
  value: input3.zScoreTransformation
1797
3320
  })].every((flag) => flag);
1798
- const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3321
+ const $vo84 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
1799
3322
  path: _path2 + ".id",
1800
- expected: "string",
3323
+ expected: "(string | undefined)",
1801
3324
  value: input3.id
1802
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1803
- path: _path2 + ".name",
1804
- expected: "string",
1805
- value: input3.name
1806
- }), "integer" === input3.type || "float" === input3.type || "date" === input3.type || $report(_exceptionable2, {
1807
- path: _path2 + ".type",
1808
- expected: '("date" | "float" | "integer")',
1809
- value: input3.type
1810
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1811
- path: _path2 + ".child_types",
1812
- expected: "(Array<string> | undefined)",
1813
- value: input3.child_types
1814
- })) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
1815
- path: _path2 + ".child_types[" + _index36 + "]",
1816
- expected: "string",
1817
- value: elem
1818
- })).every((flag) => flag) || $report(_exceptionable2, {
1819
- path: _path2 + ".child_types",
1820
- expected: "(Array<string> | undefined)",
1821
- value: input3.child_types
1822
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1823
- path: _path2 + ".hashtmldetail",
1824
- expected: "(boolean | undefined)",
1825
- value: input3.hashtmldetail
1826
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1827
- path: _path2 + ".included_types",
1828
- expected: "(Array<string> | undefined)",
1829
- value: input3.included_types
1830
- })) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
1831
- path: _path2 + ".included_types[" + _index37 + "]",
1832
- expected: "string",
1833
- value: elem
1834
- })).every((flag) => flag) || $report(_exceptionable2, {
1835
- path: _path2 + ".included_types",
1836
- expected: "(Array<string> | undefined)",
1837
- value: input3.included_types
1838
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1839
- path: _path2 + ".isleaf",
1840
- expected: "(boolean | undefined)",
1841
- value: input3.isleaf
1842
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1843
- path: _path2 + ".values",
1844
- expected: "(TermValues | undefined)",
1845
- value: input3.values
1846
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1847
- path: _path2 + ".values",
1848
- expected: "(TermValues | undefined)",
1849
- value: input3.values
1850
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1851
- path: _path2 + ".skipValuesBuild",
1852
- expected: "(boolean | undefined)",
1853
- value: input3.skipValuesBuild
1854
- }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1855
- path: _path2 + ".bins",
1856
- expected: "PresetNumericBins",
1857
- value: input3.bins
1858
- })) && $vo14(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1859
- path: _path2 + ".bins",
1860
- expected: "PresetNumericBins",
1861
- value: input3.bins
1862
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1863
- path: _path2 + ".unit",
3325
+ }), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
3326
+ path: _path2 + ".$id",
1864
3327
  expected: "(string | undefined)",
1865
- value: input3.unit
3328
+ value: input3.$id
3329
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
3330
+ path: _path2 + ".isAtomic",
3331
+ expected: "(true | undefined)",
3332
+ value: input3.isAtomic
3333
+ }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
3334
+ path: _path2 + ".settings",
3335
+ expected: "(__type.o5 | undefined)",
3336
+ value: input3.settings
3337
+ })) && $vo35(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
3338
+ path: _path2 + ".settings",
3339
+ expected: "(__type.o5 | undefined)",
3340
+ value: input3.settings
3341
+ }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
3342
+ path: _path2 + ".minNumSamples",
3343
+ expected: "(number | undefined)",
3344
+ value: input3.minNumSamples
3345
+ }), true, ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
3346
+ path: _path2 + ".term",
3347
+ expected: "(GeneExpressionTerm | NumericDictTerm)",
3348
+ value: input3.term
3349
+ })) && $vu8(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
3350
+ path: _path2 + ".term",
3351
+ expected: "(GeneExpressionTerm | NumericDictTerm)",
3352
+ value: input3.term
3353
+ }), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
3354
+ path: _path2 + ".q",
3355
+ expected: "(BinaryNumericQ | ContinuousNumericQ | CustomNumericBinConfig | RegularNumericBinConfig | SplineNumericQ)",
3356
+ value: input3.q
3357
+ })) && $vu11(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
3358
+ path: _path2 + ".q",
3359
+ expected: "(BinaryNumericQ | ContinuousNumericQ | CustomNumericBinConfig | RegularNumericBinConfig | SplineNumericQ)",
3360
+ value: input3.q
1866
3361
  })].every((flag) => flag);
1867
3362
  const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
1868
3363
  if ("tvslst" === input3.type)
@@ -1888,16 +3383,16 @@ var validTermdbClusterRequest = (input) => {
1888
3383
  })();
1889
3384
  const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
1890
3385
  if (true === input3.startunbounded)
1891
- return $vo17(input3, _path2, _exceptionable2);
3386
+ return $vo18(input3, _path2, _exceptionable2);
1892
3387
  if (true === input3.stopunbounded)
1893
- return $vo19(input3, _path2, _exceptionable2);
1894
- return $vo18(input3, _path2, _exceptionable2);
3388
+ return $vo20(input3, _path2, _exceptionable2);
3389
+ return $vo19(input3, _path2, _exceptionable2);
1895
3390
  })();
1896
3391
  const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
1897
3392
  if ("gene" === input3.kind)
1898
- return $vo29(input3, _path2, _exceptionable2);
1899
- if ("coord" === input3.kind)
1900
3393
  return $vo30(input3, _path2, _exceptionable2);
3394
+ if ("coord" === input3.kind)
3395
+ return $vo31(input3, _path2, _exceptionable2);
1901
3396
  return $report(_exceptionable2, {
1902
3397
  path: _path2,
1903
3398
  expected: "(BaseTerm & Gene | BaseTerm & Coord)",
@@ -1905,59 +3400,111 @@ var validTermdbClusterRequest = (input) => {
1905
3400
  });
1906
3401
  })();
1907
3402
  const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
1908
- if (void 0 !== input3.ranges)
1909
- return $vo12(input3, _path2, _exceptionable2);
1910
- return $vo3(input3, _path2, false) || $vo23(input3, _path2, false) || $vo26(input3, _path2, false);
3403
+ if (void 0 !== input3.type)
3404
+ return $vo41(input3, _path2, _exceptionable2);
3405
+ return $vo66(input3, _path2, false) || $vo58(input3, _path2, false) || $vo48(input3, _path2, false);
1911
3406
  })();
1912
3407
  const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
1913
- if ("regular-bin" === input3.type)
1914
- return $vo15(input3, _path2, _exceptionable2);
1915
- if ("custom-bin" === input3.type)
1916
- return $vo20(input3, _path2, _exceptionable2);
1917
- return $report(_exceptionable2, {
1918
- path: _path2,
1919
- expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
1920
- value: input3
1921
- });
1922
- })();
1923
- const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
1924
3408
  if (true === input3.startunbounded)
1925
- return $vo17(input3, _path2, _exceptionable2);
1926
- if (void 0 !== input3.start)
1927
3409
  return $vo18(input3, _path2, _exceptionable2);
3410
+ if (void 0 !== input3.start)
3411
+ return $vo19(input3, _path2, _exceptionable2);
1928
3412
  return $report(_exceptionable2, {
1929
3413
  path: _path2,
1930
3414
  expected: "(StartUnboundedBin | FullyBoundedBin)",
1931
3415
  value: input3
1932
3416
  });
1933
3417
  })();
1934
- const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
3418
+ const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
1935
3419
  if (void 0 !== input3.stop)
1936
- return $vo18(input3, _path2, _exceptionable2);
1937
- if (true === input3.stopunbounded)
1938
3420
  return $vo19(input3, _path2, _exceptionable2);
3421
+ if (true === input3.stopunbounded)
3422
+ return $vo20(input3, _path2, _exceptionable2);
1939
3423
  return $report(_exceptionable2, {
1940
3424
  path: _path2,
1941
3425
  expected: "(FullyBoundedBin | StopUnboundedBin)",
1942
3426
  value: input3
1943
3427
  });
1944
3428
  })();
3429
+ const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
3430
+ if (void 0 !== input3.ranges)
3431
+ return $vo12(input3, _path2, _exceptionable2);
3432
+ return $vo3(input3, _path2, false) || $vo24(input3, _path2, false) || $vo27(input3, _path2, false);
3433
+ })();
1945
3434
  const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
3435
+ if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
3436
+ return $vo13(input3, _path2, _exceptionable2);
3437
+ if ("geneExpression" === input3.type)
3438
+ return $vo22(input3, _path2, _exceptionable2);
3439
+ return $report(_exceptionable2, {
3440
+ path: _path2,
3441
+ expected: "(NumericDictTerm | GeneExpressionTerm)",
3442
+ value: input3
3443
+ });
3444
+ })();
3445
+ const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
3446
+ if ("regular-bin" === input3.type)
3447
+ return $vo16(input3, _path2, _exceptionable2);
3448
+ if ("custom-bin" === input3.type)
3449
+ return $vo21(input3, _path2, _exceptionable2);
3450
+ return $report(_exceptionable2, {
3451
+ path: _path2,
3452
+ expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
3453
+ value: input3
3454
+ });
3455
+ })();
3456
+ const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
1946
3457
  if ("gene" === input3.kind)
1947
- return $vo28(input3, _path2, _exceptionable2);
3458
+ return $vo29(input3, _path2, _exceptionable2);
1948
3459
  if ("coord" === input3.kind)
1949
- return $vo31(input3, _path2, _exceptionable2);
3460
+ return $vo32(input3, _path2, _exceptionable2);
1950
3461
  return $report(_exceptionable2, {
1951
3462
  path: _path2,
1952
3463
  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; })',
1953
3464
  value: input3
1954
3465
  });
1955
3466
  })();
1956
- const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
3467
+ const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
3468
+ if ("regular-bin" === input3.type)
3469
+ return $vo16(input3, _path2, _exceptionable2);
3470
+ if ("spline" === input3.mode)
3471
+ return $vo38(input3, _path2, _exceptionable2);
3472
+ return $vo21(input3, _path2, false) || $vo36(input3, _path2, false) || $vo37(input3, _path2, false);
3473
+ })();
3474
+ const $vu12 = (input3, _path2, _exceptionable2 = true) => $vo42(input3, _path2, false) || $vo43(input3, _path2, false) || $vo45(input3, _path2, false) || $vo44(input3, _path2, false);
3475
+ const $vu13 = (input3, _path2, _exceptionable2 = true) => $vo47(input3, _path2, false) || $vo46(input3, _path2, false);
3476
+ const $vu14 = (input3, _path2, _exceptionable2 = true) => (() => {
3477
+ if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
3478
+ return $vo49(input3, _path2, _exceptionable2);
3479
+ if ("geneExpression" === input3.type)
3480
+ return $vo50(input3, _path2, _exceptionable2);
3481
+ return $vo52(input3, _path2, false) || $vo51(input3, _path2, false);
3482
+ })();
3483
+ const $vu15 = (input3, _path2, _exceptionable2 = true) => $vo57(input3, _path2, false) || $vo55(input3, _path2, false) || $vo54(input3, _path2, false) || $vo53(input3, _path2, false) || $vo56(input3, _path2, false);
3484
+ const $vu16 = (input3, _path2, _exceptionable2 = true) => (() => {
3485
+ if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
3486
+ return $vo61(input3, _path2, _exceptionable2);
3487
+ if ("geneExpression" === input3.type)
3488
+ return $vo65(input3, _path2, _exceptionable2);
3489
+ return $report(_exceptionable2, {
3490
+ path: _path2,
3491
+ expected: "(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { ...; } & { ...; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { ...; } & { ...; }.o1)",
3492
+ value: input3
3493
+ });
3494
+ })();
3495
+ const $vu17 = (input3, _path2, _exceptionable2 = true) => $vo49(input3, _path2, false) || $vo50(input3, _path2, false) || $vo72(input3, _path2, false) || $vo71(input3, _path2, false) || $vo70(input3, _path2, false) || $vo69(input3, _path2, false) || $vo68(input3, _path2, false) || $vo67(input3, _path2, false) || $vo52(input3, _path2, false) || $vo51(input3, _path2, false) || $vo47(input3, _path2, false) || $vo46(input3, _path2, false) || $vo61(input3, _path2, false) || $vo65(input3, _path2, false) || $vo73(input3, _path2, false) || $vo77(input3, _path2, false);
3496
+ const $vu18 = (input3, _path2, _exceptionable2 = true) => (() => {
3497
+ if (void 0 !== input3.AFcutoff)
3498
+ return $vo59(input3, _path2, _exceptionable2);
3499
+ if (void 0 !== input3.groups)
3500
+ return $vo80(input3, _path2, _exceptionable2);
3501
+ return $vo42(input3, _path2, false) || $vo43(input3, _path2, false) || $vo79(input3, _path2, false) || $vo57(input3, _path2, false) || $vo55(input3, _path2, false) || $vo54(input3, _path2, false) || $vo53(input3, _path2, false) || $vo45(input3, _path2, false) || $vo44(input3, _path2, false) || $vo56(input3, _path2, false) || $vo78(input3, _path2, false);
3502
+ })();
3503
+ const $vu19 = (input3, _path2, _exceptionable2 = true) => (() => {
1957
3504
  if ("numericDictTerm" === input3.dataType)
1958
- return $vo36(input3, _path2, _exceptionable2);
3505
+ return $vo83(input3, _path2, _exceptionable2);
1959
3506
  if ("metaboliteIntensity" === input3.dataType)
1960
- return $vo34(input3, _path2, _exceptionable2);
3507
+ return $vo40(input3, _path2, _exceptionable2);
1961
3508
  if ("geneExpression" === input3.dataType)
1962
3509
  return $vo0(input3, _path2, _exceptionable2);
1963
3510
  return $report(_exceptionable2, {
@@ -1970,7 +3517,7 @@ var validTermdbClusterRequest = (input) => {
1970
3517
  path: _path + "",
1971
3518
  expected: "(TermdbClusterRequestGeneExpression | TermdbClusterRequestMetabolite | TermdbClusterRequestNumericDictTerm)",
1972
3519
  value: input2
1973
- })) && $vu9(input2, _path + "", true) || $report(true, {
3520
+ })) && $vu19(input2, _path + "", true) || $report(true, {
1974
3521
  path: _path + "",
1975
3522
  expected: "(TermdbClusterRequestGeneExpression | TermdbClusterRequestMetabolite | TermdbClusterRequestNumericDictTerm)",
1976
3523
  value: input2
@@ -2013,7 +3560,7 @@ var validTermdbClusterResponse = (input) => {
2013
3560
  });
2014
3561
  const $io9 = (input3) => "string" === typeof input3.text && (Array.isArray(input3.lst) && input3.lst.every((elem) => "string" === typeof elem));
2015
3562
  const $io10 = (input3) => "object" === typeof input3.term && null !== input3.term && $iu4(input3.term) && true;
2016
- const $io11 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
3563
+ const $io11 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
2017
3564
  const $io12 = (input3) => Object.keys(input3).every((key) => {
2018
3565
  const value = input3[key];
2019
3566
  if (void 0 === value)
@@ -2034,11 +3581,12 @@ var validTermdbClusterResponse = (input) => {
2034
3581
  const $io20 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io21(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
2035
3582
  const $io21 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
2036
3583
  const $io22 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io14(input3.filter)) && "string" === typeof input3.color;
2037
- const $io23 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io24(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
2038
- const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || "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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.bins && null !== input3.bins && $io25(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io32(input3.continuousColorScale));
2039
- const $io25 = (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);
2040
- const $io26 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io27(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);
2041
- const $io27 = (input3) => Object.keys(input3).every((key) => {
3584
+ const $io23 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu6(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io34(elem)));
3585
+ const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io25(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io26(input3.bins));
3586
+ const $io25 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
3587
+ const $io26 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu7(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu7(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
3588
+ const $io27 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io28(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu8(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu9(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
3589
+ const $io28 = (input3) => Object.keys(input3).every((key) => {
2042
3590
  const value = input3[key];
2043
3591
  if (void 0 === value)
2044
3592
  return true;
@@ -2046,43 +3594,44 @@ var validTermdbClusterResponse = (input) => {
2046
3594
  return "number" === typeof value;
2047
3595
  return true;
2048
3596
  });
2049
- const $io28 = (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);
2050
- const $io29 = (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);
2051
- const $io30 = (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);
2052
- const $io31 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io27(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);
2053
- const $io32 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
2054
- const $io33 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
2055
- const $io34 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io35(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io36(elem)));
2056
- const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
2057
- const $io36 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
2058
- const $io37 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io38(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io43(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
2059
- const $io38 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu9(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values));
2060
- const $io39 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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 && $io18(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
2061
- 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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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);
2062
- const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
2063
- const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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 && $io18(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
2064
- const $io43 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
2065
- const $io44 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
2066
- const $io45 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting));
2067
- const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || "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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.bins && null !== input3.bins && $io25(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io32(input3.continuousColorScale));
2068
- const $io47 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
2069
- const $io48 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io49(elem)));
2070
- const $io49 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io50(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io51(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
2071
- const $io50 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
2072
- const $io51 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
2073
- const $io52 = (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) && $io53(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
2074
- const $io53 = (input3) => Object.keys(input3).every((key) => {
3597
+ const $io29 = (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);
3598
+ const $io30 = (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);
3599
+ const $io31 = (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);
3600
+ const $io32 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io28(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);
3601
+ const $io33 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io25(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io26(input3.bins)) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
3602
+ const $io34 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
3603
+ const $io35 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io36(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 && $io37(elem)));
3604
+ const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
3605
+ const $io37 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
3606
+ const $io38 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io39(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io44(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
3607
+ const $io39 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu10(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values));
3608
+ const $io40 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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 && $io18(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
3609
+ const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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);
3610
+ const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
3611
+ const $io43 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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 && $io18(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
3612
+ const $io44 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
3613
+ const $io45 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "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))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
3614
+ const $io46 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io18(input3.groupsetting));
3615
+ const $io47 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io25(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io26(input3.bins));
3616
+ const $io48 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io25(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io26(input3.bins)) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
3617
+ const $io49 = (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) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
3618
+ const $io50 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io12(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io51(elem)));
3619
+ const $io51 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io52(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io53(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
3620
+ const $io52 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
3621
+ const $io53 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
3622
+ const $io54 = (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) && $io55(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
3623
+ const $io55 = (input3) => Object.keys(input3).every((key) => {
2075
3624
  const value = input3[key];
2076
3625
  if (void 0 === value)
2077
3626
  return true;
2078
3627
  if (RegExp(/(.*)/).test(key))
2079
- return "object" === typeof value && null !== value && $io54(value);
3628
+ return "object" === typeof value && null !== value && $io56(value);
2080
3629
  if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
2081
- return "object" === typeof value && null !== value && $io54(value);
3630
+ return "object" === typeof value && null !== value && $io56(value);
2082
3631
  return true;
2083
3632
  });
2084
- const $io54 = (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 && $io14(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io55(elem))) && true;
2085
- const $io55 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
3633
+ const $io56 = (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 && $io14(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io57(elem))) && true;
3634
+ const $io57 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
2086
3635
  const $iu0 = (input3) => (() => {
2087
3636
  if ("tvslst" === input3.type)
2088
3637
  return $io14(input3);
@@ -2099,34 +3648,36 @@ var validTermdbClusterResponse = (input) => {
2099
3648
  })();
2100
3649
  const $iu2 = (input3) => (() => {
2101
3650
  if (true === input3.startunbounded)
2102
- return $io28(input3);
3651
+ return $io29(input3);
2103
3652
  if (true === input3.stopunbounded)
2104
- return $io30(input3);
2105
- return $io29(input3);
3653
+ return $io31(input3);
3654
+ return $io30(input3);
2106
3655
  })();
2107
3656
  const $iu3 = (input3) => (() => {
2108
3657
  if ("gene" === input3.kind)
2109
- return $io40(input3);
2110
- if ("coord" === input3.kind)
2111
3658
  return $io41(input3);
3659
+ if ("coord" === input3.kind)
3660
+ return $io42(input3);
2112
3661
  return false;
2113
3662
  })();
2114
3663
  const $iu4 = (input3) => (() => {
2115
3664
  if ("gene" === input3.kind)
2116
3665
  return $io11(input3);
2117
3666
  if ("coord" === input3.kind)
2118
- return $io44(input3);
2119
- if ("categorical" === input3.type)
2120
3667
  return $io45(input3);
2121
- if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || "ssGSEA" === input3.type)
3668
+ if ("categorical" === input3.type)
2122
3669
  return $io46(input3);
2123
- if ("condition" === input3.type)
3670
+ if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
2124
3671
  return $io47(input3);
3672
+ if ("geneExpression" === input3.type)
3673
+ return $io48(input3);
3674
+ if ("condition" === input3.type)
3675
+ return $io49(input3);
2125
3676
  return (() => {
2126
- if ($io48(input3))
2127
- return $io48(input3);
2128
- if ($io52(input3))
2129
- return $io52(input3);
3677
+ if ($io50(input3))
3678
+ return $io50(input3);
3679
+ if ($io54(input3))
3680
+ return $io54(input3);
2130
3681
  return false;
2131
3682
  })();
2132
3683
  })();
@@ -2136,42 +3687,49 @@ var validTermdbClusterResponse = (input) => {
2136
3687
  return (() => {
2137
3688
  if ($io16(input3))
2138
3689
  return $io16(input3);
2139
- if ($io34(input3))
2140
- return $io34(input3);
2141
- if ($io37(input3))
2142
- return $io37(input3);
3690
+ if ($io35(input3))
3691
+ return $io35(input3);
3692
+ if ($io38(input3))
3693
+ return $io38(input3);
2143
3694
  return false;
2144
3695
  })();
2145
3696
  })();
2146
3697
  const $iu6 = (input3) => (() => {
3698
+ if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
3699
+ return $io24(input3);
3700
+ if ("geneExpression" === input3.type)
3701
+ return $io33(input3);
3702
+ return false;
3703
+ })();
3704
+ const $iu7 = (input3) => (() => {
2147
3705
  if ("regular-bin" === input3.type)
2148
- return $io26(input3);
3706
+ return $io27(input3);
2149
3707
  if ("custom-bin" === input3.type)
2150
- return $io31(input3);
3708
+ return $io32(input3);
2151
3709
  return false;
2152
3710
  })();
2153
- const $iu7 = (input3) => (() => {
3711
+ const $iu8 = (input3) => (() => {
2154
3712
  if (true === input3.startunbounded)
2155
- return $io28(input3);
2156
- if (void 0 !== input3.start)
2157
3713
  return $io29(input3);
3714
+ if (void 0 !== input3.start)
3715
+ return $io30(input3);
2158
3716
  return false;
2159
3717
  })();
2160
- const $iu8 = (input3) => (() => {
3718
+ const $iu9 = (input3) => (() => {
2161
3719
  if (void 0 !== input3.stop)
2162
- return $io29(input3);
2163
- if (true === input3.stopunbounded)
2164
3720
  return $io30(input3);
3721
+ if (true === input3.stopunbounded)
3722
+ return $io31(input3);
2165
3723
  return false;
2166
3724
  })();
2167
- const $iu9 = (input3) => (() => {
3725
+ const $iu10 = (input3) => (() => {
2168
3726
  if ("gene" === input3.kind)
2169
- return $io39(input3);
3727
+ return $io40(input3);
2170
3728
  if ("coord" === input3.kind)
2171
- return $io42(input3);
3729
+ return $io43(input3);
2172
3730
  return false;
2173
3731
  })();
2174
- const $iu10 = (input3) => (() => {
3732
+ const $iu11 = (input3) => (() => {
2175
3733
  if (void 0 !== input3.status)
2176
3734
  return $io0(input3);
2177
3735
  if (void 0 !== input3.clustering)
@@ -2180,7 +3738,7 @@ var validTermdbClusterResponse = (input) => {
2180
3738
  return $io10(input3);
2181
3739
  return false;
2182
3740
  })();
2183
- return "object" === typeof input2 && null !== input2 && $iu10(input2);
3741
+ return "object" === typeof input2 && null !== input2 && $iu11(input2);
2184
3742
  };
2185
3743
  if (false === __is(input)) {
2186
3744
  const $report = import_typia.createValidate.report(errors);
@@ -2388,11 +3946,11 @@ var validTermdbClusterResponse = (input) => {
2388
3946
  })].every((flag) => flag);
2389
3947
  const $vo10 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2390
3948
  path: _path2 + ".term",
2391
- expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date" | "ssGSEA"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
3949
+ expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { gene: string; name: string; type: "geneExpression"; bins?: PresetNumericBins | undefined; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; type: "integer" | "float" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
2392
3950
  value: input3.term
2393
3951
  })) && $vu4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2394
3952
  path: _path2 + ".term",
2395
- expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity" | "date" | "ssGSEA"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; continuousColorScale?: { ...; } | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
3953
+ expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting: TermGroupSetting; childTerms: DtTerm[]; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { gene: string; name: string; type: "geneExpression"; bins?: PresetNumericBins | undefined; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { id?: string | undefined; type: "integer" | "float" | "date"; bins: PresetNumericBins; values?: TermValues | undefined; } | BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { values: SampleLstTermValues; })',
2396
3954
  value: input3.term
2397
3955
  }), true].every((flag) => flag);
2398
3956
  const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
@@ -2503,7 +4061,7 @@ var validTermdbClusterResponse = (input) => {
2503
4061
  path: _path2 + ".childTerms[" + _index12 + "]",
2504
4062
  expected: "DtTerm",
2505
4063
  value: elem
2506
- })) && $vo38(elem, _path2 + ".childTerms[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
4064
+ })) && $vo39(elem, _path2 + ".childTerms[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
2507
4065
  path: _path2 + ".childTerms[" + _index12 + "]",
2508
4066
  expected: "DtTerm",
2509
4067
  value: elem
@@ -2842,11 +4400,11 @@ var validTermdbClusterResponse = (input) => {
2842
4400
  value: input3.isnot
2843
4401
  }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2844
4402
  path: _path2 + ".term",
2845
- expected: "NumericTerm",
4403
+ expected: "(GeneExpressionTerm | NumericDictTerm)",
2846
4404
  value: input3.term
2847
- })) && $vo24(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
4405
+ })) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2848
4406
  path: _path2 + ".term",
2849
- expected: "NumericTerm",
4407
+ expected: "(GeneExpressionTerm | NumericDictTerm)",
2850
4408
  value: input3.term
2851
4409
  }), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
2852
4410
  path: _path2 + ".ranges",
@@ -2872,7 +4430,7 @@ var validTermdbClusterResponse = (input) => {
2872
4430
  path: _path2 + ".values[" + _index21 + "]",
2873
4431
  expected: "__type.o9",
2874
4432
  value: elem
2875
- })) && $vo33(elem, _path2 + ".values[" + _index21 + "]", _exceptionable2) || $report(_exceptionable2, {
4433
+ })) && $vo34(elem, _path2 + ".values[" + _index21 + "]", _exceptionable2) || $report(_exceptionable2, {
2876
4434
  path: _path2 + ".values[" + _index21 + "]",
2877
4435
  expected: "__type.o9",
2878
4436
  value: elem
@@ -2889,9 +4447,9 @@ var validTermdbClusterResponse = (input) => {
2889
4447
  path: _path2 + ".name",
2890
4448
  expected: "string",
2891
4449
  value: input3.name
2892
- }), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || "ssGSEA" === input3.type || $report(_exceptionable2, {
4450
+ }), "integer" === input3.type || "float" === input3.type || "date" === input3.type || $report(_exceptionable2, {
2893
4451
  path: _path2 + ".type",
2894
- expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity" | "ssGSEA")',
4452
+ expected: '("date" | "float" | "integer")',
2895
4453
  value: input3.type
2896
4454
  }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2897
4455
  path: _path2 + ".child_types",
@@ -2937,32 +4495,41 @@ var validTermdbClusterResponse = (input) => {
2937
4495
  path: _path2 + ".skipValuesBuild",
2938
4496
  expected: "(boolean | undefined)",
2939
4497
  value: input3.skipValuesBuild
2940
- }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
2941
- path: _path2 + ".bins",
2942
- expected: "PresetNumericBins",
2943
- value: input3.bins
2944
- })) && $vo25(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
2945
- path: _path2 + ".bins",
2946
- expected: "PresetNumericBins",
2947
- value: input3.bins
2948
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
2949
- path: _path2 + ".unit",
2950
- expected: "(string | undefined)",
2951
- value: input3.unit
2952
4498
  }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
2953
4499
  path: _path2 + ".continuousColorScale",
2954
4500
  expected: "(__type.o8 | undefined)",
2955
4501
  value: input3.continuousColorScale
2956
- })) && $vo32(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
4502
+ })) && $vo25(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
2957
4503
  path: _path2 + ".continuousColorScale",
2958
4504
  expected: "(__type.o8 | undefined)",
2959
4505
  value: input3.continuousColorScale
4506
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
4507
+ path: _path2 + ".unit",
4508
+ expected: "(string | undefined)",
4509
+ value: input3.unit
4510
+ }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
4511
+ path: _path2 + ".bins",
4512
+ expected: "PresetNumericBins",
4513
+ value: input3.bins
4514
+ })) && $vo26(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
4515
+ path: _path2 + ".bins",
4516
+ expected: "PresetNumericBins",
4517
+ value: input3.bins
4518
+ })].every((flag) => flag);
4519
+ const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
4520
+ path: _path2 + ".minColor",
4521
+ expected: "string",
4522
+ value: input3.minColor
4523
+ }), "string" === typeof input3.maxColor || $report(_exceptionable2, {
4524
+ path: _path2 + ".maxColor",
4525
+ expected: "string",
4526
+ value: input3.maxColor
2960
4527
  })].every((flag) => flag);
2961
- const $vo25 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
4528
+ const $vo26 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
2962
4529
  path: _path2 + '["default"]',
2963
4530
  expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
2964
4531
  value: input3["default"]
2965
- })) && $vu6(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
4532
+ })) && $vu7(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
2966
4533
  path: _path2 + '["default"]',
2967
4534
  expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
2968
4535
  value: input3["default"]
@@ -2970,7 +4537,7 @@ var validTermdbClusterResponse = (input) => {
2970
4537
  path: _path2 + ".less",
2971
4538
  expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
2972
4539
  value: input3.less
2973
- })) && $vu6(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
4540
+ })) && $vu7(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
2974
4541
  path: _path2 + ".less",
2975
4542
  expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
2976
4543
  value: input3.less
@@ -2995,11 +4562,11 @@ var validTermdbClusterResponse = (input) => {
2995
4562
  expected: "(number | undefined)",
2996
4563
  value: input3.max
2997
4564
  })].every((flag) => flag);
2998
- const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
4565
+ const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
2999
4566
  path: _path2 + ".hiddenValues",
3000
4567
  expected: "(HiddenValues | undefined)",
3001
4568
  value: input3.hiddenValues
3002
- })) && $vo27(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
4569
+ })) && $vo28(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
3003
4570
  path: _path2 + ".hiddenValues",
3004
4571
  expected: "(HiddenValues | undefined)",
3005
4572
  value: input3.hiddenValues
@@ -3031,7 +4598,7 @@ var validTermdbClusterResponse = (input) => {
3031
4598
  path: _path2 + ".first_bin",
3032
4599
  expected: "(FullyBoundedBin | StartUnboundedBin)",
3033
4600
  value: input3.first_bin
3034
- })) && $vu7(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
4601
+ })) && $vu8(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
3035
4602
  path: _path2 + ".first_bin",
3036
4603
  expected: "(FullyBoundedBin | StartUnboundedBin)",
3037
4604
  value: input3.first_bin
@@ -3039,7 +4606,7 @@ var validTermdbClusterResponse = (input) => {
3039
4606
  path: _path2 + ".last_bin",
3040
4607
  expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
3041
4608
  value: input3.last_bin
3042
- })) && $vu8(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
4609
+ })) && $vu9(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
3043
4610
  path: _path2 + ".last_bin",
3044
4611
  expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
3045
4612
  value: input3.last_bin
@@ -3048,7 +4615,7 @@ var validTermdbClusterResponse = (input) => {
3048
4615
  expected: "(number | undefined)",
3049
4616
  value: input3.label_offset
3050
4617
  })].every((flag) => flag);
3051
- const $vo27 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
4618
+ const $vo28 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
3052
4619
  const value = input3[key];
3053
4620
  if (void 0 === value)
3054
4621
  return true;
@@ -3060,7 +4627,7 @@ var validTermdbClusterResponse = (input) => {
3060
4627
  });
3061
4628
  return true;
3062
4629
  }).every((flag) => flag)].every((flag) => flag);
3063
- const $vo28 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
4630
+ const $vo29 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
3064
4631
  path: _path2 + ".startunbounded",
3065
4632
  expected: "true",
3066
4633
  value: input3.startunbounded
@@ -3085,7 +4652,7 @@ var validTermdbClusterResponse = (input) => {
3085
4652
  expected: "(string | undefined)",
3086
4653
  value: input3.label
3087
4654
  })].every((flag) => flag);
3088
- const $vo29 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
4655
+ const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
3089
4656
  path: _path2 + ".startunbounded",
3090
4657
  expected: "(false | undefined)",
3091
4658
  value: input3.startunbounded
@@ -3114,7 +4681,7 @@ var validTermdbClusterResponse = (input) => {
3114
4681
  expected: "(string | undefined)",
3115
4682
  value: input3.label
3116
4683
  })].every((flag) => flag);
3117
- const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
4684
+ const $vo31 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
3118
4685
  path: _path2 + ".start",
3119
4686
  expected: "number",
3120
4687
  value: input3.start
@@ -3139,11 +4706,11 @@ var validTermdbClusterResponse = (input) => {
3139
4706
  expected: "(string | undefined)",
3140
4707
  value: input3.label
3141
4708
  })].every((flag) => flag);
3142
- const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
4709
+ const $vo32 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3143
4710
  path: _path2 + ".hiddenValues",
3144
4711
  expected: "(HiddenValues | undefined)",
3145
4712
  value: input3.hiddenValues
3146
- })) && $vo27(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
4713
+ })) && $vo28(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
3147
4714
  path: _path2 + ".hiddenValues",
3148
4715
  expected: "(HiddenValues | undefined)",
3149
4716
  value: input3.hiddenValues
@@ -3194,28 +4761,112 @@ var validTermdbClusterResponse = (input) => {
3194
4761
  expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
3195
4762
  value: elem
3196
4763
  })).every((flag) => flag) || $report(_exceptionable2, {
3197
- path: _path2 + ".lst",
3198
- expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
3199
- value: input3.lst.slice(1)
3200
- }))) || $report(_exceptionable2, {
3201
- path: _path2 + ".lst",
3202
- expected: "[NumericBin, ...NumericBin[]]",
3203
- value: input3.lst
3204
- }), void 0 === input3.preferredBins || "median" === input3.preferredBins || $report(_exceptionable2, {
3205
- path: _path2 + ".preferredBins",
3206
- expected: '("median" | undefined)',
3207
- value: input3.preferredBins
3208
- })].every((flag) => flag);
3209
- const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
3210
- path: _path2 + ".minColor",
3211
- expected: "string",
3212
- value: input3.minColor
3213
- }), "string" === typeof input3.maxColor || $report(_exceptionable2, {
3214
- path: _path2 + ".maxColor",
4764
+ path: _path2 + ".lst",
4765
+ expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
4766
+ value: input3.lst.slice(1)
4767
+ }))) || $report(_exceptionable2, {
4768
+ path: _path2 + ".lst",
4769
+ expected: "[NumericBin, ...NumericBin[]]",
4770
+ value: input3.lst
4771
+ }), void 0 === input3.preferredBins || "median" === input3.preferredBins || $report(_exceptionable2, {
4772
+ path: _path2 + ".preferredBins",
4773
+ expected: '("median" | undefined)',
4774
+ value: input3.preferredBins
4775
+ })].every((flag) => flag);
4776
+ const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
4777
+ path: _path2 + ".id",
4778
+ expected: "string",
4779
+ value: input3.id
4780
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
4781
+ path: _path2 + ".name",
4782
+ expected: "string",
4783
+ value: input3.name
4784
+ }), "geneExpression" === input3.type || $report(_exceptionable2, {
4785
+ path: _path2 + ".type",
4786
+ expected: '"geneExpression"',
4787
+ value: input3.type
4788
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
4789
+ path: _path2 + ".child_types",
4790
+ expected: "(Array<string> | undefined)",
4791
+ value: input3.child_types
4792
+ })) && input3.child_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
4793
+ path: _path2 + ".child_types[" + _index25 + "]",
4794
+ expected: "string",
4795
+ value: elem
4796
+ })).every((flag) => flag) || $report(_exceptionable2, {
4797
+ path: _path2 + ".child_types",
4798
+ expected: "(Array<string> | undefined)",
4799
+ value: input3.child_types
4800
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
4801
+ path: _path2 + ".hashtmldetail",
4802
+ expected: "(boolean | undefined)",
4803
+ value: input3.hashtmldetail
4804
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
4805
+ path: _path2 + ".included_types",
4806
+ expected: "(Array<string> | undefined)",
4807
+ value: input3.included_types
4808
+ })) && input3.included_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
4809
+ path: _path2 + ".included_types[" + _index26 + "]",
4810
+ expected: "string",
4811
+ value: elem
4812
+ })).every((flag) => flag) || $report(_exceptionable2, {
4813
+ path: _path2 + ".included_types",
4814
+ expected: "(Array<string> | undefined)",
4815
+ value: input3.included_types
4816
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
4817
+ path: _path2 + ".isleaf",
4818
+ expected: "(boolean | undefined)",
4819
+ value: input3.isleaf
4820
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
4821
+ path: _path2 + ".values",
4822
+ expected: "(TermValues | undefined)",
4823
+ value: input3.values
4824
+ })) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
4825
+ path: _path2 + ".values",
4826
+ expected: "(TermValues | undefined)",
4827
+ value: input3.values
4828
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
4829
+ path: _path2 + ".skipValuesBuild",
4830
+ expected: "(boolean | undefined)",
4831
+ value: input3.skipValuesBuild
4832
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
4833
+ path: _path2 + ".continuousColorScale",
4834
+ expected: "(__type.o8 | undefined)",
4835
+ value: input3.continuousColorScale
4836
+ })) && $vo25(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
4837
+ path: _path2 + ".continuousColorScale",
4838
+ expected: "(__type.o8 | undefined)",
4839
+ value: input3.continuousColorScale
4840
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
4841
+ path: _path2 + ".unit",
4842
+ expected: "(string | undefined)",
4843
+ value: input3.unit
4844
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
4845
+ path: _path2 + ".gene",
3215
4846
  expected: "string",
3216
- value: input3.maxColor
4847
+ value: input3.gene
4848
+ }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
4849
+ path: _path2 + ".bins",
4850
+ expected: "(PresetNumericBins | undefined)",
4851
+ value: input3.bins
4852
+ })) && $vo26(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
4853
+ path: _path2 + ".bins",
4854
+ expected: "(PresetNumericBins | undefined)",
4855
+ value: input3.bins
4856
+ }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
4857
+ path: _path2 + ".chr",
4858
+ expected: "(string | undefined)",
4859
+ value: input3.chr
4860
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
4861
+ path: _path2 + ".start",
4862
+ expected: "(number | undefined)",
4863
+ value: input3.start
4864
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
4865
+ path: _path2 + ".stop",
4866
+ expected: "(number | undefined)",
4867
+ value: input3.stop
3217
4868
  })].every((flag) => flag);
3218
- const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
4869
+ const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
3219
4870
  path: _path2 + ".key",
3220
4871
  expected: "string",
3221
4872
  value: input3.key
@@ -3232,7 +4883,7 @@ var validTermdbClusterResponse = (input) => {
3232
4883
  expected: "(string | undefined)",
3233
4884
  value: input3.label
3234
4885
  })].every((flag) => flag);
3235
- const $vo34 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
4886
+ const $vo35 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
3236
4887
  path: _path2 + ".join",
3237
4888
  expected: "(string | undefined)",
3238
4889
  value: input3.join
@@ -3244,7 +4895,7 @@ var validTermdbClusterResponse = (input) => {
3244
4895
  path: _path2 + ".term",
3245
4896
  expected: "ConditionTerm",
3246
4897
  value: input3.term
3247
- })) && $vo35(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
4898
+ })) && $vo36(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
3248
4899
  path: _path2 + ".term",
3249
4900
  expected: "ConditionTerm",
3250
4901
  value: input3.term
@@ -3264,12 +4915,12 @@ var validTermdbClusterResponse = (input) => {
3264
4915
  path: _path2 + ".grade_and_child",
3265
4916
  expected: "(Array<GradeAndChildEntry> | undefined)",
3266
4917
  value: input3.grade_and_child
3267
- })) && input3.grade_and_child.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3268
- path: _path2 + ".grade_and_child[" + _index25 + "]",
4918
+ })) && input3.grade_and_child.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
4919
+ path: _path2 + ".grade_and_child[" + _index27 + "]",
3269
4920
  expected: "GradeAndChildEntry",
3270
4921
  value: elem
3271
- })) && $vo36(elem, _path2 + ".grade_and_child[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
3272
- path: _path2 + ".grade_and_child[" + _index25 + "]",
4922
+ })) && $vo37(elem, _path2 + ".grade_and_child[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
4923
+ path: _path2 + ".grade_and_child[" + _index27 + "]",
3273
4924
  expected: "GradeAndChildEntry",
3274
4925
  value: elem
3275
4926
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3277,7 +4928,7 @@ var validTermdbClusterResponse = (input) => {
3277
4928
  expected: "(Array<GradeAndChildEntry> | undefined)",
3278
4929
  value: input3.grade_and_child
3279
4930
  })].every((flag) => flag);
3280
- const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
4931
+ const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3281
4932
  path: _path2 + ".id",
3282
4933
  expected: "string",
3283
4934
  value: input3.id
@@ -3293,8 +4944,8 @@ var validTermdbClusterResponse = (input) => {
3293
4944
  path: _path2 + ".child_types",
3294
4945
  expected: "(Array<string> | undefined)",
3295
4946
  value: input3.child_types
3296
- })) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
3297
- path: _path2 + ".child_types[" + _index26 + "]",
4947
+ })) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
4948
+ path: _path2 + ".child_types[" + _index28 + "]",
3298
4949
  expected: "string",
3299
4950
  value: elem
3300
4951
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3309,8 +4960,8 @@ var validTermdbClusterResponse = (input) => {
3309
4960
  path: _path2 + ".included_types",
3310
4961
  expected: "(Array<string> | undefined)",
3311
4962
  value: input3.included_types
3312
- })) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
3313
- path: _path2 + ".included_types[" + _index27 + "]",
4963
+ })) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
4964
+ path: _path2 + ".included_types[" + _index29 + "]",
3314
4965
  expected: "string",
3315
4966
  value: elem
3316
4967
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3334,7 +4985,7 @@ var validTermdbClusterResponse = (input) => {
3334
4985
  expected: "(boolean | undefined)",
3335
4986
  value: input3.skipValuesBuild
3336
4987
  })].every((flag) => flag);
3337
- const $vo36 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
4988
+ const $vo37 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
3338
4989
  path: _path2 + ".grade",
3339
4990
  expected: "number",
3340
4991
  value: input3.grade
@@ -3351,7 +5002,7 @@ var validTermdbClusterResponse = (input) => {
3351
5002
  expected: "string",
3352
5003
  value: input3.child_label
3353
5004
  })].every((flag) => flag);
3354
- const $vo37 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
5005
+ const $vo38 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
3355
5006
  path: _path2 + ".join",
3356
5007
  expected: "(string | undefined)",
3357
5008
  value: input3.join
@@ -3363,7 +5014,7 @@ var validTermdbClusterResponse = (input) => {
3363
5014
  path: _path2 + ".term",
3364
5015
  expected: "DtTerm",
3365
5016
  value: input3.term
3366
- })) && $vo38(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
5017
+ })) && $vo39(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
3367
5018
  path: _path2 + ".term",
3368
5019
  expected: "DtTerm",
3369
5020
  value: input3.term
@@ -3371,12 +5022,12 @@ var validTermdbClusterResponse = (input) => {
3371
5022
  path: _path2 + ".values",
3372
5023
  expected: "Array<__type>.o6",
3373
5024
  value: input3.values
3374
- })) && input3.values.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3375
- path: _path2 + ".values[" + _index28 + "]",
5025
+ })) && input3.values.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
5026
+ path: _path2 + ".values[" + _index30 + "]",
3376
5027
  expected: "__type.o10",
3377
5028
  value: elem
3378
- })) && $vo43(elem, _path2 + ".values[" + _index28 + "]", _exceptionable2) || $report(_exceptionable2, {
3379
- path: _path2 + ".values[" + _index28 + "]",
5029
+ })) && $vo44(elem, _path2 + ".values[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
5030
+ path: _path2 + ".values[" + _index30 + "]",
3380
5031
  expected: "__type.o10",
3381
5032
  value: elem
3382
5033
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3392,7 +5043,7 @@ var validTermdbClusterResponse = (input) => {
3392
5043
  expected: "(boolean | undefined)",
3393
5044
  value: input3.excludeGeneName
3394
5045
  })].every((flag) => flag);
3395
- const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
5046
+ const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3396
5047
  path: _path2 + ".id",
3397
5048
  expected: "string",
3398
5049
  value: input3.id
@@ -3412,7 +5063,7 @@ var validTermdbClusterResponse = (input) => {
3412
5063
  path: _path2 + ".parentTerm",
3413
5064
  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)',
3414
5065
  value: input3.parentTerm
3415
- })) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
5066
+ })) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
3416
5067
  path: _path2 + ".parentTerm",
3417
5068
  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)',
3418
5069
  value: input3.parentTerm
@@ -3441,7 +5092,7 @@ var validTermdbClusterResponse = (input) => {
3441
5092
  expected: "TermValues",
3442
5093
  value: input3.values
3443
5094
  })].every((flag) => flag);
3444
- const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
5095
+ const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3445
5096
  path: _path2 + ".id",
3446
5097
  expected: "string",
3447
5098
  value: input3.id
@@ -3457,8 +5108,8 @@ var validTermdbClusterResponse = (input) => {
3457
5108
  path: _path2 + ".child_types",
3458
5109
  expected: "(Array<string> | undefined)",
3459
5110
  value: input3.child_types
3460
- })) && input3.child_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
3461
- path: _path2 + ".child_types[" + _index29 + "]",
5111
+ })) && input3.child_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
5112
+ path: _path2 + ".child_types[" + _index31 + "]",
3462
5113
  expected: "string",
3463
5114
  value: elem
3464
5115
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3473,8 +5124,8 @@ var validTermdbClusterResponse = (input) => {
3473
5124
  path: _path2 + ".included_types",
3474
5125
  expected: "(Array<string> | undefined)",
3475
5126
  value: input3.included_types
3476
- })) && input3.included_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
3477
- path: _path2 + ".included_types[" + _index30 + "]",
5127
+ })) && input3.included_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
5128
+ path: _path2 + ".included_types[" + _index32 + "]",
3478
5129
  expected: "string",
3479
5130
  value: elem
3480
5131
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3521,12 +5172,12 @@ var validTermdbClusterResponse = (input) => {
3521
5172
  path: _path2 + ".genes",
3522
5173
  expected: "Array<GvGeneTerm>",
3523
5174
  value: input3.genes
3524
- })) && input3.genes.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3525
- path: _path2 + ".genes[" + _index31 + "]",
5175
+ })) && input3.genes.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
5176
+ path: _path2 + ".genes[" + _index33 + "]",
3526
5177
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
3527
5178
  value: elem
3528
- })) && $vu3(elem, _path2 + ".genes[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
3529
- path: _path2 + ".genes[" + _index31 + "]",
5179
+ })) && $vu3(elem, _path2 + ".genes[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
5180
+ path: _path2 + ".genes[" + _index33 + "]",
3530
5181
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
3531
5182
  value: elem
3532
5183
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3545,12 +5196,12 @@ var validTermdbClusterResponse = (input) => {
3545
5196
  path: _path2 + ".childTerms",
3546
5197
  expected: "(Array<DtTerm> | undefined)",
3547
5198
  value: input3.childTerms
3548
- })) && input3.childTerms.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3549
- path: _path2 + ".childTerms[" + _index32 + "]",
5199
+ })) && input3.childTerms.map((elem, _index34) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
5200
+ path: _path2 + ".childTerms[" + _index34 + "]",
3550
5201
  expected: "DtTerm",
3551
5202
  value: elem
3552
- })) && $vo38(elem, _path2 + ".childTerms[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
3553
- path: _path2 + ".childTerms[" + _index32 + "]",
5203
+ })) && $vo39(elem, _path2 + ".childTerms[" + _index34 + "]", _exceptionable2) || $report(_exceptionable2, {
5204
+ path: _path2 + ".childTerms[" + _index34 + "]",
3554
5205
  expected: "DtTerm",
3555
5206
  value: elem
3556
5207
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3558,7 +5209,7 @@ var validTermdbClusterResponse = (input) => {
3558
5209
  expected: "(Array<DtTerm> | undefined)",
3559
5210
  value: input3.childTerms
3560
5211
  })].every((flag) => flag);
3561
- const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
5212
+ const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3562
5213
  path: _path2 + ".id",
3563
5214
  expected: "string",
3564
5215
  value: input3.id
@@ -3574,8 +5225,8 @@ var validTermdbClusterResponse = (input) => {
3574
5225
  path: _path2 + ".child_types",
3575
5226
  expected: "(Array<string> | undefined)",
3576
5227
  value: input3.child_types
3577
- })) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
3578
- path: _path2 + ".child_types[" + _index33 + "]",
5228
+ })) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
5229
+ path: _path2 + ".child_types[" + _index35 + "]",
3579
5230
  expected: "string",
3580
5231
  value: elem
3581
5232
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3590,8 +5241,8 @@ var validTermdbClusterResponse = (input) => {
3590
5241
  path: _path2 + ".included_types",
3591
5242
  expected: "(Array<string> | undefined)",
3592
5243
  value: input3.included_types
3593
- })) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
3594
- path: _path2 + ".included_types[" + _index34 + "]",
5244
+ })) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
5245
+ path: _path2 + ".included_types[" + _index36 + "]",
3595
5246
  expected: "string",
3596
5247
  value: elem
3597
5248
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3635,7 +5286,7 @@ var validTermdbClusterResponse = (input) => {
3635
5286
  expected: "(number | undefined)",
3636
5287
  value: input3.stop
3637
5288
  })].every((flag) => flag);
3638
- const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
5289
+ const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3639
5290
  path: _path2 + ".id",
3640
5291
  expected: "string",
3641
5292
  value: input3.id
@@ -3651,8 +5302,8 @@ var validTermdbClusterResponse = (input) => {
3651
5302
  path: _path2 + ".child_types",
3652
5303
  expected: "(Array<string> | undefined)",
3653
5304
  value: input3.child_types
3654
- })) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
3655
- path: _path2 + ".child_types[" + _index35 + "]",
5305
+ })) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
5306
+ path: _path2 + ".child_types[" + _index37 + "]",
3656
5307
  expected: "string",
3657
5308
  value: elem
3658
5309
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3667,8 +5318,8 @@ var validTermdbClusterResponse = (input) => {
3667
5318
  path: _path2 + ".included_types",
3668
5319
  expected: "(Array<string> | undefined)",
3669
5320
  value: input3.included_types
3670
- })) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
3671
- path: _path2 + ".included_types[" + _index36 + "]",
5321
+ })) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
5322
+ path: _path2 + ".included_types[" + _index38 + "]",
3672
5323
  expected: "string",
3673
5324
  value: elem
3674
5325
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3708,7 +5359,7 @@ var validTermdbClusterResponse = (input) => {
3708
5359
  expected: "number",
3709
5360
  value: input3.stop
3710
5361
  })].every((flag) => flag);
3711
- const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
5362
+ const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3712
5363
  path: _path2 + ".id",
3713
5364
  expected: "string",
3714
5365
  value: input3.id
@@ -3724,8 +5375,8 @@ var validTermdbClusterResponse = (input) => {
3724
5375
  path: _path2 + ".child_types",
3725
5376
  expected: "(Array<string> | undefined)",
3726
5377
  value: input3.child_types
3727
- })) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
3728
- path: _path2 + ".child_types[" + _index37 + "]",
5378
+ })) && input3.child_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
5379
+ path: _path2 + ".child_types[" + _index39 + "]",
3729
5380
  expected: "string",
3730
5381
  value: elem
3731
5382
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3740,8 +5391,8 @@ var validTermdbClusterResponse = (input) => {
3740
5391
  path: _path2 + ".included_types",
3741
5392
  expected: "(Array<string> | undefined)",
3742
5393
  value: input3.included_types
3743
- })) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
3744
- path: _path2 + ".included_types[" + _index38 + "]",
5394
+ })) && input3.included_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
5395
+ path: _path2 + ".included_types[" + _index40 + "]",
3745
5396
  expected: "string",
3746
5397
  value: elem
3747
5398
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3784,12 +5435,12 @@ var validTermdbClusterResponse = (input) => {
3784
5435
  path: _path2 + ".genes",
3785
5436
  expected: "Array<GvGeneTerm>",
3786
5437
  value: input3.genes
3787
- })) && input3.genes.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3788
- path: _path2 + ".genes[" + _index39 + "]",
5438
+ })) && input3.genes.map((elem, _index41) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
5439
+ path: _path2 + ".genes[" + _index41 + "]",
3789
5440
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
3790
5441
  value: elem
3791
- })) && $vu3(elem, _path2 + ".genes[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
3792
- path: _path2 + ".genes[" + _index39 + "]",
5442
+ })) && $vu3(elem, _path2 + ".genes[" + _index41 + "]", _exceptionable2) || $report(_exceptionable2, {
5443
+ path: _path2 + ".genes[" + _index41 + "]",
3793
5444
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
3794
5445
  value: elem
3795
5446
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3808,12 +5459,12 @@ var validTermdbClusterResponse = (input) => {
3808
5459
  path: _path2 + ".childTerms",
3809
5460
  expected: "(Array<DtTerm> | undefined)",
3810
5461
  value: input3.childTerms
3811
- })) && input3.childTerms.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3812
- path: _path2 + ".childTerms[" + _index40 + "]",
5462
+ })) && input3.childTerms.map((elem, _index42) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
5463
+ path: _path2 + ".childTerms[" + _index42 + "]",
3813
5464
  expected: "DtTerm",
3814
5465
  value: elem
3815
- })) && $vo38(elem, _path2 + ".childTerms[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
3816
- path: _path2 + ".childTerms[" + _index40 + "]",
5466
+ })) && $vo39(elem, _path2 + ".childTerms[" + _index42 + "]", _exceptionable2) || $report(_exceptionable2, {
5467
+ path: _path2 + ".childTerms[" + _index42 + "]",
3817
5468
  expected: "DtTerm",
3818
5469
  value: elem
3819
5470
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3821,7 +5472,7 @@ var validTermdbClusterResponse = (input) => {
3821
5472
  expected: "(Array<DtTerm> | undefined)",
3822
5473
  value: input3.childTerms
3823
5474
  })].every((flag) => flag);
3824
- const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
5475
+ const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
3825
5476
  path: _path2 + ".key",
3826
5477
  expected: "string",
3827
5478
  value: input3.key
@@ -3834,7 +5485,7 @@ var validTermdbClusterResponse = (input) => {
3834
5485
  expected: "string",
3835
5486
  value: input3.value
3836
5487
  })].every((flag) => flag);
3837
- const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
5488
+ const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3838
5489
  path: _path2 + ".id",
3839
5490
  expected: "string",
3840
5491
  value: input3.id
@@ -3850,8 +5501,8 @@ var validTermdbClusterResponse = (input) => {
3850
5501
  path: _path2 + ".child_types",
3851
5502
  expected: "(Array<string> | undefined)",
3852
5503
  value: input3.child_types
3853
- })) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
3854
- path: _path2 + ".child_types[" + _index41 + "]",
5504
+ })) && input3.child_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
5505
+ path: _path2 + ".child_types[" + _index43 + "]",
3855
5506
  expected: "string",
3856
5507
  value: elem
3857
5508
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3866,8 +5517,8 @@ var validTermdbClusterResponse = (input) => {
3866
5517
  path: _path2 + ".included_types",
3867
5518
  expected: "(Array<string> | undefined)",
3868
5519
  value: input3.included_types
3869
- })) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
3870
- path: _path2 + ".included_types[" + _index42 + "]",
5520
+ })) && input3.included_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
5521
+ path: _path2 + ".included_types[" + _index44 + "]",
3871
5522
  expected: "string",
3872
5523
  value: elem
3873
5524
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3910,12 +5561,12 @@ var validTermdbClusterResponse = (input) => {
3910
5561
  path: _path2 + ".genes",
3911
5562
  expected: "Array<GvGeneTerm>",
3912
5563
  value: input3.genes
3913
- })) && input3.genes.map((elem, _index43) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3914
- path: _path2 + ".genes[" + _index43 + "]",
5564
+ })) && input3.genes.map((elem, _index45) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
5565
+ path: _path2 + ".genes[" + _index45 + "]",
3915
5566
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
3916
5567
  value: elem
3917
- })) && $vu3(elem, _path2 + ".genes[" + _index43 + "]", _exceptionable2) || $report(_exceptionable2, {
3918
- path: _path2 + ".genes[" + _index43 + "]",
5568
+ })) && $vu3(elem, _path2 + ".genes[" + _index45 + "]", _exceptionable2) || $report(_exceptionable2, {
5569
+ path: _path2 + ".genes[" + _index45 + "]",
3919
5570
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
3920
5571
  value: elem
3921
5572
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3934,12 +5585,12 @@ var validTermdbClusterResponse = (input) => {
3934
5585
  path: _path2 + ".childTerms",
3935
5586
  expected: "Array<DtTerm>",
3936
5587
  value: input3.childTerms
3937
- })) && input3.childTerms.map((elem, _index44) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3938
- path: _path2 + ".childTerms[" + _index44 + "]",
5588
+ })) && input3.childTerms.map((elem, _index46) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
5589
+ path: _path2 + ".childTerms[" + _index46 + "]",
3939
5590
  expected: "DtTerm",
3940
5591
  value: elem
3941
- })) && $vo38(elem, _path2 + ".childTerms[" + _index44 + "]", _exceptionable2) || $report(_exceptionable2, {
3942
- path: _path2 + ".childTerms[" + _index44 + "]",
5592
+ })) && $vo39(elem, _path2 + ".childTerms[" + _index46 + "]", _exceptionable2) || $report(_exceptionable2, {
5593
+ path: _path2 + ".childTerms[" + _index46 + "]",
3943
5594
  expected: "DtTerm",
3944
5595
  value: elem
3945
5596
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3947,7 +5598,7 @@ var validTermdbClusterResponse = (input) => {
3947
5598
  expected: "Array<DtTerm>",
3948
5599
  value: input3.childTerms
3949
5600
  })].every((flag) => flag);
3950
- const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
5601
+ const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3951
5602
  path: _path2 + ".id",
3952
5603
  expected: "string",
3953
5604
  value: input3.id
@@ -3963,8 +5614,8 @@ var validTermdbClusterResponse = (input) => {
3963
5614
  path: _path2 + ".child_types",
3964
5615
  expected: "(Array<string> | undefined)",
3965
5616
  value: input3.child_types
3966
- })) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
3967
- path: _path2 + ".child_types[" + _index45 + "]",
5617
+ })) && input3.child_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
5618
+ path: _path2 + ".child_types[" + _index47 + "]",
3968
5619
  expected: "string",
3969
5620
  value: elem
3970
5621
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3979,8 +5630,8 @@ var validTermdbClusterResponse = (input) => {
3979
5630
  path: _path2 + ".included_types",
3980
5631
  expected: "(Array<string> | undefined)",
3981
5632
  value: input3.included_types
3982
- })) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
3983
- path: _path2 + ".included_types[" + _index46 + "]",
5633
+ })) && input3.included_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
5634
+ path: _path2 + ".included_types[" + _index48 + "]",
3984
5635
  expected: "string",
3985
5636
  value: elem
3986
5637
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -4012,7 +5663,7 @@ var validTermdbClusterResponse = (input) => {
4012
5663
  expected: "TermGroupSetting",
4013
5664
  value: input3.groupsetting
4014
5665
  })].every((flag) => flag);
4015
- const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
5666
+ const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
4016
5667
  path: _path2 + ".id",
4017
5668
  expected: "string",
4018
5669
  value: input3.id
@@ -4020,16 +5671,16 @@ var validTermdbClusterResponse = (input) => {
4020
5671
  path: _path2 + ".name",
4021
5672
  expected: "string",
4022
5673
  value: input3.name
4023
- }), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || "ssGSEA" === input3.type || $report(_exceptionable2, {
5674
+ }), "integer" === input3.type || "float" === input3.type || "date" === input3.type || $report(_exceptionable2, {
4024
5675
  path: _path2 + ".type",
4025
- expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity" | "ssGSEA")',
5676
+ expected: '("date" | "float" | "integer")',
4026
5677
  value: input3.type
4027
5678
  }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
4028
5679
  path: _path2 + ".child_types",
4029
5680
  expected: "(Array<string> | undefined)",
4030
5681
  value: input3.child_types
4031
- })) && input3.child_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
4032
- path: _path2 + ".child_types[" + _index47 + "]",
5682
+ })) && input3.child_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
5683
+ path: _path2 + ".child_types[" + _index49 + "]",
4033
5684
  expected: "string",
4034
5685
  value: elem
4035
5686
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -4044,8 +5695,8 @@ var validTermdbClusterResponse = (input) => {
4044
5695
  path: _path2 + ".included_types",
4045
5696
  expected: "(Array<string> | undefined)",
4046
5697
  value: input3.included_types
4047
- })) && input3.included_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
4048
- path: _path2 + ".included_types[" + _index48 + "]",
5698
+ })) && input3.included_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
5699
+ path: _path2 + ".included_types[" + _index50 + "]",
4049
5700
  expected: "string",
4050
5701
  value: elem
4051
5702
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -4068,28 +5719,121 @@ var validTermdbClusterResponse = (input) => {
4068
5719
  path: _path2 + ".skipValuesBuild",
4069
5720
  expected: "(boolean | undefined)",
4070
5721
  value: input3.skipValuesBuild
5722
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
5723
+ path: _path2 + ".continuousColorScale",
5724
+ expected: "(__type.o8 | undefined)",
5725
+ value: input3.continuousColorScale
5726
+ })) && $vo25(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
5727
+ path: _path2 + ".continuousColorScale",
5728
+ expected: "(__type.o8 | undefined)",
5729
+ value: input3.continuousColorScale
5730
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
5731
+ path: _path2 + ".unit",
5732
+ expected: "(string | undefined)",
5733
+ value: input3.unit
4071
5734
  }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
4072
5735
  path: _path2 + ".bins",
4073
5736
  expected: "PresetNumericBins",
4074
5737
  value: input3.bins
4075
- })) && $vo25(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
5738
+ })) && $vo26(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
4076
5739
  path: _path2 + ".bins",
4077
5740
  expected: "PresetNumericBins",
4078
5741
  value: input3.bins
4079
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
4080
- path: _path2 + ".unit",
4081
- expected: "(string | undefined)",
4082
- value: input3.unit
5742
+ })].every((flag) => flag);
5743
+ const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
5744
+ path: _path2 + ".id",
5745
+ expected: "string",
5746
+ value: input3.id
5747
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
5748
+ path: _path2 + ".name",
5749
+ expected: "string",
5750
+ value: input3.name
5751
+ }), "geneExpression" === input3.type || $report(_exceptionable2, {
5752
+ path: _path2 + ".type",
5753
+ expected: '"geneExpression"',
5754
+ value: input3.type
5755
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
5756
+ path: _path2 + ".child_types",
5757
+ expected: "(Array<string> | undefined)",
5758
+ value: input3.child_types
5759
+ })) && input3.child_types.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
5760
+ path: _path2 + ".child_types[" + _index51 + "]",
5761
+ expected: "string",
5762
+ value: elem
5763
+ })).every((flag) => flag) || $report(_exceptionable2, {
5764
+ path: _path2 + ".child_types",
5765
+ expected: "(Array<string> | undefined)",
5766
+ value: input3.child_types
5767
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
5768
+ path: _path2 + ".hashtmldetail",
5769
+ expected: "(boolean | undefined)",
5770
+ value: input3.hashtmldetail
5771
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
5772
+ path: _path2 + ".included_types",
5773
+ expected: "(Array<string> | undefined)",
5774
+ value: input3.included_types
5775
+ })) && input3.included_types.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
5776
+ path: _path2 + ".included_types[" + _index52 + "]",
5777
+ expected: "string",
5778
+ value: elem
5779
+ })).every((flag) => flag) || $report(_exceptionable2, {
5780
+ path: _path2 + ".included_types",
5781
+ expected: "(Array<string> | undefined)",
5782
+ value: input3.included_types
5783
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
5784
+ path: _path2 + ".isleaf",
5785
+ expected: "(boolean | undefined)",
5786
+ value: input3.isleaf
5787
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
5788
+ path: _path2 + ".values",
5789
+ expected: "(TermValues | undefined)",
5790
+ value: input3.values
5791
+ })) && $vo12(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
5792
+ path: _path2 + ".values",
5793
+ expected: "(TermValues | undefined)",
5794
+ value: input3.values
5795
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
5796
+ path: _path2 + ".skipValuesBuild",
5797
+ expected: "(boolean | undefined)",
5798
+ value: input3.skipValuesBuild
4083
5799
  }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
4084
5800
  path: _path2 + ".continuousColorScale",
4085
5801
  expected: "(__type.o8 | undefined)",
4086
5802
  value: input3.continuousColorScale
4087
- })) && $vo32(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
5803
+ })) && $vo25(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
4088
5804
  path: _path2 + ".continuousColorScale",
4089
5805
  expected: "(__type.o8 | undefined)",
4090
5806
  value: input3.continuousColorScale
5807
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
5808
+ path: _path2 + ".unit",
5809
+ expected: "(string | undefined)",
5810
+ value: input3.unit
5811
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
5812
+ path: _path2 + ".gene",
5813
+ expected: "string",
5814
+ value: input3.gene
5815
+ }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
5816
+ path: _path2 + ".bins",
5817
+ expected: "(PresetNumericBins | undefined)",
5818
+ value: input3.bins
5819
+ })) && $vo26(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
5820
+ path: _path2 + ".bins",
5821
+ expected: "(PresetNumericBins | undefined)",
5822
+ value: input3.bins
5823
+ }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
5824
+ path: _path2 + ".chr",
5825
+ expected: "(string | undefined)",
5826
+ value: input3.chr
5827
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
5828
+ path: _path2 + ".start",
5829
+ expected: "(number | undefined)",
5830
+ value: input3.start
5831
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
5832
+ path: _path2 + ".stop",
5833
+ expected: "(number | undefined)",
5834
+ value: input3.stop
4091
5835
  })].every((flag) => flag);
4092
- const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
5836
+ const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
4093
5837
  path: _path2 + ".id",
4094
5838
  expected: "string",
4095
5839
  value: input3.id
@@ -4105,8 +5849,8 @@ var validTermdbClusterResponse = (input) => {
4105
5849
  path: _path2 + ".child_types",
4106
5850
  expected: "(Array<string> | undefined)",
4107
5851
  value: input3.child_types
4108
- })) && input3.child_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
4109
- path: _path2 + ".child_types[" + _index49 + "]",
5852
+ })) && input3.child_types.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
5853
+ path: _path2 + ".child_types[" + _index53 + "]",
4110
5854
  expected: "string",
4111
5855
  value: elem
4112
5856
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -4121,8 +5865,8 @@ var validTermdbClusterResponse = (input) => {
4121
5865
  path: _path2 + ".included_types",
4122
5866
  expected: "(Array<string> | undefined)",
4123
5867
  value: input3.included_types
4124
- })) && input3.included_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
4125
- path: _path2 + ".included_types[" + _index50 + "]",
5868
+ })) && input3.included_types.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
5869
+ path: _path2 + ".included_types[" + _index54 + "]",
4126
5870
  expected: "string",
4127
5871
  value: elem
4128
5872
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -4146,7 +5890,7 @@ var validTermdbClusterResponse = (input) => {
4146
5890
  expected: "(boolean | undefined)",
4147
5891
  value: input3.skipValuesBuild
4148
5892
  })].every((flag) => flag);
4149
- const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
5893
+ const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
4150
5894
  path: _path2 + ".id",
4151
5895
  expected: "string",
4152
5896
  value: input3.id
@@ -4162,8 +5906,8 @@ var validTermdbClusterResponse = (input) => {
4162
5906
  path: _path2 + ".child_types",
4163
5907
  expected: "(Array<string> | undefined)",
4164
5908
  value: input3.child_types
4165
- })) && input3.child_types.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
4166
- path: _path2 + ".child_types[" + _index51 + "]",
5909
+ })) && input3.child_types.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
5910
+ path: _path2 + ".child_types[" + _index55 + "]",
4167
5911
  expected: "string",
4168
5912
  value: elem
4169
5913
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -4178,8 +5922,8 @@ var validTermdbClusterResponse = (input) => {
4178
5922
  path: _path2 + ".included_types",
4179
5923
  expected: "(Array<string> | undefined)",
4180
5924
  value: input3.included_types
4181
- })) && input3.included_types.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
4182
- path: _path2 + ".included_types[" + _index52 + "]",
5925
+ })) && input3.included_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
5926
+ path: _path2 + ".included_types[" + _index56 + "]",
4183
5927
  expected: "string",
4184
5928
  value: elem
4185
5929
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -4210,12 +5954,12 @@ var validTermdbClusterResponse = (input) => {
4210
5954
  path: _path2 + ".snps",
4211
5955
  expected: "(Array<SnpsEntry> | undefined)",
4212
5956
  value: input3.snps
4213
- })) && input3.snps.map((elem, _index53) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
4214
- path: _path2 + ".snps[" + _index53 + "]",
5957
+ })) && input3.snps.map((elem, _index57) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
5958
+ path: _path2 + ".snps[" + _index57 + "]",
4215
5959
  expected: "SnpsEntry",
4216
5960
  value: elem
4217
- })) && $vo49(elem, _path2 + ".snps[" + _index53 + "]", _exceptionable2) || $report(_exceptionable2, {
4218
- path: _path2 + ".snps[" + _index53 + "]",
5961
+ })) && $vo51(elem, _path2 + ".snps[" + _index57 + "]", _exceptionable2) || $report(_exceptionable2, {
5962
+ path: _path2 + ".snps[" + _index57 + "]",
4219
5963
  expected: "SnpsEntry",
4220
5964
  value: elem
4221
5965
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -4223,12 +5967,12 @@ var validTermdbClusterResponse = (input) => {
4223
5967
  expected: "(Array<SnpsEntry> | undefined)",
4224
5968
  value: input3.snps
4225
5969
  })].every((flag) => flag);
4226
- const $vo49 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
5970
+ const $vo51 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
4227
5971
  path: _path2 + ".altAlleles",
4228
5972
  expected: "(Array<string> | undefined)",
4229
5973
  value: input3.altAlleles
4230
- })) && input3.altAlleles.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
4231
- path: _path2 + ".altAlleles[" + _index54 + "]",
5974
+ })) && input3.altAlleles.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
5975
+ path: _path2 + ".altAlleles[" + _index58 + "]",
4232
5976
  expected: "string",
4233
5977
  value: elem
4234
5978
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -4239,12 +5983,12 @@ var validTermdbClusterResponse = (input) => {
4239
5983
  path: _path2 + ".alleles",
4240
5984
  expected: "(Array<AllelesEntry> | undefined)",
4241
5985
  value: input3.alleles
4242
- })) && input3.alleles.map((elem, _index55) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
4243
- path: _path2 + ".alleles[" + _index55 + "]",
5986
+ })) && input3.alleles.map((elem, _index59) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
5987
+ path: _path2 + ".alleles[" + _index59 + "]",
4244
5988
  expected: "AllelesEntry",
4245
5989
  value: elem
4246
- })) && $vo50(elem, _path2 + ".alleles[" + _index55 + "]", _exceptionable2) || $report(_exceptionable2, {
4247
- path: _path2 + ".alleles[" + _index55 + "]",
5990
+ })) && $vo52(elem, _path2 + ".alleles[" + _index59 + "]", _exceptionable2) || $report(_exceptionable2, {
5991
+ path: _path2 + ".alleles[" + _index59 + "]",
4248
5992
  expected: "AllelesEntry",
4249
5993
  value: elem
4250
5994
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -4259,7 +6003,7 @@ var validTermdbClusterResponse = (input) => {
4259
6003
  path: _path2 + ".gt2count",
4260
6004
  expected: "(__type.o11 | undefined)",
4261
6005
  value: input3.gt2count
4262
- })) && $vo51(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
6006
+ })) && $vo53(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
4263
6007
  path: _path2 + ".gt2count",
4264
6008
  expected: "(__type.o11 | undefined)",
4265
6009
  value: input3.gt2count
@@ -4288,7 +6032,7 @@ var validTermdbClusterResponse = (input) => {
4288
6032
  expected: "(number | undefined)",
4289
6033
  value: input3.pos
4290
6034
  })].every((flag) => flag);
4291
- const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
6035
+ const $vo52 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
4292
6036
  path: _path2 + ".allele",
4293
6037
  expected: "string",
4294
6038
  value: input3.allele
@@ -4301,7 +6045,7 @@ var validTermdbClusterResponse = (input) => {
4301
6045
  expected: "boolean",
4302
6046
  value: input3.isRef
4303
6047
  })].every((flag) => flag);
4304
- const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
6048
+ const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
4305
6049
  path: _path2 + ".k",
4306
6050
  expected: "string",
4307
6051
  value: input3.k
@@ -4310,7 +6054,7 @@ var validTermdbClusterResponse = (input) => {
4310
6054
  expected: "(number | string)",
4311
6055
  value: input3.v
4312
6056
  })].every((flag) => flag);
4313
- const $vo52 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
6057
+ const $vo54 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
4314
6058
  path: _path2 + ".id",
4315
6059
  expected: "string",
4316
6060
  value: input3.id
@@ -4326,8 +6070,8 @@ var validTermdbClusterResponse = (input) => {
4326
6070
  path: _path2 + ".child_types",
4327
6071
  expected: "(Array<string> | undefined)",
4328
6072
  value: input3.child_types
4329
- })) && input3.child_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
4330
- path: _path2 + ".child_types[" + _index56 + "]",
6073
+ })) && input3.child_types.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
6074
+ path: _path2 + ".child_types[" + _index60 + "]",
4331
6075
  expected: "string",
4332
6076
  value: elem
4333
6077
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -4342,8 +6086,8 @@ var validTermdbClusterResponse = (input) => {
4342
6086
  path: _path2 + ".included_types",
4343
6087
  expected: "(Array<string> | undefined)",
4344
6088
  value: input3.included_types
4345
- })) && input3.included_types.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
4346
- path: _path2 + ".included_types[" + _index57 + "]",
6089
+ })) && input3.included_types.map((elem, _index61) => "string" === typeof elem || $report(_exceptionable2, {
6090
+ path: _path2 + ".included_types[" + _index61 + "]",
4347
6091
  expected: "string",
4348
6092
  value: elem
4349
6093
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -4358,7 +6102,7 @@ var validTermdbClusterResponse = (input) => {
4358
6102
  path: _path2 + ".values",
4359
6103
  expected: "(TermValues & SampleLstTermValues | undefined)",
4360
6104
  value: input3.values
4361
- })) && $vo53(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
6105
+ })) && $vo55(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
4362
6106
  path: _path2 + ".values",
4363
6107
  expected: "(TermValues & SampleLstTermValues | undefined)",
4364
6108
  value: input3.values
@@ -4367,7 +6111,7 @@ var validTermdbClusterResponse = (input) => {
4367
6111
  expected: "(boolean | undefined)",
4368
6112
  value: input3.skipValuesBuild
4369
6113
  })].every((flag) => flag);
4370
- const $vo53 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
6114
+ const $vo55 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
4371
6115
  const value = input3[key];
4372
6116
  if (void 0 === value)
4373
6117
  return true;
@@ -4376,7 +6120,7 @@ var validTermdbClusterResponse = (input) => {
4376
6120
  path: _path2 + $join(key),
4377
6121
  expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
4378
6122
  value
4379
- })) && $vo54(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
6123
+ })) && $vo56(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
4380
6124
  path: _path2 + $join(key),
4381
6125
  expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
4382
6126
  value
@@ -4386,14 +6130,14 @@ var validTermdbClusterResponse = (input) => {
4386
6130
  path: _path2 + $join(key),
4387
6131
  expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
4388
6132
  value
4389
- })) && $vo54(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
6133
+ })) && $vo56(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
4390
6134
  path: _path2 + $join(key),
4391
6135
  expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
4392
6136
  value
4393
6137
  });
4394
6138
  return true;
4395
6139
  }).every((flag) => flag)].every((flag) => flag);
4396
- const $vo54 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
6140
+ const $vo56 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
4397
6141
  path: _path2 + ".key",
4398
6142
  expected: "(string | undefined)",
4399
6143
  value: input3.key
@@ -4437,12 +6181,12 @@ var validTermdbClusterResponse = (input) => {
4437
6181
  path: _path2 + ".list",
4438
6182
  expected: "Array<__type>.o7",
4439
6183
  value: input3.list
4440
- })) && input3.list.map((elem, _index58) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
4441
- path: _path2 + ".list[" + _index58 + "]",
6184
+ })) && input3.list.map((elem, _index62) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
6185
+ path: _path2 + ".list[" + _index62 + "]",
4442
6186
  expected: "__type.o12",
4443
6187
  value: elem
4444
- })) && $vo55(elem, _path2 + ".list[" + _index58 + "]", _exceptionable2) || $report(_exceptionable2, {
4445
- path: _path2 + ".list[" + _index58 + "]",
6188
+ })) && $vo57(elem, _path2 + ".list[" + _index62 + "]", _exceptionable2) || $report(_exceptionable2, {
6189
+ path: _path2 + ".list[" + _index62 + "]",
4446
6190
  expected: "__type.o12",
4447
6191
  value: elem
4448
6192
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -4450,7 +6194,7 @@ var validTermdbClusterResponse = (input) => {
4450
6194
  expected: "Array<__type>.o7",
4451
6195
  value: input3.list
4452
6196
  }), true].every((flag) => flag);
4453
- const $vo55 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
6197
+ const $vo57 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
4454
6198
  path: _path2 + ".sampleId",
4455
6199
  expected: "string",
4456
6200
  value: input3.sampleId
@@ -4483,16 +6227,16 @@ var validTermdbClusterResponse = (input) => {
4483
6227
  })();
4484
6228
  const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
4485
6229
  if (true === input3.startunbounded)
4486
- return $vo28(input3, _path2, _exceptionable2);
6230
+ return $vo29(input3, _path2, _exceptionable2);
4487
6231
  if (true === input3.stopunbounded)
4488
- return $vo30(input3, _path2, _exceptionable2);
4489
- return $vo29(input3, _path2, _exceptionable2);
6232
+ return $vo31(input3, _path2, _exceptionable2);
6233
+ return $vo30(input3, _path2, _exceptionable2);
4490
6234
  })();
4491
6235
  const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
4492
6236
  if ("gene" === input3.kind)
4493
- return $vo40(input3, _path2, _exceptionable2);
4494
- if ("coord" === input3.kind)
4495
6237
  return $vo41(input3, _path2, _exceptionable2);
6238
+ if ("coord" === input3.kind)
6239
+ return $vo42(input3, _path2, _exceptionable2);
4496
6240
  return $report(_exceptionable2, {
4497
6241
  path: _path2,
4498
6242
  expected: "(BaseTerm & Gene | BaseTerm & Coord)",
@@ -4503,65 +6247,78 @@ var validTermdbClusterResponse = (input) => {
4503
6247
  if ("gene" === input3.kind)
4504
6248
  return $vo11(input3, _path2, _exceptionable2);
4505
6249
  if ("coord" === input3.kind)
4506
- return $vo44(input3, _path2, _exceptionable2);
4507
- if ("categorical" === input3.type)
4508
6250
  return $vo45(input3, _path2, _exceptionable2);
4509
- if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || "ssGSEA" === input3.type)
6251
+ if ("categorical" === input3.type)
4510
6252
  return $vo46(input3, _path2, _exceptionable2);
4511
- if ("condition" === input3.type)
6253
+ if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
4512
6254
  return $vo47(input3, _path2, _exceptionable2);
4513
- return $vo48(input3, _path2, false) || $vo52(input3, _path2, false);
6255
+ if ("geneExpression" === input3.type)
6256
+ return $vo48(input3, _path2, _exceptionable2);
6257
+ if ("condition" === input3.type)
6258
+ return $vo49(input3, _path2, _exceptionable2);
6259
+ return $vo50(input3, _path2, false) || $vo54(input3, _path2, false);
4514
6260
  })();
4515
6261
  const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
4516
6262
  if (void 0 !== input3.ranges)
4517
6263
  return $vo23(input3, _path2, _exceptionable2);
4518
- return $vo16(input3, _path2, false) || $vo34(input3, _path2, false) || $vo37(input3, _path2, false);
6264
+ return $vo16(input3, _path2, false) || $vo35(input3, _path2, false) || $vo38(input3, _path2, false);
4519
6265
  })();
4520
6266
  const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
6267
+ if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
6268
+ return $vo24(input3, _path2, _exceptionable2);
6269
+ if ("geneExpression" === input3.type)
6270
+ return $vo33(input3, _path2, _exceptionable2);
6271
+ return $report(_exceptionable2, {
6272
+ path: _path2,
6273
+ expected: "(NumericDictTerm | GeneExpressionTerm)",
6274
+ value: input3
6275
+ });
6276
+ })();
6277
+ const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
4521
6278
  if ("regular-bin" === input3.type)
4522
- return $vo26(input3, _path2, _exceptionable2);
6279
+ return $vo27(input3, _path2, _exceptionable2);
4523
6280
  if ("custom-bin" === input3.type)
4524
- return $vo31(input3, _path2, _exceptionable2);
6281
+ return $vo32(input3, _path2, _exceptionable2);
4525
6282
  return $report(_exceptionable2, {
4526
6283
  path: _path2,
4527
6284
  expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
4528
6285
  value: input3
4529
6286
  });
4530
6287
  })();
4531
- const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
6288
+ const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
4532
6289
  if (true === input3.startunbounded)
4533
- return $vo28(input3, _path2, _exceptionable2);
4534
- if (void 0 !== input3.start)
4535
6290
  return $vo29(input3, _path2, _exceptionable2);
6291
+ if (void 0 !== input3.start)
6292
+ return $vo30(input3, _path2, _exceptionable2);
4536
6293
  return $report(_exceptionable2, {
4537
6294
  path: _path2,
4538
6295
  expected: "(StartUnboundedBin | FullyBoundedBin)",
4539
6296
  value: input3
4540
6297
  });
4541
6298
  })();
4542
- const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
6299
+ const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
4543
6300
  if (void 0 !== input3.stop)
4544
- return $vo29(input3, _path2, _exceptionable2);
4545
- if (true === input3.stopunbounded)
4546
6301
  return $vo30(input3, _path2, _exceptionable2);
6302
+ if (true === input3.stopunbounded)
6303
+ return $vo31(input3, _path2, _exceptionable2);
4547
6304
  return $report(_exceptionable2, {
4548
6305
  path: _path2,
4549
6306
  expected: "(FullyBoundedBin | StopUnboundedBin)",
4550
6307
  value: input3
4551
6308
  });
4552
6309
  })();
4553
- const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
6310
+ const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
4554
6311
  if ("gene" === input3.kind)
4555
- return $vo39(input3, _path2, _exceptionable2);
6312
+ return $vo40(input3, _path2, _exceptionable2);
4556
6313
  if ("coord" === input3.kind)
4557
- return $vo42(input3, _path2, _exceptionable2);
6314
+ return $vo43(input3, _path2, _exceptionable2);
4558
6315
  return $report(_exceptionable2, {
4559
6316
  path: _path2,
4560
6317
  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; })',
4561
6318
  value: input3
4562
6319
  });
4563
6320
  })();
4564
- const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
6321
+ const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
4565
6322
  if (void 0 !== input3.status)
4566
6323
  return $vo0(input3, _path2, _exceptionable2);
4567
6324
  if (void 0 !== input3.clustering)
@@ -4578,7 +6335,7 @@ var validTermdbClusterResponse = (input) => {
4578
6335
  path: _path + "",
4579
6336
  expected: "(ErrorResponse | SingletermResponse | ValidResponse)",
4580
6337
  value: input2
4581
- })) && $vu10(input2, _path + "", true) || $report(true, {
6338
+ })) && $vu11(input2, _path + "", true) || $report(true, {
4582
6339
  path: _path + "",
4583
6340
  expected: "(ErrorResponse | SingletermResponse | ValidResponse)",
4584
6341
  value: input2