@sjcrh/proteinpaint-types 2.140.1-0 → 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 (39) hide show
  1. package/dist/aiProjectAdmin.js +1 -1
  2. package/dist/brainImaging.js +1 -1
  3. package/dist/{chunk-KDHGWAOS.js → chunk-2WLN6PMW.js} +575 -367
  4. package/dist/{chunk-G5BYLEJC.js → chunk-AADDTYUL.js} +266 -154
  5. package/dist/{chunk-2QKCLUH3.js → chunk-BWLSDIHM.js} +575 -367
  6. package/dist/{chunk-P3Z422N2.js → chunk-ECF6WSOD.js} +266 -154
  7. package/dist/{chunk-NHELOLDH.js → chunk-EWON4FG5.js} +2401 -644
  8. package/dist/{chunk-ZHCVV36H.js → chunk-FZJ3E7JA.js} +579 -371
  9. package/dist/{chunk-34LXTZYA.js → chunk-IDP5KXE6.js} +632 -424
  10. package/dist/{chunk-HJ7XFSJK.js → chunk-KS74VVON.js} +262 -150
  11. package/dist/{chunk-Y6Z6XAFN.js → chunk-PPFFVFUI.js} +266 -154
  12. package/dist/chunk-TMQI47YT.js +189 -0
  13. package/dist/{chunk-5BKOSJEU.js → chunk-WKT3H4P4.js} +731 -409
  14. package/dist/{chunk-F2ZZ5J3F.js → chunk-XXHHUIEV.js} +575 -367
  15. package/dist/{chunk-4S36DRJ4.js → chunk-ZA3FDGAD.js} +465 -255
  16. package/dist/correlationVolcano.js +1 -1
  17. package/dist/index.js +42 -50
  18. package/dist/termdb.boxplot.js +1 -1
  19. package/dist/termdb.categories.js +1 -1
  20. package/dist/termdb.cluster.js +1 -1
  21. package/dist/termdb.descrstats.js +1 -1
  22. package/dist/termdb.numericcategories.js +1 -1
  23. package/dist/termdb.percentile.js +1 -1
  24. package/dist/termdb.termsbyids.js +1 -1
  25. package/dist/termdb.topTermsByType.js +1 -1
  26. package/dist/termdb.topVariablyExpressedGenes.js +1 -1
  27. package/dist/termdb.violin.js +1 -1
  28. package/package.json +1 -1
  29. package/src/dataset.ts +10 -2
  30. package/src/index.ts +0 -1
  31. package/src/routes/aiProjectAdmin.ts +15 -6
  32. package/src/routes/termdb.cluster.ts +6 -6
  33. package/src/terms/geneExpression.ts +13 -17
  34. package/src/terms/numeric.ts +7 -18
  35. package/src/terms/singleCellGeneExpression.ts +3 -4
  36. package/dist/aiProjectList.js +0 -11
  37. package/dist/chunk-4KJDCFS4.js +0 -123
  38. package/dist/chunk-EAHOJPLM.js +0 -96
  39. package/src/routes/aiProjectList.ts +0 -20
@@ -64,26 +64,27 @@ 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 && $io21(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 && $io29(elem)));
68
- const $io21 = (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) && $io16(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && ("object" === typeof input3.bins && null !== input3.bins && $io22(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io28(input3.continuousColorScale));
69
- const $io22 = (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);
70
- const $io23 = (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 && $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);
71
- const $io24 = (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);
72
- const $io25 = (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);
73
- const $io26 = (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);
74
- const $io27 = (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);
75
- const $io28 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
76
- const $io29 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
77
- const $io30 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io31(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 && $io32(elem)));
78
- const $io31 = (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);
79
- const $io32 = (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;
80
- const $io33 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io34(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io39(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
81
- const $io34 = (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) && $io16(input3.values));
82
- const $io35 = (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 && $io34(elem)));
83
- const $io36 = (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);
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) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
85
- const $io38 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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 && $io34(elem)));
86
- const $io39 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
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));
69
+ const $io22 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
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
+ 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);
72
+ const $io25 = (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);
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
+ 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
+ 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;
87
88
  const $iu0 = (input3) => (() => {
88
89
  if ("string" === typeof input3.type)
89
90
  return $io9(input3);
@@ -100,16 +101,16 @@ var validBrainImagingRequest = (input) => {
100
101
  })();
101
102
  const $iu2 = (input3) => (() => {
102
103
  if (true === input3.startunbounded)
103
- return $io24(input3);
104
+ return $io25(input3);
104
105
  if (true === input3.stopunbounded)
105
- return $io26(input3);
106
- return $io25(input3);
106
+ return $io27(input3);
107
+ return $io26(input3);
107
108
  })();
108
109
  const $iu3 = (input3) => (() => {
109
110
  if ("gene" === input3.kind)
110
- return $io36(input3);
111
- if ("coord" === input3.kind)
112
111
  return $io37(input3);
112
+ if ("coord" === input3.kind)
113
+ return $io38(input3);
113
114
  return false;
114
115
  })();
115
116
  const $iu4 = (input3) => (() => {
@@ -127,39 +128,46 @@ var validBrainImagingRequest = (input) => {
127
128
  return (() => {
128
129
  if ($io14(input3))
129
130
  return $io14(input3);
130
- if ($io30(input3))
131
- return $io30(input3);
132
- if ($io33(input3))
133
- return $io33(input3);
131
+ if ($io31(input3))
132
+ return $io31(input3);
133
+ if ($io34(input3))
134
+ return $io34(input3);
134
135
  return false;
135
136
  })();
136
137
  })();
137
138
  const $iu6 = (input3) => (() => {
138
- if ("regular-bin" === input3.type)
139
- return $io23(input3);
140
- if ("custom-bin" === input3.type)
141
- return $io27(input3);
139
+ if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
140
+ return $io21(input3);
141
+ if ("geneExpression" === input3.type)
142
+ return $io29(input3);
142
143
  return false;
143
144
  })();
144
145
  const $iu7 = (input3) => (() => {
145
- if (true === input3.startunbounded)
146
+ if ("regular-bin" === input3.type)
146
147
  return $io24(input3);
147
- if (void 0 !== input3.start)
148
- return $io25(input3);
148
+ if ("custom-bin" === input3.type)
149
+ return $io28(input3);
149
150
  return false;
150
151
  })();
151
152
  const $iu8 = (input3) => (() => {
152
- if (void 0 !== input3.stop)
153
+ if (true === input3.startunbounded)
153
154
  return $io25(input3);
154
- if (true === input3.stopunbounded)
155
+ if (void 0 !== input3.start)
155
156
  return $io26(input3);
156
157
  return false;
157
158
  })();
158
159
  const $iu9 = (input3) => (() => {
160
+ if (void 0 !== input3.stop)
161
+ return $io26(input3);
162
+ if (true === input3.stopunbounded)
163
+ return $io27(input3);
164
+ return false;
165
+ })();
166
+ const $iu10 = (input3) => (() => {
159
167
  if ("gene" === input3.kind)
160
- return $io35(input3);
168
+ return $io36(input3);
161
169
  if ("coord" === input3.kind)
162
- return $io38(input3);
170
+ return $io39(input3);
163
171
  return false;
164
172
  })();
165
173
  return "object" === typeof input2 && null !== input2 && $io0(input2);
@@ -773,11 +781,11 @@ var validBrainImagingRequest = (input) => {
773
781
  value: input3.isnot
774
782
  }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
775
783
  path: _path2 + ".term",
776
- expected: "NumericTerm",
784
+ expected: "(GeneExpressionTerm | NumericDictTerm)",
777
785
  value: input3.term
778
- })) && $vo21(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
786
+ })) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
779
787
  path: _path2 + ".term",
780
- expected: "NumericTerm",
788
+ expected: "(GeneExpressionTerm | NumericDictTerm)",
781
789
  value: input3.term
782
790
  }), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
783
791
  path: _path2 + ".ranges",
@@ -803,7 +811,7 @@ var validBrainImagingRequest = (input) => {
803
811
  path: _path2 + ".values[" + _index12 + "]",
804
812
  expected: "__type.o4",
805
813
  value: elem
806
- })) && $vo29(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
814
+ })) && $vo30(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
807
815
  path: _path2 + ".values[" + _index12 + "]",
808
816
  expected: "__type.o4",
809
817
  value: elem
@@ -820,9 +828,9 @@ var validBrainImagingRequest = (input) => {
820
828
  path: _path2 + ".name",
821
829
  expected: "string",
822
830
  value: input3.name
823
- }), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || "date" === input3.type || "ssGSEA" === input3.type || $report(_exceptionable2, {
831
+ }), "integer" === input3.type || "float" === input3.type || "date" === input3.type || $report(_exceptionable2, {
824
832
  path: _path2 + ".type",
825
- expected: '("date" | "float" | "geneExpression" | "integer" | "metaboliteIntensity" | "ssGSEA")',
833
+ expected: '("date" | "float" | "integer")',
826
834
  value: input3.type
827
835
  }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
828
836
  path: _path2 + ".child_types",
@@ -868,32 +876,41 @@ var validBrainImagingRequest = (input) => {
868
876
  path: _path2 + ".skipValuesBuild",
869
877
  expected: "(boolean | undefined)",
870
878
  value: input3.skipValuesBuild
871
- }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
872
- path: _path2 + ".bins",
873
- expected: "PresetNumericBins",
874
- value: input3.bins
875
- })) && $vo22(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
876
- path: _path2 + ".bins",
877
- expected: "PresetNumericBins",
878
- value: input3.bins
879
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
880
- path: _path2 + ".unit",
881
- expected: "(string | undefined)",
882
- value: input3.unit
883
879
  }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
884
880
  path: _path2 + ".continuousColorScale",
885
881
  expected: "(__type.o3 | undefined)",
886
882
  value: input3.continuousColorScale
887
- })) && $vo28(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
883
+ })) && $vo22(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
888
884
  path: _path2 + ".continuousColorScale",
889
885
  expected: "(__type.o3 | undefined)",
890
886
  value: input3.continuousColorScale
887
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
888
+ path: _path2 + ".unit",
889
+ expected: "(string | undefined)",
890
+ value: input3.unit
891
+ }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
892
+ path: _path2 + ".bins",
893
+ expected: "PresetNumericBins",
894
+ value: input3.bins
895
+ })) && $vo23(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
896
+ path: _path2 + ".bins",
897
+ expected: "PresetNumericBins",
898
+ value: input3.bins
891
899
  })].every((flag) => flag);
892
- const $vo22 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
900
+ const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
901
+ path: _path2 + ".minColor",
902
+ expected: "string",
903
+ value: input3.minColor
904
+ }), "string" === typeof input3.maxColor || $report(_exceptionable2, {
905
+ path: _path2 + ".maxColor",
906
+ expected: "string",
907
+ value: input3.maxColor
908
+ })].every((flag) => flag);
909
+ const $vo23 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
893
910
  path: _path2 + '["default"]',
894
911
  expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
895
912
  value: input3["default"]
896
- })) && $vu6(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
913
+ })) && $vu7(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
897
914
  path: _path2 + '["default"]',
898
915
  expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
899
916
  value: input3["default"]
@@ -901,7 +918,7 @@ var validBrainImagingRequest = (input) => {
901
918
  path: _path2 + ".less",
902
919
  expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
903
920
  value: input3.less
904
- })) && $vu6(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
921
+ })) && $vu7(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
905
922
  path: _path2 + ".less",
906
923
  expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
907
924
  value: input3.less
@@ -926,7 +943,7 @@ var validBrainImagingRequest = (input) => {
926
943
  expected: "(number | undefined)",
927
944
  value: input3.max
928
945
  })].every((flag) => flag);
929
- const $vo23 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
946
+ const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
930
947
  path: _path2 + ".hiddenValues",
931
948
  expected: "(HiddenValues | undefined)",
932
949
  value: input3.hiddenValues
@@ -962,7 +979,7 @@ var validBrainImagingRequest = (input) => {
962
979
  path: _path2 + ".first_bin",
963
980
  expected: "(FullyBoundedBin | StartUnboundedBin)",
964
981
  value: input3.first_bin
965
- })) && $vu7(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
982
+ })) && $vu8(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
966
983
  path: _path2 + ".first_bin",
967
984
  expected: "(FullyBoundedBin | StartUnboundedBin)",
968
985
  value: input3.first_bin
@@ -970,7 +987,7 @@ var validBrainImagingRequest = (input) => {
970
987
  path: _path2 + ".last_bin",
971
988
  expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
972
989
  value: input3.last_bin
973
- })) && $vu8(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
990
+ })) && $vu9(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
974
991
  path: _path2 + ".last_bin",
975
992
  expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
976
993
  value: input3.last_bin
@@ -979,7 +996,7 @@ var validBrainImagingRequest = (input) => {
979
996
  expected: "(number | undefined)",
980
997
  value: input3.label_offset
981
998
  })].every((flag) => flag);
982
- const $vo24 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
999
+ const $vo25 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
983
1000
  path: _path2 + ".startunbounded",
984
1001
  expected: "true",
985
1002
  value: input3.startunbounded
@@ -1004,7 +1021,7 @@ var validBrainImagingRequest = (input) => {
1004
1021
  expected: "(string | undefined)",
1005
1022
  value: input3.label
1006
1023
  })].every((flag) => flag);
1007
- const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
1024
+ const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
1008
1025
  path: _path2 + ".startunbounded",
1009
1026
  expected: "(false | undefined)",
1010
1027
  value: input3.startunbounded
@@ -1033,7 +1050,7 @@ var validBrainImagingRequest = (input) => {
1033
1050
  expected: "(string | undefined)",
1034
1051
  value: input3.label
1035
1052
  })].every((flag) => flag);
1036
- const $vo26 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
1053
+ const $vo27 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
1037
1054
  path: _path2 + ".start",
1038
1055
  expected: "number",
1039
1056
  value: input3.start
@@ -1058,7 +1075,7 @@ var validBrainImagingRequest = (input) => {
1058
1075
  expected: "(string | undefined)",
1059
1076
  value: input3.label
1060
1077
  })].every((flag) => flag);
1061
- const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1078
+ const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1062
1079
  path: _path2 + ".hiddenValues",
1063
1080
  expected: "(HiddenValues | undefined)",
1064
1081
  value: input3.hiddenValues
@@ -1125,16 +1142,100 @@ var validBrainImagingRequest = (input) => {
1125
1142
  expected: '("median" | undefined)',
1126
1143
  value: input3.preferredBins
1127
1144
  })].every((flag) => flag);
1128
- const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
1129
- path: _path2 + ".minColor",
1145
+ const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1146
+ path: _path2 + ".id",
1130
1147
  expected: "string",
1131
- value: input3.minColor
1132
- }), "string" === typeof input3.maxColor || $report(_exceptionable2, {
1133
- path: _path2 + ".maxColor",
1148
+ value: input3.id
1149
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1150
+ path: _path2 + ".name",
1134
1151
  expected: "string",
1135
- value: input3.maxColor
1152
+ value: input3.name
1153
+ }), "geneExpression" === input3.type || $report(_exceptionable2, {
1154
+ path: _path2 + ".type",
1155
+ expected: '"geneExpression"',
1156
+ value: input3.type
1157
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1158
+ path: _path2 + ".child_types",
1159
+ expected: "(Array<string> | undefined)",
1160
+ value: input3.child_types
1161
+ })) && input3.child_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
1162
+ path: _path2 + ".child_types[" + _index16 + "]",
1163
+ expected: "string",
1164
+ value: elem
1165
+ })).every((flag) => flag) || $report(_exceptionable2, {
1166
+ path: _path2 + ".child_types",
1167
+ expected: "(Array<string> | undefined)",
1168
+ value: input3.child_types
1169
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1170
+ path: _path2 + ".hashtmldetail",
1171
+ expected: "(boolean | undefined)",
1172
+ value: input3.hashtmldetail
1173
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1174
+ path: _path2 + ".included_types",
1175
+ expected: "(Array<string> | undefined)",
1176
+ value: input3.included_types
1177
+ })) && input3.included_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
1178
+ path: _path2 + ".included_types[" + _index17 + "]",
1179
+ expected: "string",
1180
+ value: elem
1181
+ })).every((flag) => flag) || $report(_exceptionable2, {
1182
+ path: _path2 + ".included_types",
1183
+ expected: "(Array<string> | undefined)",
1184
+ value: input3.included_types
1185
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1186
+ path: _path2 + ".isleaf",
1187
+ expected: "(boolean | undefined)",
1188
+ value: input3.isleaf
1189
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1190
+ path: _path2 + ".values",
1191
+ expected: "(TermValues | undefined)",
1192
+ value: input3.values
1193
+ })) && $vo16(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1194
+ path: _path2 + ".values",
1195
+ expected: "(TermValues | undefined)",
1196
+ value: input3.values
1197
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1198
+ path: _path2 + ".skipValuesBuild",
1199
+ expected: "(boolean | undefined)",
1200
+ value: input3.skipValuesBuild
1201
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1202
+ path: _path2 + ".continuousColorScale",
1203
+ expected: "(__type.o3 | undefined)",
1204
+ value: input3.continuousColorScale
1205
+ })) && $vo22(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1206
+ path: _path2 + ".continuousColorScale",
1207
+ expected: "(__type.o3 | undefined)",
1208
+ value: input3.continuousColorScale
1209
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1210
+ path: _path2 + ".unit",
1211
+ expected: "(string | undefined)",
1212
+ value: input3.unit
1213
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
1214
+ path: _path2 + ".gene",
1215
+ expected: "string",
1216
+ value: input3.gene
1217
+ }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1218
+ path: _path2 + ".bins",
1219
+ expected: "(PresetNumericBins | undefined)",
1220
+ value: input3.bins
1221
+ })) && $vo23(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1222
+ path: _path2 + ".bins",
1223
+ expected: "(PresetNumericBins | undefined)",
1224
+ value: input3.bins
1225
+ }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
1226
+ path: _path2 + ".chr",
1227
+ expected: "(string | undefined)",
1228
+ value: input3.chr
1229
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
1230
+ path: _path2 + ".start",
1231
+ expected: "(number | undefined)",
1232
+ value: input3.start
1233
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
1234
+ path: _path2 + ".stop",
1235
+ expected: "(number | undefined)",
1236
+ value: input3.stop
1136
1237
  })].every((flag) => flag);
1137
- const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1238
+ const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1138
1239
  path: _path2 + ".key",
1139
1240
  expected: "string",
1140
1241
  value: input3.key
@@ -1151,7 +1252,7 @@ var validBrainImagingRequest = (input) => {
1151
1252
  expected: "(string | undefined)",
1152
1253
  value: input3.label
1153
1254
  })].every((flag) => flag);
1154
- const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1255
+ const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1155
1256
  path: _path2 + ".join",
1156
1257
  expected: "(string | undefined)",
1157
1258
  value: input3.join
@@ -1163,7 +1264,7 @@ var validBrainImagingRequest = (input) => {
1163
1264
  path: _path2 + ".term",
1164
1265
  expected: "ConditionTerm",
1165
1266
  value: input3.term
1166
- })) && $vo31(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1267
+ })) && $vo32(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1167
1268
  path: _path2 + ".term",
1168
1269
  expected: "ConditionTerm",
1169
1270
  value: input3.term
@@ -1183,12 +1284,12 @@ var validBrainImagingRequest = (input) => {
1183
1284
  path: _path2 + ".grade_and_child",
1184
1285
  expected: "(Array<GradeAndChildEntry> | undefined)",
1185
1286
  value: input3.grade_and_child
1186
- })) && input3.grade_and_child.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1187
- path: _path2 + ".grade_and_child[" + _index16 + "]",
1287
+ })) && input3.grade_and_child.map((elem, _index18) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1288
+ path: _path2 + ".grade_and_child[" + _index18 + "]",
1188
1289
  expected: "GradeAndChildEntry",
1189
1290
  value: elem
1190
- })) && $vo32(elem, _path2 + ".grade_and_child[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
1191
- path: _path2 + ".grade_and_child[" + _index16 + "]",
1291
+ })) && $vo33(elem, _path2 + ".grade_and_child[" + _index18 + "]", _exceptionable2) || $report(_exceptionable2, {
1292
+ path: _path2 + ".grade_and_child[" + _index18 + "]",
1192
1293
  expected: "GradeAndChildEntry",
1193
1294
  value: elem
1194
1295
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1196,7 +1297,7 @@ var validBrainImagingRequest = (input) => {
1196
1297
  expected: "(Array<GradeAndChildEntry> | undefined)",
1197
1298
  value: input3.grade_and_child
1198
1299
  })].every((flag) => flag);
1199
- const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1300
+ const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1200
1301
  path: _path2 + ".id",
1201
1302
  expected: "string",
1202
1303
  value: input3.id
@@ -1212,8 +1313,8 @@ var validBrainImagingRequest = (input) => {
1212
1313
  path: _path2 + ".child_types",
1213
1314
  expected: "(Array<string> | undefined)",
1214
1315
  value: input3.child_types
1215
- })) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
1216
- path: _path2 + ".child_types[" + _index17 + "]",
1316
+ })) && input3.child_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
1317
+ path: _path2 + ".child_types[" + _index19 + "]",
1217
1318
  expected: "string",
1218
1319
  value: elem
1219
1320
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1228,8 +1329,8 @@ var validBrainImagingRequest = (input) => {
1228
1329
  path: _path2 + ".included_types",
1229
1330
  expected: "(Array<string> | undefined)",
1230
1331
  value: input3.included_types
1231
- })) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
1232
- path: _path2 + ".included_types[" + _index18 + "]",
1332
+ })) && input3.included_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
1333
+ path: _path2 + ".included_types[" + _index20 + "]",
1233
1334
  expected: "string",
1234
1335
  value: elem
1235
1336
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1253,7 +1354,7 @@ var validBrainImagingRequest = (input) => {
1253
1354
  expected: "(boolean | undefined)",
1254
1355
  value: input3.skipValuesBuild
1255
1356
  })].every((flag) => flag);
1256
- const $vo32 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1357
+ const $vo33 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1257
1358
  path: _path2 + ".grade",
1258
1359
  expected: "number",
1259
1360
  value: input3.grade
@@ -1270,7 +1371,7 @@ var validBrainImagingRequest = (input) => {
1270
1371
  expected: "string",
1271
1372
  value: input3.child_label
1272
1373
  })].every((flag) => flag);
1273
- const $vo33 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1374
+ const $vo34 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1274
1375
  path: _path2 + ".join",
1275
1376
  expected: "(string | undefined)",
1276
1377
  value: input3.join
@@ -1282,7 +1383,7 @@ var validBrainImagingRequest = (input) => {
1282
1383
  path: _path2 + ".term",
1283
1384
  expected: "DtTerm",
1284
1385
  value: input3.term
1285
- })) && $vo34(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1386
+ })) && $vo35(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1286
1387
  path: _path2 + ".term",
1287
1388
  expected: "DtTerm",
1288
1389
  value: input3.term
@@ -1290,12 +1391,12 @@ var validBrainImagingRequest = (input) => {
1290
1391
  path: _path2 + ".values",
1291
1392
  expected: "Array<__type>.o2",
1292
1393
  value: input3.values
1293
- })) && input3.values.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1294
- path: _path2 + ".values[" + _index19 + "]",
1394
+ })) && input3.values.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1395
+ path: _path2 + ".values[" + _index21 + "]",
1295
1396
  expected: "__type.o5",
1296
1397
  value: elem
1297
- })) && $vo39(elem, _path2 + ".values[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
1298
- path: _path2 + ".values[" + _index19 + "]",
1398
+ })) && $vo40(elem, _path2 + ".values[" + _index21 + "]", _exceptionable2) || $report(_exceptionable2, {
1399
+ path: _path2 + ".values[" + _index21 + "]",
1299
1400
  expected: "__type.o5",
1300
1401
  value: elem
1301
1402
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1311,7 +1412,7 @@ var validBrainImagingRequest = (input) => {
1311
1412
  expected: "(boolean | undefined)",
1312
1413
  value: input3.excludeGeneName
1313
1414
  })].every((flag) => flag);
1314
- const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1415
+ const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1315
1416
  path: _path2 + ".id",
1316
1417
  expected: "string",
1317
1418
  value: input3.id
@@ -1331,7 +1432,7 @@ var validBrainImagingRequest = (input) => {
1331
1432
  path: _path2 + ".parentTerm",
1332
1433
  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)',
1333
1434
  value: input3.parentTerm
1334
- })) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
1435
+ })) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
1335
1436
  path: _path2 + ".parentTerm",
1336
1437
  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)',
1337
1438
  value: input3.parentTerm
@@ -1360,7 +1461,7 @@ var validBrainImagingRequest = (input) => {
1360
1461
  expected: "TermValues",
1361
1462
  value: input3.values
1362
1463
  })].every((flag) => flag);
1363
- const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1464
+ const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1364
1465
  path: _path2 + ".id",
1365
1466
  expected: "string",
1366
1467
  value: input3.id
@@ -1376,8 +1477,8 @@ var validBrainImagingRequest = (input) => {
1376
1477
  path: _path2 + ".child_types",
1377
1478
  expected: "(Array<string> | undefined)",
1378
1479
  value: input3.child_types
1379
- })) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
1380
- path: _path2 + ".child_types[" + _index20 + "]",
1480
+ })) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
1481
+ path: _path2 + ".child_types[" + _index22 + "]",
1381
1482
  expected: "string",
1382
1483
  value: elem
1383
1484
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1392,8 +1493,8 @@ var validBrainImagingRequest = (input) => {
1392
1493
  path: _path2 + ".included_types",
1393
1494
  expected: "(Array<string> | undefined)",
1394
1495
  value: input3.included_types
1395
- })) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
1396
- path: _path2 + ".included_types[" + _index21 + "]",
1496
+ })) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
1497
+ path: _path2 + ".included_types[" + _index23 + "]",
1397
1498
  expected: "string",
1398
1499
  value: elem
1399
1500
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1440,12 +1541,12 @@ var validBrainImagingRequest = (input) => {
1440
1541
  path: _path2 + ".genes",
1441
1542
  expected: "Array<GvGeneTerm>",
1442
1543
  value: input3.genes
1443
- })) && input3.genes.map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1444
- path: _path2 + ".genes[" + _index22 + "]",
1544
+ })) && input3.genes.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1545
+ path: _path2 + ".genes[" + _index24 + "]",
1445
1546
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1446
1547
  value: elem
1447
- })) && $vu3(elem, _path2 + ".genes[" + _index22 + "]", _exceptionable2) || $report(_exceptionable2, {
1448
- path: _path2 + ".genes[" + _index22 + "]",
1548
+ })) && $vu3(elem, _path2 + ".genes[" + _index24 + "]", _exceptionable2) || $report(_exceptionable2, {
1549
+ path: _path2 + ".genes[" + _index24 + "]",
1449
1550
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1450
1551
  value: elem
1451
1552
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1464,12 +1565,12 @@ var validBrainImagingRequest = (input) => {
1464
1565
  path: _path2 + ".childTerms",
1465
1566
  expected: "(Array<DtTerm> | undefined)",
1466
1567
  value: input3.childTerms
1467
- })) && input3.childTerms.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1468
- path: _path2 + ".childTerms[" + _index23 + "]",
1568
+ })) && input3.childTerms.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1569
+ path: _path2 + ".childTerms[" + _index25 + "]",
1469
1570
  expected: "DtTerm",
1470
1571
  value: elem
1471
- })) && $vo34(elem, _path2 + ".childTerms[" + _index23 + "]", _exceptionable2) || $report(_exceptionable2, {
1472
- path: _path2 + ".childTerms[" + _index23 + "]",
1572
+ })) && $vo35(elem, _path2 + ".childTerms[" + _index25 + "]", _exceptionable2) || $report(_exceptionable2, {
1573
+ path: _path2 + ".childTerms[" + _index25 + "]",
1473
1574
  expected: "DtTerm",
1474
1575
  value: elem
1475
1576
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1477,7 +1578,7 @@ var validBrainImagingRequest = (input) => {
1477
1578
  expected: "(Array<DtTerm> | undefined)",
1478
1579
  value: input3.childTerms
1479
1580
  })].every((flag) => flag);
1480
- const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1581
+ const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1481
1582
  path: _path2 + ".id",
1482
1583
  expected: "string",
1483
1584
  value: input3.id
@@ -1493,8 +1594,8 @@ var validBrainImagingRequest = (input) => {
1493
1594
  path: _path2 + ".child_types",
1494
1595
  expected: "(Array<string> | undefined)",
1495
1596
  value: input3.child_types
1496
- })) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
1497
- path: _path2 + ".child_types[" + _index24 + "]",
1597
+ })) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
1598
+ path: _path2 + ".child_types[" + _index26 + "]",
1498
1599
  expected: "string",
1499
1600
  value: elem
1500
1601
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1509,8 +1610,8 @@ var validBrainImagingRequest = (input) => {
1509
1610
  path: _path2 + ".included_types",
1510
1611
  expected: "(Array<string> | undefined)",
1511
1612
  value: input3.included_types
1512
- })) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
1513
- path: _path2 + ".included_types[" + _index25 + "]",
1613
+ })) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
1614
+ path: _path2 + ".included_types[" + _index27 + "]",
1514
1615
  expected: "string",
1515
1616
  value: elem
1516
1617
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1554,7 +1655,7 @@ var validBrainImagingRequest = (input) => {
1554
1655
  expected: "(number | undefined)",
1555
1656
  value: input3.stop
1556
1657
  })].every((flag) => flag);
1557
- const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1658
+ const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1558
1659
  path: _path2 + ".id",
1559
1660
  expected: "string",
1560
1661
  value: input3.id
@@ -1570,8 +1671,8 @@ var validBrainImagingRequest = (input) => {
1570
1671
  path: _path2 + ".child_types",
1571
1672
  expected: "(Array<string> | undefined)",
1572
1673
  value: input3.child_types
1573
- })) && input3.child_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
1574
- path: _path2 + ".child_types[" + _index26 + "]",
1674
+ })) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
1675
+ path: _path2 + ".child_types[" + _index28 + "]",
1575
1676
  expected: "string",
1576
1677
  value: elem
1577
1678
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1586,8 +1687,8 @@ var validBrainImagingRequest = (input) => {
1586
1687
  path: _path2 + ".included_types",
1587
1688
  expected: "(Array<string> | undefined)",
1588
1689
  value: input3.included_types
1589
- })) && input3.included_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
1590
- path: _path2 + ".included_types[" + _index27 + "]",
1690
+ })) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
1691
+ path: _path2 + ".included_types[" + _index29 + "]",
1591
1692
  expected: "string",
1592
1693
  value: elem
1593
1694
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1627,7 +1728,7 @@ var validBrainImagingRequest = (input) => {
1627
1728
  expected: "number",
1628
1729
  value: input3.stop
1629
1730
  })].every((flag) => flag);
1630
- const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1731
+ const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1631
1732
  path: _path2 + ".id",
1632
1733
  expected: "string",
1633
1734
  value: input3.id
@@ -1643,8 +1744,8 @@ var validBrainImagingRequest = (input) => {
1643
1744
  path: _path2 + ".child_types",
1644
1745
  expected: "(Array<string> | undefined)",
1645
1746
  value: input3.child_types
1646
- })) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
1647
- path: _path2 + ".child_types[" + _index28 + "]",
1747
+ })) && input3.child_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
1748
+ path: _path2 + ".child_types[" + _index30 + "]",
1648
1749
  expected: "string",
1649
1750
  value: elem
1650
1751
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1659,8 +1760,8 @@ var validBrainImagingRequest = (input) => {
1659
1760
  path: _path2 + ".included_types",
1660
1761
  expected: "(Array<string> | undefined)",
1661
1762
  value: input3.included_types
1662
- })) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
1663
- path: _path2 + ".included_types[" + _index29 + "]",
1763
+ })) && input3.included_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
1764
+ path: _path2 + ".included_types[" + _index31 + "]",
1664
1765
  expected: "string",
1665
1766
  value: elem
1666
1767
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1703,12 +1804,12 @@ var validBrainImagingRequest = (input) => {
1703
1804
  path: _path2 + ".genes",
1704
1805
  expected: "Array<GvGeneTerm>",
1705
1806
  value: input3.genes
1706
- })) && input3.genes.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1707
- path: _path2 + ".genes[" + _index30 + "]",
1807
+ })) && input3.genes.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1808
+ path: _path2 + ".genes[" + _index32 + "]",
1708
1809
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1709
1810
  value: elem
1710
- })) && $vu3(elem, _path2 + ".genes[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
1711
- path: _path2 + ".genes[" + _index30 + "]",
1811
+ })) && $vu3(elem, _path2 + ".genes[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
1812
+ path: _path2 + ".genes[" + _index32 + "]",
1712
1813
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1713
1814
  value: elem
1714
1815
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1727,12 +1828,12 @@ var validBrainImagingRequest = (input) => {
1727
1828
  path: _path2 + ".childTerms",
1728
1829
  expected: "(Array<DtTerm> | undefined)",
1729
1830
  value: input3.childTerms
1730
- })) && input3.childTerms.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1731
- path: _path2 + ".childTerms[" + _index31 + "]",
1831
+ })) && input3.childTerms.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1832
+ path: _path2 + ".childTerms[" + _index33 + "]",
1732
1833
  expected: "DtTerm",
1733
1834
  value: elem
1734
- })) && $vo34(elem, _path2 + ".childTerms[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
1735
- path: _path2 + ".childTerms[" + _index31 + "]",
1835
+ })) && $vo35(elem, _path2 + ".childTerms[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
1836
+ path: _path2 + ".childTerms[" + _index33 + "]",
1736
1837
  expected: "DtTerm",
1737
1838
  value: elem
1738
1839
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1740,7 +1841,7 @@ var validBrainImagingRequest = (input) => {
1740
1841
  expected: "(Array<DtTerm> | undefined)",
1741
1842
  value: input3.childTerms
1742
1843
  })].every((flag) => flag);
1743
- const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1844
+ const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1744
1845
  path: _path2 + ".key",
1745
1846
  expected: "string",
1746
1847
  value: input3.key
@@ -1777,16 +1878,16 @@ var validBrainImagingRequest = (input) => {
1777
1878
  })();
1778
1879
  const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
1779
1880
  if (true === input3.startunbounded)
1780
- return $vo24(input3, _path2, _exceptionable2);
1881
+ return $vo25(input3, _path2, _exceptionable2);
1781
1882
  if (true === input3.stopunbounded)
1782
- return $vo26(input3, _path2, _exceptionable2);
1783
- return $vo25(input3, _path2, _exceptionable2);
1883
+ return $vo27(input3, _path2, _exceptionable2);
1884
+ return $vo26(input3, _path2, _exceptionable2);
1784
1885
  })();
1785
1886
  const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
1786
1887
  if ("gene" === input3.kind)
1787
- return $vo36(input3, _path2, _exceptionable2);
1788
- if ("coord" === input3.kind)
1789
1888
  return $vo37(input3, _path2, _exceptionable2);
1889
+ if ("coord" === input3.kind)
1890
+ return $vo38(input3, _path2, _exceptionable2);
1790
1891
  return $report(_exceptionable2, {
1791
1892
  path: _path2,
1792
1893
  expected: "(BaseTerm & Gene | BaseTerm & Coord)",
@@ -1805,46 +1906,57 @@ var validBrainImagingRequest = (input) => {
1805
1906
  const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
1806
1907
  if (void 0 !== input3.ranges)
1807
1908
  return $vo20(input3, _path2, _exceptionable2);
1808
- return $vo14(input3, _path2, false) || $vo30(input3, _path2, false) || $vo33(input3, _path2, false);
1909
+ return $vo14(input3, _path2, false) || $vo31(input3, _path2, false) || $vo34(input3, _path2, false);
1809
1910
  })();
1810
1911
  const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
1912
+ if ("integer" === input3.type || "float" === input3.type || "date" === input3.type)
1913
+ 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
+ });
1921
+ })();
1922
+ const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
1811
1923
  if ("regular-bin" === input3.type)
1812
- return $vo23(input3, _path2, _exceptionable2);
1924
+ return $vo24(input3, _path2, _exceptionable2);
1813
1925
  if ("custom-bin" === input3.type)
1814
- return $vo27(input3, _path2, _exceptionable2);
1926
+ return $vo28(input3, _path2, _exceptionable2);
1815
1927
  return $report(_exceptionable2, {
1816
1928
  path: _path2,
1817
1929
  expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
1818
1930
  value: input3
1819
1931
  });
1820
1932
  })();
1821
- const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
1933
+ const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
1822
1934
  if (true === input3.startunbounded)
1823
- return $vo24(input3, _path2, _exceptionable2);
1824
- if (void 0 !== input3.start)
1825
1935
  return $vo25(input3, _path2, _exceptionable2);
1936
+ if (void 0 !== input3.start)
1937
+ return $vo26(input3, _path2, _exceptionable2);
1826
1938
  return $report(_exceptionable2, {
1827
1939
  path: _path2,
1828
1940
  expected: "(StartUnboundedBin | FullyBoundedBin)",
1829
1941
  value: input3
1830
1942
  });
1831
1943
  })();
1832
- const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
1944
+ const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
1833
1945
  if (void 0 !== input3.stop)
1834
- return $vo25(input3, _path2, _exceptionable2);
1835
- if (true === input3.stopunbounded)
1836
1946
  return $vo26(input3, _path2, _exceptionable2);
1947
+ if (true === input3.stopunbounded)
1948
+ return $vo27(input3, _path2, _exceptionable2);
1837
1949
  return $report(_exceptionable2, {
1838
1950
  path: _path2,
1839
1951
  expected: "(FullyBoundedBin | StopUnboundedBin)",
1840
1952
  value: input3
1841
1953
  });
1842
1954
  })();
1843
- const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
1955
+ const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
1844
1956
  if ("gene" === input3.kind)
1845
- return $vo35(input3, _path2, _exceptionable2);
1957
+ return $vo36(input3, _path2, _exceptionable2);
1846
1958
  if ("coord" === input3.kind)
1847
- return $vo38(input3, _path2, _exceptionable2);
1959
+ return $vo39(input3, _path2, _exceptionable2);
1848
1960
  return $report(_exceptionable2, {
1849
1961
  path: _path2,
1850
1962
  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; })',