@sjcrh/proteinpaint-types 2.140.1 → 2.142.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/brainImaging.js +1 -1
  2. package/dist/{chunk-WKT3H4P4.js → chunk-2VDOPTRV.js} +1581 -693
  3. package/dist/{chunk-AADDTYUL.js → chunk-3BQ57P2P.js} +467 -105
  4. package/dist/{chunk-XXHHUIEV.js → chunk-3L3ASC3B.js} +2634 -2174
  5. package/dist/{chunk-ECF6WSOD.js → chunk-4R265LDJ.js} +467 -105
  6. package/dist/{chunk-FZJ3E7JA.js → chunk-CEDL2QZT.js} +2620 -2160
  7. package/dist/{chunk-PPFFVFUI.js → chunk-DMJFOII6.js} +467 -105
  8. package/dist/{chunk-KS74VVON.js → chunk-FVBXC7SY.js} +467 -105
  9. package/dist/{chunk-2WLN6PMW.js → chunk-GDM7YUXH.js} +2615 -2155
  10. package/dist/{chunk-BWLSDIHM.js → chunk-IR4QSJI7.js} +2610 -2150
  11. package/dist/{chunk-IDP5KXE6.js → chunk-MVMUZSLL.js} +1947 -1487
  12. package/dist/{chunk-EWON4FG5.js → chunk-SMVDKR2O.js} +2441 -2109
  13. package/dist/{chunk-ZA3FDGAD.js → chunk-SOM5WKDM.js} +1014 -488
  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 -2
  27. package/src/dataset.ts +4 -2
  28. package/src/genome.ts +2 -2
  29. package/src/index.ts +1 -0
  30. package/src/terms/categorical.ts +0 -8
  31. package/src/terms/condition.ts +4 -3
  32. package/src/terms/date.ts +20 -0
  33. package/src/terms/geneExpression.ts +20 -16
  34. package/src/terms/geneVariant.ts +3 -0
  35. package/src/terms/metaboliteIntensity.ts +14 -17
  36. package/src/terms/numeric.ts +13 -23
  37. package/src/terms/snp.ts +7 -7
  38. package/src/terms/snps.ts +1 -0
  39. package/src/terms/ssGSEA.ts +9 -13
  40. package/src/terms/tw.ts +11 -6
  41. package/src/terms/updated-types.ts +0 -10
@@ -64,8 +64,8 @@ var validBrainImagingRequest = (input) => {
64
64
  const $io17 = (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 && $io12(input3.filter));
65
65
  const $io18 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io19(elem)));
66
66
  const $io19 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.dt || "number" === typeof input3.dt) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
67
- const $io20 = (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 && $io30(elem)));
68
- const $io21 = (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) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins));
67
+ const $io20 = (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)));
68
+ const $io21 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins));
69
69
  const $io22 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
70
70
  const $io23 = (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);
71
71
  const $io24 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(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);
@@ -73,18 +73,22 @@ var validBrainImagingRequest = (input) => {
73
73
  const $io26 = (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);
74
74
  const $io27 = (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);
75
75
  const $io28 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(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);
76
- const $io29 = (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) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(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 && $io23(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);
77
- const $io30 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
78
- const $io31 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io32(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 && $io33(elem)));
79
- const $io32 = (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) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
80
- const $io33 = (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;
81
- 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)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io40(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
82
- const $io35 = (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) && $io16(input3.values));
83
- const $io36 = (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) && $io16(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 && $io35(elem)));
84
- const $io37 = (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) && $io16(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);
85
- const $io38 = (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) && $io16(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;
86
- 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) && $io16(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 && $io35(elem)));
87
- const $io40 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
76
+ const $io29 = (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) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
77
+ const $io30 = (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) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
78
+ const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins));
79
+ const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins));
80
+ const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io22(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io23(input3.bins));
81
+ const $io34 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
82
+ 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)));
83
+ 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) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild);
84
+ 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;
85
+ 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);
86
+ 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) && $io16(input3.values));
87
+ 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) && $io16(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)));
88
+ 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) && $io16(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);
89
+ 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) && $io16(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;
90
+ 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) && $io16(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)));
91
+ const $io44 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
88
92
  const $iu0 = (input3) => (() => {
89
93
  if ("string" === typeof input3.type)
90
94
  return $io9(input3);
@@ -108,9 +112,9 @@ var validBrainImagingRequest = (input) => {
108
112
  })();
109
113
  const $iu3 = (input3) => (() => {
110
114
  if ("gene" === input3.kind)
111
- return $io37(input3);
115
+ return $io41(input3);
112
116
  if ("coord" === input3.kind)
113
- return $io38(input3);
117
+ return $io42(input3);
114
118
  return false;
115
119
  })();
116
120
  const $iu4 = (input3) => (() => {
@@ -128,19 +132,29 @@ var validBrainImagingRequest = (input) => {
128
132
  return (() => {
129
133
  if ($io14(input3))
130
134
  return $io14(input3);
131
- if ($io31(input3))
132
- return $io31(input3);
133
- if ($io34(input3))
134
- return $io34(input3);
135
+ if ($io35(input3))
136
+ return $io35(input3);
137
+ if ($io38(input3))
138
+ return $io38(input3);
135
139
  return false;
136
140
  })();
137
141
  })();
138
142
  const $iu6 = (input3) => (() => {
139
- if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
143
+ if ("integer" === input3.type || "float" === input3.type)
140
144
  return $io21(input3);
141
- if ("geneExpression" === input3.type)
142
- return $io29(input3);
143
- return false;
145
+ if ("metaboliteIntensity" === input3.type)
146
+ return $io31(input3);
147
+ if ("date" === input3.type)
148
+ return $io32(input3);
149
+ if ("ssGSEA" === input3.type)
150
+ return $io33(input3);
151
+ return (() => {
152
+ if ($io30(input3))
153
+ return $io30(input3);
154
+ if ($io29(input3))
155
+ return $io29(input3);
156
+ return false;
157
+ })();
144
158
  })();
145
159
  const $iu7 = (input3) => (() => {
146
160
  if ("regular-bin" === input3.type)
@@ -165,9 +179,9 @@ var validBrainImagingRequest = (input) => {
165
179
  })();
166
180
  const $iu10 = (input3) => (() => {
167
181
  if ("gene" === input3.kind)
168
- return $io36(input3);
182
+ return $io40(input3);
169
183
  if ("coord" === input3.kind)
170
- return $io39(input3);
184
+ return $io43(input3);
171
185
  return false;
172
186
  })();
173
187
  return "object" === typeof input2 && null !== input2 && $io0(input2);
@@ -781,11 +795,11 @@ var validBrainImagingRequest = (input) => {
781
795
  value: input3.isnot
782
796
  }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
783
797
  path: _path2 + ".term",
784
- expected: "(GeneExpressionTerm | NumericDictTerm)",
798
+ expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
785
799
  value: input3.term
786
800
  })) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
787
801
  path: _path2 + ".term",
788
- expected: "(GeneExpressionTerm | NumericDictTerm)",
802
+ expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
789
803
  value: input3.term
790
804
  }), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
791
805
  path: _path2 + ".ranges",
@@ -811,7 +825,7 @@ var validBrainImagingRequest = (input) => {
811
825
  path: _path2 + ".values[" + _index12 + "]",
812
826
  expected: "__type.o4",
813
827
  value: elem
814
- })) && $vo30(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
828
+ })) && $vo34(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
815
829
  path: _path2 + ".values[" + _index12 + "]",
816
830
  expected: "__type.o4",
817
831
  value: elem
@@ -828,9 +842,9 @@ var validBrainImagingRequest = (input) => {
828
842
  path: _path2 + ".name",
829
843
  expected: "string",
830
844
  value: input3.name
831
- }), "integer" === input3.type || "float" === input3.type || "date" === input3.type || $report(_exceptionable2, {
845
+ }), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
832
846
  path: _path2 + ".type",
833
- expected: '("date" | "float" | "integer")',
847
+ expected: '("float" | "integer")',
834
848
  value: input3.type
835
849
  }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
836
850
  path: _path2 + ".child_types",
@@ -1210,10 +1224,6 @@ var validBrainImagingRequest = (input) => {
1210
1224
  path: _path2 + ".unit",
1211
1225
  expected: "(string | undefined)",
1212
1226
  value: input3.unit
1213
- }), "string" === typeof input3.gene || $report(_exceptionable2, {
1214
- path: _path2 + ".gene",
1215
- expected: "string",
1216
- value: input3.gene
1217
1227
  }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1218
1228
  path: _path2 + ".bins",
1219
1229
  expected: "(PresetNumericBins | undefined)",
@@ -1222,6 +1232,14 @@ var validBrainImagingRequest = (input) => {
1222
1232
  path: _path2 + ".bins",
1223
1233
  expected: "(PresetNumericBins | undefined)",
1224
1234
  value: input3.bins
1235
+ }), void 0 === input3.kind || "gene" === input3.kind || $report(_exceptionable2, {
1236
+ path: _path2 + ".kind",
1237
+ expected: '("gene" | undefined)',
1238
+ value: input3.kind
1239
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
1240
+ path: _path2 + ".gene",
1241
+ expected: "string",
1242
+ value: input3.gene
1225
1243
  }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
1226
1244
  path: _path2 + ".chr",
1227
1245
  expected: "(string | undefined)",
@@ -1235,7 +1253,351 @@ var validBrainImagingRequest = (input) => {
1235
1253
  expected: "(number | undefined)",
1236
1254
  value: input3.stop
1237
1255
  })].every((flag) => flag);
1238
- const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1256
+ const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1257
+ path: _path2 + ".id",
1258
+ expected: "string",
1259
+ value: input3.id
1260
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1261
+ path: _path2 + ".name",
1262
+ expected: "string",
1263
+ value: input3.name
1264
+ }), "geneExpression" === input3.type || $report(_exceptionable2, {
1265
+ path: _path2 + ".type",
1266
+ expected: '"geneExpression"',
1267
+ value: input3.type
1268
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1269
+ path: _path2 + ".child_types",
1270
+ expected: "(Array<string> | undefined)",
1271
+ value: input3.child_types
1272
+ })) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
1273
+ path: _path2 + ".child_types[" + _index18 + "]",
1274
+ expected: "string",
1275
+ value: elem
1276
+ })).every((flag) => flag) || $report(_exceptionable2, {
1277
+ path: _path2 + ".child_types",
1278
+ expected: "(Array<string> | undefined)",
1279
+ value: input3.child_types
1280
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1281
+ path: _path2 + ".hashtmldetail",
1282
+ expected: "(boolean | undefined)",
1283
+ value: input3.hashtmldetail
1284
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1285
+ path: _path2 + ".included_types",
1286
+ expected: "(Array<string> | undefined)",
1287
+ value: input3.included_types
1288
+ })) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
1289
+ path: _path2 + ".included_types[" + _index19 + "]",
1290
+ expected: "string",
1291
+ value: elem
1292
+ })).every((flag) => flag) || $report(_exceptionable2, {
1293
+ path: _path2 + ".included_types",
1294
+ expected: "(Array<string> | undefined)",
1295
+ value: input3.included_types
1296
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1297
+ path: _path2 + ".isleaf",
1298
+ expected: "(boolean | undefined)",
1299
+ value: input3.isleaf
1300
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1301
+ path: _path2 + ".values",
1302
+ expected: "(TermValues | undefined)",
1303
+ value: input3.values
1304
+ })) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1305
+ path: _path2 + ".values",
1306
+ expected: "(TermValues | undefined)",
1307
+ value: input3.values
1308
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1309
+ path: _path2 + ".skipValuesBuild",
1310
+ expected: "(boolean | undefined)",
1311
+ value: input3.skipValuesBuild
1312
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1313
+ path: _path2 + ".continuousColorScale",
1314
+ expected: "(__type.o3 | undefined)",
1315
+ value: input3.continuousColorScale
1316
+ })) && $vo22(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1317
+ path: _path2 + ".continuousColorScale",
1318
+ expected: "(__type.o3 | undefined)",
1319
+ value: input3.continuousColorScale
1320
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1321
+ path: _path2 + ".unit",
1322
+ expected: "(string | undefined)",
1323
+ value: input3.unit
1324
+ }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1325
+ path: _path2 + ".bins",
1326
+ expected: "(PresetNumericBins | undefined)",
1327
+ value: input3.bins
1328
+ })) && $vo23(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1329
+ path: _path2 + ".bins",
1330
+ expected: "(PresetNumericBins | undefined)",
1331
+ value: input3.bins
1332
+ }), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
1333
+ path: _path2 + ".kind",
1334
+ expected: '("coord" | undefined)',
1335
+ value: input3.kind
1336
+ }), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
1337
+ path: _path2 + ".gene",
1338
+ expected: "(string | undefined)",
1339
+ value: input3.gene
1340
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
1341
+ path: _path2 + ".chr",
1342
+ expected: "string",
1343
+ value: input3.chr
1344
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
1345
+ path: _path2 + ".start",
1346
+ expected: "number",
1347
+ value: input3.start
1348
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
1349
+ path: _path2 + ".stop",
1350
+ expected: "number",
1351
+ value: input3.stop
1352
+ })].every((flag) => flag);
1353
+ const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1354
+ path: _path2 + ".id",
1355
+ expected: "string",
1356
+ value: input3.id
1357
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1358
+ path: _path2 + ".name",
1359
+ expected: "string",
1360
+ value: input3.name
1361
+ }), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
1362
+ path: _path2 + ".type",
1363
+ expected: '"metaboliteIntensity"',
1364
+ value: input3.type
1365
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1366
+ path: _path2 + ".child_types",
1367
+ expected: "(Array<string> | undefined)",
1368
+ value: input3.child_types
1369
+ })) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
1370
+ path: _path2 + ".child_types[" + _index20 + "]",
1371
+ expected: "string",
1372
+ value: elem
1373
+ })).every((flag) => flag) || $report(_exceptionable2, {
1374
+ path: _path2 + ".child_types",
1375
+ expected: "(Array<string> | undefined)",
1376
+ value: input3.child_types
1377
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1378
+ path: _path2 + ".hashtmldetail",
1379
+ expected: "(boolean | undefined)",
1380
+ value: input3.hashtmldetail
1381
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1382
+ path: _path2 + ".included_types",
1383
+ expected: "(Array<string> | undefined)",
1384
+ value: input3.included_types
1385
+ })) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
1386
+ path: _path2 + ".included_types[" + _index21 + "]",
1387
+ expected: "string",
1388
+ value: elem
1389
+ })).every((flag) => flag) || $report(_exceptionable2, {
1390
+ path: _path2 + ".included_types",
1391
+ expected: "(Array<string> | undefined)",
1392
+ value: input3.included_types
1393
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1394
+ path: _path2 + ".isleaf",
1395
+ expected: "(boolean | undefined)",
1396
+ value: input3.isleaf
1397
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1398
+ path: _path2 + ".values",
1399
+ expected: "(TermValues | undefined)",
1400
+ value: input3.values
1401
+ })) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1402
+ path: _path2 + ".values",
1403
+ expected: "(TermValues | undefined)",
1404
+ value: input3.values
1405
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1406
+ path: _path2 + ".skipValuesBuild",
1407
+ expected: "(boolean | undefined)",
1408
+ value: input3.skipValuesBuild
1409
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1410
+ path: _path2 + ".continuousColorScale",
1411
+ expected: "(__type.o3 | undefined)",
1412
+ value: input3.continuousColorScale
1413
+ })) && $vo22(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1414
+ path: _path2 + ".continuousColorScale",
1415
+ expected: "(__type.o3 | undefined)",
1416
+ value: input3.continuousColorScale
1417
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1418
+ path: _path2 + ".unit",
1419
+ expected: "(string | undefined)",
1420
+ value: input3.unit
1421
+ }), "string" === typeof input3.metabolite || $report(_exceptionable2, {
1422
+ path: _path2 + ".metabolite",
1423
+ expected: "string",
1424
+ value: input3.metabolite
1425
+ }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1426
+ path: _path2 + ".bins",
1427
+ expected: "(PresetNumericBins | undefined)",
1428
+ value: input3.bins
1429
+ })) && $vo23(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1430
+ path: _path2 + ".bins",
1431
+ expected: "(PresetNumericBins | undefined)",
1432
+ value: input3.bins
1433
+ })].every((flag) => flag);
1434
+ const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1435
+ path: _path2 + ".id",
1436
+ expected: "string",
1437
+ value: input3.id
1438
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1439
+ path: _path2 + ".name",
1440
+ expected: "string",
1441
+ value: input3.name
1442
+ }), "date" === input3.type || $report(_exceptionable2, {
1443
+ path: _path2 + ".type",
1444
+ expected: '"date"',
1445
+ value: input3.type
1446
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1447
+ path: _path2 + ".child_types",
1448
+ expected: "(Array<string> | undefined)",
1449
+ value: input3.child_types
1450
+ })) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
1451
+ path: _path2 + ".child_types[" + _index22 + "]",
1452
+ expected: "string",
1453
+ value: elem
1454
+ })).every((flag) => flag) || $report(_exceptionable2, {
1455
+ path: _path2 + ".child_types",
1456
+ expected: "(Array<string> | undefined)",
1457
+ value: input3.child_types
1458
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1459
+ path: _path2 + ".hashtmldetail",
1460
+ expected: "(boolean | undefined)",
1461
+ value: input3.hashtmldetail
1462
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1463
+ path: _path2 + ".included_types",
1464
+ expected: "(Array<string> | undefined)",
1465
+ value: input3.included_types
1466
+ })) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
1467
+ path: _path2 + ".included_types[" + _index23 + "]",
1468
+ expected: "string",
1469
+ value: elem
1470
+ })).every((flag) => flag) || $report(_exceptionable2, {
1471
+ path: _path2 + ".included_types",
1472
+ expected: "(Array<string> | undefined)",
1473
+ value: input3.included_types
1474
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1475
+ path: _path2 + ".isleaf",
1476
+ expected: "(boolean | undefined)",
1477
+ value: input3.isleaf
1478
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1479
+ path: _path2 + ".values",
1480
+ expected: "(TermValues | undefined)",
1481
+ value: input3.values
1482
+ })) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1483
+ path: _path2 + ".values",
1484
+ expected: "(TermValues | undefined)",
1485
+ value: input3.values
1486
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1487
+ path: _path2 + ".skipValuesBuild",
1488
+ expected: "(boolean | undefined)",
1489
+ value: input3.skipValuesBuild
1490
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1491
+ path: _path2 + ".continuousColorScale",
1492
+ expected: "(__type.o3 | undefined)",
1493
+ value: input3.continuousColorScale
1494
+ })) && $vo22(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1495
+ path: _path2 + ".continuousColorScale",
1496
+ expected: "(__type.o3 | undefined)",
1497
+ value: input3.continuousColorScale
1498
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1499
+ path: _path2 + ".unit",
1500
+ expected: "(string | undefined)",
1501
+ value: input3.unit
1502
+ }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1503
+ path: _path2 + ".bins",
1504
+ expected: "(PresetNumericBins | undefined)",
1505
+ value: input3.bins
1506
+ })) && $vo23(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1507
+ path: _path2 + ".bins",
1508
+ expected: "(PresetNumericBins | undefined)",
1509
+ value: input3.bins
1510
+ })].every((flag) => flag);
1511
+ const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1512
+ path: _path2 + ".id",
1513
+ expected: "string",
1514
+ value: input3.id
1515
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1516
+ path: _path2 + ".name",
1517
+ expected: "string",
1518
+ value: input3.name
1519
+ }), "ssGSEA" === input3.type || $report(_exceptionable2, {
1520
+ path: _path2 + ".type",
1521
+ expected: '"ssGSEA"',
1522
+ value: input3.type
1523
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1524
+ path: _path2 + ".child_types",
1525
+ expected: "(Array<string> | undefined)",
1526
+ value: input3.child_types
1527
+ })) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
1528
+ path: _path2 + ".child_types[" + _index24 + "]",
1529
+ expected: "string",
1530
+ value: elem
1531
+ })).every((flag) => flag) || $report(_exceptionable2, {
1532
+ path: _path2 + ".child_types",
1533
+ expected: "(Array<string> | undefined)",
1534
+ value: input3.child_types
1535
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1536
+ path: _path2 + ".hashtmldetail",
1537
+ expected: "(boolean | undefined)",
1538
+ value: input3.hashtmldetail
1539
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1540
+ path: _path2 + ".included_types",
1541
+ expected: "(Array<string> | undefined)",
1542
+ value: input3.included_types
1543
+ })) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
1544
+ path: _path2 + ".included_types[" + _index25 + "]",
1545
+ expected: "string",
1546
+ value: elem
1547
+ })).every((flag) => flag) || $report(_exceptionable2, {
1548
+ path: _path2 + ".included_types",
1549
+ expected: "(Array<string> | undefined)",
1550
+ value: input3.included_types
1551
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1552
+ path: _path2 + ".isleaf",
1553
+ expected: "(boolean | undefined)",
1554
+ value: input3.isleaf
1555
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1556
+ path: _path2 + ".values",
1557
+ expected: "(TermValues | undefined)",
1558
+ value: input3.values
1559
+ })) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1560
+ path: _path2 + ".values",
1561
+ expected: "(TermValues | undefined)",
1562
+ value: input3.values
1563
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1564
+ path: _path2 + ".skipValuesBuild",
1565
+ expected: "(boolean | undefined)",
1566
+ value: input3.skipValuesBuild
1567
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1568
+ path: _path2 + ".continuousColorScale",
1569
+ expected: "(__type.o3 | undefined)",
1570
+ value: input3.continuousColorScale
1571
+ })) && $vo22(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1572
+ path: _path2 + ".continuousColorScale",
1573
+ expected: "(__type.o3 | undefined)",
1574
+ value: input3.continuousColorScale
1575
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1576
+ path: _path2 + ".unit",
1577
+ expected: "(string | undefined)",
1578
+ value: input3.unit
1579
+ }), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
1580
+ path: _path2 + ".genes",
1581
+ expected: "(Array<string> | undefined)",
1582
+ value: input3.genes
1583
+ })) && input3.genes.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
1584
+ path: _path2 + ".genes[" + _index26 + "]",
1585
+ expected: "string",
1586
+ value: elem
1587
+ })).every((flag) => flag) || $report(_exceptionable2, {
1588
+ path: _path2 + ".genes",
1589
+ expected: "(Array<string> | undefined)",
1590
+ value: input3.genes
1591
+ }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1592
+ path: _path2 + ".bins",
1593
+ expected: "(PresetNumericBins | undefined)",
1594
+ value: input3.bins
1595
+ })) && $vo23(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1596
+ path: _path2 + ".bins",
1597
+ expected: "(PresetNumericBins | undefined)",
1598
+ value: input3.bins
1599
+ })].every((flag) => flag);
1600
+ const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1239
1601
  path: _path2 + ".key",
1240
1602
  expected: "string",
1241
1603
  value: input3.key
@@ -1252,7 +1614,7 @@ var validBrainImagingRequest = (input) => {
1252
1614
  expected: "(string | undefined)",
1253
1615
  value: input3.label
1254
1616
  })].every((flag) => flag);
1255
- const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1617
+ const $vo35 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1256
1618
  path: _path2 + ".join",
1257
1619
  expected: "(string | undefined)",
1258
1620
  value: input3.join
@@ -1264,7 +1626,7 @@ var validBrainImagingRequest = (input) => {
1264
1626
  path: _path2 + ".term",
1265
1627
  expected: "ConditionTerm",
1266
1628
  value: input3.term
1267
- })) && $vo32(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1629
+ })) && $vo36(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1268
1630
  path: _path2 + ".term",
1269
1631
  expected: "ConditionTerm",
1270
1632
  value: input3.term
@@ -1284,12 +1646,12 @@ var validBrainImagingRequest = (input) => {
1284
1646
  path: _path2 + ".grade_and_child",
1285
1647
  expected: "(Array<GradeAndChildEntry> | undefined)",
1286
1648
  value: input3.grade_and_child
1287
- })) && input3.grade_and_child.map((elem, _index18) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1288
- path: _path2 + ".grade_and_child[" + _index18 + "]",
1649
+ })) && input3.grade_and_child.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1650
+ path: _path2 + ".grade_and_child[" + _index27 + "]",
1289
1651
  expected: "GradeAndChildEntry",
1290
1652
  value: elem
1291
- })) && $vo33(elem, _path2 + ".grade_and_child[" + _index18 + "]", _exceptionable2) || $report(_exceptionable2, {
1292
- path: _path2 + ".grade_and_child[" + _index18 + "]",
1653
+ })) && $vo37(elem, _path2 + ".grade_and_child[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
1654
+ path: _path2 + ".grade_and_child[" + _index27 + "]",
1293
1655
  expected: "GradeAndChildEntry",
1294
1656
  value: elem
1295
1657
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1297,7 +1659,7 @@ var validBrainImagingRequest = (input) => {
1297
1659
  expected: "(Array<GradeAndChildEntry> | undefined)",
1298
1660
  value: input3.grade_and_child
1299
1661
  })].every((flag) => flag);
1300
- const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1662
+ const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1301
1663
  path: _path2 + ".id",
1302
1664
  expected: "string",
1303
1665
  value: input3.id
@@ -1313,8 +1675,8 @@ var validBrainImagingRequest = (input) => {
1313
1675
  path: _path2 + ".child_types",
1314
1676
  expected: "(Array<string> | undefined)",
1315
1677
  value: input3.child_types
1316
- })) && input3.child_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
1317
- path: _path2 + ".child_types[" + _index19 + "]",
1678
+ })) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
1679
+ path: _path2 + ".child_types[" + _index28 + "]",
1318
1680
  expected: "string",
1319
1681
  value: elem
1320
1682
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1329,8 +1691,8 @@ var validBrainImagingRequest = (input) => {
1329
1691
  path: _path2 + ".included_types",
1330
1692
  expected: "(Array<string> | undefined)",
1331
1693
  value: input3.included_types
1332
- })) && input3.included_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
1333
- path: _path2 + ".included_types[" + _index20 + "]",
1694
+ })) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
1695
+ path: _path2 + ".included_types[" + _index29 + "]",
1334
1696
  expected: "string",
1335
1697
  value: elem
1336
1698
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1354,7 +1716,7 @@ var validBrainImagingRequest = (input) => {
1354
1716
  expected: "(boolean | undefined)",
1355
1717
  value: input3.skipValuesBuild
1356
1718
  })].every((flag) => flag);
1357
- const $vo33 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1719
+ const $vo37 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1358
1720
  path: _path2 + ".grade",
1359
1721
  expected: "number",
1360
1722
  value: input3.grade
@@ -1371,7 +1733,7 @@ var validBrainImagingRequest = (input) => {
1371
1733
  expected: "string",
1372
1734
  value: input3.child_label
1373
1735
  })].every((flag) => flag);
1374
- const $vo34 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1736
+ const $vo38 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1375
1737
  path: _path2 + ".join",
1376
1738
  expected: "(string | undefined)",
1377
1739
  value: input3.join
@@ -1383,7 +1745,7 @@ var validBrainImagingRequest = (input) => {
1383
1745
  path: _path2 + ".term",
1384
1746
  expected: "DtTerm",
1385
1747
  value: input3.term
1386
- })) && $vo35(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1748
+ })) && $vo39(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1387
1749
  path: _path2 + ".term",
1388
1750
  expected: "DtTerm",
1389
1751
  value: input3.term
@@ -1391,12 +1753,12 @@ var validBrainImagingRequest = (input) => {
1391
1753
  path: _path2 + ".values",
1392
1754
  expected: "Array<__type>.o2",
1393
1755
  value: input3.values
1394
- })) && input3.values.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1395
- path: _path2 + ".values[" + _index21 + "]",
1756
+ })) && input3.values.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1757
+ path: _path2 + ".values[" + _index30 + "]",
1396
1758
  expected: "__type.o5",
1397
1759
  value: elem
1398
- })) && $vo40(elem, _path2 + ".values[" + _index21 + "]", _exceptionable2) || $report(_exceptionable2, {
1399
- path: _path2 + ".values[" + _index21 + "]",
1760
+ })) && $vo44(elem, _path2 + ".values[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
1761
+ path: _path2 + ".values[" + _index30 + "]",
1400
1762
  expected: "__type.o5",
1401
1763
  value: elem
1402
1764
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1412,7 +1774,7 @@ var validBrainImagingRequest = (input) => {
1412
1774
  expected: "(boolean | undefined)",
1413
1775
  value: input3.excludeGeneName
1414
1776
  })].every((flag) => flag);
1415
- const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1777
+ const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1416
1778
  path: _path2 + ".id",
1417
1779
  expected: "string",
1418
1780
  value: input3.id
@@ -1461,7 +1823,7 @@ var validBrainImagingRequest = (input) => {
1461
1823
  expected: "TermValues",
1462
1824
  value: input3.values
1463
1825
  })].every((flag) => flag);
1464
- const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1826
+ const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1465
1827
  path: _path2 + ".id",
1466
1828
  expected: "string",
1467
1829
  value: input3.id
@@ -1477,8 +1839,8 @@ var validBrainImagingRequest = (input) => {
1477
1839
  path: _path2 + ".child_types",
1478
1840
  expected: "(Array<string> | undefined)",
1479
1841
  value: input3.child_types
1480
- })) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
1481
- path: _path2 + ".child_types[" + _index22 + "]",
1842
+ })) && input3.child_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
1843
+ path: _path2 + ".child_types[" + _index31 + "]",
1482
1844
  expected: "string",
1483
1845
  value: elem
1484
1846
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1493,8 +1855,8 @@ var validBrainImagingRequest = (input) => {
1493
1855
  path: _path2 + ".included_types",
1494
1856
  expected: "(Array<string> | undefined)",
1495
1857
  value: input3.included_types
1496
- })) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
1497
- path: _path2 + ".included_types[" + _index23 + "]",
1858
+ })) && input3.included_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
1859
+ path: _path2 + ".included_types[" + _index32 + "]",
1498
1860
  expected: "string",
1499
1861
  value: elem
1500
1862
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1541,12 +1903,12 @@ var validBrainImagingRequest = (input) => {
1541
1903
  path: _path2 + ".genes",
1542
1904
  expected: "Array<GvGeneTerm>",
1543
1905
  value: input3.genes
1544
- })) && input3.genes.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1545
- path: _path2 + ".genes[" + _index24 + "]",
1906
+ })) && input3.genes.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1907
+ path: _path2 + ".genes[" + _index33 + "]",
1546
1908
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1547
1909
  value: elem
1548
- })) && $vu3(elem, _path2 + ".genes[" + _index24 + "]", _exceptionable2) || $report(_exceptionable2, {
1549
- path: _path2 + ".genes[" + _index24 + "]",
1910
+ })) && $vu3(elem, _path2 + ".genes[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
1911
+ path: _path2 + ".genes[" + _index33 + "]",
1550
1912
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1551
1913
  value: elem
1552
1914
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1565,12 +1927,12 @@ var validBrainImagingRequest = (input) => {
1565
1927
  path: _path2 + ".childTerms",
1566
1928
  expected: "(Array<DtTerm> | undefined)",
1567
1929
  value: input3.childTerms
1568
- })) && input3.childTerms.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1569
- path: _path2 + ".childTerms[" + _index25 + "]",
1930
+ })) && input3.childTerms.map((elem, _index34) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1931
+ path: _path2 + ".childTerms[" + _index34 + "]",
1570
1932
  expected: "DtTerm",
1571
1933
  value: elem
1572
- })) && $vo35(elem, _path2 + ".childTerms[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
1573
- path: _path2 + ".childTerms[" + _index25 + "]",
1934
+ })) && $vo39(elem, _path2 + ".childTerms[" + _index34 + "]", _exceptionable2) || $report(_exceptionable2, {
1935
+ path: _path2 + ".childTerms[" + _index34 + "]",
1574
1936
  expected: "DtTerm",
1575
1937
  value: elem
1576
1938
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1578,7 +1940,7 @@ var validBrainImagingRequest = (input) => {
1578
1940
  expected: "(Array<DtTerm> | undefined)",
1579
1941
  value: input3.childTerms
1580
1942
  })].every((flag) => flag);
1581
- const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1943
+ const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1582
1944
  path: _path2 + ".id",
1583
1945
  expected: "string",
1584
1946
  value: input3.id
@@ -1594,8 +1956,8 @@ var validBrainImagingRequest = (input) => {
1594
1956
  path: _path2 + ".child_types",
1595
1957
  expected: "(Array<string> | undefined)",
1596
1958
  value: input3.child_types
1597
- })) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
1598
- path: _path2 + ".child_types[" + _index26 + "]",
1959
+ })) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
1960
+ path: _path2 + ".child_types[" + _index35 + "]",
1599
1961
  expected: "string",
1600
1962
  value: elem
1601
1963
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1610,8 +1972,8 @@ var validBrainImagingRequest = (input) => {
1610
1972
  path: _path2 + ".included_types",
1611
1973
  expected: "(Array<string> | undefined)",
1612
1974
  value: input3.included_types
1613
- })) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
1614
- path: _path2 + ".included_types[" + _index27 + "]",
1975
+ })) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
1976
+ path: _path2 + ".included_types[" + _index36 + "]",
1615
1977
  expected: "string",
1616
1978
  value: elem
1617
1979
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1655,7 +2017,7 @@ var validBrainImagingRequest = (input) => {
1655
2017
  expected: "(number | undefined)",
1656
2018
  value: input3.stop
1657
2019
  })].every((flag) => flag);
1658
- const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2020
+ const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1659
2021
  path: _path2 + ".id",
1660
2022
  expected: "string",
1661
2023
  value: input3.id
@@ -1671,8 +2033,8 @@ var validBrainImagingRequest = (input) => {
1671
2033
  path: _path2 + ".child_types",
1672
2034
  expected: "(Array<string> | undefined)",
1673
2035
  value: input3.child_types
1674
- })) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
1675
- path: _path2 + ".child_types[" + _index28 + "]",
2036
+ })) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
2037
+ path: _path2 + ".child_types[" + _index37 + "]",
1676
2038
  expected: "string",
1677
2039
  value: elem
1678
2040
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1687,8 +2049,8 @@ var validBrainImagingRequest = (input) => {
1687
2049
  path: _path2 + ".included_types",
1688
2050
  expected: "(Array<string> | undefined)",
1689
2051
  value: input3.included_types
1690
- })) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
1691
- path: _path2 + ".included_types[" + _index29 + "]",
2052
+ })) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
2053
+ path: _path2 + ".included_types[" + _index38 + "]",
1692
2054
  expected: "string",
1693
2055
  value: elem
1694
2056
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1728,7 +2090,7 @@ var validBrainImagingRequest = (input) => {
1728
2090
  expected: "number",
1729
2091
  value: input3.stop
1730
2092
  })].every((flag) => flag);
1731
- const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2093
+ const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1732
2094
  path: _path2 + ".id",
1733
2095
  expected: "string",
1734
2096
  value: input3.id
@@ -1744,8 +2106,8 @@ var validBrainImagingRequest = (input) => {
1744
2106
  path: _path2 + ".child_types",
1745
2107
  expected: "(Array<string> | undefined)",
1746
2108
  value: input3.child_types
1747
- })) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
1748
- path: _path2 + ".child_types[" + _index30 + "]",
2109
+ })) && input3.child_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
2110
+ path: _path2 + ".child_types[" + _index39 + "]",
1749
2111
  expected: "string",
1750
2112
  value: elem
1751
2113
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1760,8 +2122,8 @@ var validBrainImagingRequest = (input) => {
1760
2122
  path: _path2 + ".included_types",
1761
2123
  expected: "(Array<string> | undefined)",
1762
2124
  value: input3.included_types
1763
- })) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
1764
- path: _path2 + ".included_types[" + _index31 + "]",
2125
+ })) && input3.included_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
2126
+ path: _path2 + ".included_types[" + _index40 + "]",
1765
2127
  expected: "string",
1766
2128
  value: elem
1767
2129
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1804,12 +2166,12 @@ var validBrainImagingRequest = (input) => {
1804
2166
  path: _path2 + ".genes",
1805
2167
  expected: "Array<GvGeneTerm>",
1806
2168
  value: input3.genes
1807
- })) && input3.genes.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1808
- path: _path2 + ".genes[" + _index32 + "]",
2169
+ })) && input3.genes.map((elem, _index41) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2170
+ path: _path2 + ".genes[" + _index41 + "]",
1809
2171
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1810
2172
  value: elem
1811
- })) && $vu3(elem, _path2 + ".genes[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
1812
- path: _path2 + ".genes[" + _index32 + "]",
2173
+ })) && $vu3(elem, _path2 + ".genes[" + _index41 + "]", _exceptionable2) || $report(_exceptionable2, {
2174
+ path: _path2 + ".genes[" + _index41 + "]",
1813
2175
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1814
2176
  value: elem
1815
2177
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1828,12 +2190,12 @@ var validBrainImagingRequest = (input) => {
1828
2190
  path: _path2 + ".childTerms",
1829
2191
  expected: "(Array<DtTerm> | undefined)",
1830
2192
  value: input3.childTerms
1831
- })) && input3.childTerms.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1832
- path: _path2 + ".childTerms[" + _index33 + "]",
2193
+ })) && input3.childTerms.map((elem, _index42) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2194
+ path: _path2 + ".childTerms[" + _index42 + "]",
1833
2195
  expected: "DtTerm",
1834
2196
  value: elem
1835
- })) && $vo35(elem, _path2 + ".childTerms[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
1836
- path: _path2 + ".childTerms[" + _index33 + "]",
2197
+ })) && $vo39(elem, _path2 + ".childTerms[" + _index42 + "]", _exceptionable2) || $report(_exceptionable2, {
2198
+ path: _path2 + ".childTerms[" + _index42 + "]",
1837
2199
  expected: "DtTerm",
1838
2200
  value: elem
1839
2201
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1841,7 +2203,7 @@ var validBrainImagingRequest = (input) => {
1841
2203
  expected: "(Array<DtTerm> | undefined)",
1842
2204
  value: input3.childTerms
1843
2205
  })].every((flag) => flag);
1844
- const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
2206
+ const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1845
2207
  path: _path2 + ".key",
1846
2208
  expected: "string",
1847
2209
  value: input3.key
@@ -1885,9 +2247,9 @@ var validBrainImagingRequest = (input) => {
1885
2247
  })();
1886
2248
  const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
1887
2249
  if ("gene" === input3.kind)
1888
- return $vo37(input3, _path2, _exceptionable2);
2250
+ return $vo41(input3, _path2, _exceptionable2);
1889
2251
  if ("coord" === input3.kind)
1890
- return $vo38(input3, _path2, _exceptionable2);
2252
+ return $vo42(input3, _path2, _exceptionable2);
1891
2253
  return $report(_exceptionable2, {
1892
2254
  path: _path2,
1893
2255
  expected: "(BaseTerm & Gene | BaseTerm & Coord)",
@@ -1906,18 +2268,18 @@ var validBrainImagingRequest = (input) => {
1906
2268
  const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
1907
2269
  if (void 0 !== input3.ranges)
1908
2270
  return $vo20(input3, _path2, _exceptionable2);
1909
- return $vo14(input3, _path2, false) || $vo31(input3, _path2, false) || $vo34(input3, _path2, false);
2271
+ return $vo14(input3, _path2, false) || $vo35(input3, _path2, false) || $vo38(input3, _path2, false);
1910
2272
  })();
1911
2273
  const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
1912
- if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
2274
+ if ("integer" === input3.type || "float" === input3.type)
1913
2275
  return $vo21(input3, _path2, _exceptionable2);
1914
- if ("geneExpression" === input3.type)
1915
- return $vo29(input3, _path2, _exceptionable2);
1916
- return $report(_exceptionable2, {
1917
- path: _path2,
1918
- expected: "(NumericDictTerm | GeneExpressionTerm)",
1919
- value: input3
1920
- });
2276
+ if ("metaboliteIntensity" === input3.type)
2277
+ return $vo31(input3, _path2, _exceptionable2);
2278
+ if ("date" === input3.type)
2279
+ return $vo32(input3, _path2, _exceptionable2);
2280
+ if ("ssGSEA" === input3.type)
2281
+ return $vo33(input3, _path2, _exceptionable2);
2282
+ return $vo30(input3, _path2, false) || $vo29(input3, _path2, false);
1921
2283
  })();
1922
2284
  const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
1923
2285
  if ("regular-bin" === input3.type)
@@ -1954,9 +2316,9 @@ var validBrainImagingRequest = (input) => {
1954
2316
  })();
1955
2317
  const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
1956
2318
  if ("gene" === input3.kind)
1957
- return $vo36(input3, _path2, _exceptionable2);
2319
+ return $vo40(input3, _path2, _exceptionable2);
1958
2320
  if ("coord" === input3.kind)
1959
- return $vo39(input3, _path2, _exceptionable2);
2321
+ return $vo43(input3, _path2, _exceptionable2);
1960
2322
  return $report(_exceptionable2, {
1961
2323
  path: _path2,
1962
2324
  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; })',