@sjcrh/proteinpaint-types 2.178.0 → 2.179.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 (38) hide show
  1. package/dist/brainImaging.js +1 -1
  2. package/dist/{chunk-GAYJUXNZ.js → chunk-4J5BPYYR.js} +429 -201
  3. package/dist/{chunk-WXCXZRKP.js → chunk-6DWX22RA.js} +707 -479
  4. package/dist/{chunk-UWAVSKMD.js → chunk-7V7USAKJ.js} +705 -477
  5. package/dist/{chunk-2XQJCZEO.js → chunk-A2FMYVMI.js} +520 -292
  6. package/dist/{chunk-FQYNRDHB.js → chunk-CC4IBTKW.js} +429 -201
  7. package/dist/{chunk-2Y7WE3JU.js → chunk-CSK3ZCDF.js} +705 -477
  8. package/dist/{chunk-UFYKXOY2.js → chunk-DUFHC6EI.js} +1073 -625
  9. package/dist/{chunk-NRV6MPRM.js → chunk-E2O4N7OC.js} +1346 -898
  10. package/dist/{chunk-CYQDO4FX.js → chunk-FQLGK65A.js} +742 -456
  11. package/dist/{chunk-HZEV7D5E.js → chunk-JTZQYNIT.js} +705 -477
  12. package/dist/{chunk-CX2Y673E.js → chunk-MKM4A5NU.js} +429 -201
  13. package/dist/{chunk-26UKKPK2.js → chunk-QQNDJ6BY.js} +713 -485
  14. package/dist/{chunk-PHRILOVX.js → chunk-RANWGPF7.js} +429 -201
  15. package/dist/{chunk-VBNF7BRI.js → chunk-XAHE4RNZ.js} +452 -224
  16. package/dist/{chunk-YHKFJCXG.js → chunk-YI63CW7Y.js} +646 -426
  17. package/dist/correlationVolcano.js +1 -1
  18. package/dist/grin2.js +1 -1
  19. package/dist/index.js +15 -15
  20. package/dist/termdb.boxplot.js +1 -1
  21. package/dist/termdb.categories.js +1 -1
  22. package/dist/termdb.chat.js +429 -201
  23. package/dist/termdb.chat2.js +1 -1
  24. package/dist/termdb.cluster.js +1 -1
  25. package/dist/termdb.descrstats.js +1 -1
  26. package/dist/termdb.dmr.js +1 -1
  27. package/dist/termdb.numericcategories.js +1 -1
  28. package/dist/termdb.percentile.js +1 -1
  29. package/dist/termdb.termsbyids.js +1 -1
  30. package/dist/termdb.topTermsByType.js +1 -1
  31. package/dist/termdb.topVariablyExpressedGenes.js +1 -1
  32. package/dist/termdb.violin.js +1 -1
  33. package/package.json +1 -1
  34. package/src/dataset.ts +28 -8
  35. package/src/filter.ts +33 -4
  36. package/src/routes/termdb.chat2.ts +13 -2
  37. package/src/routes/termdb.dmr.ts +17 -2
  38. package/src/terms/termCollection.ts +0 -3
@@ -21,10 +21,10 @@ var validGRIN2Request = (input) => {
21
21
  const errors = [];
22
22
  const __is = (input2) => {
23
23
  const $join = import_typia.createValidate.join;
24
- const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio) && (void 0 === input3.width || "number" === typeof input3.width) && (void 0 === input3.height || "number" === typeof input3.height) && (void 0 === input3.pngDotRadius || "number" === typeof input3.pngDotRadius) && true && (void 0 === input3.qValueThreshold || "number" === typeof input3.qValueThreshold) && (void 0 === input3.logCutoff || "number" === typeof input3.logCutoff) && "number" === typeof input3.maxCappedPoints && "number" === typeof input3.hardCap && "number" === typeof input3.binSize && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && (void 0 === input3.snvindelOptions || "object" === typeof input3.snvindelOptions && null !== input3.snvindelOptions && false === Array.isArray(input3.snvindelOptions) && $io50(input3.snvindelOptions)) && (void 0 === input3.cnvOptions || "object" === typeof input3.cnvOptions && null !== input3.cnvOptions && false === Array.isArray(input3.cnvOptions) && $io51(input3.cnvOptions)) && (void 0 === input3.fusionOptions || "object" === typeof input3.fusionOptions && null !== input3.fusionOptions && false === Array.isArray(input3.fusionOptions) && $io52(input3.fusionOptions)) && (void 0 === input3.svOptions || "object" === typeof input3.svOptions && null !== input3.svOptions && false === Array.isArray(input3.svOptions) && $io53(input3.svOptions)) && (void 0 === input3.maxGenesToShow || "number" === typeof input3.maxGenesToShow);
25
- const $io1 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
26
- const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu4(input3.tvs));
27
- const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io4(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io6(elem)));
24
+ const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio) && (void 0 === input3.width || "number" === typeof input3.width) && (void 0 === input3.height || "number" === typeof input3.height) && (void 0 === input3.pngDotRadius || "number" === typeof input3.pngDotRadius) && true && (void 0 === input3.qValueThreshold || "number" === typeof input3.qValueThreshold) && (void 0 === input3.logCutoff || "number" === typeof input3.logCutoff) && "number" === typeof input3.maxCappedPoints && "number" === typeof input3.hardCap && "number" === typeof input3.binSize && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && (void 0 === input3.snvindelOptions || "object" === typeof input3.snvindelOptions && null !== input3.snvindelOptions && false === Array.isArray(input3.snvindelOptions) && $io52(input3.snvindelOptions)) && (void 0 === input3.cnvOptions || "object" === typeof input3.cnvOptions && null !== input3.cnvOptions && false === Array.isArray(input3.cnvOptions) && $io53(input3.cnvOptions)) && (void 0 === input3.fusionOptions || "object" === typeof input3.fusionOptions && null !== input3.fusionOptions && false === Array.isArray(input3.fusionOptions) && $io54(input3.fusionOptions)) && (void 0 === input3.svOptions || "object" === typeof input3.svOptions && null !== input3.svOptions && false === Array.isArray(input3.svOptions) && $io55(input3.svOptions)) && (void 0 === input3.maxGenesToShow || "number" === typeof input3.maxGenesToShow);
25
+ const $io1 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem))) && (void 0 === input3.$id || "string" === typeof input3.$id);
26
+ const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu5(input3.tvs));
27
+ const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $io4(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io6(elem))) && (void 0 === input3.valueset || input3.valueset instanceof Set);
28
28
  const $io4 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting));
29
29
  const $io5 = (input3) => Object.keys(input3).every((key) => {
30
30
  const value = input3[key];
@@ -43,11 +43,11 @@ var validGRIN2Request = (input) => {
43
43
  const $io10 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io11(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
44
44
  const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
45
45
  const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
46
- const $io13 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
46
+ const $io13 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $iu6(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (void 0 === input3.values || Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io33(elem)));
47
47
  const $io14 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
48
48
  const $io15 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
49
- const $io16 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu6(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu6(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
50
- const $io17 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu7(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu8(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset);
49
+ const $io16 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu7(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu7(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
50
+ const $io17 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu8(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu9(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset);
51
51
  const $io18 = (input3) => Object.keys(input3).every((key) => {
52
52
  const value = input3[key];
53
53
  if (void 0 === value)
@@ -59,7 +59,7 @@ var validGRIN2Request = (input) => {
59
59
  const $io19 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
60
60
  const $io20 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
61
61
  const $io21 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
62
- const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins) && (void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset);
62
+ const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io18(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu4(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu4(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins) && (void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset);
63
63
  const $io23 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
64
64
  const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
65
65
  const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
@@ -69,29 +69,40 @@ var validGRIN2Request = (input) => {
69
69
  const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
70
70
  const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
71
71
  const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
72
- const $io32 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
73
- const $io33 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io34(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io35(elem)));
74
- const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion));
75
- const $io35 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
76
- const $io36 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io37(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io42(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
77
- const $io37 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu9(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
78
- const $io38 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io37(elem)));
79
- const $io39 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
80
- const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
81
- const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io37(elem)));
82
- const $io42 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
83
- const $io43 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && "number" === typeof input3.ratio;
84
- const $io44 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.collectionId || "string" === typeof input3.collectionId) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io45(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io46(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem));
85
- const $io45 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion));
86
- const $io46 = (input3) => Object.keys(input3).every((key) => {
72
+ const $io32 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
73
+ const $io33 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
74
+ const $io34 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $io35(input3.term)) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io36(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io37(elem)));
75
+ const $io35 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion));
76
+ const $io36 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
77
+ const $io37 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label) && Object.keys(input3).every((key) => {
78
+ if (["key", "label"].some((prop) => key === prop))
79
+ return true;
80
+ const value = input3[key];
81
+ if (void 0 === value)
82
+ return true;
83
+ if (RegExp(/(.*)/).test(key))
84
+ return true;
85
+ return true;
86
+ });
87
+ const $io38 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $io39(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io44(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName) && (void 0 === input3.genotype || "variant" === input3.genotype || "nt" === input3.genotype || "wt" === input3.genotype) && (void 0 === input3.mcount || "any" === input3.mcount || "single" === input3.mcount || "multiple" === input3.mcount || "all" === input3.mcount) && (void 0 === input3.continuousCnv || "boolean" === typeof input3.continuousCnv) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvWT || "boolean" === typeof input3.cnvWT) && (void 0 === input3.fractionOverlap || "number" === typeof input3.fractionOverlap);
88
+ const $io39 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu10(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
89
+ const $io40 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
90
+ const $io41 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
91
+ const $io42 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
92
+ const $io43 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io8(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io39(elem)));
93
+ const $io44 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.value || "string" === typeof input3.value) && (void 0 === input3.dt || "number" === typeof input3.dt) && (void 0 === input3.mclasslst || Array.isArray(input3.mclasslst) && input3.mclasslst.every((elem) => "string" === typeof elem)) && (void 0 === input3.mclassExcludeLst || Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "string" === typeof elem)) && (void 0 === input3.origin || "string" === typeof input3.origin);
94
+ const $io45 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (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) && ("object" === typeof input3.term && null !== input3.term && $iu11(input3.term)) && "number" === typeof input3.ratio;
95
+ const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io47(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io48(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem));
96
+ const $io47 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion));
97
+ const $io48 = (input3) => Object.keys(input3).every((key) => {
87
98
  const value = input3[key];
88
99
  if (void 0 === value)
89
100
  return true;
90
101
  if (RegExp(/(.*)/).test(key))
91
- return "object" === typeof value && null !== value && false === Array.isArray(value) && $io47(value);
102
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io49(value);
92
103
  return true;
93
104
  });
94
- const $io47 = (input3) => Object.keys(input3).every((key) => {
105
+ const $io49 = (input3) => Object.keys(input3).every((key) => {
95
106
  const value = input3[key];
96
107
  if (void 0 === value)
97
108
  return true;
@@ -99,12 +110,12 @@ var validGRIN2Request = (input) => {
99
110
  return true;
100
111
  return true;
101
112
  });
102
- const $io48 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.collectionId || "string" === typeof input3.collectionId) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io45(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io46(input3.propsByTermId)) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io49(elem)));
103
- const $io49 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
104
- const $io50 = (input3) => (void 0 === input3.minTotalDepth || "number" === typeof input3.minTotalDepth) && (void 0 === input3.minAltAlleleCount || "number" === typeof input3.minAltAlleleCount) && (void 0 === input3.consequences || Array.isArray(input3.consequences) && input3.consequences.every((elem) => "string" === typeof elem)) && (void 0 === input3.hyperMutator || "number" === typeof input3.hyperMutator) && (void 0 === input3.fivePrimeFlankSize || "number" === typeof input3.fivePrimeFlankSize) && (void 0 === input3.threePrimeFlankSize || "number" === typeof input3.threePrimeFlankSize) && (void 0 === input3.mafFilter || "object" === typeof input3.mafFilter && null !== input3.mafFilter && $io1(input3.mafFilter));
105
- const $io51 = (input3) => (void 0 === input3.lossThreshold || "number" === typeof input3.lossThreshold) && (void 0 === input3.gainThreshold || "number" === typeof input3.gainThreshold) && (void 0 === input3.maxSegLength || "number" === typeof input3.maxSegLength) && (void 0 === input3.hyperMutator || "number" === typeof input3.hyperMutator) && (void 0 === input3.fivePrimeFlankSize || "number" === typeof input3.fivePrimeFlankSize) && (void 0 === input3.threePrimeFlankSize || "number" === typeof input3.threePrimeFlankSize);
106
- const $io52 = (input3) => (void 0 === input3.fivePrimeFlankSize || "number" === typeof input3.fivePrimeFlankSize) && (void 0 === input3.threePrimeFlankSize || "number" === typeof input3.threePrimeFlankSize);
107
- const $io53 = (input3) => (void 0 === input3.fivePrimeFlankSize || "number" === typeof input3.fivePrimeFlankSize) && (void 0 === input3.threePrimeFlankSize || "number" === typeof input3.threePrimeFlankSize);
113
+ const $io50 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io47(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io48(input3.propsByTermId)) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io51(elem)));
114
+ const $io51 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
115
+ const $io52 = (input3) => (void 0 === input3.minTotalDepth || "number" === typeof input3.minTotalDepth) && (void 0 === input3.minAltAlleleCount || "number" === typeof input3.minAltAlleleCount) && (void 0 === input3.consequences || Array.isArray(input3.consequences) && input3.consequences.every((elem) => "string" === typeof elem)) && (void 0 === input3.hyperMutator || "number" === typeof input3.hyperMutator) && (void 0 === input3.fivePrimeFlankSize || "number" === typeof input3.fivePrimeFlankSize) && (void 0 === input3.threePrimeFlankSize || "number" === typeof input3.threePrimeFlankSize) && (void 0 === input3.mafFilter || "object" === typeof input3.mafFilter && null !== input3.mafFilter && $io1(input3.mafFilter));
116
+ const $io53 = (input3) => (void 0 === input3.lossThreshold || "number" === typeof input3.lossThreshold) && (void 0 === input3.gainThreshold || "number" === typeof input3.gainThreshold) && (void 0 === input3.maxSegLength || "number" === typeof input3.maxSegLength) && (void 0 === input3.hyperMutator || "number" === typeof input3.hyperMutator) && (void 0 === input3.fivePrimeFlankSize || "number" === typeof input3.fivePrimeFlankSize) && (void 0 === input3.threePrimeFlankSize || "number" === typeof input3.threePrimeFlankSize);
117
+ const $io54 = (input3) => (void 0 === input3.fivePrimeFlankSize || "number" === typeof input3.fivePrimeFlankSize) && (void 0 === input3.threePrimeFlankSize || "number" === typeof input3.threePrimeFlankSize);
118
+ const $io55 = (input3) => (void 0 === input3.fivePrimeFlankSize || "number" === typeof input3.fivePrimeFlankSize) && (void 0 === input3.threePrimeFlankSize || "number" === typeof input3.threePrimeFlankSize);
108
119
  const $iu0 = (input3) => (() => {
109
120
  if ("tvslst" === input3.type)
110
121
  return $io1(input3);
@@ -124,31 +135,40 @@ var validGRIN2Request = (input) => {
124
135
  return $io19(input3);
125
136
  if (true === input3.stopunbounded)
126
137
  return $io21(input3);
138
+ if (void 0 !== input3.value)
139
+ return $io32(input3);
127
140
  return $io20(input3);
128
141
  })();
129
142
  const $iu3 = (input3) => (() => {
130
143
  if ("gene" === input3.kind)
131
- return $io39(input3);
144
+ return $io41(input3);
132
145
  if ("coord" === input3.kind)
133
- return $io40(input3);
146
+ return $io42(input3);
134
147
  return false;
135
148
  })();
136
149
  const $iu4 = (input3) => (() => {
150
+ if (true === input3.startunbounded)
151
+ return $io19(input3);
152
+ if (true === input3.stopunbounded)
153
+ return $io21(input3);
154
+ return $io20(input3);
155
+ })();
156
+ const $iu5 = (input3) => (() => {
137
157
  if (void 0 !== input3.ranges)
138
158
  return $io13(input3);
139
159
  if (void 0 !== input3.ratio)
140
- return $io43(input3);
160
+ return $io45(input3);
141
161
  return (() => {
142
162
  if ($io3(input3))
143
163
  return $io3(input3);
144
- if ($io33(input3))
145
- return $io33(input3);
146
- if ($io36(input3))
147
- return $io36(input3);
164
+ if ($io34(input3))
165
+ return $io34(input3);
166
+ if ($io38(input3))
167
+ return $io38(input3);
148
168
  return false;
149
169
  })();
150
170
  })();
151
- const $iu5 = (input3) => (() => {
171
+ const $iu6 = (input3) => (() => {
152
172
  if ("integer" === input3.type || "float" === input3.type)
153
173
  return $io14(input3);
154
174
  if ("metaboliteIntensity" === input3.type)
@@ -173,39 +193,39 @@ var validGRIN2Request = (input) => {
173
193
  return false;
174
194
  })();
175
195
  })();
176
- const $iu6 = (input3) => (() => {
196
+ const $iu7 = (input3) => (() => {
177
197
  if ("regular-bin" === input3.type)
178
198
  return $io17(input3);
179
199
  if ("custom-bin" === input3.type)
180
200
  return $io22(input3);
181
201
  return false;
182
202
  })();
183
- const $iu7 = (input3) => (() => {
203
+ const $iu8 = (input3) => (() => {
184
204
  if (true === input3.startunbounded)
185
205
  return $io19(input3);
186
206
  if (void 0 !== input3.start)
187
207
  return $io20(input3);
188
208
  return false;
189
209
  })();
190
- const $iu8 = (input3) => (() => {
210
+ const $iu9 = (input3) => (() => {
191
211
  if (void 0 !== input3.stop)
192
212
  return $io20(input3);
193
213
  if (true === input3.stopunbounded)
194
214
  return $io21(input3);
195
215
  return false;
196
216
  })();
197
- const $iu9 = (input3) => (() => {
217
+ const $iu10 = (input3) => (() => {
198
218
  if ("gene" === input3.kind)
199
- return $io38(input3);
219
+ return $io40(input3);
200
220
  if ("coord" === input3.kind)
201
- return $io41(input3);
221
+ return $io43(input3);
202
222
  return false;
203
223
  })();
204
- const $iu10 = (input3) => (() => {
224
+ const $iu11 = (input3) => (() => {
205
225
  if ("numeric" === input3.memberType)
206
- return $io44(input3);
226
+ return $io46(input3);
207
227
  if ("categorical" === input3.memberType)
208
- return $io48(input3);
228
+ return $io50(input3);
209
229
  return false;
210
230
  })();
211
231
  return "object" === typeof input2 && null !== input2 && $io0(input2);
@@ -268,35 +288,35 @@ var validGRIN2Request = (input) => {
268
288
  value: input3.filter
269
289
  }), void 0 === input3.snvindelOptions || ("object" === typeof input3.snvindelOptions && null !== input3.snvindelOptions && false === Array.isArray(input3.snvindelOptions) || $report(_exceptionable2, {
270
290
  path: _path2 + ".snvindelOptions",
271
- expected: "(__type.o8 | undefined)",
291
+ expected: "(__type.o9 | undefined)",
272
292
  value: input3.snvindelOptions
273
- })) && $vo50(input3.snvindelOptions, _path2 + ".snvindelOptions", _exceptionable2) || $report(_exceptionable2, {
293
+ })) && $vo52(input3.snvindelOptions, _path2 + ".snvindelOptions", _exceptionable2) || $report(_exceptionable2, {
274
294
  path: _path2 + ".snvindelOptions",
275
- expected: "(__type.o8 | undefined)",
295
+ expected: "(__type.o9 | undefined)",
276
296
  value: input3.snvindelOptions
277
297
  }), void 0 === input3.cnvOptions || ("object" === typeof input3.cnvOptions && null !== input3.cnvOptions && false === Array.isArray(input3.cnvOptions) || $report(_exceptionable2, {
278
298
  path: _path2 + ".cnvOptions",
279
- expected: "(__type.o9 | undefined)",
299
+ expected: "(__type.o10 | undefined)",
280
300
  value: input3.cnvOptions
281
- })) && $vo51(input3.cnvOptions, _path2 + ".cnvOptions", _exceptionable2) || $report(_exceptionable2, {
301
+ })) && $vo53(input3.cnvOptions, _path2 + ".cnvOptions", _exceptionable2) || $report(_exceptionable2, {
282
302
  path: _path2 + ".cnvOptions",
283
- expected: "(__type.o9 | undefined)",
303
+ expected: "(__type.o10 | undefined)",
284
304
  value: input3.cnvOptions
285
305
  }), void 0 === input3.fusionOptions || ("object" === typeof input3.fusionOptions && null !== input3.fusionOptions && false === Array.isArray(input3.fusionOptions) || $report(_exceptionable2, {
286
306
  path: _path2 + ".fusionOptions",
287
- expected: "(__type.o10 | undefined)",
307
+ expected: "(__type.o11 | undefined)",
288
308
  value: input3.fusionOptions
289
- })) && $vo52(input3.fusionOptions, _path2 + ".fusionOptions", _exceptionable2) || $report(_exceptionable2, {
309
+ })) && $vo54(input3.fusionOptions, _path2 + ".fusionOptions", _exceptionable2) || $report(_exceptionable2, {
290
310
  path: _path2 + ".fusionOptions",
291
- expected: "(__type.o10 | undefined)",
311
+ expected: "(__type.o11 | undefined)",
292
312
  value: input3.fusionOptions
293
313
  }), void 0 === input3.svOptions || ("object" === typeof input3.svOptions && null !== input3.svOptions && false === Array.isArray(input3.svOptions) || $report(_exceptionable2, {
294
314
  path: _path2 + ".svOptions",
295
- expected: "(__type.o11 | undefined)",
315
+ expected: "(__type.o12 | undefined)",
296
316
  value: input3.svOptions
297
- })) && $vo53(input3.svOptions, _path2 + ".svOptions", _exceptionable2) || $report(_exceptionable2, {
317
+ })) && $vo55(input3.svOptions, _path2 + ".svOptions", _exceptionable2) || $report(_exceptionable2, {
298
318
  path: _path2 + ".svOptions",
299
- expected: "(__type.o11 | undefined)",
319
+ expected: "(__type.o12 | undefined)",
300
320
  value: input3.svOptions
301
321
  }), void 0 === input3.maxGenesToShow || "number" === typeof input3.maxGenesToShow || $report(_exceptionable2, {
302
322
  path: _path2 + ".maxGenesToShow",
@@ -335,6 +355,10 @@ var validGRIN2Request = (input) => {
335
355
  path: _path2 + ".lst",
336
356
  expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
337
357
  value: input3.lst
358
+ }), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
359
+ path: _path2 + ".$id",
360
+ expected: "(string | undefined)",
361
+ value: input3.$id
338
362
  })].every((flag) => flag);
339
363
  const $vo2 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
340
364
  path: _path2 + ".type",
@@ -344,7 +368,7 @@ var validGRIN2Request = (input) => {
344
368
  path: _path2 + ".tvs",
345
369
  expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
346
370
  value: input3.tvs
347
- })) && $vu4(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
371
+ })) && $vu5(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
348
372
  path: _path2 + ".tvs",
349
373
  expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
350
374
  value: input3.tvs
@@ -357,6 +381,26 @@ var validGRIN2Request = (input) => {
357
381
  path: _path2 + ".isnot",
358
382
  expected: "(boolean | undefined)",
359
383
  value: input3.isnot
384
+ }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
385
+ path: _path2 + ".bar_by_grade",
386
+ expected: "(boolean | undefined)",
387
+ value: input3.bar_by_grade
388
+ }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
389
+ path: _path2 + ".bar_by_children",
390
+ expected: "(boolean | undefined)",
391
+ value: input3.bar_by_children
392
+ }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
393
+ path: _path2 + ".value_by_max_grade",
394
+ expected: "(boolean | undefined)",
395
+ value: input3.value_by_max_grade
396
+ }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
397
+ path: _path2 + ".value_by_most_recent",
398
+ expected: "(boolean | undefined)",
399
+ value: input3.value_by_most_recent
400
+ }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
401
+ path: _path2 + ".value_by_computable_grade",
402
+ expected: "(boolean | undefined)",
403
+ value: input3.value_by_computable_grade
360
404
  }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
361
405
  path: _path2 + ".term",
362
406
  expected: "CategoricalTerm",
@@ -385,6 +429,10 @@ var validGRIN2Request = (input) => {
385
429
  path: _path2 + ".values",
386
430
  expected: "Array<BaseValue>",
387
431
  value: input3.values
432
+ }), void 0 === input3.valueset || input3.valueset instanceof Set || $report(_exceptionable2, {
433
+ path: _path2 + ".valueset",
434
+ expected: "(Set<any> | undefined)",
435
+ value: input3.valueset
388
436
  })].every((flag) => flag);
389
437
  const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
390
438
  path: _path2 + ".id",
@@ -652,45 +700,65 @@ var validGRIN2Request = (input) => {
652
700
  path: _path2 + ".isnot",
653
701
  expected: "(boolean | undefined)",
654
702
  value: input3.isnot
703
+ }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
704
+ path: _path2 + ".bar_by_grade",
705
+ expected: "(boolean | undefined)",
706
+ value: input3.bar_by_grade
707
+ }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
708
+ path: _path2 + ".bar_by_children",
709
+ expected: "(boolean | undefined)",
710
+ value: input3.bar_by_children
711
+ }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
712
+ path: _path2 + ".value_by_max_grade",
713
+ expected: "(boolean | undefined)",
714
+ value: input3.value_by_max_grade
715
+ }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
716
+ path: _path2 + ".value_by_most_recent",
717
+ expected: "(boolean | undefined)",
718
+ value: input3.value_by_most_recent
719
+ }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
720
+ path: _path2 + ".value_by_computable_grade",
721
+ expected: "(boolean | undefined)",
722
+ value: input3.value_by_computable_grade
655
723
  }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
656
724
  path: _path2 + ".term",
657
725
  expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | DnaMethylationTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm | WholeProteomeAbundanceTerm)',
658
726
  value: input3.term
659
- })) && $vu5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
727
+ })) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
660
728
  path: _path2 + ".term",
661
729
  expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "singleCellGeneExpression"; gene: string; sample: string; unit: string; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | DnaMethylationTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm | WholeProteomeAbundanceTerm)',
662
730
  value: input3.term
663
731
  }), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
664
732
  path: _path2 + ".ranges",
665
- expected: "Array<NumericBin>",
733
+ expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
666
734
  value: input3.ranges
667
735
  })) && input3.ranges.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
668
736
  path: _path2 + ".ranges[" + _index8 + "]",
669
- expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
737
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
670
738
  value: elem
671
739
  })) && $vu2(elem, _path2 + ".ranges[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
672
740
  path: _path2 + ".ranges[" + _index8 + "]",
673
- expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
741
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
674
742
  value: elem
675
743
  })).every((flag) => flag) || $report(_exceptionable2, {
676
744
  path: _path2 + ".ranges",
677
- expected: "Array<NumericBin>",
745
+ expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
678
746
  value: input3.ranges
679
- }), (Array.isArray(input3.values) || $report(_exceptionable2, {
747
+ }), void 0 === input3.values || (Array.isArray(input3.values) || $report(_exceptionable2, {
680
748
  path: _path2 + ".values",
681
- expected: "Array<__type>.o1",
749
+ expected: "(Array<__type>.o1 | undefined)",
682
750
  value: input3.values
683
751
  })) && input3.values.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
684
752
  path: _path2 + ".values[" + _index9 + "]",
685
- expected: "__type.o4",
753
+ expected: "__type.o5",
686
754
  value: elem
687
- })) && $vo32(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
755
+ })) && $vo33(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
688
756
  path: _path2 + ".values[" + _index9 + "]",
689
- expected: "__type.o4",
757
+ expected: "__type.o5",
690
758
  value: elem
691
759
  })).every((flag) => flag) || $report(_exceptionable2, {
692
760
  path: _path2 + ".values",
693
- expected: "Array<__type>.o1",
761
+ expected: "(Array<__type>.o1 | undefined)",
694
762
  value: input3.values
695
763
  })].every((flag) => flag);
696
764
  const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
@@ -791,7 +859,7 @@ var validGRIN2Request = (input) => {
791
859
  path: _path2 + '["default"]',
792
860
  expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
793
861
  value: input3["default"]
794
- })) && $vu6(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
862
+ })) && $vu7(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
795
863
  path: _path2 + '["default"]',
796
864
  expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
797
865
  value: input3["default"]
@@ -799,7 +867,7 @@ var validGRIN2Request = (input) => {
799
867
  path: _path2 + ".less",
800
868
  expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
801
869
  value: input3.less
802
- })) && $vu6(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
870
+ })) && $vu7(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
803
871
  path: _path2 + ".less",
804
872
  expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
805
873
  value: input3.less
@@ -860,7 +928,7 @@ var validGRIN2Request = (input) => {
860
928
  path: _path2 + ".first_bin",
861
929
  expected: "(FullyBoundedBin | StartUnboundedBin)",
862
930
  value: input3.first_bin
863
- })) && $vu7(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
931
+ })) && $vu8(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
864
932
  path: _path2 + ".first_bin",
865
933
  expected: "(FullyBoundedBin | StartUnboundedBin)",
866
934
  value: input3.first_bin
@@ -868,7 +936,7 @@ var validGRIN2Request = (input) => {
868
936
  path: _path2 + ".last_bin",
869
937
  expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
870
938
  value: input3.last_bin
871
- })) && $vu8(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
939
+ })) && $vu9(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
872
940
  path: _path2 + ".last_bin",
873
941
  expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
874
942
  value: input3.last_bin
@@ -1033,7 +1101,7 @@ var validGRIN2Request = (input) => {
1033
1101
  path: _path2 + ".lst[0]",
1034
1102
  expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1035
1103
  value: input3.lst[0]
1036
- })) && $vu2(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
1104
+ })) && $vu4(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
1037
1105
  path: _path2 + ".lst[0]",
1038
1106
  expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1039
1107
  value: input3.lst[0]
@@ -1046,7 +1114,7 @@ var validGRIN2Request = (input) => {
1046
1114
  path: _path2 + ".lst[" + (1 + _index12) + "]",
1047
1115
  expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1048
1116
  value: elem
1049
- })) && $vu2(elem, _path2 + ".lst[" + (1 + _index12) + "]", _exceptionable2) || $report(_exceptionable2, {
1117
+ })) && $vu4(elem, _path2 + ".lst[" + (1 + _index12) + "]", _exceptionable2) || $report(_exceptionable2, {
1050
1118
  path: _path2 + ".lst[" + (1 + _index12) + "]",
1051
1119
  expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1052
1120
  value: elem
@@ -1952,7 +2020,20 @@ var validGRIN2Request = (input) => {
1952
2020
  expected: "number",
1953
2021
  value: input3.stop
1954
2022
  })].every((flag) => flag);
1955
- const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
2023
+ const $vo32 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
2024
+ path: _path2 + ".value",
2025
+ expected: "number",
2026
+ value: input3.value
2027
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
2028
+ path: _path2 + ".label",
2029
+ expected: "(string | undefined)",
2030
+ value: input3.label
2031
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
2032
+ path: _path2 + ".name",
2033
+ expected: "(string | undefined)",
2034
+ value: input3.name
2035
+ })].every((flag) => flag);
2036
+ const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1956
2037
  path: _path2 + ".key",
1957
2038
  expected: "string",
1958
2039
  value: input3.key
@@ -1969,7 +2050,7 @@ var validGRIN2Request = (input) => {
1969
2050
  expected: "(string | undefined)",
1970
2051
  value: input3.label
1971
2052
  })].every((flag) => flag);
1972
- const $vo33 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2053
+ const $vo34 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1973
2054
  path: _path2 + ".join",
1974
2055
  expected: "(string | undefined)",
1975
2056
  value: input3.join
@@ -1977,14 +2058,14 @@ var validGRIN2Request = (input) => {
1977
2058
  path: _path2 + ".isnot",
1978
2059
  expected: "(boolean | undefined)",
1979
2060
  value: input3.isnot
1980
- }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
1981
- path: _path2 + ".term",
1982
- expected: "ConditionTerm",
1983
- value: input3.term
1984
- })) && $vo34(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1985
- path: _path2 + ".term",
1986
- expected: "ConditionTerm",
1987
- value: input3.term
2061
+ }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
2062
+ path: _path2 + ".bar_by_grade",
2063
+ expected: "(boolean | undefined)",
2064
+ value: input3.bar_by_grade
2065
+ }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
2066
+ path: _path2 + ".bar_by_children",
2067
+ expected: "(boolean | undefined)",
2068
+ value: input3.bar_by_children
1988
2069
  }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
1989
2070
  path: _path2 + ".value_by_max_grade",
1990
2071
  expected: "(boolean | undefined)",
@@ -1997,6 +2078,14 @@ var validGRIN2Request = (input) => {
1997
2078
  path: _path2 + ".value_by_computable_grade",
1998
2079
  expected: "(boolean | undefined)",
1999
2080
  value: input3.value_by_computable_grade
2081
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2082
+ path: _path2 + ".term",
2083
+ expected: "ConditionTerm",
2084
+ value: input3.term
2085
+ })) && $vo35(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2086
+ path: _path2 + ".term",
2087
+ expected: "ConditionTerm",
2088
+ value: input3.term
2000
2089
  }), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
2001
2090
  path: _path2 + ".grade_and_child",
2002
2091
  expected: "(Array<GradeAndChildEntry> | undefined)",
@@ -2005,7 +2094,7 @@ var validGRIN2Request = (input) => {
2005
2094
  path: _path2 + ".grade_and_child[" + _index32 + "]",
2006
2095
  expected: "GradeAndChildEntry",
2007
2096
  value: elem
2008
- })) && $vo35(elem, _path2 + ".grade_and_child[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
2097
+ })) && $vo36(elem, _path2 + ".grade_and_child[" + _index32 + "]", _exceptionable2) || $report(_exceptionable2, {
2009
2098
  path: _path2 + ".grade_and_child[" + _index32 + "]",
2010
2099
  expected: "GradeAndChildEntry",
2011
2100
  value: elem
@@ -2013,8 +2102,24 @@ var validGRIN2Request = (input) => {
2013
2102
  path: _path2 + ".grade_and_child",
2014
2103
  expected: "(Array<GradeAndChildEntry> | undefined)",
2015
2104
  value: input3.grade_and_child
2105
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
2106
+ path: _path2 + ".values",
2107
+ expected: "Array<__type>.o2",
2108
+ value: input3.values
2109
+ })) && input3.values.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2110
+ path: _path2 + ".values[" + _index33 + "]",
2111
+ expected: "__type.o6",
2112
+ value: elem
2113
+ })) && $vo37(elem, _path2 + ".values[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
2114
+ path: _path2 + ".values[" + _index33 + "]",
2115
+ expected: "__type.o6",
2116
+ value: elem
2117
+ })).every((flag) => flag) || $report(_exceptionable2, {
2118
+ path: _path2 + ".values",
2119
+ expected: "Array<__type>.o2",
2120
+ value: input3.values
2016
2121
  })].every((flag) => flag);
2017
- const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2122
+ const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2018
2123
  path: _path2 + ".id",
2019
2124
  expected: "string",
2020
2125
  value: input3.id
@@ -2030,8 +2135,8 @@ var validGRIN2Request = (input) => {
2030
2135
  path: _path2 + ".child_types",
2031
2136
  expected: "(Array<string> | undefined)",
2032
2137
  value: input3.child_types
2033
- })) && input3.child_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
2034
- path: _path2 + ".child_types[" + _index33 + "]",
2138
+ })) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
2139
+ path: _path2 + ".child_types[" + _index34 + "]",
2035
2140
  expected: "string",
2036
2141
  value: elem
2037
2142
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2046,8 +2151,8 @@ var validGRIN2Request = (input) => {
2046
2151
  path: _path2 + ".included_types",
2047
2152
  expected: "(Array<string> | undefined)",
2048
2153
  value: input3.included_types
2049
- })) && input3.included_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
2050
- path: _path2 + ".included_types[" + _index34 + "]",
2154
+ })) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
2155
+ path: _path2 + ".included_types[" + _index35 + "]",
2051
2156
  expected: "string",
2052
2157
  value: elem
2053
2158
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2079,7 +2184,7 @@ var validGRIN2Request = (input) => {
2079
2184
  expected: "(__type.o1 | undefined)",
2080
2185
  value: input3.valueConversion
2081
2186
  })].every((flag) => flag);
2082
- const $vo35 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
2187
+ const $vo36 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
2083
2188
  path: _path2 + ".grade",
2084
2189
  expected: "number",
2085
2190
  value: input3.grade
@@ -2096,7 +2201,25 @@ var validGRIN2Request = (input) => {
2096
2201
  expected: "string",
2097
2202
  value: input3.child_label
2098
2203
  })].every((flag) => flag);
2099
- const $vo36 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2204
+ const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
2205
+ path: _path2 + ".key",
2206
+ expected: "(number | string)",
2207
+ value: input3.key
2208
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
2209
+ path: _path2 + ".label",
2210
+ expected: "(string | undefined)",
2211
+ value: input3.label
2212
+ }), false === _exceptionable2 || Object.keys(input3).map((key) => {
2213
+ if (["key", "label"].some((prop) => key === prop))
2214
+ return true;
2215
+ const value = input3[key];
2216
+ if (void 0 === value)
2217
+ return true;
2218
+ if (RegExp(/(.*)/).test(key))
2219
+ return true;
2220
+ return true;
2221
+ }).every((flag) => flag)].every((flag) => flag);
2222
+ const $vo38 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2100
2223
  path: _path2 + ".join",
2101
2224
  expected: "(string | undefined)",
2102
2225
  value: input3.join
@@ -2104,29 +2227,49 @@ var validGRIN2Request = (input) => {
2104
2227
  path: _path2 + ".isnot",
2105
2228
  expected: "(boolean | undefined)",
2106
2229
  value: input3.isnot
2230
+ }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
2231
+ path: _path2 + ".bar_by_grade",
2232
+ expected: "(boolean | undefined)",
2233
+ value: input3.bar_by_grade
2234
+ }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
2235
+ path: _path2 + ".bar_by_children",
2236
+ expected: "(boolean | undefined)",
2237
+ value: input3.bar_by_children
2238
+ }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
2239
+ path: _path2 + ".value_by_max_grade",
2240
+ expected: "(boolean | undefined)",
2241
+ value: input3.value_by_max_grade
2242
+ }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
2243
+ path: _path2 + ".value_by_most_recent",
2244
+ expected: "(boolean | undefined)",
2245
+ value: input3.value_by_most_recent
2246
+ }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
2247
+ path: _path2 + ".value_by_computable_grade",
2248
+ expected: "(boolean | undefined)",
2249
+ value: input3.value_by_computable_grade
2107
2250
  }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2108
2251
  path: _path2 + ".term",
2109
2252
  expected: "DtTerm",
2110
2253
  value: input3.term
2111
- })) && $vo37(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2254
+ })) && $vo39(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2112
2255
  path: _path2 + ".term",
2113
2256
  expected: "DtTerm",
2114
2257
  value: input3.term
2115
2258
  }), (Array.isArray(input3.values) || $report(_exceptionable2, {
2116
2259
  path: _path2 + ".values",
2117
- expected: "Array<__type>.o2",
2260
+ expected: "Array<GeneVariantValue>",
2118
2261
  value: input3.values
2119
- })) && input3.values.map((elem, _index35) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2120
- path: _path2 + ".values[" + _index35 + "]",
2121
- expected: "__type.o5",
2262
+ })) && input3.values.map((elem, _index36) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
2263
+ path: _path2 + ".values[" + _index36 + "]",
2264
+ expected: "GeneVariantValue",
2122
2265
  value: elem
2123
- })) && $vo42(elem, _path2 + ".values[" + _index35 + "]", _exceptionable2) || $report(_exceptionable2, {
2124
- path: _path2 + ".values[" + _index35 + "]",
2125
- expected: "__type.o5",
2266
+ })) && $vo44(elem, _path2 + ".values[" + _index36 + "]", _exceptionable2) || $report(_exceptionable2, {
2267
+ path: _path2 + ".values[" + _index36 + "]",
2268
+ expected: "GeneVariantValue",
2126
2269
  value: elem
2127
2270
  })).every((flag) => flag) || $report(_exceptionable2, {
2128
2271
  path: _path2 + ".values",
2129
- expected: "Array<__type>.o2",
2272
+ expected: "Array<GeneVariantValue>",
2130
2273
  value: input3.values
2131
2274
  }), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
2132
2275
  path: _path2 + ".includeNotTested",
@@ -2136,8 +2279,40 @@ var validGRIN2Request = (input) => {
2136
2279
  path: _path2 + ".excludeGeneName",
2137
2280
  expected: "(boolean | undefined)",
2138
2281
  value: input3.excludeGeneName
2282
+ }), void 0 === input3.genotype || "variant" === input3.genotype || "nt" === input3.genotype || "wt" === input3.genotype || $report(_exceptionable2, {
2283
+ path: _path2 + ".genotype",
2284
+ expected: '("nt" | "variant" | "wt" | undefined)',
2285
+ value: input3.genotype
2286
+ }), void 0 === input3.mcount || "any" === input3.mcount || "single" === input3.mcount || "multiple" === input3.mcount || "all" === input3.mcount || $report(_exceptionable2, {
2287
+ path: _path2 + ".mcount",
2288
+ expected: '("all" | "any" | "multiple" | "single" | undefined)',
2289
+ value: input3.mcount
2290
+ }), void 0 === input3.continuousCnv || "boolean" === typeof input3.continuousCnv || $report(_exceptionable2, {
2291
+ path: _path2 + ".continuousCnv",
2292
+ expected: "(boolean | undefined)",
2293
+ value: input3.continuousCnv
2294
+ }), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
2295
+ path: _path2 + ".cnvLossCutoff",
2296
+ expected: "(number | undefined)",
2297
+ value: input3.cnvLossCutoff
2298
+ }), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
2299
+ path: _path2 + ".cnvGainCutoff",
2300
+ expected: "(number | undefined)",
2301
+ value: input3.cnvGainCutoff
2302
+ }), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
2303
+ path: _path2 + ".cnvMaxLength",
2304
+ expected: "(number | undefined)",
2305
+ value: input3.cnvMaxLength
2306
+ }), void 0 === input3.cnvWT || "boolean" === typeof input3.cnvWT || $report(_exceptionable2, {
2307
+ path: _path2 + ".cnvWT",
2308
+ expected: "(boolean | undefined)",
2309
+ value: input3.cnvWT
2310
+ }), void 0 === input3.fractionOverlap || "number" === typeof input3.fractionOverlap || $report(_exceptionable2, {
2311
+ path: _path2 + ".fractionOverlap",
2312
+ expected: "(number | undefined)",
2313
+ value: input3.fractionOverlap
2139
2314
  })].every((flag) => flag);
2140
- const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2315
+ const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2141
2316
  path: _path2 + ".id",
2142
2317
  expected: "string",
2143
2318
  value: input3.id
@@ -2157,7 +2332,7 @@ var validGRIN2Request = (input) => {
2157
2332
  path: _path2 + ".parentTerm",
2158
2333
  expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
2159
2334
  value: input3.parentTerm
2160
- })) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
2335
+ })) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
2161
2336
  path: _path2 + ".parentTerm",
2162
2337
  expected: '(BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | undefined)',
2163
2338
  value: input3.parentTerm
@@ -2186,7 +2361,7 @@ var validGRIN2Request = (input) => {
2186
2361
  expected: "TermValues",
2187
2362
  value: input3.values
2188
2363
  })].every((flag) => flag);
2189
- const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2364
+ const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2190
2365
  path: _path2 + ".id",
2191
2366
  expected: "string",
2192
2367
  value: input3.id
@@ -2202,8 +2377,8 @@ var validGRIN2Request = (input) => {
2202
2377
  path: _path2 + ".child_types",
2203
2378
  expected: "(Array<string> | undefined)",
2204
2379
  value: input3.child_types
2205
- })) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
2206
- path: _path2 + ".child_types[" + _index36 + "]",
2380
+ })) && input3.child_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
2381
+ path: _path2 + ".child_types[" + _index37 + "]",
2207
2382
  expected: "string",
2208
2383
  value: elem
2209
2384
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2218,8 +2393,8 @@ var validGRIN2Request = (input) => {
2218
2393
  path: _path2 + ".included_types",
2219
2394
  expected: "(Array<string> | undefined)",
2220
2395
  value: input3.included_types
2221
- })) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
2222
- path: _path2 + ".included_types[" + _index37 + "]",
2396
+ })) && input3.included_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
2397
+ path: _path2 + ".included_types[" + _index38 + "]",
2223
2398
  expected: "string",
2224
2399
  value: elem
2225
2400
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2274,12 +2449,12 @@ var validGRIN2Request = (input) => {
2274
2449
  path: _path2 + ".genes",
2275
2450
  expected: "Array<GvGeneTerm>",
2276
2451
  value: input3.genes
2277
- })) && input3.genes.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2278
- path: _path2 + ".genes[" + _index38 + "]",
2452
+ })) && input3.genes.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2453
+ path: _path2 + ".genes[" + _index39 + "]",
2279
2454
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2280
2455
  value: elem
2281
- })) && $vu3(elem, _path2 + ".genes[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
2282
- path: _path2 + ".genes[" + _index38 + "]",
2456
+ })) && $vu3(elem, _path2 + ".genes[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
2457
+ path: _path2 + ".genes[" + _index39 + "]",
2283
2458
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2284
2459
  value: elem
2285
2460
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2298,12 +2473,12 @@ var validGRIN2Request = (input) => {
2298
2473
  path: _path2 + ".childTerms",
2299
2474
  expected: "(Array<DtTerm> | undefined)",
2300
2475
  value: input3.childTerms
2301
- })) && input3.childTerms.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2302
- path: _path2 + ".childTerms[" + _index39 + "]",
2476
+ })) && input3.childTerms.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2477
+ path: _path2 + ".childTerms[" + _index40 + "]",
2303
2478
  expected: "DtTerm",
2304
2479
  value: elem
2305
- })) && $vo37(elem, _path2 + ".childTerms[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
2306
- path: _path2 + ".childTerms[" + _index39 + "]",
2480
+ })) && $vo39(elem, _path2 + ".childTerms[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
2481
+ path: _path2 + ".childTerms[" + _index40 + "]",
2307
2482
  expected: "DtTerm",
2308
2483
  value: elem
2309
2484
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2311,7 +2486,7 @@ var validGRIN2Request = (input) => {
2311
2486
  expected: "(Array<DtTerm> | undefined)",
2312
2487
  value: input3.childTerms
2313
2488
  })].every((flag) => flag);
2314
- const $vo39 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2489
+ const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2315
2490
  path: _path2 + ".id",
2316
2491
  expected: "string",
2317
2492
  value: input3.id
@@ -2327,8 +2502,8 @@ var validGRIN2Request = (input) => {
2327
2502
  path: _path2 + ".child_types",
2328
2503
  expected: "(Array<string> | undefined)",
2329
2504
  value: input3.child_types
2330
- })) && input3.child_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
2331
- path: _path2 + ".child_types[" + _index40 + "]",
2505
+ })) && input3.child_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
2506
+ path: _path2 + ".child_types[" + _index41 + "]",
2332
2507
  expected: "string",
2333
2508
  value: elem
2334
2509
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2343,8 +2518,8 @@ var validGRIN2Request = (input) => {
2343
2518
  path: _path2 + ".included_types",
2344
2519
  expected: "(Array<string> | undefined)",
2345
2520
  value: input3.included_types
2346
- })) && input3.included_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
2347
- path: _path2 + ".included_types[" + _index41 + "]",
2521
+ })) && input3.included_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
2522
+ path: _path2 + ".included_types[" + _index42 + "]",
2348
2523
  expected: "string",
2349
2524
  value: elem
2350
2525
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2396,7 +2571,7 @@ var validGRIN2Request = (input) => {
2396
2571
  expected: "(number | undefined)",
2397
2572
  value: input3.stop
2398
2573
  })].every((flag) => flag);
2399
- const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2574
+ const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2400
2575
  path: _path2 + ".id",
2401
2576
  expected: "string",
2402
2577
  value: input3.id
@@ -2412,8 +2587,8 @@ var validGRIN2Request = (input) => {
2412
2587
  path: _path2 + ".child_types",
2413
2588
  expected: "(Array<string> | undefined)",
2414
2589
  value: input3.child_types
2415
- })) && input3.child_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
2416
- path: _path2 + ".child_types[" + _index42 + "]",
2590
+ })) && input3.child_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
2591
+ path: _path2 + ".child_types[" + _index43 + "]",
2417
2592
  expected: "string",
2418
2593
  value: elem
2419
2594
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2428,8 +2603,8 @@ var validGRIN2Request = (input) => {
2428
2603
  path: _path2 + ".included_types",
2429
2604
  expected: "(Array<string> | undefined)",
2430
2605
  value: input3.included_types
2431
- })) && input3.included_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
2432
- path: _path2 + ".included_types[" + _index43 + "]",
2606
+ })) && input3.included_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
2607
+ path: _path2 + ".included_types[" + _index44 + "]",
2433
2608
  expected: "string",
2434
2609
  value: elem
2435
2610
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2477,7 +2652,7 @@ var validGRIN2Request = (input) => {
2477
2652
  expected: "number",
2478
2653
  value: input3.stop
2479
2654
  })].every((flag) => flag);
2480
- const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2655
+ const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2481
2656
  path: _path2 + ".id",
2482
2657
  expected: "string",
2483
2658
  value: input3.id
@@ -2493,8 +2668,8 @@ var validGRIN2Request = (input) => {
2493
2668
  path: _path2 + ".child_types",
2494
2669
  expected: "(Array<string> | undefined)",
2495
2670
  value: input3.child_types
2496
- })) && input3.child_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
2497
- path: _path2 + ".child_types[" + _index44 + "]",
2671
+ })) && input3.child_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
2672
+ path: _path2 + ".child_types[" + _index45 + "]",
2498
2673
  expected: "string",
2499
2674
  value: elem
2500
2675
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2509,8 +2684,8 @@ var validGRIN2Request = (input) => {
2509
2684
  path: _path2 + ".included_types",
2510
2685
  expected: "(Array<string> | undefined)",
2511
2686
  value: input3.included_types
2512
- })) && input3.included_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
2513
- path: _path2 + ".included_types[" + _index45 + "]",
2687
+ })) && input3.included_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
2688
+ path: _path2 + ".included_types[" + _index46 + "]",
2514
2689
  expected: "string",
2515
2690
  value: elem
2516
2691
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2561,12 +2736,12 @@ var validGRIN2Request = (input) => {
2561
2736
  path: _path2 + ".genes",
2562
2737
  expected: "Array<GvGeneTerm>",
2563
2738
  value: input3.genes
2564
- })) && input3.genes.map((elem, _index46) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2565
- path: _path2 + ".genes[" + _index46 + "]",
2739
+ })) && input3.genes.map((elem, _index47) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2740
+ path: _path2 + ".genes[" + _index47 + "]",
2566
2741
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2567
2742
  value: elem
2568
- })) && $vu3(elem, _path2 + ".genes[" + _index46 + "]", _exceptionable2) || $report(_exceptionable2, {
2569
- path: _path2 + ".genes[" + _index46 + "]",
2743
+ })) && $vu3(elem, _path2 + ".genes[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
2744
+ path: _path2 + ".genes[" + _index47 + "]",
2570
2745
  expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2571
2746
  value: elem
2572
2747
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2585,12 +2760,12 @@ var validGRIN2Request = (input) => {
2585
2760
  path: _path2 + ".childTerms",
2586
2761
  expected: "(Array<DtTerm> | undefined)",
2587
2762
  value: input3.childTerms
2588
- })) && input3.childTerms.map((elem, _index47) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2589
- path: _path2 + ".childTerms[" + _index47 + "]",
2763
+ })) && input3.childTerms.map((elem, _index48) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2764
+ path: _path2 + ".childTerms[" + _index48 + "]",
2590
2765
  expected: "DtTerm",
2591
2766
  value: elem
2592
- })) && $vo37(elem, _path2 + ".childTerms[" + _index47 + "]", _exceptionable2) || $report(_exceptionable2, {
2593
- path: _path2 + ".childTerms[" + _index47 + "]",
2767
+ })) && $vo39(elem, _path2 + ".childTerms[" + _index48 + "]", _exceptionable2) || $report(_exceptionable2, {
2768
+ path: _path2 + ".childTerms[" + _index48 + "]",
2594
2769
  expected: "DtTerm",
2595
2770
  value: elem
2596
2771
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2598,20 +2773,52 @@ var validGRIN2Request = (input) => {
2598
2773
  expected: "(Array<DtTerm> | undefined)",
2599
2774
  value: input3.childTerms
2600
2775
  })].every((flag) => flag);
2601
- const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
2776
+ const $vo44 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
2602
2777
  path: _path2 + ".key",
2603
- expected: "string",
2778
+ expected: "(string | undefined)",
2604
2779
  value: input3.key
2605
- }), "string" === typeof input3.label || $report(_exceptionable2, {
2780
+ }), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
2606
2781
  path: _path2 + ".label",
2607
- expected: "string",
2782
+ expected: "(number | string | undefined)",
2608
2783
  value: input3.label
2609
- }), "string" === typeof input3.value || $report(_exceptionable2, {
2784
+ }), void 0 === input3.value || "string" === typeof input3.value || $report(_exceptionable2, {
2610
2785
  path: _path2 + ".value",
2611
- expected: "string",
2786
+ expected: "(string | undefined)",
2612
2787
  value: input3.value
2788
+ }), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
2789
+ path: _path2 + ".dt",
2790
+ expected: "(number | undefined)",
2791
+ value: input3.dt
2792
+ }), void 0 === input3.mclasslst || (Array.isArray(input3.mclasslst) || $report(_exceptionable2, {
2793
+ path: _path2 + ".mclasslst",
2794
+ expected: "(Array<string> | undefined)",
2795
+ value: input3.mclasslst
2796
+ })) && input3.mclasslst.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
2797
+ path: _path2 + ".mclasslst[" + _index49 + "]",
2798
+ expected: "string",
2799
+ value: elem
2800
+ })).every((flag) => flag) || $report(_exceptionable2, {
2801
+ path: _path2 + ".mclasslst",
2802
+ expected: "(Array<string> | undefined)",
2803
+ value: input3.mclasslst
2804
+ }), void 0 === input3.mclassExcludeLst || (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
2805
+ path: _path2 + ".mclassExcludeLst",
2806
+ expected: "(Array<string> | undefined)",
2807
+ value: input3.mclassExcludeLst
2808
+ })) && input3.mclassExcludeLst.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
2809
+ path: _path2 + ".mclassExcludeLst[" + _index50 + "]",
2810
+ expected: "string",
2811
+ value: elem
2812
+ })).every((flag) => flag) || $report(_exceptionable2, {
2813
+ path: _path2 + ".mclassExcludeLst",
2814
+ expected: "(Array<string> | undefined)",
2815
+ value: input3.mclassExcludeLst
2816
+ }), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
2817
+ path: _path2 + ".origin",
2818
+ expected: "(string | undefined)",
2819
+ value: input3.origin
2613
2820
  })].every((flag) => flag);
2614
- const $vo43 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2821
+ const $vo45 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2615
2822
  path: _path2 + ".join",
2616
2823
  expected: "(string | undefined)",
2617
2824
  value: input3.join
@@ -2619,11 +2826,31 @@ var validGRIN2Request = (input) => {
2619
2826
  path: _path2 + ".isnot",
2620
2827
  expected: "(boolean | undefined)",
2621
2828
  value: input3.isnot
2829
+ }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
2830
+ path: _path2 + ".bar_by_grade",
2831
+ expected: "(boolean | undefined)",
2832
+ value: input3.bar_by_grade
2833
+ }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
2834
+ path: _path2 + ".bar_by_children",
2835
+ expected: "(boolean | undefined)",
2836
+ value: input3.bar_by_children
2837
+ }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
2838
+ path: _path2 + ".value_by_max_grade",
2839
+ expected: "(boolean | undefined)",
2840
+ value: input3.value_by_max_grade
2841
+ }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
2842
+ path: _path2 + ".value_by_most_recent",
2843
+ expected: "(boolean | undefined)",
2844
+ value: input3.value_by_most_recent
2845
+ }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
2846
+ path: _path2 + ".value_by_computable_grade",
2847
+ expected: "(boolean | undefined)",
2848
+ value: input3.value_by_computable_grade
2622
2849
  }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2623
2850
  path: _path2 + ".term",
2624
2851
  expected: "(CategoricalTermCollection | NumericTermCollection)",
2625
2852
  value: input3.term
2626
- })) && $vu10(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2853
+ })) && $vu11(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2627
2854
  path: _path2 + ".term",
2628
2855
  expected: "(CategoricalTermCollection | NumericTermCollection)",
2629
2856
  value: input3.term
@@ -2632,7 +2859,7 @@ var validGRIN2Request = (input) => {
2632
2859
  expected: "number",
2633
2860
  value: input3.ratio
2634
2861
  })].every((flag) => flag);
2635
- const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2862
+ const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2636
2863
  path: _path2 + ".id",
2637
2864
  expected: "string",
2638
2865
  value: input3.id
@@ -2648,8 +2875,8 @@ var validGRIN2Request = (input) => {
2648
2875
  path: _path2 + ".child_types",
2649
2876
  expected: "(Array<string> | undefined)",
2650
2877
  value: input3.child_types
2651
- })) && input3.child_types.map((elem, _index48) => "string" === typeof elem || $report(_exceptionable2, {
2652
- path: _path2 + ".child_types[" + _index48 + "]",
2878
+ })) && input3.child_types.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
2879
+ path: _path2 + ".child_types[" + _index51 + "]",
2653
2880
  expected: "string",
2654
2881
  value: elem
2655
2882
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2664,8 +2891,8 @@ var validGRIN2Request = (input) => {
2664
2891
  path: _path2 + ".included_types",
2665
2892
  expected: "(Array<string> | undefined)",
2666
2893
  value: input3.included_types
2667
- })) && input3.included_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
2668
- path: _path2 + ".included_types[" + _index49 + "]",
2894
+ })) && input3.included_types.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
2895
+ path: _path2 + ".included_types[" + _index52 + "]",
2669
2896
  expected: "string",
2670
2897
  value: elem
2671
2898
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2696,16 +2923,12 @@ var validGRIN2Request = (input) => {
2696
2923
  path: _path2 + ".valueConversion",
2697
2924
  expected: "(__type.o1 | undefined)",
2698
2925
  value: input3.valueConversion
2699
- }), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
2700
- path: _path2 + ".collectionId",
2701
- expected: "(string | undefined)",
2702
- value: input3.collectionId
2703
2926
  }), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
2704
2927
  path: _path2 + ".termIds",
2705
2928
  expected: "(Array<string> | undefined)",
2706
2929
  value: input3.termIds
2707
- })) && input3.termIds.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
2708
- path: _path2 + ".termIds[" + _index50 + "]",
2930
+ })) && input3.termIds.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
2931
+ path: _path2 + ".termIds[" + _index53 + "]",
2709
2932
  expected: "string",
2710
2933
  value: elem
2711
2934
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2716,12 +2939,12 @@ var validGRIN2Request = (input) => {
2716
2939
  path: _path2 + ".termlst",
2717
2940
  expected: "Array<BaseTerm>",
2718
2941
  value: input3.termlst
2719
- })) && input3.termlst.map((elem, _index51) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2720
- path: _path2 + ".termlst[" + _index51 + "]",
2942
+ })) && input3.termlst.map((elem, _index54) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2943
+ path: _path2 + ".termlst[" + _index54 + "]",
2721
2944
  expected: "BaseTerm",
2722
2945
  value: elem
2723
- })) && $vo45(elem, _path2 + ".termlst[" + _index51 + "]", _exceptionable2) || $report(_exceptionable2, {
2724
- path: _path2 + ".termlst[" + _index51 + "]",
2946
+ })) && $vo47(elem, _path2 + ".termlst[" + _index54 + "]", _exceptionable2) || $report(_exceptionable2, {
2947
+ path: _path2 + ".termlst[" + _index54 + "]",
2725
2948
  expected: "BaseTerm",
2726
2949
  value: elem
2727
2950
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2734,11 +2957,11 @@ var validGRIN2Request = (input) => {
2734
2957
  value: input3.newTvs
2735
2958
  }), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
2736
2959
  path: _path2 + ".propsByTermId",
2737
- expected: "__type.o6",
2960
+ expected: "__type.o7",
2738
2961
  value: input3.propsByTermId
2739
- })) && $vo46(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
2962
+ })) && $vo48(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
2740
2963
  path: _path2 + ".propsByTermId",
2741
- expected: "__type.o6",
2964
+ expected: "__type.o7",
2742
2965
  value: input3.propsByTermId
2743
2966
  }), "numeric" === input3.memberType || $report(_exceptionable2, {
2744
2967
  path: _path2 + ".memberType",
@@ -2748,8 +2971,8 @@ var validGRIN2Request = (input) => {
2748
2971
  path: _path2 + ".numerators",
2749
2972
  expected: "(Array<string> | undefined)",
2750
2973
  value: input3.numerators
2751
- })) && input3.numerators.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
2752
- path: _path2 + ".numerators[" + _index52 + "]",
2974
+ })) && input3.numerators.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
2975
+ path: _path2 + ".numerators[" + _index55 + "]",
2753
2976
  expected: "string",
2754
2977
  value: elem
2755
2978
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2757,7 +2980,7 @@ var validGRIN2Request = (input) => {
2757
2980
  expected: "(Array<string> | undefined)",
2758
2981
  value: input3.numerators
2759
2982
  })].every((flag) => flag);
2760
- const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2983
+ const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2761
2984
  path: _path2 + ".id",
2762
2985
  expected: "string",
2763
2986
  value: input3.id
@@ -2773,8 +2996,8 @@ var validGRIN2Request = (input) => {
2773
2996
  path: _path2 + ".child_types",
2774
2997
  expected: "(Array<string> | undefined)",
2775
2998
  value: input3.child_types
2776
- })) && input3.child_types.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
2777
- path: _path2 + ".child_types[" + _index53 + "]",
2999
+ })) && input3.child_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
3000
+ path: _path2 + ".child_types[" + _index56 + "]",
2778
3001
  expected: "string",
2779
3002
  value: elem
2780
3003
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2789,8 +3012,8 @@ var validGRIN2Request = (input) => {
2789
3012
  path: _path2 + ".included_types",
2790
3013
  expected: "(Array<string> | undefined)",
2791
3014
  value: input3.included_types
2792
- })) && input3.included_types.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
2793
- path: _path2 + ".included_types[" + _index54 + "]",
3015
+ })) && input3.included_types.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
3016
+ path: _path2 + ".included_types[" + _index57 + "]",
2794
3017
  expected: "string",
2795
3018
  value: elem
2796
3019
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2822,23 +3045,23 @@ var validGRIN2Request = (input) => {
2822
3045
  expected: "(__type.o1 | undefined)",
2823
3046
  value: input3.valueConversion
2824
3047
  })].every((flag) => flag);
2825
- const $vo46 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
3048
+ const $vo48 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2826
3049
  const value = input3[key];
2827
3050
  if (void 0 === value)
2828
3051
  return true;
2829
3052
  if (RegExp(/(.*)/).test(key))
2830
3053
  return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
2831
3054
  path: _path2 + $join(key),
2832
- expected: "__type.o7",
3055
+ expected: "__type.o8",
2833
3056
  value
2834
- })) && $vo47(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
3057
+ })) && $vo49(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
2835
3058
  path: _path2 + $join(key),
2836
- expected: "__type.o7",
3059
+ expected: "__type.o8",
2837
3060
  value
2838
3061
  });
2839
3062
  return true;
2840
3063
  }).every((flag) => flag)].every((flag) => flag);
2841
- const $vo47 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
3064
+ const $vo49 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2842
3065
  const value = input3[key];
2843
3066
  if (void 0 === value)
2844
3067
  return true;
@@ -2846,7 +3069,7 @@ var validGRIN2Request = (input) => {
2846
3069
  return true;
2847
3070
  return true;
2848
3071
  }).every((flag) => flag)].every((flag) => flag);
2849
- const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3072
+ const $vo50 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2850
3073
  path: _path2 + ".id",
2851
3074
  expected: "string",
2852
3075
  value: input3.id
@@ -2862,8 +3085,8 @@ var validGRIN2Request = (input) => {
2862
3085
  path: _path2 + ".child_types",
2863
3086
  expected: "(Array<string> | undefined)",
2864
3087
  value: input3.child_types
2865
- })) && input3.child_types.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
2866
- path: _path2 + ".child_types[" + _index55 + "]",
3088
+ })) && input3.child_types.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
3089
+ path: _path2 + ".child_types[" + _index58 + "]",
2867
3090
  expected: "string",
2868
3091
  value: elem
2869
3092
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2878,8 +3101,8 @@ var validGRIN2Request = (input) => {
2878
3101
  path: _path2 + ".included_types",
2879
3102
  expected: "(Array<string> | undefined)",
2880
3103
  value: input3.included_types
2881
- })) && input3.included_types.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
2882
- path: _path2 + ".included_types[" + _index56 + "]",
3104
+ })) && input3.included_types.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
3105
+ path: _path2 + ".included_types[" + _index59 + "]",
2883
3106
  expected: "string",
2884
3107
  value: elem
2885
3108
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2910,16 +3133,12 @@ var validGRIN2Request = (input) => {
2910
3133
  path: _path2 + ".valueConversion",
2911
3134
  expected: "(__type.o1 | undefined)",
2912
3135
  value: input3.valueConversion
2913
- }), void 0 === input3.collectionId || "string" === typeof input3.collectionId || $report(_exceptionable2, {
2914
- path: _path2 + ".collectionId",
2915
- expected: "(string | undefined)",
2916
- value: input3.collectionId
2917
3136
  }), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
2918
3137
  path: _path2 + ".termIds",
2919
3138
  expected: "(Array<string> | undefined)",
2920
3139
  value: input3.termIds
2921
- })) && input3.termIds.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
2922
- path: _path2 + ".termIds[" + _index57 + "]",
3140
+ })) && input3.termIds.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
3141
+ path: _path2 + ".termIds[" + _index60 + "]",
2923
3142
  expected: "string",
2924
3143
  value: elem
2925
3144
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2930,12 +3149,12 @@ var validGRIN2Request = (input) => {
2930
3149
  path: _path2 + ".termlst",
2931
3150
  expected: "Array<BaseTerm>",
2932
3151
  value: input3.termlst
2933
- })) && input3.termlst.map((elem, _index58) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2934
- path: _path2 + ".termlst[" + _index58 + "]",
3152
+ })) && input3.termlst.map((elem, _index61) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3153
+ path: _path2 + ".termlst[" + _index61 + "]",
2935
3154
  expected: "BaseTerm",
2936
3155
  value: elem
2937
- })) && $vo45(elem, _path2 + ".termlst[" + _index58 + "]", _exceptionable2) || $report(_exceptionable2, {
2938
- path: _path2 + ".termlst[" + _index58 + "]",
3156
+ })) && $vo47(elem, _path2 + ".termlst[" + _index61 + "]", _exceptionable2) || $report(_exceptionable2, {
3157
+ path: _path2 + ".termlst[" + _index61 + "]",
2939
3158
  expected: "BaseTerm",
2940
3159
  value: elem
2941
3160
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2948,11 +3167,11 @@ var validGRIN2Request = (input) => {
2948
3167
  value: input3.newTvs
2949
3168
  }), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
2950
3169
  path: _path2 + ".propsByTermId",
2951
- expected: "__type.o6",
3170
+ expected: "__type.o7",
2952
3171
  value: input3.propsByTermId
2953
- })) && $vo46(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
3172
+ })) && $vo48(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
2954
3173
  path: _path2 + ".propsByTermId",
2955
- expected: "__type.o6",
3174
+ expected: "__type.o7",
2956
3175
  value: input3.propsByTermId
2957
3176
  }), "categorical" === input3.memberType || $report(_exceptionable2, {
2958
3177
  path: _path2 + ".memberType",
@@ -2962,12 +3181,12 @@ var validGRIN2Request = (input) => {
2962
3181
  path: _path2 + ".categoryKeys",
2963
3182
  expected: "Array<CategoryKey>",
2964
3183
  value: input3.categoryKeys
2965
- })) && input3.categoryKeys.map((elem, _index59) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2966
- path: _path2 + ".categoryKeys[" + _index59 + "]",
3184
+ })) && input3.categoryKeys.map((elem, _index62) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3185
+ path: _path2 + ".categoryKeys[" + _index62 + "]",
2967
3186
  expected: "CategoryKey",
2968
3187
  value: elem
2969
- })) && $vo49(elem, _path2 + ".categoryKeys[" + _index59 + "]", _exceptionable2) || $report(_exceptionable2, {
2970
- path: _path2 + ".categoryKeys[" + _index59 + "]",
3188
+ })) && $vo51(elem, _path2 + ".categoryKeys[" + _index62 + "]", _exceptionable2) || $report(_exceptionable2, {
3189
+ path: _path2 + ".categoryKeys[" + _index62 + "]",
2971
3190
  expected: "CategoryKey",
2972
3191
  value: elem
2973
3192
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -2975,7 +3194,7 @@ var validGRIN2Request = (input) => {
2975
3194
  expected: "Array<CategoryKey>",
2976
3195
  value: input3.categoryKeys
2977
3196
  })].every((flag) => flag);
2978
- const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
3197
+ const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
2979
3198
  path: _path2 + ".key",
2980
3199
  expected: "string",
2981
3200
  value: input3.key
@@ -2984,7 +3203,7 @@ var validGRIN2Request = (input) => {
2984
3203
  expected: "boolean",
2985
3204
  value: input3.shown
2986
3205
  })].every((flag) => flag);
2987
- const $vo50 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.minTotalDepth || "number" === typeof input3.minTotalDepth || $report(_exceptionable2, {
3206
+ const $vo52 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.minTotalDepth || "number" === typeof input3.minTotalDepth || $report(_exceptionable2, {
2988
3207
  path: _path2 + ".minTotalDepth",
2989
3208
  expected: "(number | undefined)",
2990
3209
  value: input3.minTotalDepth
@@ -2996,8 +3215,8 @@ var validGRIN2Request = (input) => {
2996
3215
  path: _path2 + ".consequences",
2997
3216
  expected: "(Array<string> | undefined)",
2998
3217
  value: input3.consequences
2999
- })) && input3.consequences.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
3000
- path: _path2 + ".consequences[" + _index60 + "]",
3218
+ })) && input3.consequences.map((elem, _index63) => "string" === typeof elem || $report(_exceptionable2, {
3219
+ path: _path2 + ".consequences[" + _index63 + "]",
3001
3220
  expected: "string",
3002
3221
  value: elem
3003
3222
  })).every((flag) => flag) || $report(_exceptionable2, {
@@ -3025,7 +3244,7 @@ var validGRIN2Request = (input) => {
3025
3244
  expected: "(Filter | undefined)",
3026
3245
  value: input3.mafFilter
3027
3246
  })].every((flag) => flag);
3028
- const $vo51 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.lossThreshold || "number" === typeof input3.lossThreshold || $report(_exceptionable2, {
3247
+ const $vo53 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.lossThreshold || "number" === typeof input3.lossThreshold || $report(_exceptionable2, {
3029
3248
  path: _path2 + ".lossThreshold",
3030
3249
  expected: "(number | undefined)",
3031
3250
  value: input3.lossThreshold
@@ -3050,7 +3269,7 @@ var validGRIN2Request = (input) => {
3050
3269
  expected: "(number | undefined)",
3051
3270
  value: input3.threePrimeFlankSize
3052
3271
  })].every((flag) => flag);
3053
- const $vo52 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.fivePrimeFlankSize || "number" === typeof input3.fivePrimeFlankSize || $report(_exceptionable2, {
3272
+ const $vo54 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.fivePrimeFlankSize || "number" === typeof input3.fivePrimeFlankSize || $report(_exceptionable2, {
3054
3273
  path: _path2 + ".fivePrimeFlankSize",
3055
3274
  expected: "(number | undefined)",
3056
3275
  value: input3.fivePrimeFlankSize
@@ -3059,7 +3278,7 @@ var validGRIN2Request = (input) => {
3059
3278
  expected: "(number | undefined)",
3060
3279
  value: input3.threePrimeFlankSize
3061
3280
  })].every((flag) => flag);
3062
- const $vo53 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.fivePrimeFlankSize || "number" === typeof input3.fivePrimeFlankSize || $report(_exceptionable2, {
3281
+ const $vo55 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.fivePrimeFlankSize || "number" === typeof input3.fivePrimeFlankSize || $report(_exceptionable2, {
3063
3282
  path: _path2 + ".fivePrimeFlankSize",
3064
3283
  expected: "(number | undefined)",
3065
3284
  value: input3.fivePrimeFlankSize
@@ -3095,13 +3314,15 @@ var validGRIN2Request = (input) => {
3095
3314
  return $vo19(input3, _path2, _exceptionable2);
3096
3315
  if (true === input3.stopunbounded)
3097
3316
  return $vo21(input3, _path2, _exceptionable2);
3317
+ if (void 0 !== input3.value)
3318
+ return $vo32(input3, _path2, _exceptionable2);
3098
3319
  return $vo20(input3, _path2, _exceptionable2);
3099
3320
  })();
3100
3321
  const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
3101
3322
  if ("gene" === input3.kind)
3102
- return $vo39(input3, _path2, _exceptionable2);
3323
+ return $vo41(input3, _path2, _exceptionable2);
3103
3324
  if ("coord" === input3.kind)
3104
- return $vo40(input3, _path2, _exceptionable2);
3325
+ return $vo42(input3, _path2, _exceptionable2);
3105
3326
  return $report(_exceptionable2, {
3106
3327
  path: _path2,
3107
3328
  expected: "(BaseTerm & Gene | BaseTerm & Coord)",
@@ -3109,13 +3330,20 @@ var validGRIN2Request = (input) => {
3109
3330
  });
3110
3331
  })();
3111
3332
  const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
3333
+ if (true === input3.startunbounded)
3334
+ return $vo19(input3, _path2, _exceptionable2);
3335
+ if (true === input3.stopunbounded)
3336
+ return $vo21(input3, _path2, _exceptionable2);
3337
+ return $vo20(input3, _path2, _exceptionable2);
3338
+ })();
3339
+ const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
3112
3340
  if (void 0 !== input3.ranges)
3113
3341
  return $vo13(input3, _path2, _exceptionable2);
3114
3342
  if (void 0 !== input3.ratio)
3115
- return $vo43(input3, _path2, _exceptionable2);
3116
- return $vo3(input3, _path2, false) || $vo33(input3, _path2, false) || $vo36(input3, _path2, false);
3343
+ return $vo45(input3, _path2, _exceptionable2);
3344
+ return $vo3(input3, _path2, false) || $vo34(input3, _path2, false) || $vo38(input3, _path2, false);
3117
3345
  })();
3118
- const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
3346
+ const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
3119
3347
  if ("integer" === input3.type || "float" === input3.type)
3120
3348
  return $vo14(input3, _path2, _exceptionable2);
3121
3349
  if ("metaboliteIntensity" === input3.type)
@@ -3130,7 +3358,7 @@ var validGRIN2Request = (input) => {
3130
3358
  return $vo29(input3, _path2, _exceptionable2);
3131
3359
  return $vo24(input3, _path2, false) || $vo23(input3, _path2, false) || $vo31(input3, _path2, false) || $vo30(input3, _path2, false);
3132
3360
  })();
3133
- const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
3361
+ const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
3134
3362
  if ("regular-bin" === input3.type)
3135
3363
  return $vo17(input3, _path2, _exceptionable2);
3136
3364
  if ("custom-bin" === input3.type)
@@ -3141,7 +3369,7 @@ var validGRIN2Request = (input) => {
3141
3369
  value: input3
3142
3370
  });
3143
3371
  })();
3144
- const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
3372
+ const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
3145
3373
  if (true === input3.startunbounded)
3146
3374
  return $vo19(input3, _path2, _exceptionable2);
3147
3375
  if (void 0 !== input3.start)
@@ -3152,7 +3380,7 @@ var validGRIN2Request = (input) => {
3152
3380
  value: input3
3153
3381
  });
3154
3382
  })();
3155
- const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
3383
+ const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
3156
3384
  if (void 0 !== input3.stop)
3157
3385
  return $vo20(input3, _path2, _exceptionable2);
3158
3386
  if (true === input3.stopunbounded)
@@ -3163,22 +3391,22 @@ var validGRIN2Request = (input) => {
3163
3391
  value: input3
3164
3392
  });
3165
3393
  })();
3166
- const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
3394
+ const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
3167
3395
  if ("gene" === input3.kind)
3168
- return $vo38(input3, _path2, _exceptionable2);
3396
+ return $vo40(input3, _path2, _exceptionable2);
3169
3397
  if ("coord" === input3.kind)
3170
- return $vo41(input3, _path2, _exceptionable2);
3398
+ return $vo43(input3, _path2, _exceptionable2);
3171
3399
  return $report(_exceptionable2, {
3172
3400
  path: _path2,
3173
3401
  expected: '(BaseTerm & Gene & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; } | BaseTerm & Coord & { type: "geneVariant"; genes: GvGeneTerm[]; } & { groupsetting?: TermGroupSetting | undefined; childTerms?: DtTerm[] | undefined; })',
3174
3402
  value: input3
3175
3403
  });
3176
3404
  })();
3177
- const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
3405
+ const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
3178
3406
  if ("numeric" === input3.memberType)
3179
- return $vo44(input3, _path2, _exceptionable2);
3407
+ return $vo46(input3, _path2, _exceptionable2);
3180
3408
  if ("categorical" === input3.memberType)
3181
- return $vo48(input3, _path2, _exceptionable2);
3409
+ return $vo50(input3, _path2, _exceptionable2);
3182
3410
  return $report(_exceptionable2, {
3183
3411
  path: _path2,
3184
3412
  expected: "(NumericTermCollection | CategoricalTermCollection)",