@sjcrh/proteinpaint-types 2.119.0 → 2.121.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 (48) hide show
  1. package/dist/brainImaging.js +1 -1
  2. package/dist/{chunk-T2CSA2MC.js → chunk-3ZT4UCFM.js} +366 -512
  3. package/dist/{chunk-4V46EBDF.js → chunk-5XRJ5ATE.js} +916 -1264
  4. package/dist/{chunk-BM3JLR6T.js → chunk-AGSW7G4T.js} +905 -1253
  5. package/dist/{chunk-J6SJ4M3S.js → chunk-F64WJMRL.js} +1094 -1306
  6. package/dist/{chunk-YURGGHZI.js → chunk-K7P6C6KU.js} +731 -1079
  7. package/dist/{chunk-GI4NNB34.js → chunk-LBGUOJR3.js} +366 -512
  8. package/dist/{chunk-OL4OMJSP.js → chunk-NCFUZ5VV.js} +903 -1139
  9. package/dist/{chunk-GD3KAF6V.js → chunk-QMWUUGEK.js} +457 -603
  10. package/dist/{chunk-DL4UYYVE.js → chunk-RX5EB2HL.js} +366 -512
  11. package/dist/{chunk-ROPNHRVV.js → chunk-SQBZAOWB.js} +366 -512
  12. package/dist/{chunk-7NNYHDAK.js → chunk-XPOHYEAY.js} +917 -1265
  13. package/dist/{chunk-UVOO2LBD.js → chunk-ZMOSABYP.js} +916 -1264
  14. package/dist/correlationVolcano.js +1 -1
  15. package/dist/index.js +12 -12
  16. package/dist/termdb.boxplot.js +1 -1
  17. package/dist/termdb.categories.js +1 -1
  18. package/dist/termdb.cluster.js +1 -1
  19. package/dist/termdb.descrstats.js +1 -1
  20. package/dist/termdb.numericcategories.js +1 -1
  21. package/dist/termdb.percentile.js +1 -1
  22. package/dist/termdb.termsbyids.js +1 -1
  23. package/dist/termdb.topTermsByType.js +1 -1
  24. package/dist/termdb.topVariablyExpressedGenes.js +1 -1
  25. package/dist/termdb.violin.js +1 -1
  26. package/package.json +1 -1
  27. package/src/filter.ts +12 -67
  28. package/src/genome.ts +1 -1
  29. package/src/routes/hicgenome.ts +1 -1
  30. package/src/routes/isoformlst.ts +1 -1
  31. package/src/routes/termdb.cohorts.ts +1 -1
  32. package/src/routes/termdb.singlecellData.ts +1 -1
  33. package/src/terms/categorical.ts +3 -3
  34. package/src/terms/condition.ts +2 -2
  35. package/src/terms/geneExpression.ts +3 -3
  36. package/src/terms/geneVariant.ts +58 -19
  37. package/src/terms/metaboliteIntensity.ts +4 -4
  38. package/src/terms/q.ts +1 -1
  39. package/src/terms/samplelst.ts +3 -3
  40. package/src/terms/singleCellCellType.ts +2 -2
  41. package/src/terms/singleCellGeneExpression.ts +4 -5
  42. package/src/terms/snp.ts +3 -3
  43. package/src/terms/snps.ts +4 -4
  44. package/src/terms/term.ts +14 -8
  45. package/src/terms/tw.ts +7 -8
  46. package/src/terms/updated-types.ts +5 -4
  47. package/src/termsetting.ts +4 -4
  48. package/src/test/numeric.type.spec.ts +2 -2
@@ -22,7 +22,7 @@ var validBrainImagingRequest = (input) => {
22
22
  const __is = (input2) => {
23
23
  const $join = import_typia.createValidate.join;
24
24
  const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.refKey && (void 0 === input3.l || "string" === typeof input3.l) && (void 0 === input3.f || "string" === typeof input3.f) && (void 0 === input3.t || "string" === typeof input3.t) && (Array.isArray(input3.selectedSampleFileNames) && input3.selectedSampleFileNames.every((elem) => "string" === typeof elem)) && (void 0 === input3.divideByTW || "object" === typeof input3.divideByTW && null !== input3.divideByTW && $io1(input3.divideByTW)) && (void 0 === input3.overlayTW || "object" === typeof input3.overlayTW && null !== input3.overlayTW && $io1(input3.overlayTW)) && (void 0 === input3.legendFilter || Array.isArray(input3.legendFilter) && input3.legendFilter.every((elem) => "string" === typeof elem));
25
- const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && "string" === typeof input3.$id && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu4(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io12(input3.term));
25
+ const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu3(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io20(input3.term));
26
26
  const $io2 = (input3) => Object.keys(input3).every((key) => {
27
27
  const value = input3[key];
28
28
  if (void 0 === value)
@@ -46,44 +46,44 @@ var validBrainImagingRequest = (input) => {
46
46
  const $io8 = (input3) => Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem));
47
47
  const $io9 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io10(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
48
48
  const $io10 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
49
- const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && true && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
50
- const $io12 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io13(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting));
51
- const $io13 = (input3) => Object.keys(input3).every((key) => {
49
+ const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io12(input3.filter)) && "boolean" === typeof input3.uncomputable;
50
+ const $io12 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io13(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io14(elem))) && ("object" === typeof input3.active && null !== input3.active && $io17(input3.active)) && "number" === typeof input3.group;
51
+ const $io13 = (input3) => Array.isArray(input3.joinWith) && input3.joinWith.every((elem) => "string" === typeof elem);
52
+ const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && 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) && $io15(input3.values));
53
+ const $io15 = (input3) => Object.keys(input3).every((key) => {
52
54
  const value = input3[key];
53
55
  if (void 0 === value)
54
56
  return true;
55
57
  if (RegExp(/(.*)/).test(key))
56
- return "object" === typeof value && null !== value && false === Array.isArray(value) && $io14(value);
58
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io16(value);
57
59
  if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
58
- return "object" === typeof value && null !== value && false === Array.isArray(value) && $io14(value);
60
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io16(value);
59
61
  return true;
60
62
  });
61
- const $io14 = (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 && $io15(input3.filter));
62
- const $io15 = (input3) => "lst" === input3.type && (void 0 === input3["in"] || "boolean" === typeof input3["in"]) && ("and" === input3.join || "or" === input3.join) && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
63
- const $io16 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io12(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io14(elem)));
64
- const $io17 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io18(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 && $io26(elem)));
65
- const $io18 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === 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) && $io13(input3.values)) && true && ("object" === typeof input3.bins && null !== input3.bins && $io19(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io25(input3.continuousColorScale));
66
- const $io19 = (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);
67
- const $io20 = (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);
68
- const $io21 = (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);
69
- const $io22 = (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);
70
- const $io23 = (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);
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) && "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);
72
- const $io25 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
73
- const $io26 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
74
- const $io27 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io28(input3.term)) && (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 && $io29(elem)));
75
- const $io28 = (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) && $io13(input3.values)) && true;
76
- const $io29 = (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;
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 && $iu9(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem)));
78
- const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io13(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting)) && "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);
79
- const $io32 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
80
- const $io33 = (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.id || "string" === typeof input3.id) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
81
- const $io34 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
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) && $io13(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
83
- const $io36 = (input3) => 1 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
84
- const $io37 = (input3) => 4 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
85
- const $io38 = (input3) => 5 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
86
- const $io39 = (input3) => 2 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
63
+ const $io16 = (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 && $io17(input3.filter));
64
+ const $io17 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
65
+ const $io18 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu4(input3.tvs));
66
+ const $io19 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io20(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io16(elem)));
67
+ const $io20 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io15(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io21(input3.filter)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu5(input3.groupsetting));
68
+ const $io21 = (input3) => "object" === typeof input3.opts && null !== input3.opts && $io13(input3.opts) && (Array.isArray(input3.terms) && input3.terms.every((elem) => "object" === typeof elem && null !== elem && $io14(elem)));
69
+ const $io22 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io23(elem)));
70
+ const $io23 = (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.id || "string" === typeof input3.id) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
71
+ const $io24 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
72
+ const $io25 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io26(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)));
73
+ const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === 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) && $io15(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io21(input3.filter)) && ("object" === typeof input3.bins && null !== input3.bins && $io27(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io33(input3.continuousColorScale));
74
+ const $io27 = (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);
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) && "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);
76
+ const $io29 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
77
+ const $io30 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
78
+ const $io31 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
79
+ const $io32 = (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);
80
+ const $io33 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
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) && $io15(input3.values)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io21(input3.filter));
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 && $io14(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
86
+ const $io39 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
87
87
  const $iu0 = (input3) => (() => {
88
88
  if ("string" === typeof input3.type)
89
89
  return $io9(input3);
@@ -92,39 +92,20 @@ var validBrainImagingRequest = (input) => {
92
92
  return false;
93
93
  })();
94
94
  const $iu1 = (input3) => (() => {
95
- if (void 0 !== input3.type)
96
- return $io15(input3);
97
- if (void 0 !== input3.ranges)
95
+ if ("tvslst" === input3.type)
98
96
  return $io17(input3);
99
- return (() => {
100
- if ($io16(input3))
101
- return $io16(input3);
102
- if ($io27(input3))
103
- return $io27(input3);
104
- if ($io30(input3))
105
- return $io30(input3);
106
- return false;
107
- })();
97
+ if ("tvs" === input3.type)
98
+ return $io18(input3);
99
+ return false;
108
100
  })();
109
101
  const $iu2 = (input3) => (() => {
110
102
  if (true === input3.startunbounded)
111
- return $io21(input3);
103
+ return $io29(input3);
112
104
  if (true === input3.stopunbounded)
113
- return $io23(input3);
114
- return $io22(input3);
105
+ return $io31(input3);
106
+ return $io30(input3);
115
107
  })();
116
108
  const $iu3 = (input3) => (() => {
117
- if (2 === input3.dt)
118
- return $io39(input3);
119
- if (5 === input3.dt)
120
- return $io38(input3);
121
- if (4 === input3.dt)
122
- return $io37(input3);
123
- if (1 === input3.dt)
124
- return $io36(input3);
125
- return false;
126
- })();
127
- const $iu4 = (input3) => (() => {
128
109
  if ("values" === input3.type)
129
110
  return $io3(input3);
130
111
  if ("predefined-groupset" === input3.type)
@@ -133,37 +114,43 @@ var validBrainImagingRequest = (input) => {
133
114
  return $io7(input3);
134
115
  return $io5(input3);
135
116
  })();
117
+ const $iu4 = (input3) => (() => {
118
+ if (void 0 !== input3.ranges)
119
+ return $io25(input3);
120
+ return (() => {
121
+ if ($io19(input3))
122
+ return $io19(input3);
123
+ if ($io35(input3))
124
+ return $io35(input3);
125
+ if ($io38(input3))
126
+ return $io38(input3);
127
+ return false;
128
+ })();
129
+ })();
136
130
  const $iu5 = (input3) => (() => {
137
- if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)))
138
- return $io32(input3);
139
- return $io34(input3);
131
+ if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io23(elem)))
132
+ return $io22(input3);
133
+ return $io24(input3);
140
134
  })();
141
135
  const $iu6 = (input3) => (() => {
142
136
  if ("regular-bin" === input3.type)
143
- return $io20(input3);
137
+ return $io28(input3);
144
138
  if ("custom-bin" === input3.type)
145
- return $io24(input3);
139
+ return $io32(input3);
146
140
  return false;
147
141
  })();
148
142
  const $iu7 = (input3) => (() => {
149
143
  if (true === input3.startunbounded)
150
- return $io21(input3);
144
+ return $io29(input3);
151
145
  if (void 0 !== input3.start)
152
- return $io22(input3);
146
+ return $io30(input3);
153
147
  return false;
154
148
  })();
155
149
  const $iu8 = (input3) => (() => {
156
150
  if (void 0 !== input3.stop)
157
- return $io22(input3);
151
+ return $io30(input3);
158
152
  if (true === input3.stopunbounded)
159
- return $io23(input3);
160
- return false;
161
- })();
162
- const $iu9 = (input3) => (() => {
163
- if ("gene" === input3.kind)
164
153
  return $io31(input3);
165
- if ("coord" === input3.kind)
166
- return $io35(input3);
167
154
  return false;
168
155
  })();
169
156
  return "object" === typeof input2 && null !== input2 && $io0(input2);
@@ -241,9 +228,9 @@ var validBrainImagingRequest = (input) => {
241
228
  path: _path2 + ".id",
242
229
  expected: "(string | undefined)",
243
230
  value: input3.id
244
- }), "string" === typeof input3.$id || $report(_exceptionable2, {
231
+ }), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
245
232
  path: _path2 + ".$id",
246
- expected: "string",
233
+ expected: "(string | undefined)",
247
234
  value: input3.$id
248
235
  }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
249
236
  path: _path2 + ".isAtomic",
@@ -269,7 +256,7 @@ var validBrainImagingRequest = (input) => {
269
256
  path: _path2 + ".q",
270
257
  expected: "(CustomGroupSettingQ | FilterQ | PredefinedGroupSettingQ | ValuesQ)",
271
258
  value: input3.q
272
- })) && $vu4(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
259
+ })) && $vu3(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
273
260
  path: _path2 + ".q",
274
261
  expected: "(CustomGroupSettingQ | FilterQ | PredefinedGroupSettingQ | ValuesQ)",
275
262
  value: input3.q
@@ -277,7 +264,7 @@ var validBrainImagingRequest = (input) => {
277
264
  path: _path2 + ".term",
278
265
  expected: "CategoricalTerm",
279
266
  value: input3.term
280
- })) && $vo12(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
267
+ })) && $vo20(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
281
268
  path: _path2 + ".term",
282
269
  expected: "CategoricalTerm",
283
270
  value: input3.term
@@ -493,73 +480,111 @@ var validBrainImagingRequest = (input) => {
493
480
  path: _path2 + ".type",
494
481
  expected: '"filter"',
495
482
  value: input3.type
496
- }), true, void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
483
+ }), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
484
+ path: _path2 + ".filter",
485
+ expected: "TermFilter & { active: Filter; group: number; }",
486
+ value: input3.filter
487
+ })) && $vo12(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
488
+ path: _path2 + ".filter",
489
+ expected: "TermFilter & { active: Filter; group: number; }",
490
+ value: input3.filter
491
+ }), "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
497
492
  path: _path2 + ".uncomputable",
498
- expected: "(boolean | undefined)",
493
+ expected: "boolean",
499
494
  value: input3.uncomputable
500
495
  })].every((flag) => flag);
501
- const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
496
+ const $vo12 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
497
+ path: _path2 + ".opts",
498
+ expected: "__type.o2",
499
+ value: input3.opts
500
+ })) && $vo13(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
501
+ path: _path2 + ".opts",
502
+ expected: "__type.o2",
503
+ value: input3.opts
504
+ }), (Array.isArray(input3.terms) || $report(_exceptionable2, {
505
+ path: _path2 + ".terms",
506
+ expected: "Array<DtTerm>",
507
+ value: input3.terms
508
+ })) && input3.terms.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
509
+ path: _path2 + ".terms[" + _index5 + "]",
510
+ expected: "DtTerm",
511
+ value: elem
512
+ })) && $vo14(elem, _path2 + ".terms[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
513
+ path: _path2 + ".terms[" + _index5 + "]",
514
+ expected: "DtTerm",
515
+ value: elem
516
+ })).every((flag) => flag) || $report(_exceptionable2, {
517
+ path: _path2 + ".terms",
518
+ expected: "Array<DtTerm>",
519
+ value: input3.terms
520
+ }), ("object" === typeof input3.active && null !== input3.active || $report(_exceptionable2, {
521
+ path: _path2 + ".active",
522
+ expected: "Filter",
523
+ value: input3.active
524
+ })) && $vo17(input3.active, _path2 + ".active", _exceptionable2) || $report(_exceptionable2, {
525
+ path: _path2 + ".active",
526
+ expected: "Filter",
527
+ value: input3.active
528
+ }), "number" === typeof input3.group || $report(_exceptionable2, {
529
+ path: _path2 + ".group",
530
+ expected: "number",
531
+ value: input3.group
532
+ })].every((flag) => flag);
533
+ const $vo13 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.joinWith) || $report(_exceptionable2, {
534
+ path: _path2 + ".joinWith",
535
+ expected: "Array<string>",
536
+ value: input3.joinWith
537
+ })) && input3.joinWith.map((elem, _index6) => "string" === typeof elem || $report(_exceptionable2, {
538
+ path: _path2 + ".joinWith[" + _index6 + "]",
539
+ expected: "string",
540
+ value: elem
541
+ })).every((flag) => flag) || $report(_exceptionable2, {
542
+ path: _path2 + ".joinWith",
543
+ expected: "Array<string>",
544
+ value: input3.joinWith
545
+ })].every((flag) => flag);
546
+ const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
502
547
  path: _path2 + ".id",
503
548
  expected: "string",
504
549
  value: input3.id
550
+ }), "string" === typeof input3.query || $report(_exceptionable2, {
551
+ path: _path2 + ".query",
552
+ expected: "string",
553
+ value: input3.query
505
554
  }), "string" === typeof input3.name || $report(_exceptionable2, {
506
555
  path: _path2 + ".name",
507
556
  expected: "string",
508
557
  value: input3.name
509
- }), "categorical" === input3.type || $report(_exceptionable2, {
510
- path: _path2 + ".type",
511
- expected: '"categorical"',
512
- value: input3.type
513
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
514
- path: _path2 + ".child_types",
515
- expected: "(Array<string> | undefined)",
516
- value: input3.child_types
517
- })) && input3.child_types.map((elem, _index5) => "string" === typeof elem || $report(_exceptionable2, {
518
- path: _path2 + ".child_types[" + _index5 + "]",
558
+ }), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
559
+ path: _path2 + ".name_noOrigin",
519
560
  expected: "string",
520
- value: elem
521
- })).every((flag) => flag) || $report(_exceptionable2, {
522
- path: _path2 + ".child_types",
523
- expected: "(Array<string> | undefined)",
524
- value: input3.child_types
525
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
526
- path: _path2 + ".hashtmldetail",
527
- expected: "(boolean | undefined)",
528
- value: input3.hashtmldetail
529
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
530
- path: _path2 + ".included_types",
531
- expected: "(Array<string> | undefined)",
532
- value: input3.included_types
533
- })) && input3.included_types.map((elem, _index6) => "string" === typeof elem || $report(_exceptionable2, {
534
- path: _path2 + ".included_types[" + _index6 + "]",
535
- expected: "string",
536
- value: elem
537
- })).every((flag) => flag) || $report(_exceptionable2, {
538
- path: _path2 + ".included_types",
539
- expected: "(Array<string> | undefined)",
540
- value: input3.included_types
541
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
561
+ value: input3.name_noOrigin
562
+ }), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
542
563
  path: _path2 + ".isleaf",
543
- expected: "(boolean | undefined)",
564
+ expected: "boolean",
544
565
  value: input3.isleaf
545
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
566
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
567
+ path: _path2 + ".type",
568
+ expected: "string",
569
+ value: input3.type
570
+ }), "number" === typeof input3.dt || $report(_exceptionable2, {
571
+ path: _path2 + ".dt",
572
+ expected: "number",
573
+ value: input3.dt
574
+ }), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
575
+ path: _path2 + ".origin",
576
+ expected: "(string | undefined)",
577
+ value: input3.origin
578
+ }), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
546
579
  path: _path2 + ".values",
547
- expected: "(TermValues | undefined)",
580
+ expected: "TermValues",
548
581
  value: input3.values
549
- })) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
582
+ })) && $vo15(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
550
583
  path: _path2 + ".values",
551
- expected: "(TermValues | undefined)",
584
+ expected: "TermValues",
552
585
  value: input3.values
553
- }), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
554
- path: _path2 + ".groupsetting",
555
- expected: "(EnabledTermGroupSetting | __type.o4)",
556
- value: input3.groupsetting
557
- })) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
558
- path: _path2 + ".groupsetting",
559
- expected: "(EnabledTermGroupSetting | __type.o4)",
560
- value: input3.groupsetting
561
586
  })].every((flag) => flag);
562
- const $vo13 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
587
+ const $vo15 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
563
588
  const value = input3[key];
564
589
  if (void 0 === value)
565
590
  return true;
@@ -568,7 +593,7 @@ var validBrainImagingRequest = (input) => {
568
593
  path: _path2 + $join(key),
569
594
  expected: "BaseValue",
570
595
  value
571
- })) && $vo14(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
596
+ })) && $vo16(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
572
597
  path: _path2 + $join(key),
573
598
  expected: "BaseValue",
574
599
  value
@@ -578,14 +603,14 @@ var validBrainImagingRequest = (input) => {
578
603
  path: _path2 + $join(key),
579
604
  expected: "BaseValue",
580
605
  value
581
- })) && $vo14(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
606
+ })) && $vo16(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
582
607
  path: _path2 + $join(key),
583
608
  expected: "BaseValue",
584
609
  value
585
610
  });
586
611
  return true;
587
612
  }).every((flag) => flag)].every((flag) => flag);
588
- const $vo14 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
613
+ const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
589
614
  path: _path2 + ".key",
590
615
  expected: "(string | undefined)",
591
616
  value: input3.key
@@ -613,22 +638,22 @@ var validBrainImagingRequest = (input) => {
613
638
  path: _path2 + ".filter",
614
639
  expected: "(Filter | undefined)",
615
640
  value: input3.filter
616
- })) && $vo15(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
641
+ })) && $vo17(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
617
642
  path: _path2 + ".filter",
618
643
  expected: "(Filter | undefined)",
619
644
  value: input3.filter
620
645
  })].every((flag) => flag);
621
- const $vo15 = (input3, _path2, _exceptionable2 = true) => ["lst" === input3.type || $report(_exceptionable2, {
646
+ const $vo17 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
622
647
  path: _path2 + ".type",
623
- expected: '"lst"',
648
+ expected: '"tvslst"',
624
649
  value: input3.type
625
- }), void 0 === input3["in"] || "boolean" === typeof input3["in"] || $report(_exceptionable2, {
650
+ }), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
626
651
  path: _path2 + '["in"]',
627
- expected: "(boolean | undefined)",
652
+ expected: "boolean",
628
653
  value: input3["in"]
629
- }), "and" === input3.join || "or" === input3.join || $report(_exceptionable2, {
654
+ }), "string" === typeof input3.join || $report(_exceptionable2, {
630
655
  path: _path2 + ".join",
631
- expected: '("and" | "or")',
656
+ expected: "string",
632
657
  value: input3.join
633
658
  }), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
634
659
  path: _path2 + ".tag",
@@ -636,22 +661,35 @@ var validBrainImagingRequest = (input) => {
636
661
  value: input3.tag
637
662
  }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
638
663
  path: _path2 + ".lst",
639
- expected: "Array<Filter | Tvs>",
664
+ expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
640
665
  value: input3.lst
641
666
  })) && input3.lst.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
642
667
  path: _path2 + ".lst[" + _index7 + "]",
643
- expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
668
+ expected: "(Filter | __type.o3)",
644
669
  value: elem
645
670
  })) && $vu1(elem, _path2 + ".lst[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
646
671
  path: _path2 + ".lst[" + _index7 + "]",
647
- expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
672
+ expected: "(Filter | __type.o3)",
648
673
  value: elem
649
674
  })).every((flag) => flag) || $report(_exceptionable2, {
650
675
  path: _path2 + ".lst",
651
- expected: "Array<Filter | Tvs>",
676
+ expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
652
677
  value: input3.lst
653
678
  })].every((flag) => flag);
654
- const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
679
+ const $vo18 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
680
+ path: _path2 + ".type",
681
+ expected: '"tvs"',
682
+ value: input3.type
683
+ }), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
684
+ path: _path2 + ".tvs",
685
+ expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
686
+ value: input3.tvs
687
+ })) && $vu4(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
688
+ path: _path2 + ".tvs",
689
+ expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
690
+ value: input3.tvs
691
+ })].every((flag) => flag);
692
+ const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
655
693
  path: _path2 + ".join",
656
694
  expected: "(string | undefined)",
657
695
  value: input3.join
@@ -663,7 +701,7 @@ var validBrainImagingRequest = (input) => {
663
701
  path: _path2 + ".term",
664
702
  expected: "CategoricalTerm",
665
703
  value: input3.term
666
- })) && $vo12(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
704
+ })) && $vo20(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
667
705
  path: _path2 + ".term",
668
706
  expected: "CategoricalTerm",
669
707
  value: input3.term
@@ -679,7 +717,7 @@ var validBrainImagingRequest = (input) => {
679
717
  path: _path2 + ".values[" + _index8 + "]",
680
718
  expected: "BaseValue",
681
719
  value: elem
682
- })) && $vo14(elem, _path2 + ".values[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
720
+ })) && $vo16(elem, _path2 + ".values[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
683
721
  path: _path2 + ".values[" + _index8 + "]",
684
722
  expected: "BaseValue",
685
723
  value: elem
@@ -688,7 +726,172 @@ var validBrainImagingRequest = (input) => {
688
726
  expected: "Array<BaseValue>",
689
727
  value: input3.values
690
728
  })].every((flag) => flag);
691
- const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
729
+ const $vo20 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
730
+ path: _path2 + ".id",
731
+ expected: "string",
732
+ value: input3.id
733
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
734
+ path: _path2 + ".name",
735
+ expected: "string",
736
+ value: input3.name
737
+ }), "categorical" === input3.type || $report(_exceptionable2, {
738
+ path: _path2 + ".type",
739
+ expected: '"categorical"',
740
+ value: input3.type
741
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
742
+ path: _path2 + ".child_types",
743
+ expected: "(Array<string> | undefined)",
744
+ value: input3.child_types
745
+ })) && input3.child_types.map((elem, _index9) => "string" === typeof elem || $report(_exceptionable2, {
746
+ path: _path2 + ".child_types[" + _index9 + "]",
747
+ expected: "string",
748
+ value: elem
749
+ })).every((flag) => flag) || $report(_exceptionable2, {
750
+ path: _path2 + ".child_types",
751
+ expected: "(Array<string> | undefined)",
752
+ value: input3.child_types
753
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
754
+ path: _path2 + ".hashtmldetail",
755
+ expected: "(boolean | undefined)",
756
+ value: input3.hashtmldetail
757
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
758
+ path: _path2 + ".included_types",
759
+ expected: "(Array<string> | undefined)",
760
+ value: input3.included_types
761
+ })) && input3.included_types.map((elem, _index10) => "string" === typeof elem || $report(_exceptionable2, {
762
+ path: _path2 + ".included_types[" + _index10 + "]",
763
+ expected: "string",
764
+ value: elem
765
+ })).every((flag) => flag) || $report(_exceptionable2, {
766
+ path: _path2 + ".included_types",
767
+ expected: "(Array<string> | undefined)",
768
+ value: input3.included_types
769
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
770
+ path: _path2 + ".isleaf",
771
+ expected: "(boolean | undefined)",
772
+ value: input3.isleaf
773
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
774
+ path: _path2 + ".values",
775
+ expected: "(TermValues | undefined)",
776
+ value: input3.values
777
+ })) && $vo15(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
778
+ path: _path2 + ".values",
779
+ expected: "(TermValues | undefined)",
780
+ value: input3.values
781
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
782
+ path: _path2 + ".filter",
783
+ expected: "(TermFilter | undefined)",
784
+ value: input3.filter
785
+ })) && $vo21(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
786
+ path: _path2 + ".filter",
787
+ expected: "(TermFilter | undefined)",
788
+ value: input3.filter
789
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
790
+ path: _path2 + ".groupsetting",
791
+ expected: "(EnabledTermGroupSetting | __type.o4)",
792
+ value: input3.groupsetting
793
+ })) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
794
+ path: _path2 + ".groupsetting",
795
+ expected: "(EnabledTermGroupSetting | __type.o4)",
796
+ value: input3.groupsetting
797
+ })].every((flag) => flag);
798
+ const $vo21 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.opts && null !== input3.opts || $report(_exceptionable2, {
799
+ path: _path2 + ".opts",
800
+ expected: "__type.o2",
801
+ value: input3.opts
802
+ })) && $vo13(input3.opts, _path2 + ".opts", _exceptionable2) || $report(_exceptionable2, {
803
+ path: _path2 + ".opts",
804
+ expected: "__type.o2",
805
+ value: input3.opts
806
+ }), (Array.isArray(input3.terms) || $report(_exceptionable2, {
807
+ path: _path2 + ".terms",
808
+ expected: "Array<DtTerm>",
809
+ value: input3.terms
810
+ })) && input3.terms.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
811
+ path: _path2 + ".terms[" + _index11 + "]",
812
+ expected: "DtTerm",
813
+ value: elem
814
+ })) && $vo14(elem, _path2 + ".terms[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
815
+ path: _path2 + ".terms[" + _index11 + "]",
816
+ expected: "DtTerm",
817
+ value: elem
818
+ })).every((flag) => flag) || $report(_exceptionable2, {
819
+ path: _path2 + ".terms",
820
+ expected: "Array<DtTerm>",
821
+ value: input3.terms
822
+ })].every((flag) => flag);
823
+ const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
824
+ path: _path2 + ".disabled",
825
+ expected: "(boolean | undefined)",
826
+ value: input3.disabled
827
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
828
+ path: _path2 + ".lst",
829
+ expected: "Array<Groupset>",
830
+ value: input3.lst
831
+ })) && input3.lst.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
832
+ path: _path2 + ".lst[" + _index12 + "]",
833
+ expected: "Groupset",
834
+ value: elem
835
+ })) && $vo23(elem, _path2 + ".lst[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
836
+ path: _path2 + ".lst[" + _index12 + "]",
837
+ expected: "Groupset",
838
+ value: elem
839
+ })).every((flag) => flag) || $report(_exceptionable2, {
840
+ path: _path2 + ".lst",
841
+ expected: "Array<Groupset>",
842
+ value: input3.lst
843
+ })].every((flag) => flag);
844
+ const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
845
+ path: _path2 + ".name",
846
+ expected: "string",
847
+ value: input3.name
848
+ }), void 0 === input3.is_grade || "boolean" === typeof input3.is_grade || $report(_exceptionable2, {
849
+ path: _path2 + ".is_grade",
850
+ expected: "(boolean | undefined)",
851
+ value: input3.is_grade
852
+ }), void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition || $report(_exceptionable2, {
853
+ path: _path2 + ".is_subcondition",
854
+ expected: "(boolean | undefined)",
855
+ value: input3.is_subcondition
856
+ }), void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
857
+ path: _path2 + ".id",
858
+ expected: "(string | undefined)",
859
+ value: input3.id
860
+ }), (Array.isArray(input3.groups) || $report(_exceptionable2, {
861
+ path: _path2 + ".groups",
862
+ expected: "Array<GroupEntry>",
863
+ value: input3.groups
864
+ })) && input3.groups.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
865
+ path: _path2 + ".groups[" + _index13 + "]",
866
+ expected: "(FilterGroup | ValuesGroup)",
867
+ value: elem
868
+ })) && $vu0(elem, _path2 + ".groups[" + _index13 + "]", _exceptionable2) || $report(_exceptionable2, {
869
+ path: _path2 + ".groups[" + _index13 + "]",
870
+ expected: "(FilterGroup | ValuesGroup)",
871
+ value: elem
872
+ })).every((flag) => flag) || $report(_exceptionable2, {
873
+ path: _path2 + ".groups",
874
+ expected: "Array<GroupEntry>",
875
+ value: input3.groups
876
+ })].every((flag) => flag);
877
+ const $vo24 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
878
+ path: _path2 + ".disabled",
879
+ expected: "boolean",
880
+ value: input3.disabled
881
+ }), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
882
+ path: _path2 + ".lst",
883
+ expected: "([] | undefined)",
884
+ value: input3.lst
885
+ })) && ((input3.lst.length === 0 || $report(_exceptionable2, {
886
+ path: _path2 + ".lst",
887
+ expected: "[]",
888
+ value: input3.lst
889
+ })) && [].every((flag) => flag)) || $report(_exceptionable2, {
890
+ path: _path2 + ".lst",
891
+ expected: "([] | undefined)",
892
+ value: input3.lst
893
+ })].every((flag) => flag);
894
+ const $vo25 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
692
895
  path: _path2 + ".join",
693
896
  expected: "(string | undefined)",
694
897
  value: input3.join
@@ -700,7 +903,7 @@ var validBrainImagingRequest = (input) => {
700
903
  path: _path2 + ".term",
701
904
  expected: "NumericTerm",
702
905
  value: input3.term
703
- })) && $vo18(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
906
+ })) && $vo26(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
704
907
  path: _path2 + ".term",
705
908
  expected: "NumericTerm",
706
909
  value: input3.term
@@ -708,12 +911,12 @@ var validBrainImagingRequest = (input) => {
708
911
  path: _path2 + ".ranges",
709
912
  expected: "Array<NumericBin>",
710
913
  value: input3.ranges
711
- })) && input3.ranges.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
712
- path: _path2 + ".ranges[" + _index9 + "]",
914
+ })) && input3.ranges.map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
915
+ path: _path2 + ".ranges[" + _index14 + "]",
713
916
  expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
714
917
  value: elem
715
- })) && $vu2(elem, _path2 + ".ranges[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
716
- path: _path2 + ".ranges[" + _index9 + "]",
918
+ })) && $vu2(elem, _path2 + ".ranges[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
919
+ path: _path2 + ".ranges[" + _index14 + "]",
717
920
  expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
718
921
  value: elem
719
922
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -724,20 +927,20 @@ var validBrainImagingRequest = (input) => {
724
927
  path: _path2 + ".values",
725
928
  expected: "Array<__type>.o1",
726
929
  value: input3.values
727
- })) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
728
- path: _path2 + ".values[" + _index10 + "]",
729
- expected: "__type.o3",
930
+ })) && input3.values.map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
931
+ path: _path2 + ".values[" + _index15 + "]",
932
+ expected: "__type.o6",
730
933
  value: elem
731
- })) && $vo26(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
732
- path: _path2 + ".values[" + _index10 + "]",
733
- expected: "__type.o3",
934
+ })) && $vo34(elem, _path2 + ".values[" + _index15 + "]", _exceptionable2) || $report(_exceptionable2, {
935
+ path: _path2 + ".values[" + _index15 + "]",
936
+ expected: "__type.o6",
734
937
  value: elem
735
938
  })).every((flag) => flag) || $report(_exceptionable2, {
736
939
  path: _path2 + ".values",
737
940
  expected: "Array<__type>.o1",
738
941
  value: input3.values
739
942
  })].every((flag) => flag);
740
- const $vo18 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
943
+ const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
741
944
  path: _path2 + ".id",
742
945
  expected: "string",
743
946
  value: input3.id
@@ -753,8 +956,8 @@ var validBrainImagingRequest = (input) => {
753
956
  path: _path2 + ".child_types",
754
957
  expected: "(Array<string> | undefined)",
755
958
  value: input3.child_types
756
- })) && input3.child_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
757
- path: _path2 + ".child_types[" + _index11 + "]",
959
+ })) && input3.child_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
960
+ path: _path2 + ".child_types[" + _index16 + "]",
758
961
  expected: "string",
759
962
  value: elem
760
963
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -769,8 +972,8 @@ var validBrainImagingRequest = (input) => {
769
972
  path: _path2 + ".included_types",
770
973
  expected: "(Array<string> | undefined)",
771
974
  value: input3.included_types
772
- })) && input3.included_types.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable2, {
773
- path: _path2 + ".included_types[" + _index12 + "]",
975
+ })) && input3.included_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
976
+ path: _path2 + ".included_types[" + _index17 + "]",
774
977
  expected: "string",
775
978
  value: elem
776
979
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -785,15 +988,23 @@ var validBrainImagingRequest = (input) => {
785
988
  path: _path2 + ".values",
786
989
  expected: "(TermValues | undefined)",
787
990
  value: input3.values
788
- })) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
991
+ })) && $vo15(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
789
992
  path: _path2 + ".values",
790
993
  expected: "(TermValues | undefined)",
791
994
  value: input3.values
792
- }), true, ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
995
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
996
+ path: _path2 + ".filter",
997
+ expected: "(TermFilter | undefined)",
998
+ value: input3.filter
999
+ })) && $vo21(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
1000
+ path: _path2 + ".filter",
1001
+ expected: "(TermFilter | undefined)",
1002
+ value: input3.filter
1003
+ }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
793
1004
  path: _path2 + ".bins",
794
1005
  expected: "PresetNumericBins",
795
1006
  value: input3.bins
796
- })) && $vo19(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1007
+ })) && $vo27(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
797
1008
  path: _path2 + ".bins",
798
1009
  expected: "PresetNumericBins",
799
1010
  value: input3.bins
@@ -803,14 +1014,14 @@ var validBrainImagingRequest = (input) => {
803
1014
  value: input3.unit
804
1015
  }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
805
1016
  path: _path2 + ".continuousColorScale",
806
- expected: "(__type.o2 | undefined)",
1017
+ expected: "(__type.o5 | undefined)",
807
1018
  value: input3.continuousColorScale
808
- })) && $vo25(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1019
+ })) && $vo33(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
809
1020
  path: _path2 + ".continuousColorScale",
810
- expected: "(__type.o2 | undefined)",
1021
+ expected: "(__type.o5 | undefined)",
811
1022
  value: input3.continuousColorScale
812
1023
  })].every((flag) => flag);
813
- const $vo19 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
1024
+ const $vo27 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
814
1025
  path: _path2 + '["default"]',
815
1026
  expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
816
1027
  value: input3["default"]
@@ -847,7 +1058,7 @@ var validBrainImagingRequest = (input) => {
847
1058
  expected: "(number | undefined)",
848
1059
  value: input3.max
849
1060
  })].every((flag) => flag);
850
- const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1061
+ const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
851
1062
  path: _path2 + ".hiddenValues",
852
1063
  expected: "(HiddenValues | undefined)",
853
1064
  value: input3.hiddenValues
@@ -900,7 +1111,7 @@ var validBrainImagingRequest = (input) => {
900
1111
  expected: "(number | undefined)",
901
1112
  value: input3.label_offset
902
1113
  })].every((flag) => flag);
903
- const $vo21 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
1114
+ const $vo29 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
904
1115
  path: _path2 + ".startunbounded",
905
1116
  expected: "true",
906
1117
  value: input3.startunbounded
@@ -925,7 +1136,7 @@ var validBrainImagingRequest = (input) => {
925
1136
  expected: "(string | undefined)",
926
1137
  value: input3.label
927
1138
  })].every((flag) => flag);
928
- const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
1139
+ const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
929
1140
  path: _path2 + ".startunbounded",
930
1141
  expected: "(false | undefined)",
931
1142
  value: input3.startunbounded
@@ -954,7 +1165,7 @@ var validBrainImagingRequest = (input) => {
954
1165
  expected: "(string | undefined)",
955
1166
  value: input3.label
956
1167
  })].every((flag) => flag);
957
- const $vo23 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
1168
+ const $vo31 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
958
1169
  path: _path2 + ".start",
959
1170
  expected: "number",
960
1171
  value: input3.start
@@ -979,7 +1190,7 @@ var validBrainImagingRequest = (input) => {
979
1190
  expected: "(string | undefined)",
980
1191
  value: input3.label
981
1192
  })].every((flag) => flag);
982
- const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1193
+ const $vo32 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
983
1194
  path: _path2 + ".hiddenValues",
984
1195
  expected: "(HiddenValues | undefined)",
985
1196
  value: input3.hiddenValues
@@ -1025,12 +1236,12 @@ var validBrainImagingRequest = (input) => {
1025
1236
  path: _path2 + ".lst",
1026
1237
  expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1027
1238
  value: input3.lst.slice(1)
1028
- })) && input3.lst.slice(1).map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1029
- path: _path2 + ".lst[" + (1 + _index13) + "]",
1239
+ })) && input3.lst.slice(1).map((elem, _index18) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1240
+ path: _path2 + ".lst[" + (1 + _index18) + "]",
1030
1241
  expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1031
1242
  value: elem
1032
- })) && $vu2(elem, _path2 + ".lst[" + (1 + _index13) + "]", _exceptionable2) || $report(_exceptionable2, {
1033
- path: _path2 + ".lst[" + (1 + _index13) + "]",
1243
+ })) && $vu2(elem, _path2 + ".lst[" + (1 + _index18) + "]", _exceptionable2) || $report(_exceptionable2, {
1244
+ path: _path2 + ".lst[" + (1 + _index18) + "]",
1034
1245
  expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1035
1246
  value: elem
1036
1247
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1046,7 +1257,7 @@ var validBrainImagingRequest = (input) => {
1046
1257
  expected: '("median" | undefined)',
1047
1258
  value: input3.preferredBins
1048
1259
  })].every((flag) => flag);
1049
- const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
1260
+ const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
1050
1261
  path: _path2 + ".minColor",
1051
1262
  expected: "string",
1052
1263
  value: input3.minColor
@@ -1055,7 +1266,7 @@ var validBrainImagingRequest = (input) => {
1055
1266
  expected: "string",
1056
1267
  value: input3.maxColor
1057
1268
  })].every((flag) => flag);
1058
- const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1269
+ const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1059
1270
  path: _path2 + ".key",
1060
1271
  expected: "string",
1061
1272
  value: input3.key
@@ -1072,7 +1283,7 @@ var validBrainImagingRequest = (input) => {
1072
1283
  expected: "(string | undefined)",
1073
1284
  value: input3.label
1074
1285
  })].every((flag) => flag);
1075
- const $vo27 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1286
+ const $vo35 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1076
1287
  path: _path2 + ".join",
1077
1288
  expected: "(string | undefined)",
1078
1289
  value: input3.join
@@ -1084,7 +1295,7 @@ var validBrainImagingRequest = (input) => {
1084
1295
  path: _path2 + ".term",
1085
1296
  expected: "ConditionTerm",
1086
1297
  value: input3.term
1087
- })) && $vo28(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1298
+ })) && $vo36(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1088
1299
  path: _path2 + ".term",
1089
1300
  expected: "ConditionTerm",
1090
1301
  value: input3.term
@@ -1104,12 +1315,12 @@ var validBrainImagingRequest = (input) => {
1104
1315
  path: _path2 + ".grade_and_child",
1105
1316
  expected: "(Array<GradeAndChildEntry> | undefined)",
1106
1317
  value: input3.grade_and_child
1107
- })) && input3.grade_and_child.map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1108
- path: _path2 + ".grade_and_child[" + _index14 + "]",
1318
+ })) && input3.grade_and_child.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1319
+ path: _path2 + ".grade_and_child[" + _index19 + "]",
1109
1320
  expected: "GradeAndChildEntry",
1110
1321
  value: elem
1111
- })) && $vo29(elem, _path2 + ".grade_and_child[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
1112
- path: _path2 + ".grade_and_child[" + _index14 + "]",
1322
+ })) && $vo37(elem, _path2 + ".grade_and_child[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
1323
+ path: _path2 + ".grade_and_child[" + _index19 + "]",
1113
1324
  expected: "GradeAndChildEntry",
1114
1325
  value: elem
1115
1326
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1117,7 +1328,7 @@ var validBrainImagingRequest = (input) => {
1117
1328
  expected: "(Array<GradeAndChildEntry> | undefined)",
1118
1329
  value: input3.grade_and_child
1119
1330
  })].every((flag) => flag);
1120
- const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1331
+ const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1121
1332
  path: _path2 + ".id",
1122
1333
  expected: "string",
1123
1334
  value: input3.id
@@ -1133,8 +1344,8 @@ var validBrainImagingRequest = (input) => {
1133
1344
  path: _path2 + ".child_types",
1134
1345
  expected: "(Array<string> | undefined)",
1135
1346
  value: input3.child_types
1136
- })) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
1137
- path: _path2 + ".child_types[" + _index15 + "]",
1347
+ })) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
1348
+ path: _path2 + ".child_types[" + _index20 + "]",
1138
1349
  expected: "string",
1139
1350
  value: elem
1140
1351
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1149,8 +1360,8 @@ var validBrainImagingRequest = (input) => {
1149
1360
  path: _path2 + ".included_types",
1150
1361
  expected: "(Array<string> | undefined)",
1151
1362
  value: input3.included_types
1152
- })) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
1153
- path: _path2 + ".included_types[" + _index16 + "]",
1363
+ })) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
1364
+ path: _path2 + ".included_types[" + _index21 + "]",
1154
1365
  expected: "string",
1155
1366
  value: elem
1156
1367
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -1165,12 +1376,20 @@ var validBrainImagingRequest = (input) => {
1165
1376
  path: _path2 + ".values",
1166
1377
  expected: "(TermValues | undefined)",
1167
1378
  value: input3.values
1168
- })) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1379
+ })) && $vo15(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1169
1380
  path: _path2 + ".values",
1170
1381
  expected: "(TermValues | undefined)",
1171
1382
  value: input3.values
1172
- }), true].every((flag) => flag);
1173
- const $vo29 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1383
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
1384
+ path: _path2 + ".filter",
1385
+ expected: "(TermFilter | undefined)",
1386
+ value: input3.filter
1387
+ })) && $vo21(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
1388
+ path: _path2 + ".filter",
1389
+ expected: "(TermFilter | undefined)",
1390
+ value: input3.filter
1391
+ })].every((flag) => flag);
1392
+ const $vo37 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1174
1393
  path: _path2 + ".grade",
1175
1394
  expected: "number",
1176
1395
  value: input3.grade
@@ -1187,7 +1406,7 @@ var validBrainImagingRequest = (input) => {
1187
1406
  expected: "string",
1188
1407
  value: input3.child_label
1189
1408
  })].every((flag) => flag);
1190
- const $vo30 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1409
+ const $vo38 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1191
1410
  path: _path2 + ".join",
1192
1411
  expected: "(string | undefined)",
1193
1412
  value: input3.join
@@ -1197,389 +1416,41 @@ var validBrainImagingRequest = (input) => {
1197
1416
  value: input3.isnot
1198
1417
  }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
1199
1418
  path: _path2 + ".term",
1200
- expected: "(GeneVariantCoordTerm | GeneVariantGeneTerm)",
1419
+ expected: "DtTerm",
1201
1420
  value: input3.term
1202
- })) && $vu9(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1421
+ })) && $vo14(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1203
1422
  path: _path2 + ".term",
1204
- expected: "(GeneVariantCoordTerm | GeneVariantGeneTerm)",
1423
+ expected: "DtTerm",
1205
1424
  value: input3.term
1206
1425
  }), (Array.isArray(input3.values) || $report(_exceptionable2, {
1207
1426
  path: _path2 + ".values",
1208
- expected: "Array<GeneVariantTvsValue>",
1427
+ expected: "Array<__type>.o2",
1209
1428
  value: input3.values
1210
- })) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1211
- path: _path2 + ".values[" + _index17 + "]",
1212
- expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
1429
+ })) && input3.values.map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1430
+ path: _path2 + ".values[" + _index22 + "]",
1431
+ expected: "__type.o7",
1213
1432
  value: elem
1214
- })) && $vu3(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
1215
- path: _path2 + ".values[" + _index17 + "]",
1216
- expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
1433
+ })) && $vo39(elem, _path2 + ".values[" + _index22 + "]", _exceptionable2) || $report(_exceptionable2, {
1434
+ path: _path2 + ".values[" + _index22 + "]",
1435
+ expected: "__type.o7",
1217
1436
  value: elem
1218
1437
  })).every((flag) => flag) || $report(_exceptionable2, {
1219
1438
  path: _path2 + ".values",
1220
- expected: "Array<GeneVariantTvsValue>",
1439
+ expected: "Array<__type>.o2",
1221
1440
  value: input3.values
1222
1441
  })].every((flag) => flag);
1223
- const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1224
- path: _path2 + ".id",
1225
- expected: "string",
1226
- value: input3.id
1227
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1228
- path: _path2 + ".name",
1229
- expected: "string",
1230
- value: input3.name
1231
- }), "geneVariant" === input3.type || $report(_exceptionable2, {
1232
- path: _path2 + ".type",
1233
- expected: '"geneVariant"',
1234
- value: input3.type
1235
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1236
- path: _path2 + ".child_types",
1237
- expected: "(Array<string> | undefined)",
1238
- value: input3.child_types
1239
- })) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
1240
- path: _path2 + ".child_types[" + _index18 + "]",
1241
- expected: "string",
1242
- value: elem
1243
- })).every((flag) => flag) || $report(_exceptionable2, {
1244
- path: _path2 + ".child_types",
1245
- expected: "(Array<string> | undefined)",
1246
- value: input3.child_types
1247
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1248
- path: _path2 + ".hashtmldetail",
1249
- expected: "(boolean | undefined)",
1250
- value: input3.hashtmldetail
1251
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1252
- path: _path2 + ".included_types",
1253
- expected: "(Array<string> | undefined)",
1254
- value: input3.included_types
1255
- })) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
1256
- path: _path2 + ".included_types[" + _index19 + "]",
1257
- expected: "string",
1258
- value: elem
1259
- })).every((flag) => flag) || $report(_exceptionable2, {
1260
- path: _path2 + ".included_types",
1261
- expected: "(Array<string> | undefined)",
1262
- value: input3.included_types
1263
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1264
- path: _path2 + ".isleaf",
1265
- expected: "(boolean | undefined)",
1266
- value: input3.isleaf
1267
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1268
- path: _path2 + ".values",
1269
- expected: "(TermValues | undefined)",
1270
- value: input3.values
1271
- })) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1272
- path: _path2 + ".values",
1273
- expected: "(TermValues | undefined)",
1274
- value: input3.values
1275
- }), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
1276
- path: _path2 + ".groupsetting",
1277
- expected: "(EnabledTermGroupSetting | __type.o4)",
1278
- value: input3.groupsetting
1279
- })) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
1280
- path: _path2 + ".groupsetting",
1281
- expected: "(EnabledTermGroupSetting | __type.o4)",
1282
- value: input3.groupsetting
1283
- }), "gene" === input3.kind || $report(_exceptionable2, {
1284
- path: _path2 + ".kind",
1285
- expected: '"gene"',
1286
- value: input3.kind
1287
- }), "string" === typeof input3.gene || $report(_exceptionable2, {
1288
- path: _path2 + ".gene",
1289
- expected: "string",
1290
- value: input3.gene
1291
- }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
1292
- path: _path2 + ".chr",
1293
- expected: "(string | undefined)",
1294
- value: input3.chr
1295
- }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
1296
- path: _path2 + ".start",
1297
- expected: "(number | undefined)",
1298
- value: input3.start
1299
- }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
1300
- path: _path2 + ".stop",
1301
- expected: "(number | undefined)",
1302
- value: input3.stop
1303
- })].every((flag) => flag);
1304
- const $vo32 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
1305
- path: _path2 + ".disabled",
1306
- expected: "(boolean | undefined)",
1307
- value: input3.disabled
1308
- }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
1309
- path: _path2 + ".lst",
1310
- expected: "Array<Groupset>",
1311
- value: input3.lst
1312
- })) && input3.lst.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1313
- path: _path2 + ".lst[" + _index20 + "]",
1314
- expected: "Groupset",
1315
- value: elem
1316
- })) && $vo33(elem, _path2 + ".lst[" + _index20 + "]", _exceptionable2) || $report(_exceptionable2, {
1317
- path: _path2 + ".lst[" + _index20 + "]",
1318
- expected: "Groupset",
1319
- value: elem
1320
- })).every((flag) => flag) || $report(_exceptionable2, {
1321
- path: _path2 + ".lst",
1322
- expected: "Array<Groupset>",
1323
- value: input3.lst
1324
- })].every((flag) => flag);
1325
- const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
1326
- path: _path2 + ".name",
1327
- expected: "string",
1328
- value: input3.name
1329
- }), void 0 === input3.is_grade || "boolean" === typeof input3.is_grade || $report(_exceptionable2, {
1330
- path: _path2 + ".is_grade",
1331
- expected: "(boolean | undefined)",
1332
- value: input3.is_grade
1333
- }), void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition || $report(_exceptionable2, {
1334
- path: _path2 + ".is_subcondition",
1335
- expected: "(boolean | undefined)",
1336
- value: input3.is_subcondition
1337
- }), void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
1338
- path: _path2 + ".id",
1339
- expected: "(string | undefined)",
1340
- value: input3.id
1341
- }), (Array.isArray(input3.groups) || $report(_exceptionable2, {
1342
- path: _path2 + ".groups",
1343
- expected: "Array<GroupEntry>",
1344
- value: input3.groups
1345
- })) && input3.groups.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1346
- path: _path2 + ".groups[" + _index21 + "]",
1347
- expected: "(FilterGroup | ValuesGroup)",
1348
- value: elem
1349
- })) && $vu0(elem, _path2 + ".groups[" + _index21 + "]", _exceptionable2) || $report(_exceptionable2, {
1350
- path: _path2 + ".groups[" + _index21 + "]",
1351
- expected: "(FilterGroup | ValuesGroup)",
1352
- value: elem
1353
- })).every((flag) => flag) || $report(_exceptionable2, {
1354
- path: _path2 + ".groups",
1355
- expected: "Array<GroupEntry>",
1356
- value: input3.groups
1357
- })].every((flag) => flag);
1358
- const $vo34 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
1359
- path: _path2 + ".disabled",
1360
- expected: "boolean",
1361
- value: input3.disabled
1362
- }), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
1363
- path: _path2 + ".lst",
1364
- expected: "([] | undefined)",
1365
- value: input3.lst
1366
- })) && ((input3.lst.length === 0 || $report(_exceptionable2, {
1367
- path: _path2 + ".lst",
1368
- expected: "[]",
1369
- value: input3.lst
1370
- })) && [].every((flag) => flag)) || $report(_exceptionable2, {
1371
- path: _path2 + ".lst",
1372
- expected: "([] | undefined)",
1373
- value: input3.lst
1374
- })].every((flag) => flag);
1375
- const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1376
- path: _path2 + ".id",
1377
- expected: "string",
1378
- value: input3.id
1379
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1380
- path: _path2 + ".name",
1381
- expected: "string",
1382
- value: input3.name
1383
- }), "geneVariant" === input3.type || $report(_exceptionable2, {
1384
- path: _path2 + ".type",
1385
- expected: '"geneVariant"',
1386
- value: input3.type
1387
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1388
- path: _path2 + ".child_types",
1389
- expected: "(Array<string> | undefined)",
1390
- value: input3.child_types
1391
- })) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
1392
- path: _path2 + ".child_types[" + _index22 + "]",
1442
+ const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1443
+ path: _path2 + ".key",
1393
1444
  expected: "string",
1394
- value: elem
1395
- })).every((flag) => flag) || $report(_exceptionable2, {
1396
- path: _path2 + ".child_types",
1397
- expected: "(Array<string> | undefined)",
1398
- value: input3.child_types
1399
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1400
- path: _path2 + ".hashtmldetail",
1401
- expected: "(boolean | undefined)",
1402
- value: input3.hashtmldetail
1403
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1404
- path: _path2 + ".included_types",
1405
- expected: "(Array<string> | undefined)",
1406
- value: input3.included_types
1407
- })) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
1408
- path: _path2 + ".included_types[" + _index23 + "]",
1445
+ value: input3.key
1446
+ }), "string" === typeof input3.label || $report(_exceptionable2, {
1447
+ path: _path2 + ".label",
1409
1448
  expected: "string",
1410
- value: elem
1411
- })).every((flag) => flag) || $report(_exceptionable2, {
1412
- path: _path2 + ".included_types",
1413
- expected: "(Array<string> | undefined)",
1414
- value: input3.included_types
1415
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1416
- path: _path2 + ".isleaf",
1417
- expected: "(boolean | undefined)",
1418
- value: input3.isleaf
1419
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1420
- path: _path2 + ".values",
1421
- expected: "(TermValues | undefined)",
1422
- value: input3.values
1423
- })) && $vo13(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1424
- path: _path2 + ".values",
1425
- expected: "(TermValues | undefined)",
1426
- value: input3.values
1427
- }), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
1428
- path: _path2 + ".groupsetting",
1429
- expected: "(EnabledTermGroupSetting | __type.o4)",
1430
- value: input3.groupsetting
1431
- })) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
1432
- path: _path2 + ".groupsetting",
1433
- expected: "(EnabledTermGroupSetting | __type.o4)",
1434
- value: input3.groupsetting
1435
- }), "coord" === input3.kind || $report(_exceptionable2, {
1436
- path: _path2 + ".kind",
1437
- expected: '"coord"',
1438
- value: input3.kind
1439
- }), "string" === typeof input3.chr || $report(_exceptionable2, {
1440
- path: _path2 + ".chr",
1449
+ value: input3.label
1450
+ }), "string" === typeof input3.value || $report(_exceptionable2, {
1451
+ path: _path2 + ".value",
1441
1452
  expected: "string",
1442
- value: input3.chr
1443
- }), "number" === typeof input3.start || $report(_exceptionable2, {
1444
- path: _path2 + ".start",
1445
- expected: "number",
1446
- value: input3.start
1447
- }), "number" === typeof input3.stop || $report(_exceptionable2, {
1448
- path: _path2 + ".stop",
1449
- expected: "number",
1450
- value: input3.stop
1451
- })].every((flag) => flag);
1452
- const $vo36 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
1453
- path: _path2 + ".dt",
1454
- expected: "1",
1455
- value: input3.dt
1456
- }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1457
- path: _path2 + ".mclassLst",
1458
- expected: "Array<SNVIndelClasses>",
1459
- value: input3.mclassLst
1460
- })) && input3.mclassLst.map((elem, _index24) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem || $report(_exceptionable2, {
1461
- path: _path2 + ".mclassLst[" + _index24 + "]",
1462
- expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
1463
- value: elem
1464
- })).every((flag) => flag) || $report(_exceptionable2, {
1465
- path: _path2 + ".mclassLst",
1466
- expected: "Array<SNVIndelClasses>",
1467
- value: input3.mclassLst
1468
- }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1469
- path: _path2 + ".mclassExcludeLst",
1470
- expected: "Array<SNVIndelClasses>",
1471
- value: input3.mclassExcludeLst
1472
- })) && input3.mclassExcludeLst.map((elem, _index25) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem || $report(_exceptionable2, {
1473
- path: _path2 + ".mclassExcludeLst[" + _index25 + "]",
1474
- expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
1475
- value: elem
1476
- })).every((flag) => flag) || $report(_exceptionable2, {
1477
- path: _path2 + ".mclassExcludeLst",
1478
- expected: "Array<SNVIndelClasses>",
1479
- value: input3.mclassExcludeLst
1480
- }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1481
- path: _path2 + ".origin",
1482
- expected: '("germline" | "somatic" | undefined)',
1483
- value: input3.origin
1484
- })].every((flag) => flag);
1485
- const $vo37 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
1486
- path: _path2 + ".dt",
1487
- expected: "4",
1488
- value: input3.dt
1489
- }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1490
- path: _path2 + ".mclassLst",
1491
- expected: "Array<CNVClasses>",
1492
- value: input3.mclassLst
1493
- })) && input3.mclassLst.map((elem, _index26) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem || $report(_exceptionable2, {
1494
- path: _path2 + ".mclassLst[" + _index26 + "]",
1495
- expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
1496
- value: elem
1497
- })).every((flag) => flag) || $report(_exceptionable2, {
1498
- path: _path2 + ".mclassLst",
1499
- expected: "Array<CNVClasses>",
1500
- value: input3.mclassLst
1501
- }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1502
- path: _path2 + ".mclassExcludeLst",
1503
- expected: "Array<CNVClasses>",
1504
- value: input3.mclassExcludeLst
1505
- })) && input3.mclassExcludeLst.map((elem, _index27) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem || $report(_exceptionable2, {
1506
- path: _path2 + ".mclassExcludeLst[" + _index27 + "]",
1507
- expected: '("Blank" | "CNV_amp" | "CNV_amplification" | "CNV_homozygous_deletion" | "CNV_loh" | "CNV_loss" | "WT")',
1508
- value: elem
1509
- })).every((flag) => flag) || $report(_exceptionable2, {
1510
- path: _path2 + ".mclassExcludeLst",
1511
- expected: "Array<CNVClasses>",
1512
- value: input3.mclassExcludeLst
1513
- }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1514
- path: _path2 + ".origin",
1515
- expected: '("germline" | "somatic" | undefined)',
1516
- value: input3.origin
1517
- })].every((flag) => flag);
1518
- const $vo38 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
1519
- path: _path2 + ".dt",
1520
- expected: "5",
1521
- value: input3.dt
1522
- }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1523
- path: _path2 + ".mclassLst",
1524
- expected: "Array<SVClasses>",
1525
- value: input3.mclassLst
1526
- })) && input3.mclassLst.map((elem, _index28) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
1527
- path: _path2 + ".mclassLst[" + _index28 + "]",
1528
- expected: '("Blank" | "SV" | "WT")',
1529
- value: elem
1530
- })).every((flag) => flag) || $report(_exceptionable2, {
1531
- path: _path2 + ".mclassLst",
1532
- expected: "Array<SVClasses>",
1533
- value: input3.mclassLst
1534
- }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1535
- path: _path2 + ".mclassExcludeLst",
1536
- expected: "Array<SVClasses>",
1537
- value: input3.mclassExcludeLst
1538
- })) && input3.mclassExcludeLst.map((elem, _index29) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
1539
- path: _path2 + ".mclassExcludeLst[" + _index29 + "]",
1540
- expected: '("Blank" | "SV" | "WT")',
1541
- value: elem
1542
- })).every((flag) => flag) || $report(_exceptionable2, {
1543
- path: _path2 + ".mclassExcludeLst",
1544
- expected: "Array<SVClasses>",
1545
- value: input3.mclassExcludeLst
1546
- }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1547
- path: _path2 + ".origin",
1548
- expected: '("germline" | "somatic" | undefined)',
1549
- value: input3.origin
1550
- })].every((flag) => flag);
1551
- const $vo39 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
1552
- path: _path2 + ".dt",
1553
- expected: "2",
1554
- value: input3.dt
1555
- }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1556
- path: _path2 + ".mclassLst",
1557
- expected: "Array<FusionRNAClasses>",
1558
- value: input3.mclassLst
1559
- })) && input3.mclassLst.map((elem, _index30) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
1560
- path: _path2 + ".mclassLst[" + _index30 + "]",
1561
- expected: '("Blank" | "Fuserna" | "WT")',
1562
- value: elem
1563
- })).every((flag) => flag) || $report(_exceptionable2, {
1564
- path: _path2 + ".mclassLst",
1565
- expected: "Array<FusionRNAClasses>",
1566
- value: input3.mclassLst
1567
- }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1568
- path: _path2 + ".mclassExcludeLst",
1569
- expected: "Array<FusionRNAClasses>",
1570
- value: input3.mclassExcludeLst
1571
- })) && input3.mclassExcludeLst.map((elem, _index31) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
1572
- path: _path2 + ".mclassExcludeLst[" + _index31 + "]",
1573
- expected: '("Blank" | "Fuserna" | "WT")',
1574
- value: elem
1575
- })).every((flag) => flag) || $report(_exceptionable2, {
1576
- path: _path2 + ".mclassExcludeLst",
1577
- expected: "Array<FusionRNAClasses>",
1578
- value: input3.mclassExcludeLst
1579
- }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1580
- path: _path2 + ".origin",
1581
- expected: '("germline" | "somatic" | undefined)',
1582
- value: input3.origin
1453
+ value: input3.value
1583
1454
  })].every((flag) => flag);
1584
1455
  const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
1585
1456
  if ("string" === typeof input3.type)
@@ -1593,35 +1464,24 @@ var validBrainImagingRequest = (input) => {
1593
1464
  });
1594
1465
  })();
1595
1466
  const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
1596
- if (void 0 !== input3.type)
1597
- return $vo15(input3, _path2, _exceptionable2);
1598
- if (void 0 !== input3.ranges)
1467
+ if ("tvslst" === input3.type)
1599
1468
  return $vo17(input3, _path2, _exceptionable2);
1600
- return $vo16(input3, _path2, false) || $vo27(input3, _path2, false) || $vo30(input3, _path2, false);
1469
+ if ("tvs" === input3.type)
1470
+ return $vo18(input3, _path2, _exceptionable2);
1471
+ return $report(_exceptionable2, {
1472
+ path: _path2,
1473
+ expected: "(Filter | __type.o3)",
1474
+ value: input3
1475
+ });
1601
1476
  })();
1602
1477
  const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
1603
1478
  if (true === input3.startunbounded)
1604
- return $vo21(input3, _path2, _exceptionable2);
1479
+ return $vo29(input3, _path2, _exceptionable2);
1605
1480
  if (true === input3.stopunbounded)
1606
- return $vo23(input3, _path2, _exceptionable2);
1607
- return $vo22(input3, _path2, _exceptionable2);
1481
+ return $vo31(input3, _path2, _exceptionable2);
1482
+ return $vo30(input3, _path2, _exceptionable2);
1608
1483
  })();
1609
1484
  const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
1610
- if (2 === input3.dt)
1611
- return $vo39(input3, _path2, _exceptionable2);
1612
- if (5 === input3.dt)
1613
- return $vo38(input3, _path2, _exceptionable2);
1614
- if (4 === input3.dt)
1615
- return $vo37(input3, _path2, _exceptionable2);
1616
- if (1 === input3.dt)
1617
- return $vo36(input3, _path2, _exceptionable2);
1618
- return $report(_exceptionable2, {
1619
- path: _path2,
1620
- expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
1621
- value: input3
1622
- });
1623
- })();
1624
- const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
1625
1485
  if ("values" === input3.type)
1626
1486
  return $vo3(input3, _path2, _exceptionable2);
1627
1487
  if ("predefined-groupset" === input3.type)
@@ -1630,16 +1490,21 @@ var validBrainImagingRequest = (input) => {
1630
1490
  return $vo7(input3, _path2, _exceptionable2);
1631
1491
  return $vo5(input3, _path2, _exceptionable2);
1632
1492
  })();
1493
+ const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
1494
+ if (void 0 !== input3.ranges)
1495
+ return $vo25(input3, _path2, _exceptionable2);
1496
+ return $vo19(input3, _path2, false) || $vo35(input3, _path2, false) || $vo38(input3, _path2, false);
1497
+ })();
1633
1498
  const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
1634
- if (Array.isArray(input3.lst) && input3.lst.map((elem, _index32) => "object" === typeof elem && null !== elem && $vo33(elem, _path2 + ".lst[" + _index32 + "]", false)).every((flag) => flag))
1635
- return $vo32(input3, _path2, _exceptionable2);
1636
- return $vo34(input3, _path2, _exceptionable2);
1499
+ if (Array.isArray(input3.lst) && input3.lst.map((elem, _index23) => "object" === typeof elem && null !== elem && $vo23(elem, _path2 + ".lst[" + _index23 + "]", false)).every((flag) => flag))
1500
+ return $vo22(input3, _path2, _exceptionable2);
1501
+ return $vo24(input3, _path2, _exceptionable2);
1637
1502
  })();
1638
1503
  const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
1639
1504
  if ("regular-bin" === input3.type)
1640
- return $vo20(input3, _path2, _exceptionable2);
1505
+ return $vo28(input3, _path2, _exceptionable2);
1641
1506
  if ("custom-bin" === input3.type)
1642
- return $vo24(input3, _path2, _exceptionable2);
1507
+ return $vo32(input3, _path2, _exceptionable2);
1643
1508
  return $report(_exceptionable2, {
1644
1509
  path: _path2,
1645
1510
  expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
@@ -1648,9 +1513,9 @@ var validBrainImagingRequest = (input) => {
1648
1513
  })();
1649
1514
  const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
1650
1515
  if (true === input3.startunbounded)
1651
- return $vo21(input3, _path2, _exceptionable2);
1516
+ return $vo29(input3, _path2, _exceptionable2);
1652
1517
  if (void 0 !== input3.start)
1653
- return $vo22(input3, _path2, _exceptionable2);
1518
+ return $vo30(input3, _path2, _exceptionable2);
1654
1519
  return $report(_exceptionable2, {
1655
1520
  path: _path2,
1656
1521
  expected: "(StartUnboundedBin | FullyBoundedBin)",
@@ -1659,23 +1524,12 @@ var validBrainImagingRequest = (input) => {
1659
1524
  })();
1660
1525
  const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
1661
1526
  if (void 0 !== input3.stop)
1662
- return $vo22(input3, _path2, _exceptionable2);
1527
+ return $vo30(input3, _path2, _exceptionable2);
1663
1528
  if (true === input3.stopunbounded)
1664
- return $vo23(input3, _path2, _exceptionable2);
1665
- return $report(_exceptionable2, {
1666
- path: _path2,
1667
- expected: "(FullyBoundedBin | StopUnboundedBin)",
1668
- value: input3
1669
- });
1670
- })();
1671
- const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
1672
- if ("gene" === input3.kind)
1673
1529
  return $vo31(input3, _path2, _exceptionable2);
1674
- if ("coord" === input3.kind)
1675
- return $vo35(input3, _path2, _exceptionable2);
1676
1530
  return $report(_exceptionable2, {
1677
1531
  path: _path2,
1678
- expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
1532
+ expected: "(FullyBoundedBin | StopUnboundedBin)",
1679
1533
  value: input3
1680
1534
  });
1681
1535
  })();