@sjcrh/proteinpaint-types 2.180.1 → 2.182.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 (50) hide show
  1. package/dist/brainImaging.js +1 -1
  2. package/dist/{chunk-XCSFBW4V.js → chunk-2QTCQFYE.js} +1101 -649
  3. package/dist/{chunk-DIKDKRFN.js → chunk-3DA4MJ2U.js} +691 -467
  4. package/dist/{chunk-Y6F7ZVSV.js → chunk-45VA4Y6L.js} +691 -467
  5. package/dist/chunk-7OA6G77M.js +113 -0
  6. package/dist/{chunk-XAGXFLSH.js → chunk-C5ECCXOT.js} +1402 -756
  7. package/dist/{chunk-PZUKZRSI.js → chunk-DDMUMMOL.js} +438 -214
  8. package/dist/{chunk-4DCPDZW4.js → chunk-G6ZTAMGK.js} +13 -1
  9. package/dist/{chunk-DPWX7ORN.js → chunk-J55IQXT7.js} +515 -291
  10. package/dist/{chunk-P75GBHFO.js → chunk-K6W2WEPW.js} +857 -395
  11. package/dist/{chunk-LLBTODL6.js → chunk-KNDCWQJD.js} +691 -467
  12. package/dist/{chunk-NOT62STS.js → chunk-UBAJYDGK.js} +453 -229
  13. package/dist/{chunk-WSKMTIOO.js → chunk-URYAC364.js} +677 -453
  14. package/dist/{chunk-6PTYP7X4.js → chunk-UYKWZWCU.js} +2180 -1062
  15. package/dist/{chunk-OT6W3FNI.js → chunk-VUNM6QTX.js} +438 -214
  16. package/dist/{chunk-ICACMXK2.js → chunk-ZKO7LMCC.js} +438 -214
  17. package/dist/{chunk-KFNXZOED.js → chunk-ZRTB7SRA.js} +653 -425
  18. package/dist/correlationVolcano.js +1 -1
  19. package/dist/grin2.js +1 -1
  20. package/dist/index.js +34 -34
  21. package/dist/termdb.categories.js +1 -1
  22. package/dist/termdb.chat.js +438 -214
  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.diffMeth.js +1 -1
  27. package/dist/termdb.dmr.js +1 -1
  28. package/dist/termdb.isoformAvailability.js +11 -0
  29. package/dist/termdb.numericcategories.js +1 -1
  30. package/dist/termdb.percentile.js +1 -1
  31. package/dist/termdb.termsbyids.js +1 -1
  32. package/dist/termdb.topTermsByType.js +1 -1
  33. package/dist/termdb.topVariablyExpressedGenes.js +1 -1
  34. package/dist/termdb.violinBox.js +11 -0
  35. package/package.json +1 -1
  36. package/src/dataset.ts +92 -58
  37. package/src/index.ts +3 -2
  38. package/src/routes/termdb.cluster.ts +11 -0
  39. package/src/routes/termdb.diffMeth.ts +6 -0
  40. package/src/routes/termdb.dmr.ts +73 -14
  41. package/src/routes/termdb.isoformAvailability.ts +22 -0
  42. package/src/routes/termdb.violinBox.ts +230 -0
  43. package/src/terms/isoformExpression.ts +36 -0
  44. package/src/terms/numeric.ts +2 -0
  45. package/src/vocab.ts +0 -1
  46. package/dist/chunk-R7BNDCKV.js +0 -3722
  47. package/dist/termdb.boxplot.js +0 -11
  48. package/dist/termdb.violin.js +0 -11
  49. package/src/routes/termdb.boxplot.ts +0 -164
  50. package/src/routes/termdb.violin.ts +0 -163
@@ -1,3722 +0,0 @@
1
- import {
2
- __toESM,
3
- require_lib
4
- } from "./chunk-YNHC5SXO.js";
5
-
6
- // dist/termdb.violin.ts
7
- var import_typia = __toESM(require_lib(), 1);
8
-
9
- // src/routes/termdb.violin.ts
10
- var violinPayload = {
11
- request: {
12
- typeId: "ViolinRequest"
13
- },
14
- response: {
15
- typeId: "ViolinResponse"
16
- },
17
- examples: [
18
- {
19
- request: {
20
- body: {
21
- genome: "hg38-test",
22
- dslabel: "TermdbTest",
23
- embedder: "localhost",
24
- devicePixelRatio: 2.200000047683716,
25
- maxThickness: 150,
26
- screenThickness: 1218,
27
- filter: {
28
- type: "tvslst",
29
- in: true,
30
- join: "",
31
- lst: [
32
- {
33
- tag: "cohortFilter",
34
- type: "tvs",
35
- tvs: { term: { id: "subcohort", type: "categorical" }, values: [{ key: "ABC", label: "ABC" }] }
36
- }
37
- ]
38
- },
39
- svgw: 227.27272234672367,
40
- orientation: "horizontal",
41
- datasymbol: "bean",
42
- radius: 5,
43
- strokeWidth: 0.2,
44
- axisHeight: 60,
45
- rightMargin: 50,
46
- unit: "abs",
47
- termid: "agedx"
48
- }
49
- },
50
- response: {
51
- header: { status: 200 }
52
- }
53
- }
54
- ]
55
- };
56
-
57
- // dist/termdb.violin.ts
58
- var validViolinRequest = (input) => {
59
- const errors = [];
60
- const __is = (input2) => {
61
- const $join = import_typia.createValidate.join;
62
- const $io0 = (input3) => "number" === typeof input3.axisHeight && (Array.isArray(input3.currentGeneNames) && input3.currentGeneNames.every((elem) => "string" === typeof elem)) && "string" === typeof input3.datasymbol && "number" === typeof input3.devicePixelRatio && true && true && "string" === typeof input3.dslabel && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "string" === typeof input3.genome && "boolean" === typeof input3.isKDE && ("horizontal" === input3.orientation || "vertical" === input3.orientation) && "number" === typeof input3.radius && "number" === typeof input3.rightMargin && true && "number" === typeof input3.strokeWidth && "number" === typeof input3.svgw && "number" === typeof input3.ticks && true && "string" === typeof input3.unit;
63
- 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);
64
- const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu5(input3.tvs));
65
- 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);
66
- 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));
67
- const $io5 = (input3) => Object.keys(input3).every((key) => {
68
- const value = input3[key];
69
- if (void 0 === value)
70
- return true;
71
- if (RegExp(/(.*)/).test(key))
72
- return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
73
- if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
74
- return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
75
- return true;
76
- });
77
- const $io6 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter));
78
- const $io7 = (input3) => "string" === typeof input3.fromUnit && "string" === typeof input3.toUnit && "string" === typeof input3.scaleFactor;
79
- const $io8 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io9(elem)));
80
- const $io9 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (void 0 === input3.dt || "number" === typeof input3.dt) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
81
- 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);
82
- const $io11 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
83
- const $io12 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
84
- 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 && $io34(elem)));
85
- 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));
86
- const $io15 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
87
- 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);
88
- 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);
89
- const $io18 = (input3) => Object.keys(input3).every((key) => {
90
- const value = input3[key];
91
- if (void 0 === value)
92
- return true;
93
- if (RegExp(/(.*)/).test(key))
94
- return "number" === typeof value;
95
- return true;
96
- });
97
- 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);
98
- 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);
99
- 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);
100
- 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);
101
- 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);
102
- 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;
103
- 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));
104
- const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === 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.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && ("object" === typeof input3.proteomeDetails && null !== input3.proteomeDetails && ("string" === typeof input3.proteomeDetails.assay && "string" === typeof input3.proteomeDetails.cohort));
105
- const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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));
106
- const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
107
- const $io30 = (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));
108
- 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 || "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);
109
- const $io32 = (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;
110
- const $io33 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
111
- const $io34 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
112
- const $io35 = (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 && $io36(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 && $io37(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io38(elem)));
113
- const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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));
114
- const $io37 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
115
- const $io38 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label) && Object.keys(input3).every((key) => {
116
- if (["key", "label"].some((prop) => key === prop))
117
- return true;
118
- const value = input3[key];
119
- if (void 0 === value)
120
- return true;
121
- if (RegExp(/(.*)/).test(key))
122
- return true;
123
- return true;
124
- });
125
- const $io39 = (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 && $io40(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io45(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);
126
- const $io40 = (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));
127
- 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)) && "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 && $io40(elem)));
128
- 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)) && "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);
129
- const $io43 = (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;
130
- const $io44 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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 && $io40(elem)));
131
- const $io45 = (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);
132
- const $io46 = (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;
133
- const $io47 = (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 && $io48(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io49(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.valueTransform || "object" === typeof input3.valueTransform && null !== input3.valueTransform && false === Array.isArray(input3.valueTransform) && $io51(input3.valueTransform));
134
- const $io48 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $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));
135
- const $io49 = (input3) => Object.keys(input3).every((key) => {
136
- const value = input3[key];
137
- if (void 0 === value)
138
- return true;
139
- if (RegExp(/(.*)/).test(key))
140
- return "object" === typeof value && null !== value && false === Array.isArray(value) && $io50(value);
141
- return true;
142
- });
143
- const $io50 = (input3) => Object.keys(input3).every((key) => {
144
- const value = input3[key];
145
- if (void 0 === value)
146
- return true;
147
- if (RegExp(/(.*)/).test(key))
148
- return true;
149
- return true;
150
- });
151
- const $io51 = (input3) => void 0 === input3.offset || "number" === typeof input3.offset;
152
- const $io52 = (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 && $io48(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io49(input3.propsByTermId)) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io53(elem)));
153
- const $io53 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
154
- const $iu0 = (input3) => (() => {
155
- if ("tvslst" === input3.type)
156
- return $io1(input3);
157
- if ("tvs" === input3.type)
158
- return $io2(input3);
159
- return false;
160
- })();
161
- const $iu1 = (input3) => (() => {
162
- if ("string" === typeof input3.type)
163
- return $io10(input3);
164
- if ("filter" === input3.type)
165
- return $io12(input3);
166
- return false;
167
- })();
168
- const $iu2 = (input3) => (() => {
169
- if (true === input3.startunbounded)
170
- return $io19(input3);
171
- if (true === input3.stopunbounded)
172
- return $io21(input3);
173
- if (void 0 !== input3.value)
174
- return $io33(input3);
175
- return $io20(input3);
176
- })();
177
- const $iu3 = (input3) => (() => {
178
- if ("gene" === input3.kind)
179
- return $io42(input3);
180
- if ("coord" === input3.kind)
181
- return $io43(input3);
182
- return false;
183
- })();
184
- const $iu4 = (input3) => (() => {
185
- if (true === input3.startunbounded)
186
- return $io19(input3);
187
- if (true === input3.stopunbounded)
188
- return $io21(input3);
189
- return $io20(input3);
190
- })();
191
- const $iu5 = (input3) => (() => {
192
- if (void 0 !== input3.ranges)
193
- return $io13(input3);
194
- if (void 0 !== input3.ratio)
195
- return $io46(input3);
196
- return (() => {
197
- if ($io3(input3))
198
- return $io3(input3);
199
- if ($io35(input3))
200
- return $io35(input3);
201
- if ($io39(input3))
202
- return $io39(input3);
203
- return false;
204
- })();
205
- })();
206
- const $iu6 = (input3) => (() => {
207
- if ("integer" === input3.type || "float" === input3.type)
208
- return $io14(input3);
209
- if ("metaboliteIntensity" === input3.type)
210
- return $io25(input3);
211
- if ("proteomeAbundance" === input3.type)
212
- return $io26(input3);
213
- if ("date" === input3.type)
214
- return $io28(input3);
215
- if ("ssGSEA" === input3.type)
216
- return $io29(input3);
217
- if ("dnaMethylation" === input3.type)
218
- return $io30(input3);
219
- return (() => {
220
- if ($io24(input3))
221
- return $io24(input3);
222
- if ($io23(input3))
223
- return $io23(input3);
224
- if ($io32(input3))
225
- return $io32(input3);
226
- if ($io31(input3))
227
- return $io31(input3);
228
- return false;
229
- })();
230
- })();
231
- const $iu7 = (input3) => (() => {
232
- if ("regular-bin" === input3.type)
233
- return $io17(input3);
234
- if ("custom-bin" === input3.type)
235
- return $io22(input3);
236
- return false;
237
- })();
238
- const $iu8 = (input3) => (() => {
239
- if (true === input3.startunbounded)
240
- return $io19(input3);
241
- if (void 0 !== input3.start)
242
- return $io20(input3);
243
- return false;
244
- })();
245
- const $iu9 = (input3) => (() => {
246
- if (void 0 !== input3.stop)
247
- return $io20(input3);
248
- if (true === input3.stopunbounded)
249
- return $io21(input3);
250
- return false;
251
- })();
252
- const $iu10 = (input3) => (() => {
253
- if ("gene" === input3.kind)
254
- return $io41(input3);
255
- if ("coord" === input3.kind)
256
- return $io44(input3);
257
- return false;
258
- })();
259
- const $iu11 = (input3) => (() => {
260
- if ("numeric" === input3.memberType)
261
- return $io47(input3);
262
- if ("categorical" === input3.memberType)
263
- return $io52(input3);
264
- return false;
265
- })();
266
- return "object" === typeof input2 && null !== input2 && $io0(input2);
267
- };
268
- if (false === __is(input)) {
269
- const $report = import_typia.createValidate.report(errors);
270
- ((input2, _path, _exceptionable = true) => {
271
- const $join = import_typia.createValidate.join;
272
- const $vo0 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.axisHeight || $report(_exceptionable2, {
273
- path: _path2 + ".axisHeight",
274
- expected: "number",
275
- value: input3.axisHeight
276
- }), (Array.isArray(input3.currentGeneNames) || $report(_exceptionable2, {
277
- path: _path2 + ".currentGeneNames",
278
- expected: "Array<string>",
279
- value: input3.currentGeneNames
280
- })) && input3.currentGeneNames.map((elem, _index1) => "string" === typeof elem || $report(_exceptionable2, {
281
- path: _path2 + ".currentGeneNames[" + _index1 + "]",
282
- expected: "string",
283
- value: elem
284
- })).every((flag) => flag) || $report(_exceptionable2, {
285
- path: _path2 + ".currentGeneNames",
286
- expected: "Array<string>",
287
- value: input3.currentGeneNames
288
- }), "string" === typeof input3.datasymbol || $report(_exceptionable2, {
289
- path: _path2 + ".datasymbol",
290
- expected: "string",
291
- value: input3.datasymbol
292
- }), "number" === typeof input3.devicePixelRatio || $report(_exceptionable2, {
293
- path: _path2 + ".devicePixelRatio",
294
- expected: "number",
295
- value: input3.devicePixelRatio
296
- }), true, true, "string" === typeof input3.dslabel || $report(_exceptionable2, {
297
- path: _path2 + ".dslabel",
298
- expected: "string",
299
- value: input3.dslabel
300
- }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
301
- path: _path2 + ".filter",
302
- expected: "(Filter | undefined)",
303
- value: input3.filter
304
- })) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
305
- path: _path2 + ".filter",
306
- expected: "(Filter | undefined)",
307
- value: input3.filter
308
- }), true, "string" === typeof input3.genome || $report(_exceptionable2, {
309
- path: _path2 + ".genome",
310
- expected: "string",
311
- value: input3.genome
312
- }), "boolean" === typeof input3.isKDE || $report(_exceptionable2, {
313
- path: _path2 + ".isKDE",
314
- expected: "boolean",
315
- value: input3.isKDE
316
- }), "horizontal" === input3.orientation || "vertical" === input3.orientation || $report(_exceptionable2, {
317
- path: _path2 + ".orientation",
318
- expected: '("horizontal" | "vertical")',
319
- value: input3.orientation
320
- }), "number" === typeof input3.radius || $report(_exceptionable2, {
321
- path: _path2 + ".radius",
322
- expected: "number",
323
- value: input3.radius
324
- }), "number" === typeof input3.rightMargin || $report(_exceptionable2, {
325
- path: _path2 + ".rightMargin",
326
- expected: "number",
327
- value: input3.rightMargin
328
- }), true, "number" === typeof input3.strokeWidth || $report(_exceptionable2, {
329
- path: _path2 + ".strokeWidth",
330
- expected: "number",
331
- value: input3.strokeWidth
332
- }), "number" === typeof input3.svgw || $report(_exceptionable2, {
333
- path: _path2 + ".svgw",
334
- expected: "number",
335
- value: input3.svgw
336
- }), "number" === typeof input3.ticks || $report(_exceptionable2, {
337
- path: _path2 + ".ticks",
338
- expected: "number",
339
- value: input3.ticks
340
- }), true, "string" === typeof input3.unit || $report(_exceptionable2, {
341
- path: _path2 + ".unit",
342
- expected: "string",
343
- value: input3.unit
344
- })].every((flag) => flag);
345
- const $vo1 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
346
- path: _path2 + ".type",
347
- expected: '"tvslst"',
348
- value: input3.type
349
- }), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
350
- path: _path2 + '["in"]',
351
- expected: "boolean",
352
- value: input3["in"]
353
- }), "string" === typeof input3.join || $report(_exceptionable2, {
354
- path: _path2 + ".join",
355
- expected: "string",
356
- value: input3.join
357
- }), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
358
- path: _path2 + ".tag",
359
- expected: "(string | undefined)",
360
- value: input3.tag
361
- }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
362
- path: _path2 + ".lst",
363
- expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
364
- value: input3.lst
365
- })) && input3.lst.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
366
- path: _path2 + ".lst[" + _index2 + "]",
367
- expected: "(Filter | __type)",
368
- value: elem
369
- })) && $vu0(elem, _path2 + ".lst[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
370
- path: _path2 + ".lst[" + _index2 + "]",
371
- expected: "(Filter | __type)",
372
- value: elem
373
- })).every((flag) => flag) || $report(_exceptionable2, {
374
- path: _path2 + ".lst",
375
- expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
376
- value: input3.lst
377
- }), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
378
- path: _path2 + ".$id",
379
- expected: "(string | undefined)",
380
- value: input3.$id
381
- })].every((flag) => flag);
382
- const $vo2 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
383
- path: _path2 + ".type",
384
- expected: '"tvs"',
385
- value: input3.type
386
- }), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
387
- path: _path2 + ".tvs",
388
- expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
389
- value: input3.tvs
390
- })) && $vu5(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
391
- path: _path2 + ".tvs",
392
- expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs | TermCollectionTvs)",
393
- value: input3.tvs
394
- })].every((flag) => flag);
395
- const $vo3 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
396
- path: _path2 + ".join",
397
- expected: "(string | undefined)",
398
- value: input3.join
399
- }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
400
- path: _path2 + ".isnot",
401
- expected: "(boolean | undefined)",
402
- value: input3.isnot
403
- }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
404
- path: _path2 + ".bar_by_grade",
405
- expected: "(boolean | undefined)",
406
- value: input3.bar_by_grade
407
- }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
408
- path: _path2 + ".bar_by_children",
409
- expected: "(boolean | undefined)",
410
- value: input3.bar_by_children
411
- }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
412
- path: _path2 + ".value_by_max_grade",
413
- expected: "(boolean | undefined)",
414
- value: input3.value_by_max_grade
415
- }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
416
- path: _path2 + ".value_by_most_recent",
417
- expected: "(boolean | undefined)",
418
- value: input3.value_by_most_recent
419
- }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
420
- path: _path2 + ".value_by_computable_grade",
421
- expected: "(boolean | undefined)",
422
- value: input3.value_by_computable_grade
423
- }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
424
- path: _path2 + ".term",
425
- expected: "CategoricalTerm",
426
- value: input3.term
427
- })) && $vo4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
428
- path: _path2 + ".term",
429
- expected: "CategoricalTerm",
430
- value: input3.term
431
- }), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
432
- path: _path2 + ".groupset_label",
433
- expected: "(string | undefined)",
434
- value: input3.groupset_label
435
- }), (Array.isArray(input3.values) || $report(_exceptionable2, {
436
- path: _path2 + ".values",
437
- expected: "Array<BaseValue>",
438
- value: input3.values
439
- })) && input3.values.map((elem, _index3) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
440
- path: _path2 + ".values[" + _index3 + "]",
441
- expected: "BaseValue",
442
- value: elem
443
- })) && $vo6(elem, _path2 + ".values[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
444
- path: _path2 + ".values[" + _index3 + "]",
445
- expected: "BaseValue",
446
- value: elem
447
- })).every((flag) => flag) || $report(_exceptionable2, {
448
- path: _path2 + ".values",
449
- expected: "Array<BaseValue>",
450
- value: input3.values
451
- }), void 0 === input3.valueset || input3.valueset instanceof Set || $report(_exceptionable2, {
452
- path: _path2 + ".valueset",
453
- expected: "(Set<any> | undefined)",
454
- value: input3.valueset
455
- })].every((flag) => flag);
456
- const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
457
- path: _path2 + ".id",
458
- expected: "string",
459
- value: input3.id
460
- }), "string" === typeof input3.name || $report(_exceptionable2, {
461
- path: _path2 + ".name",
462
- expected: "string",
463
- value: input3.name
464
- }), "categorical" === input3.type || $report(_exceptionable2, {
465
- path: _path2 + ".type",
466
- expected: '"categorical"',
467
- value: input3.type
468
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
469
- path: _path2 + ".child_types",
470
- expected: "(Array<string> | undefined)",
471
- value: input3.child_types
472
- })) && input3.child_types.map((elem, _index4) => "string" === typeof elem || $report(_exceptionable2, {
473
- path: _path2 + ".child_types[" + _index4 + "]",
474
- expected: "string",
475
- value: elem
476
- })).every((flag) => flag) || $report(_exceptionable2, {
477
- path: _path2 + ".child_types",
478
- expected: "(Array<string> | undefined)",
479
- value: input3.child_types
480
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
481
- path: _path2 + ".hashtmldetail",
482
- expected: "(boolean | undefined)",
483
- value: input3.hashtmldetail
484
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
485
- path: _path2 + ".included_types",
486
- expected: "(Array<string> | undefined)",
487
- value: input3.included_types
488
- })) && input3.included_types.map((elem, _index5) => "string" === typeof elem || $report(_exceptionable2, {
489
- path: _path2 + ".included_types[" + _index5 + "]",
490
- expected: "string",
491
- value: elem
492
- })).every((flag) => flag) || $report(_exceptionable2, {
493
- path: _path2 + ".included_types",
494
- expected: "(Array<string> | undefined)",
495
- value: input3.included_types
496
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
497
- path: _path2 + ".isleaf",
498
- expected: "(boolean | undefined)",
499
- value: input3.isleaf
500
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
501
- path: _path2 + ".values",
502
- expected: "(TermValues | undefined)",
503
- value: input3.values
504
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
505
- path: _path2 + ".values",
506
- expected: "(TermValues | undefined)",
507
- value: input3.values
508
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
509
- path: _path2 + ".skipValuesBuild",
510
- expected: "(boolean | undefined)",
511
- value: input3.skipValuesBuild
512
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
513
- path: _path2 + ".valueConversion",
514
- expected: "(__type.o1 | undefined)",
515
- value: input3.valueConversion
516
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
517
- path: _path2 + ".valueConversion",
518
- expected: "(__type.o1 | undefined)",
519
- value: input3.valueConversion
520
- }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
521
- path: _path2 + ".groupsetting",
522
- expected: "TermGroupSetting",
523
- value: input3.groupsetting
524
- })) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
525
- path: _path2 + ".groupsetting",
526
- expected: "TermGroupSetting",
527
- value: input3.groupsetting
528
- })].every((flag) => flag);
529
- const $vo5 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
530
- const value = input3[key];
531
- if (void 0 === value)
532
- return true;
533
- if (RegExp(/(.*)/).test(key))
534
- return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
535
- path: _path2 + $join(key),
536
- expected: "BaseValue",
537
- value
538
- })) && $vo6(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
539
- path: _path2 + $join(key),
540
- expected: "BaseValue",
541
- value
542
- });
543
- if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
544
- return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
545
- path: _path2 + $join(key),
546
- expected: "BaseValue",
547
- value
548
- })) && $vo6(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
549
- path: _path2 + $join(key),
550
- expected: "BaseValue",
551
- value
552
- });
553
- return true;
554
- }).every((flag) => flag)].every((flag) => flag);
555
- const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
556
- path: _path2 + ".key",
557
- expected: "(string | undefined)",
558
- value: input3.key
559
- }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
560
- path: _path2 + ".uncomputable",
561
- expected: "(boolean | undefined)",
562
- value: input3.uncomputable
563
- }), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
564
- path: _path2 + ".label",
565
- expected: "(number | string | undefined)",
566
- value: input3.label
567
- }), void 0 === input3.order || "string" === typeof input3.order || $report(_exceptionable2, {
568
- path: _path2 + ".order",
569
- expected: "(string | undefined)",
570
- value: input3.order
571
- }), void 0 === input3.color || "string" === typeof input3.color || $report(_exceptionable2, {
572
- path: _path2 + ".color",
573
- expected: "(string | undefined)",
574
- value: input3.color
575
- }), void 0 === input3.group || "number" === typeof input3.group || $report(_exceptionable2, {
576
- path: _path2 + ".group",
577
- expected: "(number | undefined)",
578
- value: input3.group
579
- }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
580
- path: _path2 + ".filter",
581
- expected: "(Filter | undefined)",
582
- value: input3.filter
583
- })) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
584
- path: _path2 + ".filter",
585
- expected: "(Filter | undefined)",
586
- value: input3.filter
587
- })].every((flag) => flag);
588
- const $vo7 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.fromUnit || $report(_exceptionable2, {
589
- path: _path2 + ".fromUnit",
590
- expected: "string",
591
- value: input3.fromUnit
592
- }), "string" === typeof input3.toUnit || $report(_exceptionable2, {
593
- path: _path2 + ".toUnit",
594
- expected: "string",
595
- value: input3.toUnit
596
- }), "string" === typeof input3.scaleFactor || $report(_exceptionable2, {
597
- path: _path2 + ".scaleFactor",
598
- expected: "string",
599
- value: input3.scaleFactor
600
- })].every((flag) => flag);
601
- const $vo8 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
602
- path: _path2 + ".disabled",
603
- expected: "boolean",
604
- value: input3.disabled
605
- }), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
606
- path: _path2 + ".lst",
607
- expected: "(Array<Groupset> | undefined)",
608
- value: input3.lst
609
- })) && input3.lst.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
610
- path: _path2 + ".lst[" + _index6 + "]",
611
- expected: "Groupset",
612
- value: elem
613
- })) && $vo9(elem, _path2 + ".lst[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
614
- path: _path2 + ".lst[" + _index6 + "]",
615
- expected: "Groupset",
616
- value: elem
617
- })).every((flag) => flag) || $report(_exceptionable2, {
618
- path: _path2 + ".lst",
619
- expected: "(Array<Groupset> | undefined)",
620
- value: input3.lst
621
- })].every((flag) => flag);
622
- const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
623
- path: _path2 + ".name",
624
- expected: "string",
625
- value: input3.name
626
- }), void 0 === input3.is_grade || "boolean" === typeof input3.is_grade || $report(_exceptionable2, {
627
- path: _path2 + ".is_grade",
628
- expected: "(boolean | undefined)",
629
- value: input3.is_grade
630
- }), void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition || $report(_exceptionable2, {
631
- path: _path2 + ".is_subcondition",
632
- expected: "(boolean | undefined)",
633
- value: input3.is_subcondition
634
- }), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
635
- path: _path2 + ".dt",
636
- expected: "(number | undefined)",
637
- value: input3.dt
638
- }), (Array.isArray(input3.groups) || $report(_exceptionable2, {
639
- path: _path2 + ".groups",
640
- expected: "Array<GroupEntry>",
641
- value: input3.groups
642
- })) && input3.groups.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
643
- path: _path2 + ".groups[" + _index7 + "]",
644
- expected: "(FilterGroup | ValuesGroup)",
645
- value: elem
646
- })) && $vu1(elem, _path2 + ".groups[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
647
- path: _path2 + ".groups[" + _index7 + "]",
648
- expected: "(FilterGroup | ValuesGroup)",
649
- value: elem
650
- })).every((flag) => flag) || $report(_exceptionable2, {
651
- path: _path2 + ".groups",
652
- expected: "Array<GroupEntry>",
653
- value: input3.groups
654
- })].every((flag) => flag);
655
- const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
656
- path: _path2 + ".name",
657
- expected: "string",
658
- value: input3.name
659
- }), "string" === typeof input3.type || $report(_exceptionable2, {
660
- path: _path2 + ".type",
661
- expected: "string",
662
- value: input3.type
663
- }), (Array.isArray(input3.values) || $report(_exceptionable2, {
664
- path: _path2 + ".values",
665
- expected: "Array<__type>",
666
- value: input3.values
667
- })) && input3.values.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
668
- path: _path2 + ".values[" + _index8 + "]",
669
- expected: "__type.o2",
670
- value: elem
671
- })) && $vo11(elem, _path2 + ".values[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
672
- path: _path2 + ".values[" + _index8 + "]",
673
- expected: "__type.o2",
674
- value: elem
675
- })).every((flag) => flag) || $report(_exceptionable2, {
676
- path: _path2 + ".values",
677
- expected: "Array<__type>",
678
- value: input3.values
679
- }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
680
- path: _path2 + ".uncomputable",
681
- expected: "(boolean | undefined)",
682
- value: input3.uncomputable
683
- })].every((flag) => flag);
684
- const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
685
- path: _path2 + ".key",
686
- expected: "(number | string)",
687
- value: input3.key
688
- }), "string" === typeof input3.label || $report(_exceptionable2, {
689
- path: _path2 + ".label",
690
- expected: "string",
691
- value: input3.label
692
- })].every((flag) => flag);
693
- const $vo12 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
694
- path: _path2 + ".name",
695
- expected: "string",
696
- value: input3.name
697
- }), "filter" === input3.type || $report(_exceptionable2, {
698
- path: _path2 + ".type",
699
- expected: '"filter"',
700
- value: input3.type
701
- }), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
702
- path: _path2 + ".filter",
703
- expected: "Filter",
704
- value: input3.filter
705
- })) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
706
- path: _path2 + ".filter",
707
- expected: "Filter",
708
- value: input3.filter
709
- }), "string" === typeof input3.color || $report(_exceptionable2, {
710
- path: _path2 + ".color",
711
- expected: "string",
712
- value: input3.color
713
- })].every((flag) => flag);
714
- const $vo13 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
715
- path: _path2 + ".join",
716
- expected: "(string | undefined)",
717
- value: input3.join
718
- }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
719
- path: _path2 + ".isnot",
720
- expected: "(boolean | undefined)",
721
- value: input3.isnot
722
- }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
723
- path: _path2 + ".bar_by_grade",
724
- expected: "(boolean | undefined)",
725
- value: input3.bar_by_grade
726
- }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
727
- path: _path2 + ".bar_by_children",
728
- expected: "(boolean | undefined)",
729
- value: input3.bar_by_children
730
- }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
731
- path: _path2 + ".value_by_max_grade",
732
- expected: "(boolean | undefined)",
733
- value: input3.value_by_max_grade
734
- }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
735
- path: _path2 + ".value_by_most_recent",
736
- expected: "(boolean | undefined)",
737
- value: input3.value_by_most_recent
738
- }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
739
- path: _path2 + ".value_by_computable_grade",
740
- expected: "(boolean | undefined)",
741
- value: input3.value_by_computable_grade
742
- }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
743
- path: _path2 + ".term",
744
- 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 | ProteomeAbundanceTerm | SsGSEATerm)',
745
- value: input3.term
746
- })) && $vu6(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
747
- path: _path2 + ".term",
748
- 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 | ProteomeAbundanceTerm | SsGSEATerm)',
749
- value: input3.term
750
- }), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
751
- path: _path2 + ".ranges",
752
- expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
753
- value: input3.ranges
754
- })) && input3.ranges.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
755
- path: _path2 + ".ranges[" + _index9 + "]",
756
- expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
757
- value: elem
758
- })) && $vu2(elem, _path2 + ".ranges[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
759
- path: _path2 + ".ranges[" + _index9 + "]",
760
- expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin | __type.o4)",
761
- value: elem
762
- })).every((flag) => flag) || $report(_exceptionable2, {
763
- path: _path2 + ".ranges",
764
- expected: "Array<NumericBin | { value: number; label?: string | undefined; name?: string | undefined; }>",
765
- value: input3.ranges
766
- }), void 0 === input3.values || (Array.isArray(input3.values) || $report(_exceptionable2, {
767
- path: _path2 + ".values",
768
- expected: "(Array<__type>.o1 | undefined)",
769
- value: input3.values
770
- })) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
771
- path: _path2 + ".values[" + _index10 + "]",
772
- expected: "__type.o5",
773
- value: elem
774
- })) && $vo34(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
775
- path: _path2 + ".values[" + _index10 + "]",
776
- expected: "__type.o5",
777
- value: elem
778
- })).every((flag) => flag) || $report(_exceptionable2, {
779
- path: _path2 + ".values",
780
- expected: "(Array<__type>.o1 | undefined)",
781
- value: input3.values
782
- })].every((flag) => flag);
783
- const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
784
- path: _path2 + ".id",
785
- expected: "string",
786
- value: input3.id
787
- }), "string" === typeof input3.name || $report(_exceptionable2, {
788
- path: _path2 + ".name",
789
- expected: "string",
790
- value: input3.name
791
- }), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
792
- path: _path2 + ".type",
793
- expected: '("float" | "integer")',
794
- value: input3.type
795
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
796
- path: _path2 + ".child_types",
797
- expected: "(Array<string> | undefined)",
798
- value: input3.child_types
799
- })) && input3.child_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
800
- path: _path2 + ".child_types[" + _index11 + "]",
801
- expected: "string",
802
- value: elem
803
- })).every((flag) => flag) || $report(_exceptionable2, {
804
- path: _path2 + ".child_types",
805
- expected: "(Array<string> | undefined)",
806
- value: input3.child_types
807
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
808
- path: _path2 + ".hashtmldetail",
809
- expected: "(boolean | undefined)",
810
- value: input3.hashtmldetail
811
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
812
- path: _path2 + ".included_types",
813
- expected: "(Array<string> | undefined)",
814
- value: input3.included_types
815
- })) && input3.included_types.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable2, {
816
- path: _path2 + ".included_types[" + _index12 + "]",
817
- expected: "string",
818
- value: elem
819
- })).every((flag) => flag) || $report(_exceptionable2, {
820
- path: _path2 + ".included_types",
821
- expected: "(Array<string> | undefined)",
822
- value: input3.included_types
823
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
824
- path: _path2 + ".isleaf",
825
- expected: "(boolean | undefined)",
826
- value: input3.isleaf
827
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
828
- path: _path2 + ".values",
829
- expected: "(TermValues | undefined)",
830
- value: input3.values
831
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
832
- path: _path2 + ".values",
833
- expected: "(TermValues | undefined)",
834
- value: input3.values
835
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
836
- path: _path2 + ".skipValuesBuild",
837
- expected: "(boolean | undefined)",
838
- value: input3.skipValuesBuild
839
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
840
- path: _path2 + ".valueConversion",
841
- expected: "(__type.o1 | undefined)",
842
- value: input3.valueConversion
843
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
844
- path: _path2 + ".valueConversion",
845
- expected: "(__type.o1 | undefined)",
846
- value: input3.valueConversion
847
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
848
- path: _path2 + ".continuousColorScale",
849
- expected: "(__type.o3 | undefined)",
850
- value: input3.continuousColorScale
851
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
852
- path: _path2 + ".continuousColorScale",
853
- expected: "(__type.o3 | undefined)",
854
- value: input3.continuousColorScale
855
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
856
- path: _path2 + ".unit",
857
- expected: "(string | undefined)",
858
- value: input3.unit
859
- }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
860
- path: _path2 + ".bins",
861
- expected: "PresetNumericBins",
862
- value: input3.bins
863
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
864
- path: _path2 + ".bins",
865
- expected: "PresetNumericBins",
866
- value: input3.bins
867
- })].every((flag) => flag);
868
- const $vo15 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
869
- path: _path2 + ".minColor",
870
- expected: "string",
871
- value: input3.minColor
872
- }), "string" === typeof input3.maxColor || $report(_exceptionable2, {
873
- path: _path2 + ".maxColor",
874
- expected: "string",
875
- value: input3.maxColor
876
- })].every((flag) => flag);
877
- const $vo16 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
878
- path: _path2 + '["default"]',
879
- expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
880
- value: input3["default"]
881
- })) && $vu7(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
882
- path: _path2 + '["default"]',
883
- expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
884
- value: input3["default"]
885
- }), ("object" === typeof input3.less && null !== input3.less || $report(_exceptionable2, {
886
- path: _path2 + ".less",
887
- expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
888
- value: input3.less
889
- })) && $vu7(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
890
- path: _path2 + ".less",
891
- expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
892
- value: input3.less
893
- }), void 0 === input3.label_offset || "number" === typeof input3.label_offset || $report(_exceptionable2, {
894
- path: _path2 + ".label_offset",
895
- expected: "(number | undefined)",
896
- value: input3.label_offset
897
- }), void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored || $report(_exceptionable2, {
898
- path: _path2 + ".label_offset_ignored",
899
- expected: "(boolean | undefined)",
900
- value: input3.label_offset_ignored
901
- }), void 0 === input3.rounding || "string" === typeof input3.rounding || $report(_exceptionable2, {
902
- path: _path2 + ".rounding",
903
- expected: "(string | undefined)",
904
- value: input3.rounding
905
- }), void 0 === input3.min || "number" === typeof input3.min || $report(_exceptionable2, {
906
- path: _path2 + ".min",
907
- expected: "(number | undefined)",
908
- value: input3.min
909
- }), void 0 === input3.max || "number" === typeof input3.max || $report(_exceptionable2, {
910
- path: _path2 + ".max",
911
- expected: "(number | undefined)",
912
- value: input3.max
913
- })].every((flag) => flag);
914
- const $vo17 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
915
- path: _path2 + ".hiddenValues",
916
- expected: "(HiddenValues | undefined)",
917
- value: input3.hiddenValues
918
- })) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
919
- path: _path2 + ".hiddenValues",
920
- expected: "(HiddenValues | undefined)",
921
- value: input3.hiddenValues
922
- }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
923
- path: _path2 + ".isAtomic",
924
- expected: "(true | undefined)",
925
- value: input3.isAtomic
926
- }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
927
- path: _path2 + ".name",
928
- expected: "(string | undefined)",
929
- value: input3.name
930
- }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
931
- path: _path2 + ".reuseId",
932
- expected: "(string | undefined)",
933
- value: input3.reuseId
934
- }), "regular-bin" === input3.type || $report(_exceptionable2, {
935
- path: _path2 + ".type",
936
- expected: '"regular-bin"',
937
- value: input3.type
938
- }), void 0 === input3.mode || "discrete" === input3.mode || $report(_exceptionable2, {
939
- path: _path2 + ".mode",
940
- expected: '("discrete" | undefined)',
941
- value: input3.mode
942
- }), "number" === typeof input3.bin_size || $report(_exceptionable2, {
943
- path: _path2 + ".bin_size",
944
- expected: "number",
945
- value: input3.bin_size
946
- }), ("object" === typeof input3.first_bin && null !== input3.first_bin || $report(_exceptionable2, {
947
- path: _path2 + ".first_bin",
948
- expected: "(FullyBoundedBin | StartUnboundedBin)",
949
- value: input3.first_bin
950
- })) && $vu8(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
951
- path: _path2 + ".first_bin",
952
- expected: "(FullyBoundedBin | StartUnboundedBin)",
953
- value: input3.first_bin
954
- }), void 0 === input3.last_bin || ("object" === typeof input3.last_bin && null !== input3.last_bin || $report(_exceptionable2, {
955
- path: _path2 + ".last_bin",
956
- expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
957
- value: input3.last_bin
958
- })) && $vu9(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
959
- path: _path2 + ".last_bin",
960
- expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
961
- value: input3.last_bin
962
- }), void 0 === input3.label_offset || "number" === typeof input3.label_offset || $report(_exceptionable2, {
963
- path: _path2 + ".label_offset",
964
- expected: "(number | undefined)",
965
- value: input3.label_offset
966
- }), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
967
- path: _path2 + ".startinclusive",
968
- expected: "(boolean | undefined)",
969
- value: input3.startinclusive
970
- }), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
971
- path: _path2 + ".stopinclusive",
972
- expected: "(boolean | undefined)",
973
- value: input3.stopinclusive
974
- }), void 0 === input3.rounding || "string" === typeof input3.rounding || $report(_exceptionable2, {
975
- path: _path2 + ".rounding",
976
- expected: "(string | undefined)",
977
- value: input3.rounding
978
- }), void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset || $report(_exceptionable2, {
979
- path: _path2 + ".isDummyPreset",
980
- expected: "(boolean | undefined)",
981
- value: input3.isDummyPreset
982
- })].every((flag) => flag);
983
- const $vo18 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
984
- const value = input3[key];
985
- if (void 0 === value)
986
- return true;
987
- if (RegExp(/(.*)/).test(key))
988
- return "number" === typeof value || $report(_exceptionable2, {
989
- path: _path2 + $join(key),
990
- expected: "number",
991
- value
992
- });
993
- return true;
994
- }).every((flag) => flag)].every((flag) => flag);
995
- const $vo19 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
996
- path: _path2 + ".startunbounded",
997
- expected: "true",
998
- value: input3.startunbounded
999
- }), void 0 === input3.startinclusive || false === input3.startinclusive || $report(_exceptionable2, {
1000
- path: _path2 + ".startinclusive",
1001
- expected: "(false | undefined)",
1002
- value: input3.startinclusive
1003
- }), "number" === typeof input3.stop || $report(_exceptionable2, {
1004
- path: _path2 + ".stop",
1005
- expected: "number",
1006
- value: input3.stop
1007
- }), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
1008
- path: _path2 + ".stopinclusive",
1009
- expected: "(boolean | undefined)",
1010
- value: input3.stopinclusive
1011
- }), void 0 === input3.stopunbounded || false === input3.stopunbounded || $report(_exceptionable2, {
1012
- path: _path2 + ".stopunbounded",
1013
- expected: "(false | undefined)",
1014
- value: input3.stopunbounded
1015
- }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
1016
- path: _path2 + ".label",
1017
- expected: "(string | undefined)",
1018
- value: input3.label
1019
- }), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
1020
- path: _path2 + ".range",
1021
- expected: "(string | undefined)",
1022
- value: input3.range
1023
- })].every((flag) => flag);
1024
- const $vo20 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
1025
- path: _path2 + ".startunbounded",
1026
- expected: "(false | undefined)",
1027
- value: input3.startunbounded
1028
- }), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
1029
- path: _path2 + ".startinclusive",
1030
- expected: "(boolean | undefined)",
1031
- value: input3.startinclusive
1032
- }), "number" === typeof input3.start || $report(_exceptionable2, {
1033
- path: _path2 + ".start",
1034
- expected: "number",
1035
- value: input3.start
1036
- }), "number" === typeof input3.stop || $report(_exceptionable2, {
1037
- path: _path2 + ".stop",
1038
- expected: "number",
1039
- value: input3.stop
1040
- }), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
1041
- path: _path2 + ".stopinclusive",
1042
- expected: "(boolean | undefined)",
1043
- value: input3.stopinclusive
1044
- }), void 0 === input3.stopunbounded || false === input3.stopunbounded || $report(_exceptionable2, {
1045
- path: _path2 + ".stopunbounded",
1046
- expected: "(false | undefined)",
1047
- value: input3.stopunbounded
1048
- }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
1049
- path: _path2 + ".label",
1050
- expected: "(string | undefined)",
1051
- value: input3.label
1052
- }), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
1053
- path: _path2 + ".range",
1054
- expected: "(string | undefined)",
1055
- value: input3.range
1056
- })].every((flag) => flag);
1057
- const $vo21 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
1058
- path: _path2 + ".start",
1059
- expected: "number",
1060
- value: input3.start
1061
- }), true === input3.stopunbounded || $report(_exceptionable2, {
1062
- path: _path2 + ".stopunbounded",
1063
- expected: "true",
1064
- value: input3.stopunbounded
1065
- }), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
1066
- path: _path2 + ".startinclusive",
1067
- expected: "(boolean | undefined)",
1068
- value: input3.startinclusive
1069
- }), void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
1070
- path: _path2 + ".startunbounded",
1071
- expected: "(false | undefined)",
1072
- value: input3.startunbounded
1073
- }), void 0 === input3.stopinclusive || false === input3.stopinclusive || $report(_exceptionable2, {
1074
- path: _path2 + ".stopinclusive",
1075
- expected: "(false | undefined)",
1076
- value: input3.stopinclusive
1077
- }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
1078
- path: _path2 + ".label",
1079
- expected: "(string | undefined)",
1080
- value: input3.label
1081
- }), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
1082
- path: _path2 + ".range",
1083
- expected: "(string | undefined)",
1084
- value: input3.range
1085
- })].every((flag) => flag);
1086
- const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1087
- path: _path2 + ".hiddenValues",
1088
- expected: "(HiddenValues | undefined)",
1089
- value: input3.hiddenValues
1090
- })) && $vo18(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
1091
- path: _path2 + ".hiddenValues",
1092
- expected: "(HiddenValues | undefined)",
1093
- value: input3.hiddenValues
1094
- }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
1095
- path: _path2 + ".isAtomic",
1096
- expected: "(true | undefined)",
1097
- value: input3.isAtomic
1098
- }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
1099
- path: _path2 + ".name",
1100
- expected: "(string | undefined)",
1101
- value: input3.name
1102
- }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
1103
- path: _path2 + ".reuseId",
1104
- expected: "(string | undefined)",
1105
- value: input3.reuseId
1106
- }), "custom-bin" === input3.type || $report(_exceptionable2, {
1107
- path: _path2 + ".type",
1108
- expected: '"custom-bin"',
1109
- value: input3.type
1110
- }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
1111
- path: _path2 + ".mode",
1112
- expected: '("binary" | "discrete" | undefined)',
1113
- value: input3.mode
1114
- }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
1115
- path: _path2 + ".lst",
1116
- expected: "CustomNumericBinConfigLst",
1117
- value: input3.lst
1118
- })) && ([
1119
- ("object" === typeof input3.lst[0] && null !== input3.lst[0] || $report(_exceptionable2, {
1120
- path: _path2 + ".lst[0]",
1121
- expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1122
- value: input3.lst[0]
1123
- })) && $vu4(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
1124
- path: _path2 + ".lst[0]",
1125
- expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1126
- value: input3.lst[0]
1127
- })
1128
- ].every((flag) => flag) && ((Array.isArray(input3.lst.slice(1)) || $report(_exceptionable2, {
1129
- path: _path2 + ".lst",
1130
- expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1131
- value: input3.lst.slice(1)
1132
- })) && input3.lst.slice(1).map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1133
- path: _path2 + ".lst[" + (1 + _index13) + "]",
1134
- expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1135
- value: elem
1136
- })) && $vu4(elem, _path2 + ".lst[" + (1 + _index13) + "]", _exceptionable2) || $report(_exceptionable2, {
1137
- path: _path2 + ".lst[" + (1 + _index13) + "]",
1138
- expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1139
- value: elem
1140
- })).every((flag) => flag) || $report(_exceptionable2, {
1141
- path: _path2 + ".lst",
1142
- expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1143
- value: input3.lst.slice(1)
1144
- }))) || $report(_exceptionable2, {
1145
- path: _path2 + ".lst",
1146
- expected: "CustomNumericBinConfigLst",
1147
- value: input3.lst
1148
- }), void 0 === input3.preferredBins || "median" === input3.preferredBins || $report(_exceptionable2, {
1149
- path: _path2 + ".preferredBins",
1150
- expected: '("median" | undefined)',
1151
- value: input3.preferredBins
1152
- }), void 0 === input3.isDummyPreset || "boolean" === typeof input3.isDummyPreset || $report(_exceptionable2, {
1153
- path: _path2 + ".isDummyPreset",
1154
- expected: "(boolean | undefined)",
1155
- value: input3.isDummyPreset
1156
- })].every((flag) => flag);
1157
- const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1158
- path: _path2 + ".id",
1159
- expected: "string",
1160
- value: input3.id
1161
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1162
- path: _path2 + ".name",
1163
- expected: "string",
1164
- value: input3.name
1165
- }), "geneExpression" === input3.type || $report(_exceptionable2, {
1166
- path: _path2 + ".type",
1167
- expected: '"geneExpression"',
1168
- value: input3.type
1169
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1170
- path: _path2 + ".child_types",
1171
- expected: "(Array<string> | undefined)",
1172
- value: input3.child_types
1173
- })) && input3.child_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
1174
- path: _path2 + ".child_types[" + _index14 + "]",
1175
- expected: "string",
1176
- value: elem
1177
- })).every((flag) => flag) || $report(_exceptionable2, {
1178
- path: _path2 + ".child_types",
1179
- expected: "(Array<string> | undefined)",
1180
- value: input3.child_types
1181
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1182
- path: _path2 + ".hashtmldetail",
1183
- expected: "(boolean | undefined)",
1184
- value: input3.hashtmldetail
1185
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1186
- path: _path2 + ".included_types",
1187
- expected: "(Array<string> | undefined)",
1188
- value: input3.included_types
1189
- })) && input3.included_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
1190
- path: _path2 + ".included_types[" + _index15 + "]",
1191
- expected: "string",
1192
- value: elem
1193
- })).every((flag) => flag) || $report(_exceptionable2, {
1194
- path: _path2 + ".included_types",
1195
- expected: "(Array<string> | undefined)",
1196
- value: input3.included_types
1197
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1198
- path: _path2 + ".isleaf",
1199
- expected: "(boolean | undefined)",
1200
- value: input3.isleaf
1201
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1202
- path: _path2 + ".values",
1203
- expected: "(TermValues | undefined)",
1204
- value: input3.values
1205
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1206
- path: _path2 + ".values",
1207
- expected: "(TermValues | undefined)",
1208
- value: input3.values
1209
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1210
- path: _path2 + ".skipValuesBuild",
1211
- expected: "(boolean | undefined)",
1212
- value: input3.skipValuesBuild
1213
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
1214
- path: _path2 + ".valueConversion",
1215
- expected: "(__type.o1 | undefined)",
1216
- value: input3.valueConversion
1217
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
1218
- path: _path2 + ".valueConversion",
1219
- expected: "(__type.o1 | undefined)",
1220
- value: input3.valueConversion
1221
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1222
- path: _path2 + ".continuousColorScale",
1223
- expected: "(__type.o3 | undefined)",
1224
- value: input3.continuousColorScale
1225
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1226
- path: _path2 + ".continuousColorScale",
1227
- expected: "(__type.o3 | undefined)",
1228
- value: input3.continuousColorScale
1229
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1230
- path: _path2 + ".unit",
1231
- expected: "(string | undefined)",
1232
- value: input3.unit
1233
- }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1234
- path: _path2 + ".bins",
1235
- expected: "(PresetNumericBins | undefined)",
1236
- value: input3.bins
1237
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1238
- path: _path2 + ".bins",
1239
- expected: "(PresetNumericBins | undefined)",
1240
- value: input3.bins
1241
- }), void 0 === input3.kind || "gene" === input3.kind || $report(_exceptionable2, {
1242
- path: _path2 + ".kind",
1243
- expected: '("gene" | undefined)',
1244
- value: input3.kind
1245
- }), "string" === typeof input3.gene || $report(_exceptionable2, {
1246
- path: _path2 + ".gene",
1247
- expected: "string",
1248
- value: input3.gene
1249
- }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
1250
- path: _path2 + ".chr",
1251
- expected: "(string | undefined)",
1252
- value: input3.chr
1253
- }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
1254
- path: _path2 + ".start",
1255
- expected: "(number | undefined)",
1256
- value: input3.start
1257
- }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
1258
- path: _path2 + ".stop",
1259
- expected: "(number | undefined)",
1260
- value: input3.stop
1261
- })].every((flag) => flag);
1262
- const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1263
- path: _path2 + ".id",
1264
- expected: "string",
1265
- value: input3.id
1266
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1267
- path: _path2 + ".name",
1268
- expected: "string",
1269
- value: input3.name
1270
- }), "geneExpression" === input3.type || $report(_exceptionable2, {
1271
- path: _path2 + ".type",
1272
- expected: '"geneExpression"',
1273
- value: input3.type
1274
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1275
- path: _path2 + ".child_types",
1276
- expected: "(Array<string> | undefined)",
1277
- value: input3.child_types
1278
- })) && input3.child_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
1279
- path: _path2 + ".child_types[" + _index16 + "]",
1280
- expected: "string",
1281
- value: elem
1282
- })).every((flag) => flag) || $report(_exceptionable2, {
1283
- path: _path2 + ".child_types",
1284
- expected: "(Array<string> | undefined)",
1285
- value: input3.child_types
1286
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1287
- path: _path2 + ".hashtmldetail",
1288
- expected: "(boolean | undefined)",
1289
- value: input3.hashtmldetail
1290
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1291
- path: _path2 + ".included_types",
1292
- expected: "(Array<string> | undefined)",
1293
- value: input3.included_types
1294
- })) && input3.included_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
1295
- path: _path2 + ".included_types[" + _index17 + "]",
1296
- expected: "string",
1297
- value: elem
1298
- })).every((flag) => flag) || $report(_exceptionable2, {
1299
- path: _path2 + ".included_types",
1300
- expected: "(Array<string> | undefined)",
1301
- value: input3.included_types
1302
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1303
- path: _path2 + ".isleaf",
1304
- expected: "(boolean | undefined)",
1305
- value: input3.isleaf
1306
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1307
- path: _path2 + ".values",
1308
- expected: "(TermValues | undefined)",
1309
- value: input3.values
1310
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1311
- path: _path2 + ".values",
1312
- expected: "(TermValues | undefined)",
1313
- value: input3.values
1314
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1315
- path: _path2 + ".skipValuesBuild",
1316
- expected: "(boolean | undefined)",
1317
- value: input3.skipValuesBuild
1318
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
1319
- path: _path2 + ".valueConversion",
1320
- expected: "(__type.o1 | undefined)",
1321
- value: input3.valueConversion
1322
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
1323
- path: _path2 + ".valueConversion",
1324
- expected: "(__type.o1 | undefined)",
1325
- value: input3.valueConversion
1326
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1327
- path: _path2 + ".continuousColorScale",
1328
- expected: "(__type.o3 | undefined)",
1329
- value: input3.continuousColorScale
1330
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1331
- path: _path2 + ".continuousColorScale",
1332
- expected: "(__type.o3 | undefined)",
1333
- value: input3.continuousColorScale
1334
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1335
- path: _path2 + ".unit",
1336
- expected: "(string | undefined)",
1337
- value: input3.unit
1338
- }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1339
- path: _path2 + ".bins",
1340
- expected: "(PresetNumericBins | undefined)",
1341
- value: input3.bins
1342
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1343
- path: _path2 + ".bins",
1344
- expected: "(PresetNumericBins | undefined)",
1345
- value: input3.bins
1346
- }), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
1347
- path: _path2 + ".kind",
1348
- expected: '("coord" | undefined)',
1349
- value: input3.kind
1350
- }), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
1351
- path: _path2 + ".gene",
1352
- expected: "(string | undefined)",
1353
- value: input3.gene
1354
- }), "string" === typeof input3.chr || $report(_exceptionable2, {
1355
- path: _path2 + ".chr",
1356
- expected: "string",
1357
- value: input3.chr
1358
- }), "number" === typeof input3.start || $report(_exceptionable2, {
1359
- path: _path2 + ".start",
1360
- expected: "number",
1361
- value: input3.start
1362
- }), "number" === typeof input3.stop || $report(_exceptionable2, {
1363
- path: _path2 + ".stop",
1364
- expected: "number",
1365
- value: input3.stop
1366
- })].every((flag) => flag);
1367
- const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1368
- path: _path2 + ".id",
1369
- expected: "string",
1370
- value: input3.id
1371
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1372
- path: _path2 + ".name",
1373
- expected: "string",
1374
- value: input3.name
1375
- }), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
1376
- path: _path2 + ".type",
1377
- expected: '"metaboliteIntensity"',
1378
- value: input3.type
1379
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1380
- path: _path2 + ".child_types",
1381
- expected: "(Array<string> | undefined)",
1382
- value: input3.child_types
1383
- })) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
1384
- path: _path2 + ".child_types[" + _index18 + "]",
1385
- expected: "string",
1386
- value: elem
1387
- })).every((flag) => flag) || $report(_exceptionable2, {
1388
- path: _path2 + ".child_types",
1389
- expected: "(Array<string> | undefined)",
1390
- value: input3.child_types
1391
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1392
- path: _path2 + ".hashtmldetail",
1393
- expected: "(boolean | undefined)",
1394
- value: input3.hashtmldetail
1395
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1396
- path: _path2 + ".included_types",
1397
- expected: "(Array<string> | undefined)",
1398
- value: input3.included_types
1399
- })) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
1400
- path: _path2 + ".included_types[" + _index19 + "]",
1401
- expected: "string",
1402
- value: elem
1403
- })).every((flag) => flag) || $report(_exceptionable2, {
1404
- path: _path2 + ".included_types",
1405
- expected: "(Array<string> | undefined)",
1406
- value: input3.included_types
1407
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1408
- path: _path2 + ".isleaf",
1409
- expected: "(boolean | undefined)",
1410
- value: input3.isleaf
1411
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1412
- path: _path2 + ".values",
1413
- expected: "(TermValues | undefined)",
1414
- value: input3.values
1415
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1416
- path: _path2 + ".values",
1417
- expected: "(TermValues | undefined)",
1418
- value: input3.values
1419
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1420
- path: _path2 + ".skipValuesBuild",
1421
- expected: "(boolean | undefined)",
1422
- value: input3.skipValuesBuild
1423
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
1424
- path: _path2 + ".valueConversion",
1425
- expected: "(__type.o1 | undefined)",
1426
- value: input3.valueConversion
1427
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
1428
- path: _path2 + ".valueConversion",
1429
- expected: "(__type.o1 | undefined)",
1430
- value: input3.valueConversion
1431
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1432
- path: _path2 + ".continuousColorScale",
1433
- expected: "(__type.o3 | undefined)",
1434
- value: input3.continuousColorScale
1435
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1436
- path: _path2 + ".continuousColorScale",
1437
- expected: "(__type.o3 | undefined)",
1438
- value: input3.continuousColorScale
1439
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1440
- path: _path2 + ".unit",
1441
- expected: "(string | undefined)",
1442
- value: input3.unit
1443
- }), "string" === typeof input3.metabolite || $report(_exceptionable2, {
1444
- path: _path2 + ".metabolite",
1445
- expected: "string",
1446
- value: input3.metabolite
1447
- }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1448
- path: _path2 + ".bins",
1449
- expected: "(PresetNumericBins | undefined)",
1450
- value: input3.bins
1451
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1452
- path: _path2 + ".bins",
1453
- expected: "(PresetNumericBins | undefined)",
1454
- value: input3.bins
1455
- })].every((flag) => flag);
1456
- const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1457
- path: _path2 + ".id",
1458
- expected: "string",
1459
- value: input3.id
1460
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1461
- path: _path2 + ".name",
1462
- expected: "string",
1463
- value: input3.name
1464
- }), "proteomeAbundance" === input3.type || $report(_exceptionable2, {
1465
- path: _path2 + ".type",
1466
- expected: '"proteomeAbundance"',
1467
- value: input3.type
1468
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1469
- path: _path2 + ".child_types",
1470
- expected: "(Array<string> | undefined)",
1471
- value: input3.child_types
1472
- })) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
1473
- path: _path2 + ".child_types[" + _index20 + "]",
1474
- expected: "string",
1475
- value: elem
1476
- })).every((flag) => flag) || $report(_exceptionable2, {
1477
- path: _path2 + ".child_types",
1478
- expected: "(Array<string> | undefined)",
1479
- value: input3.child_types
1480
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1481
- path: _path2 + ".hashtmldetail",
1482
- expected: "(boolean | undefined)",
1483
- value: input3.hashtmldetail
1484
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1485
- path: _path2 + ".included_types",
1486
- expected: "(Array<string> | undefined)",
1487
- value: input3.included_types
1488
- })) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
1489
- path: _path2 + ".included_types[" + _index21 + "]",
1490
- expected: "string",
1491
- value: elem
1492
- })).every((flag) => flag) || $report(_exceptionable2, {
1493
- path: _path2 + ".included_types",
1494
- expected: "(Array<string> | undefined)",
1495
- value: input3.included_types
1496
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1497
- path: _path2 + ".isleaf",
1498
- expected: "(boolean | undefined)",
1499
- value: input3.isleaf
1500
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1501
- path: _path2 + ".values",
1502
- expected: "(TermValues | undefined)",
1503
- value: input3.values
1504
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1505
- path: _path2 + ".values",
1506
- expected: "(TermValues | undefined)",
1507
- value: input3.values
1508
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1509
- path: _path2 + ".skipValuesBuild",
1510
- expected: "(boolean | undefined)",
1511
- value: input3.skipValuesBuild
1512
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
1513
- path: _path2 + ".valueConversion",
1514
- expected: "(__type.o1 | undefined)",
1515
- value: input3.valueConversion
1516
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
1517
- path: _path2 + ".valueConversion",
1518
- expected: "(__type.o1 | undefined)",
1519
- value: input3.valueConversion
1520
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1521
- path: _path2 + ".continuousColorScale",
1522
- expected: "(__type.o3 | undefined)",
1523
- value: input3.continuousColorScale
1524
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1525
- path: _path2 + ".continuousColorScale",
1526
- expected: "(__type.o3 | undefined)",
1527
- value: input3.continuousColorScale
1528
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1529
- path: _path2 + ".unit",
1530
- expected: "(string | undefined)",
1531
- value: input3.unit
1532
- }), "string" === typeof input3.protein || $report(_exceptionable2, {
1533
- path: _path2 + ".protein",
1534
- expected: "string",
1535
- value: input3.protein
1536
- }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1537
- path: _path2 + ".bins",
1538
- expected: "(PresetNumericBins | undefined)",
1539
- value: input3.bins
1540
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1541
- path: _path2 + ".bins",
1542
- expected: "(PresetNumericBins | undefined)",
1543
- value: input3.bins
1544
- }), ("object" === typeof input3.proteomeDetails && null !== input3.proteomeDetails || $report(_exceptionable2, {
1545
- path: _path2 + ".proteomeDetails",
1546
- expected: "ProteomeDetails",
1547
- value: input3.proteomeDetails
1548
- })) && $vo27(input3.proteomeDetails, _path2 + ".proteomeDetails", _exceptionable2) || $report(_exceptionable2, {
1549
- path: _path2 + ".proteomeDetails",
1550
- expected: "ProteomeDetails",
1551
- value: input3.proteomeDetails
1552
- })].every((flag) => flag);
1553
- const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.assay || $report(_exceptionable2, {
1554
- path: _path2 + ".assay",
1555
- expected: "string",
1556
- value: input3.assay
1557
- }), "string" === typeof input3.cohort || $report(_exceptionable2, {
1558
- path: _path2 + ".cohort",
1559
- expected: "string",
1560
- value: input3.cohort
1561
- })].every((flag) => flag);
1562
- const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1563
- path: _path2 + ".id",
1564
- expected: "string",
1565
- value: input3.id
1566
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1567
- path: _path2 + ".name",
1568
- expected: "string",
1569
- value: input3.name
1570
- }), "date" === input3.type || $report(_exceptionable2, {
1571
- path: _path2 + ".type",
1572
- expected: '"date"',
1573
- value: input3.type
1574
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1575
- path: _path2 + ".child_types",
1576
- expected: "(Array<string> | undefined)",
1577
- value: input3.child_types
1578
- })) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
1579
- path: _path2 + ".child_types[" + _index22 + "]",
1580
- expected: "string",
1581
- value: elem
1582
- })).every((flag) => flag) || $report(_exceptionable2, {
1583
- path: _path2 + ".child_types",
1584
- expected: "(Array<string> | undefined)",
1585
- value: input3.child_types
1586
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1587
- path: _path2 + ".hashtmldetail",
1588
- expected: "(boolean | undefined)",
1589
- value: input3.hashtmldetail
1590
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1591
- path: _path2 + ".included_types",
1592
- expected: "(Array<string> | undefined)",
1593
- value: input3.included_types
1594
- })) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
1595
- path: _path2 + ".included_types[" + _index23 + "]",
1596
- expected: "string",
1597
- value: elem
1598
- })).every((flag) => flag) || $report(_exceptionable2, {
1599
- path: _path2 + ".included_types",
1600
- expected: "(Array<string> | undefined)",
1601
- value: input3.included_types
1602
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1603
- path: _path2 + ".isleaf",
1604
- expected: "(boolean | undefined)",
1605
- value: input3.isleaf
1606
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1607
- path: _path2 + ".values",
1608
- expected: "(TermValues | undefined)",
1609
- value: input3.values
1610
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1611
- path: _path2 + ".values",
1612
- expected: "(TermValues | undefined)",
1613
- value: input3.values
1614
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1615
- path: _path2 + ".skipValuesBuild",
1616
- expected: "(boolean | undefined)",
1617
- value: input3.skipValuesBuild
1618
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
1619
- path: _path2 + ".valueConversion",
1620
- expected: "(__type.o1 | undefined)",
1621
- value: input3.valueConversion
1622
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
1623
- path: _path2 + ".valueConversion",
1624
- expected: "(__type.o1 | undefined)",
1625
- value: input3.valueConversion
1626
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1627
- path: _path2 + ".continuousColorScale",
1628
- expected: "(__type.o3 | undefined)",
1629
- value: input3.continuousColorScale
1630
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1631
- path: _path2 + ".continuousColorScale",
1632
- expected: "(__type.o3 | undefined)",
1633
- value: input3.continuousColorScale
1634
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1635
- path: _path2 + ".unit",
1636
- expected: "(string | undefined)",
1637
- value: input3.unit
1638
- }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1639
- path: _path2 + ".bins",
1640
- expected: "(PresetNumericBins | undefined)",
1641
- value: input3.bins
1642
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1643
- path: _path2 + ".bins",
1644
- expected: "(PresetNumericBins | undefined)",
1645
- value: input3.bins
1646
- })].every((flag) => flag);
1647
- const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1648
- path: _path2 + ".id",
1649
- expected: "string",
1650
- value: input3.id
1651
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1652
- path: _path2 + ".name",
1653
- expected: "string",
1654
- value: input3.name
1655
- }), "ssGSEA" === input3.type || $report(_exceptionable2, {
1656
- path: _path2 + ".type",
1657
- expected: '"ssGSEA"',
1658
- value: input3.type
1659
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1660
- path: _path2 + ".child_types",
1661
- expected: "(Array<string> | undefined)",
1662
- value: input3.child_types
1663
- })) && input3.child_types.map((elem, _index24) => "string" === typeof elem || $report(_exceptionable2, {
1664
- path: _path2 + ".child_types[" + _index24 + "]",
1665
- expected: "string",
1666
- value: elem
1667
- })).every((flag) => flag) || $report(_exceptionable2, {
1668
- path: _path2 + ".child_types",
1669
- expected: "(Array<string> | undefined)",
1670
- value: input3.child_types
1671
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1672
- path: _path2 + ".hashtmldetail",
1673
- expected: "(boolean | undefined)",
1674
- value: input3.hashtmldetail
1675
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1676
- path: _path2 + ".included_types",
1677
- expected: "(Array<string> | undefined)",
1678
- value: input3.included_types
1679
- })) && input3.included_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
1680
- path: _path2 + ".included_types[" + _index25 + "]",
1681
- expected: "string",
1682
- value: elem
1683
- })).every((flag) => flag) || $report(_exceptionable2, {
1684
- path: _path2 + ".included_types",
1685
- expected: "(Array<string> | undefined)",
1686
- value: input3.included_types
1687
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1688
- path: _path2 + ".isleaf",
1689
- expected: "(boolean | undefined)",
1690
- value: input3.isleaf
1691
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1692
- path: _path2 + ".values",
1693
- expected: "(TermValues | undefined)",
1694
- value: input3.values
1695
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1696
- path: _path2 + ".values",
1697
- expected: "(TermValues | undefined)",
1698
- value: input3.values
1699
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1700
- path: _path2 + ".skipValuesBuild",
1701
- expected: "(boolean | undefined)",
1702
- value: input3.skipValuesBuild
1703
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
1704
- path: _path2 + ".valueConversion",
1705
- expected: "(__type.o1 | undefined)",
1706
- value: input3.valueConversion
1707
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
1708
- path: _path2 + ".valueConversion",
1709
- expected: "(__type.o1 | undefined)",
1710
- value: input3.valueConversion
1711
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1712
- path: _path2 + ".continuousColorScale",
1713
- expected: "(__type.o3 | undefined)",
1714
- value: input3.continuousColorScale
1715
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1716
- path: _path2 + ".continuousColorScale",
1717
- expected: "(__type.o3 | undefined)",
1718
- value: input3.continuousColorScale
1719
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1720
- path: _path2 + ".unit",
1721
- expected: "(string | undefined)",
1722
- value: input3.unit
1723
- }), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
1724
- path: _path2 + ".genes",
1725
- expected: "(Array<string> | undefined)",
1726
- value: input3.genes
1727
- })) && input3.genes.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
1728
- path: _path2 + ".genes[" + _index26 + "]",
1729
- expected: "string",
1730
- value: elem
1731
- })).every((flag) => flag) || $report(_exceptionable2, {
1732
- path: _path2 + ".genes",
1733
- expected: "(Array<string> | undefined)",
1734
- value: input3.genes
1735
- }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1736
- path: _path2 + ".bins",
1737
- expected: "(PresetNumericBins | undefined)",
1738
- value: input3.bins
1739
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1740
- path: _path2 + ".bins",
1741
- expected: "(PresetNumericBins | undefined)",
1742
- value: input3.bins
1743
- })].every((flag) => flag);
1744
- const $vo30 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1745
- path: _path2 + ".id",
1746
- expected: "string",
1747
- value: input3.id
1748
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1749
- path: _path2 + ".name",
1750
- expected: "string",
1751
- value: input3.name
1752
- }), "dnaMethylation" === input3.type || $report(_exceptionable2, {
1753
- path: _path2 + ".type",
1754
- expected: '"dnaMethylation"',
1755
- value: input3.type
1756
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1757
- path: _path2 + ".child_types",
1758
- expected: "(Array<string> | undefined)",
1759
- value: input3.child_types
1760
- })) && input3.child_types.map((elem, _index27) => "string" === typeof elem || $report(_exceptionable2, {
1761
- path: _path2 + ".child_types[" + _index27 + "]",
1762
- expected: "string",
1763
- value: elem
1764
- })).every((flag) => flag) || $report(_exceptionable2, {
1765
- path: _path2 + ".child_types",
1766
- expected: "(Array<string> | undefined)",
1767
- value: input3.child_types
1768
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1769
- path: _path2 + ".hashtmldetail",
1770
- expected: "(boolean | undefined)",
1771
- value: input3.hashtmldetail
1772
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1773
- path: _path2 + ".included_types",
1774
- expected: "(Array<string> | undefined)",
1775
- value: input3.included_types
1776
- })) && input3.included_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
1777
- path: _path2 + ".included_types[" + _index28 + "]",
1778
- expected: "string",
1779
- value: elem
1780
- })).every((flag) => flag) || $report(_exceptionable2, {
1781
- path: _path2 + ".included_types",
1782
- expected: "(Array<string> | undefined)",
1783
- value: input3.included_types
1784
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1785
- path: _path2 + ".isleaf",
1786
- expected: "(boolean | undefined)",
1787
- value: input3.isleaf
1788
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1789
- path: _path2 + ".values",
1790
- expected: "(TermValues | undefined)",
1791
- value: input3.values
1792
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1793
- path: _path2 + ".values",
1794
- expected: "(TermValues | undefined)",
1795
- value: input3.values
1796
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1797
- path: _path2 + ".skipValuesBuild",
1798
- expected: "(boolean | undefined)",
1799
- value: input3.skipValuesBuild
1800
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
1801
- path: _path2 + ".valueConversion",
1802
- expected: "(__type.o1 | undefined)",
1803
- value: input3.valueConversion
1804
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
1805
- path: _path2 + ".valueConversion",
1806
- expected: "(__type.o1 | undefined)",
1807
- value: input3.valueConversion
1808
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1809
- path: _path2 + ".continuousColorScale",
1810
- expected: "(__type.o3 | undefined)",
1811
- value: input3.continuousColorScale
1812
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1813
- path: _path2 + ".continuousColorScale",
1814
- expected: "(__type.o3 | undefined)",
1815
- value: input3.continuousColorScale
1816
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1817
- path: _path2 + ".unit",
1818
- expected: "(string | undefined)",
1819
- value: input3.unit
1820
- }), "string" === typeof input3.chr || $report(_exceptionable2, {
1821
- path: _path2 + ".chr",
1822
- expected: "string",
1823
- value: input3.chr
1824
- }), "number" === typeof input3.start || $report(_exceptionable2, {
1825
- path: _path2 + ".start",
1826
- expected: "number",
1827
- value: input3.start
1828
- }), "number" === typeof input3.stop || $report(_exceptionable2, {
1829
- path: _path2 + ".stop",
1830
- expected: "number",
1831
- value: input3.stop
1832
- }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1833
- path: _path2 + ".bins",
1834
- expected: "(PresetNumericBins | undefined)",
1835
- value: input3.bins
1836
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1837
- path: _path2 + ".bins",
1838
- expected: "(PresetNumericBins | undefined)",
1839
- value: input3.bins
1840
- })].every((flag) => flag);
1841
- const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1842
- path: _path2 + ".id",
1843
- expected: "string",
1844
- value: input3.id
1845
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1846
- path: _path2 + ".name",
1847
- expected: "string",
1848
- value: input3.name
1849
- }), "singleCellGeneExpression" === input3.type || $report(_exceptionable2, {
1850
- path: _path2 + ".type",
1851
- expected: '"singleCellGeneExpression"',
1852
- value: input3.type
1853
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1854
- path: _path2 + ".child_types",
1855
- expected: "(Array<string> | undefined)",
1856
- value: input3.child_types
1857
- })) && input3.child_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
1858
- path: _path2 + ".child_types[" + _index29 + "]",
1859
- expected: "string",
1860
- value: elem
1861
- })).every((flag) => flag) || $report(_exceptionable2, {
1862
- path: _path2 + ".child_types",
1863
- expected: "(Array<string> | undefined)",
1864
- value: input3.child_types
1865
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1866
- path: _path2 + ".hashtmldetail",
1867
- expected: "(boolean | undefined)",
1868
- value: input3.hashtmldetail
1869
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1870
- path: _path2 + ".included_types",
1871
- expected: "(Array<string> | undefined)",
1872
- value: input3.included_types
1873
- })) && input3.included_types.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable2, {
1874
- path: _path2 + ".included_types[" + _index30 + "]",
1875
- expected: "string",
1876
- value: elem
1877
- })).every((flag) => flag) || $report(_exceptionable2, {
1878
- path: _path2 + ".included_types",
1879
- expected: "(Array<string> | undefined)",
1880
- value: input3.included_types
1881
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1882
- path: _path2 + ".isleaf",
1883
- expected: "(boolean | undefined)",
1884
- value: input3.isleaf
1885
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1886
- path: _path2 + ".values",
1887
- expected: "(TermValues | undefined)",
1888
- value: input3.values
1889
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1890
- path: _path2 + ".values",
1891
- expected: "(TermValues | undefined)",
1892
- value: input3.values
1893
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1894
- path: _path2 + ".skipValuesBuild",
1895
- expected: "(boolean | undefined)",
1896
- value: input3.skipValuesBuild
1897
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
1898
- path: _path2 + ".valueConversion",
1899
- expected: "(__type.o1 | undefined)",
1900
- value: input3.valueConversion
1901
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
1902
- path: _path2 + ".valueConversion",
1903
- expected: "(__type.o1 | undefined)",
1904
- value: input3.valueConversion
1905
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1906
- path: _path2 + ".continuousColorScale",
1907
- expected: "(__type.o3 | undefined)",
1908
- value: input3.continuousColorScale
1909
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1910
- path: _path2 + ".continuousColorScale",
1911
- expected: "(__type.o3 | undefined)",
1912
- value: input3.continuousColorScale
1913
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1914
- path: _path2 + ".unit",
1915
- expected: "(string | undefined)",
1916
- value: input3.unit
1917
- }), "string" === typeof input3.gene || $report(_exceptionable2, {
1918
- path: _path2 + ".gene",
1919
- expected: "string",
1920
- value: input3.gene
1921
- }), "string" === typeof input3.sample || $report(_exceptionable2, {
1922
- path: _path2 + ".sample",
1923
- expected: "string",
1924
- value: input3.sample
1925
- }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1926
- path: _path2 + ".bins",
1927
- expected: "(PresetNumericBins | undefined)",
1928
- value: input3.bins
1929
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1930
- path: _path2 + ".bins",
1931
- expected: "(PresetNumericBins | undefined)",
1932
- value: input3.bins
1933
- }), void 0 === input3.kind || "gene" === input3.kind || $report(_exceptionable2, {
1934
- path: _path2 + ".kind",
1935
- expected: '("gene" | undefined)',
1936
- value: input3.kind
1937
- }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
1938
- path: _path2 + ".chr",
1939
- expected: "(string | undefined)",
1940
- value: input3.chr
1941
- }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
1942
- path: _path2 + ".start",
1943
- expected: "(number | undefined)",
1944
- value: input3.start
1945
- }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
1946
- path: _path2 + ".stop",
1947
- expected: "(number | undefined)",
1948
- value: input3.stop
1949
- })].every((flag) => flag);
1950
- const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1951
- path: _path2 + ".id",
1952
- expected: "string",
1953
- value: input3.id
1954
- }), "string" === typeof input3.name || $report(_exceptionable2, {
1955
- path: _path2 + ".name",
1956
- expected: "string",
1957
- value: input3.name
1958
- }), "singleCellGeneExpression" === input3.type || $report(_exceptionable2, {
1959
- path: _path2 + ".type",
1960
- expected: '"singleCellGeneExpression"',
1961
- value: input3.type
1962
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1963
- path: _path2 + ".child_types",
1964
- expected: "(Array<string> | undefined)",
1965
- value: input3.child_types
1966
- })) && input3.child_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
1967
- path: _path2 + ".child_types[" + _index31 + "]",
1968
- expected: "string",
1969
- value: elem
1970
- })).every((flag) => flag) || $report(_exceptionable2, {
1971
- path: _path2 + ".child_types",
1972
- expected: "(Array<string> | undefined)",
1973
- value: input3.child_types
1974
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1975
- path: _path2 + ".hashtmldetail",
1976
- expected: "(boolean | undefined)",
1977
- value: input3.hashtmldetail
1978
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1979
- path: _path2 + ".included_types",
1980
- expected: "(Array<string> | undefined)",
1981
- value: input3.included_types
1982
- })) && input3.included_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
1983
- path: _path2 + ".included_types[" + _index32 + "]",
1984
- expected: "string",
1985
- value: elem
1986
- })).every((flag) => flag) || $report(_exceptionable2, {
1987
- path: _path2 + ".included_types",
1988
- expected: "(Array<string> | undefined)",
1989
- value: input3.included_types
1990
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1991
- path: _path2 + ".isleaf",
1992
- expected: "(boolean | undefined)",
1993
- value: input3.isleaf
1994
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1995
- path: _path2 + ".values",
1996
- expected: "(TermValues | undefined)",
1997
- value: input3.values
1998
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1999
- path: _path2 + ".values",
2000
- expected: "(TermValues | undefined)",
2001
- value: input3.values
2002
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2003
- path: _path2 + ".skipValuesBuild",
2004
- expected: "(boolean | undefined)",
2005
- value: input3.skipValuesBuild
2006
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
2007
- path: _path2 + ".valueConversion",
2008
- expected: "(__type.o1 | undefined)",
2009
- value: input3.valueConversion
2010
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
2011
- path: _path2 + ".valueConversion",
2012
- expected: "(__type.o1 | undefined)",
2013
- value: input3.valueConversion
2014
- }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
2015
- path: _path2 + ".continuousColorScale",
2016
- expected: "(__type.o3 | undefined)",
2017
- value: input3.continuousColorScale
2018
- })) && $vo15(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
2019
- path: _path2 + ".continuousColorScale",
2020
- expected: "(__type.o3 | undefined)",
2021
- value: input3.continuousColorScale
2022
- }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
2023
- path: _path2 + ".unit",
2024
- expected: "(string | undefined)",
2025
- value: input3.unit
2026
- }), "string" === typeof input3.gene || $report(_exceptionable2, {
2027
- path: _path2 + ".gene",
2028
- expected: "string",
2029
- value: input3.gene
2030
- }), "string" === typeof input3.sample || $report(_exceptionable2, {
2031
- path: _path2 + ".sample",
2032
- expected: "string",
2033
- value: input3.sample
2034
- }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
2035
- path: _path2 + ".bins",
2036
- expected: "(PresetNumericBins | undefined)",
2037
- value: input3.bins
2038
- })) && $vo16(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
2039
- path: _path2 + ".bins",
2040
- expected: "(PresetNumericBins | undefined)",
2041
- value: input3.bins
2042
- }), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
2043
- path: _path2 + ".kind",
2044
- expected: '("coord" | undefined)',
2045
- value: input3.kind
2046
- }), "string" === typeof input3.chr || $report(_exceptionable2, {
2047
- path: _path2 + ".chr",
2048
- expected: "string",
2049
- value: input3.chr
2050
- }), "number" === typeof input3.start || $report(_exceptionable2, {
2051
- path: _path2 + ".start",
2052
- expected: "number",
2053
- value: input3.start
2054
- }), "number" === typeof input3.stop || $report(_exceptionable2, {
2055
- path: _path2 + ".stop",
2056
- expected: "number",
2057
- value: input3.stop
2058
- })].every((flag) => flag);
2059
- const $vo33 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
2060
- path: _path2 + ".value",
2061
- expected: "number",
2062
- value: input3.value
2063
- }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
2064
- path: _path2 + ".label",
2065
- expected: "(string | undefined)",
2066
- value: input3.label
2067
- }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
2068
- path: _path2 + ".name",
2069
- expected: "(string | undefined)",
2070
- value: input3.name
2071
- })].every((flag) => flag);
2072
- const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
2073
- path: _path2 + ".key",
2074
- expected: "string",
2075
- value: input3.key
2076
- }), "number" === typeof input3.value || $report(_exceptionable2, {
2077
- path: _path2 + ".value",
2078
- expected: "number",
2079
- value: input3.value
2080
- }), true === input3.uncomputable || $report(_exceptionable2, {
2081
- path: _path2 + ".uncomputable",
2082
- expected: "true",
2083
- value: input3.uncomputable
2084
- }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
2085
- path: _path2 + ".label",
2086
- expected: "(string | undefined)",
2087
- value: input3.label
2088
- })].every((flag) => flag);
2089
- const $vo35 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2090
- path: _path2 + ".join",
2091
- expected: "(string | undefined)",
2092
- value: input3.join
2093
- }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
2094
- path: _path2 + ".isnot",
2095
- expected: "(boolean | undefined)",
2096
- value: input3.isnot
2097
- }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
2098
- path: _path2 + ".bar_by_grade",
2099
- expected: "(boolean | undefined)",
2100
- value: input3.bar_by_grade
2101
- }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
2102
- path: _path2 + ".bar_by_children",
2103
- expected: "(boolean | undefined)",
2104
- value: input3.bar_by_children
2105
- }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
2106
- path: _path2 + ".value_by_max_grade",
2107
- expected: "(boolean | undefined)",
2108
- value: input3.value_by_max_grade
2109
- }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
2110
- path: _path2 + ".value_by_most_recent",
2111
- expected: "(boolean | undefined)",
2112
- value: input3.value_by_most_recent
2113
- }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
2114
- path: _path2 + ".value_by_computable_grade",
2115
- expected: "(boolean | undefined)",
2116
- value: input3.value_by_computable_grade
2117
- }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2118
- path: _path2 + ".term",
2119
- expected: "ConditionTerm",
2120
- value: input3.term
2121
- })) && $vo36(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2122
- path: _path2 + ".term",
2123
- expected: "ConditionTerm",
2124
- value: input3.term
2125
- }), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
2126
- path: _path2 + ".grade_and_child",
2127
- expected: "(Array<GradeAndChildEntry> | undefined)",
2128
- value: input3.grade_and_child
2129
- })) && input3.grade_and_child.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2130
- path: _path2 + ".grade_and_child[" + _index33 + "]",
2131
- expected: "GradeAndChildEntry",
2132
- value: elem
2133
- })) && $vo37(elem, _path2 + ".grade_and_child[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
2134
- path: _path2 + ".grade_and_child[" + _index33 + "]",
2135
- expected: "GradeAndChildEntry",
2136
- value: elem
2137
- })).every((flag) => flag) || $report(_exceptionable2, {
2138
- path: _path2 + ".grade_and_child",
2139
- expected: "(Array<GradeAndChildEntry> | undefined)",
2140
- value: input3.grade_and_child
2141
- }), (Array.isArray(input3.values) || $report(_exceptionable2, {
2142
- path: _path2 + ".values",
2143
- expected: "Array<__type>.o2",
2144
- value: input3.values
2145
- })) && input3.values.map((elem, _index34) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2146
- path: _path2 + ".values[" + _index34 + "]",
2147
- expected: "__type.o6",
2148
- value: elem
2149
- })) && $vo38(elem, _path2 + ".values[" + _index34 + "]", _exceptionable2) || $report(_exceptionable2, {
2150
- path: _path2 + ".values[" + _index34 + "]",
2151
- expected: "__type.o6",
2152
- value: elem
2153
- })).every((flag) => flag) || $report(_exceptionable2, {
2154
- path: _path2 + ".values",
2155
- expected: "Array<__type>.o2",
2156
- value: input3.values
2157
- })].every((flag) => flag);
2158
- const $vo36 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2159
- path: _path2 + ".id",
2160
- expected: "string",
2161
- value: input3.id
2162
- }), "string" === typeof input3.name || $report(_exceptionable2, {
2163
- path: _path2 + ".name",
2164
- expected: "string",
2165
- value: input3.name
2166
- }), "condition" === input3.type || $report(_exceptionable2, {
2167
- path: _path2 + ".type",
2168
- expected: '"condition"',
2169
- value: input3.type
2170
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2171
- path: _path2 + ".child_types",
2172
- expected: "(Array<string> | undefined)",
2173
- value: input3.child_types
2174
- })) && input3.child_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
2175
- path: _path2 + ".child_types[" + _index35 + "]",
2176
- expected: "string",
2177
- value: elem
2178
- })).every((flag) => flag) || $report(_exceptionable2, {
2179
- path: _path2 + ".child_types",
2180
- expected: "(Array<string> | undefined)",
2181
- value: input3.child_types
2182
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2183
- path: _path2 + ".hashtmldetail",
2184
- expected: "(boolean | undefined)",
2185
- value: input3.hashtmldetail
2186
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2187
- path: _path2 + ".included_types",
2188
- expected: "(Array<string> | undefined)",
2189
- value: input3.included_types
2190
- })) && input3.included_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
2191
- path: _path2 + ".included_types[" + _index36 + "]",
2192
- expected: "string",
2193
- value: elem
2194
- })).every((flag) => flag) || $report(_exceptionable2, {
2195
- path: _path2 + ".included_types",
2196
- expected: "(Array<string> | undefined)",
2197
- value: input3.included_types
2198
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2199
- path: _path2 + ".isleaf",
2200
- expected: "(boolean | undefined)",
2201
- value: input3.isleaf
2202
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2203
- path: _path2 + ".values",
2204
- expected: "(TermValues | undefined)",
2205
- value: input3.values
2206
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2207
- path: _path2 + ".values",
2208
- expected: "(TermValues | undefined)",
2209
- value: input3.values
2210
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2211
- path: _path2 + ".skipValuesBuild",
2212
- expected: "(boolean | undefined)",
2213
- value: input3.skipValuesBuild
2214
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
2215
- path: _path2 + ".valueConversion",
2216
- expected: "(__type.o1 | undefined)",
2217
- value: input3.valueConversion
2218
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
2219
- path: _path2 + ".valueConversion",
2220
- expected: "(__type.o1 | undefined)",
2221
- value: input3.valueConversion
2222
- })].every((flag) => flag);
2223
- const $vo37 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
2224
- path: _path2 + ".grade",
2225
- expected: "number",
2226
- value: input3.grade
2227
- }), "string" === typeof input3.grade_label || $report(_exceptionable2, {
2228
- path: _path2 + ".grade_label",
2229
- expected: "string",
2230
- value: input3.grade_label
2231
- }), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
2232
- path: _path2 + ".child_id",
2233
- expected: "(string | undefined)",
2234
- value: input3.child_id
2235
- }), "string" === typeof input3.child_label || $report(_exceptionable2, {
2236
- path: _path2 + ".child_label",
2237
- expected: "string",
2238
- value: input3.child_label
2239
- })].every((flag) => flag);
2240
- const $vo38 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
2241
- path: _path2 + ".key",
2242
- expected: "(number | string)",
2243
- value: input3.key
2244
- }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
2245
- path: _path2 + ".label",
2246
- expected: "(string | undefined)",
2247
- value: input3.label
2248
- }), false === _exceptionable2 || Object.keys(input3).map((key) => {
2249
- if (["key", "label"].some((prop) => key === prop))
2250
- return true;
2251
- const value = input3[key];
2252
- if (void 0 === value)
2253
- return true;
2254
- if (RegExp(/(.*)/).test(key))
2255
- return true;
2256
- return true;
2257
- }).every((flag) => flag)].every((flag) => flag);
2258
- const $vo39 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2259
- path: _path2 + ".join",
2260
- expected: "(string | undefined)",
2261
- value: input3.join
2262
- }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
2263
- path: _path2 + ".isnot",
2264
- expected: "(boolean | undefined)",
2265
- value: input3.isnot
2266
- }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
2267
- path: _path2 + ".bar_by_grade",
2268
- expected: "(boolean | undefined)",
2269
- value: input3.bar_by_grade
2270
- }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
2271
- path: _path2 + ".bar_by_children",
2272
- expected: "(boolean | undefined)",
2273
- value: input3.bar_by_children
2274
- }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
2275
- path: _path2 + ".value_by_max_grade",
2276
- expected: "(boolean | undefined)",
2277
- value: input3.value_by_max_grade
2278
- }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
2279
- path: _path2 + ".value_by_most_recent",
2280
- expected: "(boolean | undefined)",
2281
- value: input3.value_by_most_recent
2282
- }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
2283
- path: _path2 + ".value_by_computable_grade",
2284
- expected: "(boolean | undefined)",
2285
- value: input3.value_by_computable_grade
2286
- }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2287
- path: _path2 + ".term",
2288
- expected: "DtTerm",
2289
- value: input3.term
2290
- })) && $vo40(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2291
- path: _path2 + ".term",
2292
- expected: "DtTerm",
2293
- value: input3.term
2294
- }), (Array.isArray(input3.values) || $report(_exceptionable2, {
2295
- path: _path2 + ".values",
2296
- expected: "Array<GeneVariantValue>",
2297
- value: input3.values
2298
- })) && input3.values.map((elem, _index37) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
2299
- path: _path2 + ".values[" + _index37 + "]",
2300
- expected: "GeneVariantValue",
2301
- value: elem
2302
- })) && $vo45(elem, _path2 + ".values[" + _index37 + "]", _exceptionable2) || $report(_exceptionable2, {
2303
- path: _path2 + ".values[" + _index37 + "]",
2304
- expected: "GeneVariantValue",
2305
- value: elem
2306
- })).every((flag) => flag) || $report(_exceptionable2, {
2307
- path: _path2 + ".values",
2308
- expected: "Array<GeneVariantValue>",
2309
- value: input3.values
2310
- }), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
2311
- path: _path2 + ".includeNotTested",
2312
- expected: "(boolean | undefined)",
2313
- value: input3.includeNotTested
2314
- }), void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName || $report(_exceptionable2, {
2315
- path: _path2 + ".excludeGeneName",
2316
- expected: "(boolean | undefined)",
2317
- value: input3.excludeGeneName
2318
- }), void 0 === input3.genotype || "variant" === input3.genotype || "nt" === input3.genotype || "wt" === input3.genotype || $report(_exceptionable2, {
2319
- path: _path2 + ".genotype",
2320
- expected: '("nt" | "variant" | "wt" | undefined)',
2321
- value: input3.genotype
2322
- }), void 0 === input3.mcount || "any" === input3.mcount || "single" === input3.mcount || "multiple" === input3.mcount || "all" === input3.mcount || $report(_exceptionable2, {
2323
- path: _path2 + ".mcount",
2324
- expected: '("all" | "any" | "multiple" | "single" | undefined)',
2325
- value: input3.mcount
2326
- }), void 0 === input3.continuousCnv || "boolean" === typeof input3.continuousCnv || $report(_exceptionable2, {
2327
- path: _path2 + ".continuousCnv",
2328
- expected: "(boolean | undefined)",
2329
- value: input3.continuousCnv
2330
- }), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
2331
- path: _path2 + ".cnvLossCutoff",
2332
- expected: "(number | undefined)",
2333
- value: input3.cnvLossCutoff
2334
- }), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
2335
- path: _path2 + ".cnvGainCutoff",
2336
- expected: "(number | undefined)",
2337
- value: input3.cnvGainCutoff
2338
- }), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
2339
- path: _path2 + ".cnvMaxLength",
2340
- expected: "(number | undefined)",
2341
- value: input3.cnvMaxLength
2342
- }), void 0 === input3.cnvWT || "boolean" === typeof input3.cnvWT || $report(_exceptionable2, {
2343
- path: _path2 + ".cnvWT",
2344
- expected: "(boolean | undefined)",
2345
- value: input3.cnvWT
2346
- }), void 0 === input3.fractionOverlap || "number" === typeof input3.fractionOverlap || $report(_exceptionable2, {
2347
- path: _path2 + ".fractionOverlap",
2348
- expected: "(number | undefined)",
2349
- value: input3.fractionOverlap
2350
- })].every((flag) => flag);
2351
- const $vo40 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2352
- path: _path2 + ".id",
2353
- expected: "string",
2354
- value: input3.id
2355
- }), "string" === typeof input3.query || $report(_exceptionable2, {
2356
- path: _path2 + ".query",
2357
- expected: "string",
2358
- value: input3.query
2359
- }), "string" === typeof input3.name || $report(_exceptionable2, {
2360
- path: _path2 + ".name",
2361
- expected: "string",
2362
- value: input3.name
2363
- }), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
2364
- path: _path2 + ".name_noOrigin",
2365
- expected: "string",
2366
- value: input3.name_noOrigin
2367
- }), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
2368
- path: _path2 + ".parentTerm",
2369
- 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)',
2370
- value: input3.parentTerm
2371
- })) && $vu10(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
2372
- path: _path2 + ".parentTerm",
2373
- 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)',
2374
- value: input3.parentTerm
2375
- }), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2376
- path: _path2 + ".isleaf",
2377
- expected: "boolean",
2378
- value: input3.isleaf
2379
- }), "string" === typeof input3.type || $report(_exceptionable2, {
2380
- path: _path2 + ".type",
2381
- expected: "string",
2382
- value: input3.type
2383
- }), "number" === typeof input3.dt || $report(_exceptionable2, {
2384
- path: _path2 + ".dt",
2385
- expected: "number",
2386
- value: input3.dt
2387
- }), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
2388
- path: _path2 + ".origin",
2389
- expected: "(string | undefined)",
2390
- value: input3.origin
2391
- }), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2392
- path: _path2 + ".values",
2393
- expected: "TermValues",
2394
- value: input3.values
2395
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2396
- path: _path2 + ".values",
2397
- expected: "TermValues",
2398
- value: input3.values
2399
- })].every((flag) => flag);
2400
- const $vo41 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2401
- path: _path2 + ".id",
2402
- expected: "string",
2403
- value: input3.id
2404
- }), "string" === typeof input3.name || $report(_exceptionable2, {
2405
- path: _path2 + ".name",
2406
- expected: "string",
2407
- value: input3.name
2408
- }), "geneVariant" === input3.type || $report(_exceptionable2, {
2409
- path: _path2 + ".type",
2410
- expected: '"geneVariant"',
2411
- value: input3.type
2412
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2413
- path: _path2 + ".child_types",
2414
- expected: "(Array<string> | undefined)",
2415
- value: input3.child_types
2416
- })) && input3.child_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
2417
- path: _path2 + ".child_types[" + _index38 + "]",
2418
- expected: "string",
2419
- value: elem
2420
- })).every((flag) => flag) || $report(_exceptionable2, {
2421
- path: _path2 + ".child_types",
2422
- expected: "(Array<string> | undefined)",
2423
- value: input3.child_types
2424
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2425
- path: _path2 + ".hashtmldetail",
2426
- expected: "(boolean | undefined)",
2427
- value: input3.hashtmldetail
2428
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2429
- path: _path2 + ".included_types",
2430
- expected: "(Array<string> | undefined)",
2431
- value: input3.included_types
2432
- })) && input3.included_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
2433
- path: _path2 + ".included_types[" + _index39 + "]",
2434
- expected: "string",
2435
- value: elem
2436
- })).every((flag) => flag) || $report(_exceptionable2, {
2437
- path: _path2 + ".included_types",
2438
- expected: "(Array<string> | undefined)",
2439
- value: input3.included_types
2440
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2441
- path: _path2 + ".isleaf",
2442
- expected: "(boolean | undefined)",
2443
- value: input3.isleaf
2444
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2445
- path: _path2 + ".values",
2446
- expected: "(TermValues | undefined)",
2447
- value: input3.values
2448
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2449
- path: _path2 + ".values",
2450
- expected: "(TermValues | undefined)",
2451
- value: input3.values
2452
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2453
- path: _path2 + ".skipValuesBuild",
2454
- expected: "(boolean | undefined)",
2455
- value: input3.skipValuesBuild
2456
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
2457
- path: _path2 + ".valueConversion",
2458
- expected: "(__type.o1 | undefined)",
2459
- value: input3.valueConversion
2460
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
2461
- path: _path2 + ".valueConversion",
2462
- expected: "(__type.o1 | undefined)",
2463
- value: input3.valueConversion
2464
- }), "gene" === input3.kind || $report(_exceptionable2, {
2465
- path: _path2 + ".kind",
2466
- expected: '"gene"',
2467
- value: input3.kind
2468
- }), "string" === typeof input3.gene || $report(_exceptionable2, {
2469
- path: _path2 + ".gene",
2470
- expected: "string",
2471
- value: input3.gene
2472
- }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
2473
- path: _path2 + ".chr",
2474
- expected: "(string | undefined)",
2475
- value: input3.chr
2476
- }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
2477
- path: _path2 + ".start",
2478
- expected: "(number | undefined)",
2479
- value: input3.start
2480
- }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
2481
- path: _path2 + ".stop",
2482
- expected: "(number | undefined)",
2483
- value: input3.stop
2484
- }), (Array.isArray(input3.genes) || $report(_exceptionable2, {
2485
- path: _path2 + ".genes",
2486
- expected: "Array<GvGeneTerm>",
2487
- value: input3.genes
2488
- })) && input3.genes.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2489
- path: _path2 + ".genes[" + _index40 + "]",
2490
- expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2491
- value: elem
2492
- })) && $vu3(elem, _path2 + ".genes[" + _index40 + "]", _exceptionable2) || $report(_exceptionable2, {
2493
- path: _path2 + ".genes[" + _index40 + "]",
2494
- expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2495
- value: elem
2496
- })).every((flag) => flag) || $report(_exceptionable2, {
2497
- path: _path2 + ".genes",
2498
- expected: "Array<GvGeneTerm>",
2499
- value: input3.genes
2500
- }), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
2501
- path: _path2 + ".groupsetting",
2502
- expected: "(TermGroupSetting | undefined)",
2503
- value: input3.groupsetting
2504
- })) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
2505
- path: _path2 + ".groupsetting",
2506
- expected: "(TermGroupSetting | undefined)",
2507
- value: input3.groupsetting
2508
- }), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
2509
- path: _path2 + ".childTerms",
2510
- expected: "(Array<DtTerm> | undefined)",
2511
- value: input3.childTerms
2512
- })) && input3.childTerms.map((elem, _index41) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2513
- path: _path2 + ".childTerms[" + _index41 + "]",
2514
- expected: "DtTerm",
2515
- value: elem
2516
- })) && $vo40(elem, _path2 + ".childTerms[" + _index41 + "]", _exceptionable2) || $report(_exceptionable2, {
2517
- path: _path2 + ".childTerms[" + _index41 + "]",
2518
- expected: "DtTerm",
2519
- value: elem
2520
- })).every((flag) => flag) || $report(_exceptionable2, {
2521
- path: _path2 + ".childTerms",
2522
- expected: "(Array<DtTerm> | undefined)",
2523
- value: input3.childTerms
2524
- })].every((flag) => flag);
2525
- const $vo42 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2526
- path: _path2 + ".id",
2527
- expected: "string",
2528
- value: input3.id
2529
- }), "string" === typeof input3.name || $report(_exceptionable2, {
2530
- path: _path2 + ".name",
2531
- expected: "string",
2532
- value: input3.name
2533
- }), "string" === typeof input3.type || $report(_exceptionable2, {
2534
- path: _path2 + ".type",
2535
- expected: "string",
2536
- value: input3.type
2537
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2538
- path: _path2 + ".child_types",
2539
- expected: "(Array<string> | undefined)",
2540
- value: input3.child_types
2541
- })) && input3.child_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
2542
- path: _path2 + ".child_types[" + _index42 + "]",
2543
- expected: "string",
2544
- value: elem
2545
- })).every((flag) => flag) || $report(_exceptionable2, {
2546
- path: _path2 + ".child_types",
2547
- expected: "(Array<string> | undefined)",
2548
- value: input3.child_types
2549
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2550
- path: _path2 + ".hashtmldetail",
2551
- expected: "(boolean | undefined)",
2552
- value: input3.hashtmldetail
2553
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2554
- path: _path2 + ".included_types",
2555
- expected: "(Array<string> | undefined)",
2556
- value: input3.included_types
2557
- })) && input3.included_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
2558
- path: _path2 + ".included_types[" + _index43 + "]",
2559
- expected: "string",
2560
- value: elem
2561
- })).every((flag) => flag) || $report(_exceptionable2, {
2562
- path: _path2 + ".included_types",
2563
- expected: "(Array<string> | undefined)",
2564
- value: input3.included_types
2565
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2566
- path: _path2 + ".isleaf",
2567
- expected: "(boolean | undefined)",
2568
- value: input3.isleaf
2569
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2570
- path: _path2 + ".values",
2571
- expected: "(TermValues | undefined)",
2572
- value: input3.values
2573
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2574
- path: _path2 + ".values",
2575
- expected: "(TermValues | undefined)",
2576
- value: input3.values
2577
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2578
- path: _path2 + ".skipValuesBuild",
2579
- expected: "(boolean | undefined)",
2580
- value: input3.skipValuesBuild
2581
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
2582
- path: _path2 + ".valueConversion",
2583
- expected: "(__type.o1 | undefined)",
2584
- value: input3.valueConversion
2585
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
2586
- path: _path2 + ".valueConversion",
2587
- expected: "(__type.o1 | undefined)",
2588
- value: input3.valueConversion
2589
- }), "gene" === input3.kind || $report(_exceptionable2, {
2590
- path: _path2 + ".kind",
2591
- expected: '"gene"',
2592
- value: input3.kind
2593
- }), "string" === typeof input3.gene || $report(_exceptionable2, {
2594
- path: _path2 + ".gene",
2595
- expected: "string",
2596
- value: input3.gene
2597
- }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
2598
- path: _path2 + ".chr",
2599
- expected: "(string | undefined)",
2600
- value: input3.chr
2601
- }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
2602
- path: _path2 + ".start",
2603
- expected: "(number | undefined)",
2604
- value: input3.start
2605
- }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
2606
- path: _path2 + ".stop",
2607
- expected: "(number | undefined)",
2608
- value: input3.stop
2609
- })].every((flag) => flag);
2610
- const $vo43 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2611
- path: _path2 + ".id",
2612
- expected: "string",
2613
- value: input3.id
2614
- }), "string" === typeof input3.name || $report(_exceptionable2, {
2615
- path: _path2 + ".name",
2616
- expected: "string",
2617
- value: input3.name
2618
- }), "string" === typeof input3.type || $report(_exceptionable2, {
2619
- path: _path2 + ".type",
2620
- expected: "string",
2621
- value: input3.type
2622
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2623
- path: _path2 + ".child_types",
2624
- expected: "(Array<string> | undefined)",
2625
- value: input3.child_types
2626
- })) && input3.child_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
2627
- path: _path2 + ".child_types[" + _index44 + "]",
2628
- expected: "string",
2629
- value: elem
2630
- })).every((flag) => flag) || $report(_exceptionable2, {
2631
- path: _path2 + ".child_types",
2632
- expected: "(Array<string> | undefined)",
2633
- value: input3.child_types
2634
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2635
- path: _path2 + ".hashtmldetail",
2636
- expected: "(boolean | undefined)",
2637
- value: input3.hashtmldetail
2638
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2639
- path: _path2 + ".included_types",
2640
- expected: "(Array<string> | undefined)",
2641
- value: input3.included_types
2642
- })) && input3.included_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
2643
- path: _path2 + ".included_types[" + _index45 + "]",
2644
- expected: "string",
2645
- value: elem
2646
- })).every((flag) => flag) || $report(_exceptionable2, {
2647
- path: _path2 + ".included_types",
2648
- expected: "(Array<string> | undefined)",
2649
- value: input3.included_types
2650
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2651
- path: _path2 + ".isleaf",
2652
- expected: "(boolean | undefined)",
2653
- value: input3.isleaf
2654
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2655
- path: _path2 + ".values",
2656
- expected: "(TermValues | undefined)",
2657
- value: input3.values
2658
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2659
- path: _path2 + ".values",
2660
- expected: "(TermValues | undefined)",
2661
- value: input3.values
2662
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2663
- path: _path2 + ".skipValuesBuild",
2664
- expected: "(boolean | undefined)",
2665
- value: input3.skipValuesBuild
2666
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
2667
- path: _path2 + ".valueConversion",
2668
- expected: "(__type.o1 | undefined)",
2669
- value: input3.valueConversion
2670
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
2671
- path: _path2 + ".valueConversion",
2672
- expected: "(__type.o1 | undefined)",
2673
- value: input3.valueConversion
2674
- }), "coord" === input3.kind || $report(_exceptionable2, {
2675
- path: _path2 + ".kind",
2676
- expected: '"coord"',
2677
- value: input3.kind
2678
- }), "string" === typeof input3.chr || $report(_exceptionable2, {
2679
- path: _path2 + ".chr",
2680
- expected: "string",
2681
- value: input3.chr
2682
- }), "number" === typeof input3.start || $report(_exceptionable2, {
2683
- path: _path2 + ".start",
2684
- expected: "number",
2685
- value: input3.start
2686
- }), "number" === typeof input3.stop || $report(_exceptionable2, {
2687
- path: _path2 + ".stop",
2688
- expected: "number",
2689
- value: input3.stop
2690
- })].every((flag) => flag);
2691
- const $vo44 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2692
- path: _path2 + ".id",
2693
- expected: "string",
2694
- value: input3.id
2695
- }), "string" === typeof input3.name || $report(_exceptionable2, {
2696
- path: _path2 + ".name",
2697
- expected: "string",
2698
- value: input3.name
2699
- }), "geneVariant" === input3.type || $report(_exceptionable2, {
2700
- path: _path2 + ".type",
2701
- expected: '"geneVariant"',
2702
- value: input3.type
2703
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2704
- path: _path2 + ".child_types",
2705
- expected: "(Array<string> | undefined)",
2706
- value: input3.child_types
2707
- })) && input3.child_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
2708
- path: _path2 + ".child_types[" + _index46 + "]",
2709
- expected: "string",
2710
- value: elem
2711
- })).every((flag) => flag) || $report(_exceptionable2, {
2712
- path: _path2 + ".child_types",
2713
- expected: "(Array<string> | undefined)",
2714
- value: input3.child_types
2715
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2716
- path: _path2 + ".hashtmldetail",
2717
- expected: "(boolean | undefined)",
2718
- value: input3.hashtmldetail
2719
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2720
- path: _path2 + ".included_types",
2721
- expected: "(Array<string> | undefined)",
2722
- value: input3.included_types
2723
- })) && input3.included_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
2724
- path: _path2 + ".included_types[" + _index47 + "]",
2725
- expected: "string",
2726
- value: elem
2727
- })).every((flag) => flag) || $report(_exceptionable2, {
2728
- path: _path2 + ".included_types",
2729
- expected: "(Array<string> | undefined)",
2730
- value: input3.included_types
2731
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2732
- path: _path2 + ".isleaf",
2733
- expected: "(boolean | undefined)",
2734
- value: input3.isleaf
2735
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2736
- path: _path2 + ".values",
2737
- expected: "(TermValues | undefined)",
2738
- value: input3.values
2739
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2740
- path: _path2 + ".values",
2741
- expected: "(TermValues | undefined)",
2742
- value: input3.values
2743
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2744
- path: _path2 + ".skipValuesBuild",
2745
- expected: "(boolean | undefined)",
2746
- value: input3.skipValuesBuild
2747
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
2748
- path: _path2 + ".valueConversion",
2749
- expected: "(__type.o1 | undefined)",
2750
- value: input3.valueConversion
2751
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
2752
- path: _path2 + ".valueConversion",
2753
- expected: "(__type.o1 | undefined)",
2754
- value: input3.valueConversion
2755
- }), "coord" === input3.kind || $report(_exceptionable2, {
2756
- path: _path2 + ".kind",
2757
- expected: '"coord"',
2758
- value: input3.kind
2759
- }), "string" === typeof input3.chr || $report(_exceptionable2, {
2760
- path: _path2 + ".chr",
2761
- expected: "string",
2762
- value: input3.chr
2763
- }), "number" === typeof input3.start || $report(_exceptionable2, {
2764
- path: _path2 + ".start",
2765
- expected: "number",
2766
- value: input3.start
2767
- }), "number" === typeof input3.stop || $report(_exceptionable2, {
2768
- path: _path2 + ".stop",
2769
- expected: "number",
2770
- value: input3.stop
2771
- }), (Array.isArray(input3.genes) || $report(_exceptionable2, {
2772
- path: _path2 + ".genes",
2773
- expected: "Array<GvGeneTerm>",
2774
- value: input3.genes
2775
- })) && input3.genes.map((elem, _index48) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2776
- path: _path2 + ".genes[" + _index48 + "]",
2777
- expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2778
- value: elem
2779
- })) && $vu3(elem, _path2 + ".genes[" + _index48 + "]", _exceptionable2) || $report(_exceptionable2, {
2780
- path: _path2 + ".genes[" + _index48 + "]",
2781
- expected: "(BaseTerm & Coord | BaseTerm & Gene)",
2782
- value: elem
2783
- })).every((flag) => flag) || $report(_exceptionable2, {
2784
- path: _path2 + ".genes",
2785
- expected: "Array<GvGeneTerm>",
2786
- value: input3.genes
2787
- }), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
2788
- path: _path2 + ".groupsetting",
2789
- expected: "(TermGroupSetting | undefined)",
2790
- value: input3.groupsetting
2791
- })) && $vo8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
2792
- path: _path2 + ".groupsetting",
2793
- expected: "(TermGroupSetting | undefined)",
2794
- value: input3.groupsetting
2795
- }), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
2796
- path: _path2 + ".childTerms",
2797
- expected: "(Array<DtTerm> | undefined)",
2798
- value: input3.childTerms
2799
- })) && input3.childTerms.map((elem, _index49) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2800
- path: _path2 + ".childTerms[" + _index49 + "]",
2801
- expected: "DtTerm",
2802
- value: elem
2803
- })) && $vo40(elem, _path2 + ".childTerms[" + _index49 + "]", _exceptionable2) || $report(_exceptionable2, {
2804
- path: _path2 + ".childTerms[" + _index49 + "]",
2805
- expected: "DtTerm",
2806
- value: elem
2807
- })).every((flag) => flag) || $report(_exceptionable2, {
2808
- path: _path2 + ".childTerms",
2809
- expected: "(Array<DtTerm> | undefined)",
2810
- value: input3.childTerms
2811
- })].every((flag) => flag);
2812
- const $vo45 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
2813
- path: _path2 + ".key",
2814
- expected: "(string | undefined)",
2815
- value: input3.key
2816
- }), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
2817
- path: _path2 + ".label",
2818
- expected: "(number | string | undefined)",
2819
- value: input3.label
2820
- }), void 0 === input3.value || "string" === typeof input3.value || $report(_exceptionable2, {
2821
- path: _path2 + ".value",
2822
- expected: "(string | undefined)",
2823
- value: input3.value
2824
- }), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
2825
- path: _path2 + ".dt",
2826
- expected: "(number | undefined)",
2827
- value: input3.dt
2828
- }), void 0 === input3.mclasslst || (Array.isArray(input3.mclasslst) || $report(_exceptionable2, {
2829
- path: _path2 + ".mclasslst",
2830
- expected: "(Array<string> | undefined)",
2831
- value: input3.mclasslst
2832
- })) && input3.mclasslst.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
2833
- path: _path2 + ".mclasslst[" + _index50 + "]",
2834
- expected: "string",
2835
- value: elem
2836
- })).every((flag) => flag) || $report(_exceptionable2, {
2837
- path: _path2 + ".mclasslst",
2838
- expected: "(Array<string> | undefined)",
2839
- value: input3.mclasslst
2840
- }), void 0 === input3.mclassExcludeLst || (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
2841
- path: _path2 + ".mclassExcludeLst",
2842
- expected: "(Array<string> | undefined)",
2843
- value: input3.mclassExcludeLst
2844
- })) && input3.mclassExcludeLst.map((elem, _index51) => "string" === typeof elem || $report(_exceptionable2, {
2845
- path: _path2 + ".mclassExcludeLst[" + _index51 + "]",
2846
- expected: "string",
2847
- value: elem
2848
- })).every((flag) => flag) || $report(_exceptionable2, {
2849
- path: _path2 + ".mclassExcludeLst",
2850
- expected: "(Array<string> | undefined)",
2851
- value: input3.mclassExcludeLst
2852
- }), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
2853
- path: _path2 + ".origin",
2854
- expected: "(string | undefined)",
2855
- value: input3.origin
2856
- })].every((flag) => flag);
2857
- const $vo46 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
2858
- path: _path2 + ".join",
2859
- expected: "(string | undefined)",
2860
- value: input3.join
2861
- }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
2862
- path: _path2 + ".isnot",
2863
- expected: "(boolean | undefined)",
2864
- value: input3.isnot
2865
- }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
2866
- path: _path2 + ".bar_by_grade",
2867
- expected: "(boolean | undefined)",
2868
- value: input3.bar_by_grade
2869
- }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
2870
- path: _path2 + ".bar_by_children",
2871
- expected: "(boolean | undefined)",
2872
- value: input3.bar_by_children
2873
- }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
2874
- path: _path2 + ".value_by_max_grade",
2875
- expected: "(boolean | undefined)",
2876
- value: input3.value_by_max_grade
2877
- }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
2878
- path: _path2 + ".value_by_most_recent",
2879
- expected: "(boolean | undefined)",
2880
- value: input3.value_by_most_recent
2881
- }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
2882
- path: _path2 + ".value_by_computable_grade",
2883
- expected: "(boolean | undefined)",
2884
- value: input3.value_by_computable_grade
2885
- }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2886
- path: _path2 + ".term",
2887
- expected: "(CategoricalTermCollection | NumericTermCollection)",
2888
- value: input3.term
2889
- })) && $vu11(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2890
- path: _path2 + ".term",
2891
- expected: "(CategoricalTermCollection | NumericTermCollection)",
2892
- value: input3.term
2893
- }), "number" === typeof input3.ratio || $report(_exceptionable2, {
2894
- path: _path2 + ".ratio",
2895
- expected: "number",
2896
- value: input3.ratio
2897
- })].every((flag) => flag);
2898
- const $vo47 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2899
- path: _path2 + ".id",
2900
- expected: "string",
2901
- value: input3.id
2902
- }), "string" === typeof input3.name || $report(_exceptionable2, {
2903
- path: _path2 + ".name",
2904
- expected: "string",
2905
- value: input3.name
2906
- }), "termCollection" === input3.type || $report(_exceptionable2, {
2907
- path: _path2 + ".type",
2908
- expected: '"termCollection"',
2909
- value: input3.type
2910
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2911
- path: _path2 + ".child_types",
2912
- expected: "(Array<string> | undefined)",
2913
- value: input3.child_types
2914
- })) && input3.child_types.map((elem, _index52) => "string" === typeof elem || $report(_exceptionable2, {
2915
- path: _path2 + ".child_types[" + _index52 + "]",
2916
- expected: "string",
2917
- value: elem
2918
- })).every((flag) => flag) || $report(_exceptionable2, {
2919
- path: _path2 + ".child_types",
2920
- expected: "(Array<string> | undefined)",
2921
- value: input3.child_types
2922
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2923
- path: _path2 + ".hashtmldetail",
2924
- expected: "(boolean | undefined)",
2925
- value: input3.hashtmldetail
2926
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2927
- path: _path2 + ".included_types",
2928
- expected: "(Array<string> | undefined)",
2929
- value: input3.included_types
2930
- })) && input3.included_types.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
2931
- path: _path2 + ".included_types[" + _index53 + "]",
2932
- expected: "string",
2933
- value: elem
2934
- })).every((flag) => flag) || $report(_exceptionable2, {
2935
- path: _path2 + ".included_types",
2936
- expected: "(Array<string> | undefined)",
2937
- value: input3.included_types
2938
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2939
- path: _path2 + ".isleaf",
2940
- expected: "(boolean | undefined)",
2941
- value: input3.isleaf
2942
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2943
- path: _path2 + ".values",
2944
- expected: "(TermValues | undefined)",
2945
- value: input3.values
2946
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2947
- path: _path2 + ".values",
2948
- expected: "(TermValues | undefined)",
2949
- value: input3.values
2950
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
2951
- path: _path2 + ".skipValuesBuild",
2952
- expected: "(boolean | undefined)",
2953
- value: input3.skipValuesBuild
2954
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
2955
- path: _path2 + ".valueConversion",
2956
- expected: "(__type.o1 | undefined)",
2957
- value: input3.valueConversion
2958
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
2959
- path: _path2 + ".valueConversion",
2960
- expected: "(__type.o1 | undefined)",
2961
- value: input3.valueConversion
2962
- }), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
2963
- path: _path2 + ".termIds",
2964
- expected: "(Array<string> | undefined)",
2965
- value: input3.termIds
2966
- })) && input3.termIds.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
2967
- path: _path2 + ".termIds[" + _index54 + "]",
2968
- expected: "string",
2969
- value: elem
2970
- })).every((flag) => flag) || $report(_exceptionable2, {
2971
- path: _path2 + ".termIds",
2972
- expected: "(Array<string> | undefined)",
2973
- value: input3.termIds
2974
- }), (Array.isArray(input3.termlst) || $report(_exceptionable2, {
2975
- path: _path2 + ".termlst",
2976
- expected: "Array<BaseTerm>",
2977
- value: input3.termlst
2978
- })) && input3.termlst.map((elem, _index55) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2979
- path: _path2 + ".termlst[" + _index55 + "]",
2980
- expected: "BaseTerm",
2981
- value: elem
2982
- })) && $vo48(elem, _path2 + ".termlst[" + _index55 + "]", _exceptionable2) || $report(_exceptionable2, {
2983
- path: _path2 + ".termlst[" + _index55 + "]",
2984
- expected: "BaseTerm",
2985
- value: elem
2986
- })).every((flag) => flag) || $report(_exceptionable2, {
2987
- path: _path2 + ".termlst",
2988
- expected: "Array<BaseTerm>",
2989
- value: input3.termlst
2990
- }), void 0 === input3.newTvs || "boolean" === typeof input3.newTvs || $report(_exceptionable2, {
2991
- path: _path2 + ".newTvs",
2992
- expected: "(boolean | undefined)",
2993
- value: input3.newTvs
2994
- }), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
2995
- path: _path2 + ".propsByTermId",
2996
- expected: "__type.o7",
2997
- value: input3.propsByTermId
2998
- })) && $vo49(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
2999
- path: _path2 + ".propsByTermId",
3000
- expected: "__type.o7",
3001
- value: input3.propsByTermId
3002
- }), "numeric" === input3.memberType || $report(_exceptionable2, {
3003
- path: _path2 + ".memberType",
3004
- expected: '"numeric"',
3005
- value: input3.memberType
3006
- }), void 0 === input3.numerators || (Array.isArray(input3.numerators) || $report(_exceptionable2, {
3007
- path: _path2 + ".numerators",
3008
- expected: "(Array<string> | undefined)",
3009
- value: input3.numerators
3010
- })) && input3.numerators.map((elem, _index56) => "string" === typeof elem || $report(_exceptionable2, {
3011
- path: _path2 + ".numerators[" + _index56 + "]",
3012
- expected: "string",
3013
- value: elem
3014
- })).every((flag) => flag) || $report(_exceptionable2, {
3015
- path: _path2 + ".numerators",
3016
- expected: "(Array<string> | undefined)",
3017
- value: input3.numerators
3018
- }), void 0 === input3.valueTransform || ("object" === typeof input3.valueTransform && null !== input3.valueTransform && false === Array.isArray(input3.valueTransform) || $report(_exceptionable2, {
3019
- path: _path2 + ".valueTransform",
3020
- expected: "(__type.o9 | undefined)",
3021
- value: input3.valueTransform
3022
- })) && $vo51(input3.valueTransform, _path2 + ".valueTransform", _exceptionable2) || $report(_exceptionable2, {
3023
- path: _path2 + ".valueTransform",
3024
- expected: "(__type.o9 | undefined)",
3025
- value: input3.valueTransform
3026
- })].every((flag) => flag);
3027
- const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3028
- path: _path2 + ".id",
3029
- expected: "string",
3030
- value: input3.id
3031
- }), "string" === typeof input3.name || $report(_exceptionable2, {
3032
- path: _path2 + ".name",
3033
- expected: "string",
3034
- value: input3.name
3035
- }), "string" === typeof input3.type || $report(_exceptionable2, {
3036
- path: _path2 + ".type",
3037
- expected: "string",
3038
- value: input3.type
3039
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
3040
- path: _path2 + ".child_types",
3041
- expected: "(Array<string> | undefined)",
3042
- value: input3.child_types
3043
- })) && input3.child_types.map((elem, _index57) => "string" === typeof elem || $report(_exceptionable2, {
3044
- path: _path2 + ".child_types[" + _index57 + "]",
3045
- expected: "string",
3046
- value: elem
3047
- })).every((flag) => flag) || $report(_exceptionable2, {
3048
- path: _path2 + ".child_types",
3049
- expected: "(Array<string> | undefined)",
3050
- value: input3.child_types
3051
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
3052
- path: _path2 + ".hashtmldetail",
3053
- expected: "(boolean | undefined)",
3054
- value: input3.hashtmldetail
3055
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
3056
- path: _path2 + ".included_types",
3057
- expected: "(Array<string> | undefined)",
3058
- value: input3.included_types
3059
- })) && input3.included_types.map((elem, _index58) => "string" === typeof elem || $report(_exceptionable2, {
3060
- path: _path2 + ".included_types[" + _index58 + "]",
3061
- expected: "string",
3062
- value: elem
3063
- })).every((flag) => flag) || $report(_exceptionable2, {
3064
- path: _path2 + ".included_types",
3065
- expected: "(Array<string> | undefined)",
3066
- value: input3.included_types
3067
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
3068
- path: _path2 + ".isleaf",
3069
- expected: "(boolean | undefined)",
3070
- value: input3.isleaf
3071
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
3072
- path: _path2 + ".values",
3073
- expected: "(TermValues | undefined)",
3074
- value: input3.values
3075
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
3076
- path: _path2 + ".values",
3077
- expected: "(TermValues | undefined)",
3078
- value: input3.values
3079
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
3080
- path: _path2 + ".skipValuesBuild",
3081
- expected: "(boolean | undefined)",
3082
- value: input3.skipValuesBuild
3083
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
3084
- path: _path2 + ".valueConversion",
3085
- expected: "(__type.o1 | undefined)",
3086
- value: input3.valueConversion
3087
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
3088
- path: _path2 + ".valueConversion",
3089
- expected: "(__type.o1 | undefined)",
3090
- value: input3.valueConversion
3091
- })].every((flag) => flag);
3092
- const $vo49 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
3093
- const value = input3[key];
3094
- if (void 0 === value)
3095
- return true;
3096
- if (RegExp(/(.*)/).test(key))
3097
- return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
3098
- path: _path2 + $join(key),
3099
- expected: "__type.o8",
3100
- value
3101
- })) && $vo50(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
3102
- path: _path2 + $join(key),
3103
- expected: "__type.o8",
3104
- value
3105
- });
3106
- return true;
3107
- }).every((flag) => flag)].every((flag) => flag);
3108
- const $vo50 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
3109
- const value = input3[key];
3110
- if (void 0 === value)
3111
- return true;
3112
- if (RegExp(/(.*)/).test(key))
3113
- return true;
3114
- return true;
3115
- }).every((flag) => flag)].every((flag) => flag);
3116
- const $vo51 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.offset || "number" === typeof input3.offset || $report(_exceptionable2, {
3117
- path: _path2 + ".offset",
3118
- expected: "(number | undefined)",
3119
- value: input3.offset
3120
- })].every((flag) => flag);
3121
- const $vo52 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3122
- path: _path2 + ".id",
3123
- expected: "string",
3124
- value: input3.id
3125
- }), "string" === typeof input3.name || $report(_exceptionable2, {
3126
- path: _path2 + ".name",
3127
- expected: "string",
3128
- value: input3.name
3129
- }), "termCollection" === input3.type || $report(_exceptionable2, {
3130
- path: _path2 + ".type",
3131
- expected: '"termCollection"',
3132
- value: input3.type
3133
- }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
3134
- path: _path2 + ".child_types",
3135
- expected: "(Array<string> | undefined)",
3136
- value: input3.child_types
3137
- })) && input3.child_types.map((elem, _index59) => "string" === typeof elem || $report(_exceptionable2, {
3138
- path: _path2 + ".child_types[" + _index59 + "]",
3139
- expected: "string",
3140
- value: elem
3141
- })).every((flag) => flag) || $report(_exceptionable2, {
3142
- path: _path2 + ".child_types",
3143
- expected: "(Array<string> | undefined)",
3144
- value: input3.child_types
3145
- }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
3146
- path: _path2 + ".hashtmldetail",
3147
- expected: "(boolean | undefined)",
3148
- value: input3.hashtmldetail
3149
- }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
3150
- path: _path2 + ".included_types",
3151
- expected: "(Array<string> | undefined)",
3152
- value: input3.included_types
3153
- })) && input3.included_types.map((elem, _index60) => "string" === typeof elem || $report(_exceptionable2, {
3154
- path: _path2 + ".included_types[" + _index60 + "]",
3155
- expected: "string",
3156
- value: elem
3157
- })).every((flag) => flag) || $report(_exceptionable2, {
3158
- path: _path2 + ".included_types",
3159
- expected: "(Array<string> | undefined)",
3160
- value: input3.included_types
3161
- }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
3162
- path: _path2 + ".isleaf",
3163
- expected: "(boolean | undefined)",
3164
- value: input3.isleaf
3165
- }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
3166
- path: _path2 + ".values",
3167
- expected: "(TermValues | undefined)",
3168
- value: input3.values
3169
- })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
3170
- path: _path2 + ".values",
3171
- expected: "(TermValues | undefined)",
3172
- value: input3.values
3173
- }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
3174
- path: _path2 + ".skipValuesBuild",
3175
- expected: "(boolean | undefined)",
3176
- value: input3.skipValuesBuild
3177
- }), void 0 === input3.valueConversion || ("object" === typeof input3.valueConversion && null !== input3.valueConversion || $report(_exceptionable2, {
3178
- path: _path2 + ".valueConversion",
3179
- expected: "(__type.o1 | undefined)",
3180
- value: input3.valueConversion
3181
- })) && $vo7(input3.valueConversion, _path2 + ".valueConversion", _exceptionable2) || $report(_exceptionable2, {
3182
- path: _path2 + ".valueConversion",
3183
- expected: "(__type.o1 | undefined)",
3184
- value: input3.valueConversion
3185
- }), void 0 === input3.termIds || (Array.isArray(input3.termIds) || $report(_exceptionable2, {
3186
- path: _path2 + ".termIds",
3187
- expected: "(Array<string> | undefined)",
3188
- value: input3.termIds
3189
- })) && input3.termIds.map((elem, _index61) => "string" === typeof elem || $report(_exceptionable2, {
3190
- path: _path2 + ".termIds[" + _index61 + "]",
3191
- expected: "string",
3192
- value: elem
3193
- })).every((flag) => flag) || $report(_exceptionable2, {
3194
- path: _path2 + ".termIds",
3195
- expected: "(Array<string> | undefined)",
3196
- value: input3.termIds
3197
- }), (Array.isArray(input3.termlst) || $report(_exceptionable2, {
3198
- path: _path2 + ".termlst",
3199
- expected: "Array<BaseTerm>",
3200
- value: input3.termlst
3201
- })) && input3.termlst.map((elem, _index62) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3202
- path: _path2 + ".termlst[" + _index62 + "]",
3203
- expected: "BaseTerm",
3204
- value: elem
3205
- })) && $vo48(elem, _path2 + ".termlst[" + _index62 + "]", _exceptionable2) || $report(_exceptionable2, {
3206
- path: _path2 + ".termlst[" + _index62 + "]",
3207
- expected: "BaseTerm",
3208
- value: elem
3209
- })).every((flag) => flag) || $report(_exceptionable2, {
3210
- path: _path2 + ".termlst",
3211
- expected: "Array<BaseTerm>",
3212
- value: input3.termlst
3213
- }), void 0 === input3.newTvs || "boolean" === typeof input3.newTvs || $report(_exceptionable2, {
3214
- path: _path2 + ".newTvs",
3215
- expected: "(boolean | undefined)",
3216
- value: input3.newTvs
3217
- }), ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) || $report(_exceptionable2, {
3218
- path: _path2 + ".propsByTermId",
3219
- expected: "__type.o7",
3220
- value: input3.propsByTermId
3221
- })) && $vo49(input3.propsByTermId, _path2 + ".propsByTermId", _exceptionable2) || $report(_exceptionable2, {
3222
- path: _path2 + ".propsByTermId",
3223
- expected: "__type.o7",
3224
- value: input3.propsByTermId
3225
- }), "categorical" === input3.memberType || $report(_exceptionable2, {
3226
- path: _path2 + ".memberType",
3227
- expected: '"categorical"',
3228
- value: input3.memberType
3229
- }), (Array.isArray(input3.categoryKeys) || $report(_exceptionable2, {
3230
- path: _path2 + ".categoryKeys",
3231
- expected: "Array<CategoryKey>",
3232
- value: input3.categoryKeys
3233
- })) && input3.categoryKeys.map((elem, _index63) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3234
- path: _path2 + ".categoryKeys[" + _index63 + "]",
3235
- expected: "CategoryKey",
3236
- value: elem
3237
- })) && $vo53(elem, _path2 + ".categoryKeys[" + _index63 + "]", _exceptionable2) || $report(_exceptionable2, {
3238
- path: _path2 + ".categoryKeys[" + _index63 + "]",
3239
- expected: "CategoryKey",
3240
- value: elem
3241
- })).every((flag) => flag) || $report(_exceptionable2, {
3242
- path: _path2 + ".categoryKeys",
3243
- expected: "Array<CategoryKey>",
3244
- value: input3.categoryKeys
3245
- })].every((flag) => flag);
3246
- const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
3247
- path: _path2 + ".key",
3248
- expected: "string",
3249
- value: input3.key
3250
- }), "boolean" === typeof input3.shown || $report(_exceptionable2, {
3251
- path: _path2 + ".shown",
3252
- expected: "boolean",
3253
- value: input3.shown
3254
- })].every((flag) => flag);
3255
- const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
3256
- if ("tvslst" === input3.type)
3257
- return $vo1(input3, _path2, _exceptionable2);
3258
- if ("tvs" === input3.type)
3259
- return $vo2(input3, _path2, _exceptionable2);
3260
- return $report(_exceptionable2, {
3261
- path: _path2,
3262
- expected: "(Filter | __type)",
3263
- value: input3
3264
- });
3265
- })();
3266
- const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
3267
- if ("string" === typeof input3.type)
3268
- return $vo10(input3, _path2, _exceptionable2);
3269
- if ("filter" === input3.type)
3270
- return $vo12(input3, _path2, _exceptionable2);
3271
- return $report(_exceptionable2, {
3272
- path: _path2,
3273
- expected: "(ValuesGroup | FilterGroup)",
3274
- value: input3
3275
- });
3276
- })();
3277
- const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
3278
- if (true === input3.startunbounded)
3279
- return $vo19(input3, _path2, _exceptionable2);
3280
- if (true === input3.stopunbounded)
3281
- return $vo21(input3, _path2, _exceptionable2);
3282
- if (void 0 !== input3.value)
3283
- return $vo33(input3, _path2, _exceptionable2);
3284
- return $vo20(input3, _path2, _exceptionable2);
3285
- })();
3286
- const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
3287
- if ("gene" === input3.kind)
3288
- return $vo42(input3, _path2, _exceptionable2);
3289
- if ("coord" === input3.kind)
3290
- return $vo43(input3, _path2, _exceptionable2);
3291
- return $report(_exceptionable2, {
3292
- path: _path2,
3293
- expected: "(BaseTerm & Gene | BaseTerm & Coord)",
3294
- value: input3
3295
- });
3296
- })();
3297
- const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
3298
- if (true === input3.startunbounded)
3299
- return $vo19(input3, _path2, _exceptionable2);
3300
- if (true === input3.stopunbounded)
3301
- return $vo21(input3, _path2, _exceptionable2);
3302
- return $vo20(input3, _path2, _exceptionable2);
3303
- })();
3304
- const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
3305
- if (void 0 !== input3.ranges)
3306
- return $vo13(input3, _path2, _exceptionable2);
3307
- if (void 0 !== input3.ratio)
3308
- return $vo46(input3, _path2, _exceptionable2);
3309
- return $vo3(input3, _path2, false) || $vo35(input3, _path2, false) || $vo39(input3, _path2, false);
3310
- })();
3311
- const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
3312
- if ("integer" === input3.type || "float" === input3.type)
3313
- return $vo14(input3, _path2, _exceptionable2);
3314
- if ("metaboliteIntensity" === input3.type)
3315
- return $vo25(input3, _path2, _exceptionable2);
3316
- if ("proteomeAbundance" === input3.type)
3317
- return $vo26(input3, _path2, _exceptionable2);
3318
- if ("date" === input3.type)
3319
- return $vo28(input3, _path2, _exceptionable2);
3320
- if ("ssGSEA" === input3.type)
3321
- return $vo29(input3, _path2, _exceptionable2);
3322
- if ("dnaMethylation" === input3.type)
3323
- return $vo30(input3, _path2, _exceptionable2);
3324
- return $vo24(input3, _path2, false) || $vo23(input3, _path2, false) || $vo32(input3, _path2, false) || $vo31(input3, _path2, false);
3325
- })();
3326
- const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
3327
- if ("regular-bin" === input3.type)
3328
- return $vo17(input3, _path2, _exceptionable2);
3329
- if ("custom-bin" === input3.type)
3330
- return $vo22(input3, _path2, _exceptionable2);
3331
- return $report(_exceptionable2, {
3332
- path: _path2,
3333
- expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
3334
- value: input3
3335
- });
3336
- })();
3337
- const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
3338
- if (true === input3.startunbounded)
3339
- return $vo19(input3, _path2, _exceptionable2);
3340
- if (void 0 !== input3.start)
3341
- return $vo20(input3, _path2, _exceptionable2);
3342
- return $report(_exceptionable2, {
3343
- path: _path2,
3344
- expected: "(StartUnboundedBin | FullyBoundedBin)",
3345
- value: input3
3346
- });
3347
- })();
3348
- const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
3349
- if (void 0 !== input3.stop)
3350
- return $vo20(input3, _path2, _exceptionable2);
3351
- if (true === input3.stopunbounded)
3352
- return $vo21(input3, _path2, _exceptionable2);
3353
- return $report(_exceptionable2, {
3354
- path: _path2,
3355
- expected: "(FullyBoundedBin | StopUnboundedBin)",
3356
- value: input3
3357
- });
3358
- })();
3359
- const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
3360
- if ("gene" === input3.kind)
3361
- return $vo41(input3, _path2, _exceptionable2);
3362
- if ("coord" === input3.kind)
3363
- return $vo44(input3, _path2, _exceptionable2);
3364
- return $report(_exceptionable2, {
3365
- path: _path2,
3366
- 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; })',
3367
- value: input3
3368
- });
3369
- })();
3370
- const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
3371
- if ("numeric" === input3.memberType)
3372
- return $vo47(input3, _path2, _exceptionable2);
3373
- if ("categorical" === input3.memberType)
3374
- return $vo52(input3, _path2, _exceptionable2);
3375
- return $report(_exceptionable2, {
3376
- path: _path2,
3377
- expected: "(NumericTermCollection | CategoricalTermCollection)",
3378
- value: input3
3379
- });
3380
- })();
3381
- return ("object" === typeof input2 && null !== input2 || $report(true, {
3382
- path: _path + "",
3383
- expected: "ViolinRequest",
3384
- value: input2
3385
- })) && $vo0(input2, _path + "", true) || $report(true, {
3386
- path: _path + "",
3387
- expected: "ViolinRequest",
3388
- value: input2
3389
- });
3390
- })(input, "$input", true);
3391
- }
3392
- const success = 0 === errors.length;
3393
- return {
3394
- success,
3395
- errors,
3396
- data: success ? input : void 0
3397
- };
3398
- };
3399
- var validViolinResponse = (input) => {
3400
- const errors = [];
3401
- const __is = (input2) => {
3402
- const $join = import_typia.createValidate.join;
3403
- const $io0 = (input3) => "number" === typeof input3.status && "string" === typeof input3.error;
3404
- const $io1 = (input3) => "object" === typeof input3.bins && null !== input3.bins && false === Array.isArray(input3.bins) && $io2(input3.bins) && ("object" === typeof input3.charts && null !== input3.charts && false === Array.isArray(input3.charts) && $io3(input3.charts)) && "number" === typeof input3.min && "number" === typeof input3.max && (null === input3.uncomputableValues || Array.isArray(input3.uncomputableValues) && input3.uncomputableValues.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io10(elem)));
3405
- const $io2 = (input3) => Object.keys(input3).every((key) => {
3406
- const value = input3[key];
3407
- if (void 0 === value)
3408
- return true;
3409
- if (RegExp(/(.*)/).test(key))
3410
- return true;
3411
- return true;
3412
- });
3413
- const $io3 = (input3) => Object.keys(input3).every((key) => {
3414
- const value = input3[key];
3415
- if (void 0 === value)
3416
- return true;
3417
- if (RegExp(/(.*)/).test(key))
3418
- return "object" === typeof value && null !== value && $io4(value);
3419
- return true;
3420
- });
3421
- const $io4 = (input3) => "string" === typeof input3.chartId && (Array.isArray(input3.plots) && input3.plots.every((elem) => "object" === typeof elem && null !== elem && $io5(elem))) && (void 0 === input3.pvalues || Array.isArray(input3.pvalues) && input3.pvalues.every((elem) => Array.isArray(elem) && elem.every((elem2) => "object" === typeof elem2 && null !== elem2 && false === Array.isArray(elem2) && $io9(elem2))));
3422
- const $io5 = (input3) => "string" === typeof input3.color && "string" === typeof input3.chartId && ("object" === typeof input3.density && null !== input3.density && $io6(input3.density)) && "string" === typeof input3.label && "number" === typeof input3.plotValueCount && "string" === typeof input3.seriesId && "string" === typeof input3.src && (Array.isArray(input3.summaryStats) && input3.summaryStats.every((elem) => "object" === typeof elem && null !== elem && $io8(elem)));
3423
- const $io6 = (input3) => Array.isArray(input3.bins) && input3.bins.every((elem) => "object" === typeof elem && null !== elem && $io7(elem)) && "number" === typeof input3.densityMax && "number" === typeof input3.densityMin;
3424
- const $io7 = (input3) => "number" === typeof input3.x0 && "number" === typeof input3.x1 && "number" === typeof input3.density;
3425
- const $io8 = (input3) => "string" === typeof input3.id && "string" === typeof input3.label && "number" === typeof input3.value;
3426
- const $io9 = (input3) => (void 0 === input3.value || "string" === typeof input3.value) && (void 0 === input3.html || "string" === typeof input3.html);
3427
- const $io10 = (input3) => Object.keys(input3).every((key) => {
3428
- const value = input3[key];
3429
- if (void 0 === value)
3430
- return true;
3431
- if (RegExp(/(.*)/).test(key))
3432
- return "number" === typeof value;
3433
- return true;
3434
- });
3435
- const $iu0 = (input3) => (() => {
3436
- if (void 0 !== input3.status)
3437
- return $io0(input3);
3438
- if (void 0 !== input3.bins)
3439
- return $io1(input3);
3440
- return false;
3441
- })();
3442
- return "object" === typeof input2 && null !== input2 && $iu0(input2);
3443
- };
3444
- if (false === __is(input)) {
3445
- const $report = import_typia.createValidate.report(errors);
3446
- ((input2, _path, _exceptionable = true) => {
3447
- const $join = import_typia.createValidate.join;
3448
- const $vo0 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.status || $report(_exceptionable2, {
3449
- path: _path2 + ".status",
3450
- expected: "number",
3451
- value: input3.status
3452
- }), "string" === typeof input3.error || $report(_exceptionable2, {
3453
- path: _path2 + ".error",
3454
- expected: "string",
3455
- value: input3.error
3456
- })].every((flag) => flag);
3457
- const $vo1 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.bins && null !== input3.bins && false === Array.isArray(input3.bins) || $report(_exceptionable2, {
3458
- path: _path2 + ".bins",
3459
- expected: "__type",
3460
- value: input3.bins
3461
- })) && $vo2(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
3462
- path: _path2 + ".bins",
3463
- expected: "__type",
3464
- value: input3.bins
3465
- }), ("object" === typeof input3.charts && null !== input3.charts && false === Array.isArray(input3.charts) || $report(_exceptionable2, {
3466
- path: _path2 + ".charts",
3467
- expected: "__type.o1",
3468
- value: input3.charts
3469
- })) && $vo3(input3.charts, _path2 + ".charts", _exceptionable2) || $report(_exceptionable2, {
3470
- path: _path2 + ".charts",
3471
- expected: "__type.o1",
3472
- value: input3.charts
3473
- }), "number" === typeof input3.min || $report(_exceptionable2, {
3474
- path: _path2 + ".min",
3475
- expected: "number",
3476
- value: input3.min
3477
- }), "number" === typeof input3.max || $report(_exceptionable2, {
3478
- path: _path2 + ".max",
3479
- expected: "number",
3480
- value: input3.max
3481
- }), null === input3.uncomputableValues || (Array.isArray(input3.uncomputableValues) || $report(_exceptionable2, {
3482
- path: _path2 + ".uncomputableValues",
3483
- expected: "(Array<__type> | null)",
3484
- value: input3.uncomputableValues
3485
- })) && input3.uncomputableValues.map((elem, _index1) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
3486
- path: _path2 + ".uncomputableValues[" + _index1 + "]",
3487
- expected: "__type.o3",
3488
- value: elem
3489
- })) && $vo10(elem, _path2 + ".uncomputableValues[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
3490
- path: _path2 + ".uncomputableValues[" + _index1 + "]",
3491
- expected: "__type.o3",
3492
- value: elem
3493
- })).every((flag) => flag) || $report(_exceptionable2, {
3494
- path: _path2 + ".uncomputableValues",
3495
- expected: "(Array<__type> | null)",
3496
- value: input3.uncomputableValues
3497
- })].every((flag) => flag);
3498
- const $vo2 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
3499
- const value = input3[key];
3500
- if (void 0 === value)
3501
- return true;
3502
- if (RegExp(/(.*)/).test(key))
3503
- return true;
3504
- return true;
3505
- }).every((flag) => flag)].every((flag) => flag);
3506
- const $vo3 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
3507
- const value = input3[key];
3508
- if (void 0 === value)
3509
- return true;
3510
- if (RegExp(/(.*)/).test(key))
3511
- return ("object" === typeof value && null !== value || $report(_exceptionable2, {
3512
- path: _path2 + $join(key),
3513
- expected: "__type.o2",
3514
- value
3515
- })) && $vo4(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
3516
- path: _path2 + $join(key),
3517
- expected: "__type.o2",
3518
- value
3519
- });
3520
- return true;
3521
- }).every((flag) => flag)].every((flag) => flag);
3522
- const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.chartId || $report(_exceptionable2, {
3523
- path: _path2 + ".chartId",
3524
- expected: "string",
3525
- value: input3.chartId
3526
- }), (Array.isArray(input3.plots) || $report(_exceptionable2, {
3527
- path: _path2 + ".plots",
3528
- expected: "Array<ViolinPlotEntry>",
3529
- value: input3.plots
3530
- })) && input3.plots.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3531
- path: _path2 + ".plots[" + _index2 + "]",
3532
- expected: "ViolinPlotEntry",
3533
- value: elem
3534
- })) && $vo5(elem, _path2 + ".plots[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
3535
- path: _path2 + ".plots[" + _index2 + "]",
3536
- expected: "ViolinPlotEntry",
3537
- value: elem
3538
- })).every((flag) => flag) || $report(_exceptionable2, {
3539
- path: _path2 + ".plots",
3540
- expected: "Array<ViolinPlotEntry>",
3541
- value: input3.plots
3542
- }), void 0 === input3.pvalues || (Array.isArray(input3.pvalues) || $report(_exceptionable2, {
3543
- path: _path2 + ".pvalues",
3544
- expected: "(Array<Array<PValueEntries>> | undefined)",
3545
- value: input3.pvalues
3546
- })) && input3.pvalues.map((elem, _index3) => (Array.isArray(elem) || $report(_exceptionable2, {
3547
- path: _path2 + ".pvalues[" + _index3 + "]",
3548
- expected: "Array<PValueEntries>",
3549
- value: elem
3550
- })) && elem.map((elem2, _index4) => ("object" === typeof elem2 && null !== elem2 && false === Array.isArray(elem2) || $report(_exceptionable2, {
3551
- path: _path2 + ".pvalues[" + _index3 + "][" + _index4 + "]",
3552
- expected: "PValueEntries",
3553
- value: elem2
3554
- })) && $vo9(elem2, _path2 + ".pvalues[" + _index3 + "][" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
3555
- path: _path2 + ".pvalues[" + _index3 + "][" + _index4 + "]",
3556
- expected: "PValueEntries",
3557
- value: elem2
3558
- })).every((flag) => flag) || $report(_exceptionable2, {
3559
- path: _path2 + ".pvalues[" + _index3 + "]",
3560
- expected: "Array<PValueEntries>",
3561
- value: elem
3562
- })).every((flag) => flag) || $report(_exceptionable2, {
3563
- path: _path2 + ".pvalues",
3564
- expected: "(Array<Array<PValueEntries>> | undefined)",
3565
- value: input3.pvalues
3566
- })].every((flag) => flag);
3567
- const $vo5 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.color || $report(_exceptionable2, {
3568
- path: _path2 + ".color",
3569
- expected: "string",
3570
- value: input3.color
3571
- }), "string" === typeof input3.chartId || $report(_exceptionable2, {
3572
- path: _path2 + ".chartId",
3573
- expected: "string",
3574
- value: input3.chartId
3575
- }), ("object" === typeof input3.density && null !== input3.density || $report(_exceptionable2, {
3576
- path: _path2 + ".density",
3577
- expected: "ViolinDensity",
3578
- value: input3.density
3579
- })) && $vo6(input3.density, _path2 + ".density", _exceptionable2) || $report(_exceptionable2, {
3580
- path: _path2 + ".density",
3581
- expected: "ViolinDensity",
3582
- value: input3.density
3583
- }), "string" === typeof input3.label || $report(_exceptionable2, {
3584
- path: _path2 + ".label",
3585
- expected: "string",
3586
- value: input3.label
3587
- }), "number" === typeof input3.plotValueCount || $report(_exceptionable2, {
3588
- path: _path2 + ".plotValueCount",
3589
- expected: "number",
3590
- value: input3.plotValueCount
3591
- }), "string" === typeof input3.seriesId || $report(_exceptionable2, {
3592
- path: _path2 + ".seriesId",
3593
- expected: "string",
3594
- value: input3.seriesId
3595
- }), "string" === typeof input3.src || $report(_exceptionable2, {
3596
- path: _path2 + ".src",
3597
- expected: "string",
3598
- value: input3.src
3599
- }), (Array.isArray(input3.summaryStats) || $report(_exceptionable2, {
3600
- path: _path2 + ".summaryStats",
3601
- expected: "Array<ValuesEntries>",
3602
- value: input3.summaryStats
3603
- })) && input3.summaryStats.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3604
- path: _path2 + ".summaryStats[" + _index5 + "]",
3605
- expected: "ValuesEntries",
3606
- value: elem
3607
- })) && $vo8(elem, _path2 + ".summaryStats[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
3608
- path: _path2 + ".summaryStats[" + _index5 + "]",
3609
- expected: "ValuesEntries",
3610
- value: elem
3611
- })).every((flag) => flag) || $report(_exceptionable2, {
3612
- path: _path2 + ".summaryStats",
3613
- expected: "Array<ValuesEntries>",
3614
- value: input3.summaryStats
3615
- })].every((flag) => flag);
3616
- const $vo6 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.bins) || $report(_exceptionable2, {
3617
- path: _path2 + ".bins",
3618
- expected: "Array<BinsEntries>",
3619
- value: input3.bins
3620
- })) && input3.bins.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3621
- path: _path2 + ".bins[" + _index6 + "]",
3622
- expected: "BinsEntries",
3623
- value: elem
3624
- })) && $vo7(elem, _path2 + ".bins[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
3625
- path: _path2 + ".bins[" + _index6 + "]",
3626
- expected: "BinsEntries",
3627
- value: elem
3628
- })).every((flag) => flag) || $report(_exceptionable2, {
3629
- path: _path2 + ".bins",
3630
- expected: "Array<BinsEntries>",
3631
- value: input3.bins
3632
- }), "number" === typeof input3.densityMax || $report(_exceptionable2, {
3633
- path: _path2 + ".densityMax",
3634
- expected: "number",
3635
- value: input3.densityMax
3636
- }), "number" === typeof input3.densityMin || $report(_exceptionable2, {
3637
- path: _path2 + ".densityMin",
3638
- expected: "number",
3639
- value: input3.densityMin
3640
- })].every((flag) => flag);
3641
- const $vo7 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.x0 || $report(_exceptionable2, {
3642
- path: _path2 + ".x0",
3643
- expected: "number",
3644
- value: input3.x0
3645
- }), "number" === typeof input3.x1 || $report(_exceptionable2, {
3646
- path: _path2 + ".x1",
3647
- expected: "number",
3648
- value: input3.x1
3649
- }), "number" === typeof input3.density || $report(_exceptionable2, {
3650
- path: _path2 + ".density",
3651
- expected: "number",
3652
- value: input3.density
3653
- })].every((flag) => flag);
3654
- const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3655
- path: _path2 + ".id",
3656
- expected: "string",
3657
- value: input3.id
3658
- }), "string" === typeof input3.label || $report(_exceptionable2, {
3659
- path: _path2 + ".label",
3660
- expected: "string",
3661
- value: input3.label
3662
- }), "number" === typeof input3.value || $report(_exceptionable2, {
3663
- path: _path2 + ".value",
3664
- expected: "number",
3665
- value: input3.value
3666
- })].every((flag) => flag);
3667
- const $vo9 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.value || "string" === typeof input3.value || $report(_exceptionable2, {
3668
- path: _path2 + ".value",
3669
- expected: "(string | undefined)",
3670
- value: input3.value
3671
- }), void 0 === input3.html || "string" === typeof input3.html || $report(_exceptionable2, {
3672
- path: _path2 + ".html",
3673
- expected: "(string | undefined)",
3674
- value: input3.html
3675
- })].every((flag) => flag);
3676
- const $vo10 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
3677
- const value = input3[key];
3678
- if (void 0 === value)
3679
- return true;
3680
- if (RegExp(/(.*)/).test(key))
3681
- return "number" === typeof value || $report(_exceptionable2, {
3682
- path: _path2 + $join(key),
3683
- expected: "number",
3684
- value
3685
- });
3686
- return true;
3687
- }).every((flag) => flag)].every((flag) => flag);
3688
- const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
3689
- if (void 0 !== input3.status)
3690
- return $vo0(input3, _path2, _exceptionable2);
3691
- if (void 0 !== input3.bins)
3692
- return $vo1(input3, _path2, _exceptionable2);
3693
- return $report(_exceptionable2, {
3694
- path: _path2,
3695
- expected: "(ErrorResponse | ValidResponse)",
3696
- value: input3
3697
- });
3698
- })();
3699
- return ("object" === typeof input2 && null !== input2 || $report(true, {
3700
- path: _path + "",
3701
- expected: "(ErrorResponse | ValidResponse)",
3702
- value: input2
3703
- })) && $vu0(input2, _path + "", true) || $report(true, {
3704
- path: _path + "",
3705
- expected: "(ErrorResponse | ValidResponse)",
3706
- value: input2
3707
- });
3708
- })(input, "$input", true);
3709
- }
3710
- const success = 0 === errors.length;
3711
- return {
3712
- success,
3713
- errors,
3714
- data: success ? input : void 0
3715
- };
3716
- };
3717
-
3718
- export {
3719
- violinPayload,
3720
- validViolinRequest,
3721
- validViolinResponse
3722
- };