@sjcrh/proteinpaint-types 2.145.2 → 2.146.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2126 @@
1
+ import {
2
+ __toESM,
3
+ require_lib
4
+ } from "./chunk-YNHC5SXO.js";
5
+
6
+ // dist/termdb.chat.ts
7
+ var import_typia = __toESM(require_lib(), 1);
8
+
9
+ // src/routes/termdb.chat.ts
10
+ var ChatPayload = {
11
+ request: {
12
+ typeId: "ChatRequest"
13
+ },
14
+ response: {
15
+ typeId: "ChatResponse"
16
+ }
17
+ //examples: []
18
+ };
19
+
20
+ // dist/termdb.chat.ts
21
+ var validChatRequest = (input) => {
22
+ const errors = [];
23
+ const __is = (input2) => {
24
+ const $join = import_typia.createValidate.join;
25
+ const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "string" === typeof input3.prompt && true;
26
+ 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)));
27
+ const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu4(input3.tvs));
28
+ const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io4(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io6(elem)));
29
+ 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) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting));
30
+ const $io5 = (input3) => Object.keys(input3).every((key) => {
31
+ const value = input3[key];
32
+ if (void 0 === value)
33
+ return true;
34
+ if (RegExp(/(.*)/).test(key))
35
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
36
+ if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
37
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io6(value);
38
+ return true;
39
+ });
40
+ 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));
41
+ const $io7 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io8(elem)));
42
+ const $io8 = (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)));
43
+ const $io9 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io10(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
44
+ const $io10 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
45
+ const $io11 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && "string" === typeof input3.color;
46
+ const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu5(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io27(elem)));
47
+ const $io13 = (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.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && ("object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
48
+ const $io14 = (input3) => "string" === typeof input3.minColor && "string" === typeof input3.maxColor;
49
+ const $io15 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu6(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu6(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
50
+ const $io16 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu7(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu8(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
51
+ const $io17 = (input3) => Object.keys(input3).every((key) => {
52
+ const value = input3[key];
53
+ if (void 0 === value)
54
+ return true;
55
+ if (RegExp(/(.*)/).test(key))
56
+ return "number" === typeof value;
57
+ return true;
58
+ });
59
+ const $io18 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
60
+ const $io19 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
61
+ const $io20 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.range || "string" === typeof input3.range);
62
+ const $io21 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io17(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
63
+ const $io22 = (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.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
64
+ 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.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
65
+ const $io24 = (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.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(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 && $io15(input3.bins));
66
+ const $io25 = (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.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
67
+ const $io26 = (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.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(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 && $io15(input3.bins));
68
+ const $io27 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
69
+ const $io28 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io29(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
70
+ const $io29 = (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);
71
+ const $io30 = (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;
72
+ const $io31 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io32(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io37(elem))) && (void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested) && (void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName);
73
+ const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.query && "string" === typeof input3.name && "string" === typeof input3.name_noOrigin && (void 0 === input3.parentTerm || "object" === typeof input3.parentTerm && null !== input3.parentTerm && $iu9(input3.parentTerm)) && true && "boolean" === typeof input3.isleaf && "string" === typeof input3.type && "number" === typeof input3.dt && (void 0 === input3.origin || "string" === typeof input3.origin) && ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values));
74
+ const $io33 = (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) && "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 && $io7(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
75
+ const $io34 = (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) && "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);
76
+ const $io35 = (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) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
77
+ const $io36 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io7(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io32(elem)));
78
+ const $io37 = (input3) => "string" === typeof input3.key && "string" === typeof input3.label && "string" === typeof input3.value;
79
+ const $iu0 = (input3) => (() => {
80
+ if ("tvslst" === input3.type)
81
+ return $io1(input3);
82
+ if ("tvs" === input3.type)
83
+ return $io2(input3);
84
+ return false;
85
+ })();
86
+ const $iu1 = (input3) => (() => {
87
+ if ("string" === typeof input3.type)
88
+ return $io9(input3);
89
+ if ("filter" === input3.type)
90
+ return $io11(input3);
91
+ return false;
92
+ })();
93
+ const $iu2 = (input3) => (() => {
94
+ if (true === input3.startunbounded)
95
+ return $io18(input3);
96
+ if (true === input3.stopunbounded)
97
+ return $io20(input3);
98
+ return $io19(input3);
99
+ })();
100
+ const $iu3 = (input3) => (() => {
101
+ if ("gene" === input3.kind)
102
+ return $io34(input3);
103
+ if ("coord" === input3.kind)
104
+ return $io35(input3);
105
+ return false;
106
+ })();
107
+ const $iu4 = (input3) => (() => {
108
+ if (void 0 !== input3.ranges)
109
+ return $io12(input3);
110
+ return (() => {
111
+ if ($io3(input3))
112
+ return $io3(input3);
113
+ if ($io28(input3))
114
+ return $io28(input3);
115
+ if ($io31(input3))
116
+ return $io31(input3);
117
+ return false;
118
+ })();
119
+ })();
120
+ const $iu5 = (input3) => (() => {
121
+ if ("integer" === input3.type || "float" === input3.type)
122
+ return $io13(input3);
123
+ if ("metaboliteIntensity" === input3.type)
124
+ return $io24(input3);
125
+ if ("date" === input3.type)
126
+ return $io25(input3);
127
+ if ("ssGSEA" === input3.type)
128
+ return $io26(input3);
129
+ return (() => {
130
+ if ($io23(input3))
131
+ return $io23(input3);
132
+ if ($io22(input3))
133
+ return $io22(input3);
134
+ return false;
135
+ })();
136
+ })();
137
+ const $iu6 = (input3) => (() => {
138
+ if ("regular-bin" === input3.type)
139
+ return $io16(input3);
140
+ if ("custom-bin" === input3.type)
141
+ return $io21(input3);
142
+ return false;
143
+ })();
144
+ const $iu7 = (input3) => (() => {
145
+ if (true === input3.startunbounded)
146
+ return $io18(input3);
147
+ if (void 0 !== input3.start)
148
+ return $io19(input3);
149
+ return false;
150
+ })();
151
+ const $iu8 = (input3) => (() => {
152
+ if (void 0 !== input3.stop)
153
+ return $io19(input3);
154
+ if (true === input3.stopunbounded)
155
+ return $io20(input3);
156
+ return false;
157
+ })();
158
+ const $iu9 = (input3) => (() => {
159
+ if ("gene" === input3.kind)
160
+ return $io33(input3);
161
+ if ("coord" === input3.kind)
162
+ return $io36(input3);
163
+ return false;
164
+ })();
165
+ return "object" === typeof input2 && null !== input2 && $io0(input2);
166
+ };
167
+ if (false === __is(input)) {
168
+ const $report = import_typia.createValidate.report(errors);
169
+ ((input2, _path, _exceptionable = true) => {
170
+ const $join = import_typia.createValidate.join;
171
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
172
+ path: _path2 + ".genome",
173
+ expected: "string",
174
+ value: input3.genome
175
+ }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
176
+ path: _path2 + ".dslabel",
177
+ expected: "string",
178
+ value: input3.dslabel
179
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
180
+ path: _path2 + ".filter",
181
+ expected: "(Filter | undefined)",
182
+ value: input3.filter
183
+ })) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
184
+ path: _path2 + ".filter",
185
+ expected: "(Filter | undefined)",
186
+ value: input3.filter
187
+ }), true, "string" === typeof input3.prompt || $report(_exceptionable2, {
188
+ path: _path2 + ".prompt",
189
+ expected: "string",
190
+ value: input3.prompt
191
+ }), true].every((flag) => flag);
192
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
193
+ path: _path2 + ".type",
194
+ expected: '"tvslst"',
195
+ value: input3.type
196
+ }), "boolean" === typeof input3["in"] || $report(_exceptionable2, {
197
+ path: _path2 + '["in"]',
198
+ expected: "boolean",
199
+ value: input3["in"]
200
+ }), "string" === typeof input3.join || $report(_exceptionable2, {
201
+ path: _path2 + ".join",
202
+ expected: "string",
203
+ value: input3.join
204
+ }), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
205
+ path: _path2 + ".tag",
206
+ expected: "(string | undefined)",
207
+ value: input3.tag
208
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
209
+ path: _path2 + ".lst",
210
+ expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
211
+ value: input3.lst
212
+ })) && input3.lst.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
213
+ path: _path2 + ".lst[" + _index1 + "]",
214
+ expected: "(Filter | __type)",
215
+ value: elem
216
+ })) && $vu0(elem, _path2 + ".lst[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
217
+ path: _path2 + ".lst[" + _index1 + "]",
218
+ expected: "(Filter | __type)",
219
+ value: elem
220
+ })).every((flag) => flag) || $report(_exceptionable2, {
221
+ path: _path2 + ".lst",
222
+ expected: 'Array<Filter | { type: "tvs"; tvs: Tvs; }>',
223
+ value: input3.lst
224
+ })].every((flag) => flag);
225
+ const $vo2 = (input3, _path2, _exceptionable2 = true) => ["tvs" === input3.type || $report(_exceptionable2, {
226
+ path: _path2 + ".type",
227
+ expected: '"tvs"',
228
+ value: input3.type
229
+ }), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
230
+ path: _path2 + ".tvs",
231
+ expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
232
+ value: input3.tvs
233
+ })) && $vu4(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
234
+ path: _path2 + ".tvs",
235
+ expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
236
+ value: input3.tvs
237
+ })].every((flag) => flag);
238
+ const $vo3 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
239
+ path: _path2 + ".join",
240
+ expected: "(string | undefined)",
241
+ value: input3.join
242
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
243
+ path: _path2 + ".isnot",
244
+ expected: "(boolean | undefined)",
245
+ value: input3.isnot
246
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
247
+ path: _path2 + ".term",
248
+ expected: "CategoricalTerm",
249
+ value: input3.term
250
+ })) && $vo4(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
251
+ path: _path2 + ".term",
252
+ expected: "CategoricalTerm",
253
+ value: input3.term
254
+ }), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
255
+ path: _path2 + ".groupset_label",
256
+ expected: "(string | undefined)",
257
+ value: input3.groupset_label
258
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
259
+ path: _path2 + ".values",
260
+ expected: "Array<BaseValue>",
261
+ value: input3.values
262
+ })) && input3.values.map((elem, _index2) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
263
+ path: _path2 + ".values[" + _index2 + "]",
264
+ expected: "BaseValue",
265
+ value: elem
266
+ })) && $vo6(elem, _path2 + ".values[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
267
+ path: _path2 + ".values[" + _index2 + "]",
268
+ expected: "BaseValue",
269
+ value: elem
270
+ })).every((flag) => flag) || $report(_exceptionable2, {
271
+ path: _path2 + ".values",
272
+ expected: "Array<BaseValue>",
273
+ value: input3.values
274
+ })].every((flag) => flag);
275
+ const $vo4 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
276
+ path: _path2 + ".id",
277
+ expected: "string",
278
+ value: input3.id
279
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
280
+ path: _path2 + ".name",
281
+ expected: "string",
282
+ value: input3.name
283
+ }), "categorical" === input3.type || $report(_exceptionable2, {
284
+ path: _path2 + ".type",
285
+ expected: '"categorical"',
286
+ value: input3.type
287
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
288
+ path: _path2 + ".child_types",
289
+ expected: "(Array<string> | undefined)",
290
+ value: input3.child_types
291
+ })) && input3.child_types.map((elem, _index3) => "string" === typeof elem || $report(_exceptionable2, {
292
+ path: _path2 + ".child_types[" + _index3 + "]",
293
+ expected: "string",
294
+ value: elem
295
+ })).every((flag) => flag) || $report(_exceptionable2, {
296
+ path: _path2 + ".child_types",
297
+ expected: "(Array<string> | undefined)",
298
+ value: input3.child_types
299
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
300
+ path: _path2 + ".hashtmldetail",
301
+ expected: "(boolean | undefined)",
302
+ value: input3.hashtmldetail
303
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
304
+ path: _path2 + ".included_types",
305
+ expected: "(Array<string> | undefined)",
306
+ value: input3.included_types
307
+ })) && input3.included_types.map((elem, _index4) => "string" === typeof elem || $report(_exceptionable2, {
308
+ path: _path2 + ".included_types[" + _index4 + "]",
309
+ expected: "string",
310
+ value: elem
311
+ })).every((flag) => flag) || $report(_exceptionable2, {
312
+ path: _path2 + ".included_types",
313
+ expected: "(Array<string> | undefined)",
314
+ value: input3.included_types
315
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
316
+ path: _path2 + ".isleaf",
317
+ expected: "(boolean | undefined)",
318
+ value: input3.isleaf
319
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
320
+ path: _path2 + ".values",
321
+ expected: "(TermValues | undefined)",
322
+ value: input3.values
323
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
324
+ path: _path2 + ".values",
325
+ expected: "(TermValues | undefined)",
326
+ value: input3.values
327
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
328
+ path: _path2 + ".skipValuesBuild",
329
+ expected: "(boolean | undefined)",
330
+ value: input3.skipValuesBuild
331
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
332
+ path: _path2 + ".groupsetting",
333
+ expected: "TermGroupSetting",
334
+ value: input3.groupsetting
335
+ })) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
336
+ path: _path2 + ".groupsetting",
337
+ expected: "TermGroupSetting",
338
+ value: input3.groupsetting
339
+ })].every((flag) => flag);
340
+ const $vo5 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
341
+ const value = input3[key];
342
+ if (void 0 === value)
343
+ return true;
344
+ if (RegExp(/(.*)/).test(key))
345
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
346
+ path: _path2 + $join(key),
347
+ expected: "BaseValue",
348
+ value
349
+ })) && $vo6(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
350
+ path: _path2 + $join(key),
351
+ expected: "BaseValue",
352
+ value
353
+ });
354
+ if (RegExp(/^[+-]?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?$/).test(key))
355
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
356
+ path: _path2 + $join(key),
357
+ expected: "BaseValue",
358
+ value
359
+ })) && $vo6(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
360
+ path: _path2 + $join(key),
361
+ expected: "BaseValue",
362
+ value
363
+ });
364
+ return true;
365
+ }).every((flag) => flag)].every((flag) => flag);
366
+ const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
367
+ path: _path2 + ".key",
368
+ expected: "(string | undefined)",
369
+ value: input3.key
370
+ }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
371
+ path: _path2 + ".uncomputable",
372
+ expected: "(boolean | undefined)",
373
+ value: input3.uncomputable
374
+ }), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
375
+ path: _path2 + ".label",
376
+ expected: "(number | string | undefined)",
377
+ value: input3.label
378
+ }), void 0 === input3.order || "string" === typeof input3.order || $report(_exceptionable2, {
379
+ path: _path2 + ".order",
380
+ expected: "(string | undefined)",
381
+ value: input3.order
382
+ }), void 0 === input3.color || "string" === typeof input3.color || $report(_exceptionable2, {
383
+ path: _path2 + ".color",
384
+ expected: "(string | undefined)",
385
+ value: input3.color
386
+ }), void 0 === input3.group || "number" === typeof input3.group || $report(_exceptionable2, {
387
+ path: _path2 + ".group",
388
+ expected: "(number | undefined)",
389
+ value: input3.group
390
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
391
+ path: _path2 + ".filter",
392
+ expected: "(Filter | undefined)",
393
+ value: input3.filter
394
+ })) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
395
+ path: _path2 + ".filter",
396
+ expected: "(Filter | undefined)",
397
+ value: input3.filter
398
+ })].every((flag) => flag);
399
+ const $vo7 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
400
+ path: _path2 + ".disabled",
401
+ expected: "boolean",
402
+ value: input3.disabled
403
+ }), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
404
+ path: _path2 + ".lst",
405
+ expected: "(Array<Groupset> | undefined)",
406
+ value: input3.lst
407
+ })) && input3.lst.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
408
+ path: _path2 + ".lst[" + _index5 + "]",
409
+ expected: "Groupset",
410
+ value: elem
411
+ })) && $vo8(elem, _path2 + ".lst[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
412
+ path: _path2 + ".lst[" + _index5 + "]",
413
+ expected: "Groupset",
414
+ value: elem
415
+ })).every((flag) => flag) || $report(_exceptionable2, {
416
+ path: _path2 + ".lst",
417
+ expected: "(Array<Groupset> | undefined)",
418
+ value: input3.lst
419
+ })].every((flag) => flag);
420
+ const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
421
+ path: _path2 + ".name",
422
+ expected: "string",
423
+ value: input3.name
424
+ }), void 0 === input3.is_grade || "boolean" === typeof input3.is_grade || $report(_exceptionable2, {
425
+ path: _path2 + ".is_grade",
426
+ expected: "(boolean | undefined)",
427
+ value: input3.is_grade
428
+ }), void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition || $report(_exceptionable2, {
429
+ path: _path2 + ".is_subcondition",
430
+ expected: "(boolean | undefined)",
431
+ value: input3.is_subcondition
432
+ }), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
433
+ path: _path2 + ".dt",
434
+ expected: "(number | undefined)",
435
+ value: input3.dt
436
+ }), (Array.isArray(input3.groups) || $report(_exceptionable2, {
437
+ path: _path2 + ".groups",
438
+ expected: "Array<GroupEntry>",
439
+ value: input3.groups
440
+ })) && input3.groups.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
441
+ path: _path2 + ".groups[" + _index6 + "]",
442
+ expected: "(FilterGroup | ValuesGroup)",
443
+ value: elem
444
+ })) && $vu1(elem, _path2 + ".groups[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
445
+ path: _path2 + ".groups[" + _index6 + "]",
446
+ expected: "(FilterGroup | ValuesGroup)",
447
+ value: elem
448
+ })).every((flag) => flag) || $report(_exceptionable2, {
449
+ path: _path2 + ".groups",
450
+ expected: "Array<GroupEntry>",
451
+ value: input3.groups
452
+ })].every((flag) => flag);
453
+ const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
454
+ path: _path2 + ".name",
455
+ expected: "string",
456
+ value: input3.name
457
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
458
+ path: _path2 + ".type",
459
+ expected: "string",
460
+ value: input3.type
461
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
462
+ path: _path2 + ".values",
463
+ expected: "Array<__type>",
464
+ value: input3.values
465
+ })) && input3.values.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
466
+ path: _path2 + ".values[" + _index7 + "]",
467
+ expected: "__type.o1",
468
+ value: elem
469
+ })) && $vo10(elem, _path2 + ".values[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
470
+ path: _path2 + ".values[" + _index7 + "]",
471
+ expected: "__type.o1",
472
+ value: elem
473
+ })).every((flag) => flag) || $report(_exceptionable2, {
474
+ path: _path2 + ".values",
475
+ expected: "Array<__type>",
476
+ value: input3.values
477
+ }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
478
+ path: _path2 + ".uncomputable",
479
+ expected: "(boolean | undefined)",
480
+ value: input3.uncomputable
481
+ })].every((flag) => flag);
482
+ const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
483
+ path: _path2 + ".key",
484
+ expected: "(number | string)",
485
+ value: input3.key
486
+ }), "string" === typeof input3.label || $report(_exceptionable2, {
487
+ path: _path2 + ".label",
488
+ expected: "string",
489
+ value: input3.label
490
+ })].every((flag) => flag);
491
+ const $vo11 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
492
+ path: _path2 + ".name",
493
+ expected: "string",
494
+ value: input3.name
495
+ }), "filter" === input3.type || $report(_exceptionable2, {
496
+ path: _path2 + ".type",
497
+ expected: '"filter"',
498
+ value: input3.type
499
+ }), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
500
+ path: _path2 + ".filter",
501
+ expected: "Filter",
502
+ value: input3.filter
503
+ })) && $vo1(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
504
+ path: _path2 + ".filter",
505
+ expected: "Filter",
506
+ value: input3.filter
507
+ }), "string" === typeof input3.color || $report(_exceptionable2, {
508
+ path: _path2 + ".color",
509
+ expected: "string",
510
+ value: input3.color
511
+ })].every((flag) => flag);
512
+ const $vo12 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
513
+ path: _path2 + ".join",
514
+ expected: "(string | undefined)",
515
+ value: input3.join
516
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
517
+ path: _path2 + ".isnot",
518
+ expected: "(boolean | undefined)",
519
+ value: input3.isnot
520
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
521
+ path: _path2 + ".term",
522
+ expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
523
+ value: input3.term
524
+ })) && $vu5(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
525
+ path: _path2 + ".term",
526
+ expected: '(BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Coord | BaseTerm & { continuousColorScale?: { minColor: string; maxColor: string; } | undefined; unit?: string | undefined; } & { type: "geneExpression"; bins?: PresetNumericBins | undefined; } & Gene | DateTerm | MetaboliteIntensityTerm | NumericDictTerm | SsGSEATerm)',
527
+ value: input3.term
528
+ }), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
529
+ path: _path2 + ".ranges",
530
+ expected: "Array<NumericBin>",
531
+ value: input3.ranges
532
+ })) && input3.ranges.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
533
+ path: _path2 + ".ranges[" + _index8 + "]",
534
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
535
+ value: elem
536
+ })) && $vu2(elem, _path2 + ".ranges[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
537
+ path: _path2 + ".ranges[" + _index8 + "]",
538
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
539
+ value: elem
540
+ })).every((flag) => flag) || $report(_exceptionable2, {
541
+ path: _path2 + ".ranges",
542
+ expected: "Array<NumericBin>",
543
+ value: input3.ranges
544
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
545
+ path: _path2 + ".values",
546
+ expected: "Array<__type>.o1",
547
+ value: input3.values
548
+ })) && input3.values.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
549
+ path: _path2 + ".values[" + _index9 + "]",
550
+ expected: "__type.o3",
551
+ value: elem
552
+ })) && $vo27(elem, _path2 + ".values[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
553
+ path: _path2 + ".values[" + _index9 + "]",
554
+ expected: "__type.o3",
555
+ value: elem
556
+ })).every((flag) => flag) || $report(_exceptionable2, {
557
+ path: _path2 + ".values",
558
+ expected: "Array<__type>.o1",
559
+ value: input3.values
560
+ })].every((flag) => flag);
561
+ const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
562
+ path: _path2 + ".id",
563
+ expected: "string",
564
+ value: input3.id
565
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
566
+ path: _path2 + ".name",
567
+ expected: "string",
568
+ value: input3.name
569
+ }), "integer" === input3.type || "float" === input3.type || $report(_exceptionable2, {
570
+ path: _path2 + ".type",
571
+ expected: '("float" | "integer")',
572
+ value: input3.type
573
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
574
+ path: _path2 + ".child_types",
575
+ expected: "(Array<string> | undefined)",
576
+ value: input3.child_types
577
+ })) && input3.child_types.map((elem, _index10) => "string" === typeof elem || $report(_exceptionable2, {
578
+ path: _path2 + ".child_types[" + _index10 + "]",
579
+ expected: "string",
580
+ value: elem
581
+ })).every((flag) => flag) || $report(_exceptionable2, {
582
+ path: _path2 + ".child_types",
583
+ expected: "(Array<string> | undefined)",
584
+ value: input3.child_types
585
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
586
+ path: _path2 + ".hashtmldetail",
587
+ expected: "(boolean | undefined)",
588
+ value: input3.hashtmldetail
589
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
590
+ path: _path2 + ".included_types",
591
+ expected: "(Array<string> | undefined)",
592
+ value: input3.included_types
593
+ })) && input3.included_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
594
+ path: _path2 + ".included_types[" + _index11 + "]",
595
+ expected: "string",
596
+ value: elem
597
+ })).every((flag) => flag) || $report(_exceptionable2, {
598
+ path: _path2 + ".included_types",
599
+ expected: "(Array<string> | undefined)",
600
+ value: input3.included_types
601
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
602
+ path: _path2 + ".isleaf",
603
+ expected: "(boolean | undefined)",
604
+ value: input3.isleaf
605
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
606
+ path: _path2 + ".values",
607
+ expected: "(TermValues | undefined)",
608
+ value: input3.values
609
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
610
+ path: _path2 + ".values",
611
+ expected: "(TermValues | undefined)",
612
+ value: input3.values
613
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
614
+ path: _path2 + ".skipValuesBuild",
615
+ expected: "(boolean | undefined)",
616
+ value: input3.skipValuesBuild
617
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
618
+ path: _path2 + ".continuousColorScale",
619
+ expected: "(__type.o2 | undefined)",
620
+ value: input3.continuousColorScale
621
+ })) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
622
+ path: _path2 + ".continuousColorScale",
623
+ expected: "(__type.o2 | undefined)",
624
+ value: input3.continuousColorScale
625
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
626
+ path: _path2 + ".unit",
627
+ expected: "(string | undefined)",
628
+ value: input3.unit
629
+ }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
630
+ path: _path2 + ".bins",
631
+ expected: "PresetNumericBins",
632
+ value: input3.bins
633
+ })) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
634
+ path: _path2 + ".bins",
635
+ expected: "PresetNumericBins",
636
+ value: input3.bins
637
+ })].every((flag) => flag);
638
+ const $vo14 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.minColor || $report(_exceptionable2, {
639
+ path: _path2 + ".minColor",
640
+ expected: "string",
641
+ value: input3.minColor
642
+ }), "string" === typeof input3.maxColor || $report(_exceptionable2, {
643
+ path: _path2 + ".maxColor",
644
+ expected: "string",
645
+ value: input3.maxColor
646
+ })].every((flag) => flag);
647
+ const $vo15 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
648
+ path: _path2 + '["default"]',
649
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
650
+ value: input3["default"]
651
+ })) && $vu6(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
652
+ path: _path2 + '["default"]',
653
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
654
+ value: input3["default"]
655
+ }), ("object" === typeof input3.less && null !== input3.less || $report(_exceptionable2, {
656
+ path: _path2 + ".less",
657
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
658
+ value: input3.less
659
+ })) && $vu6(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
660
+ path: _path2 + ".less",
661
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
662
+ value: input3.less
663
+ }), void 0 === input3.label_offset || "number" === typeof input3.label_offset || $report(_exceptionable2, {
664
+ path: _path2 + ".label_offset",
665
+ expected: "(number | undefined)",
666
+ value: input3.label_offset
667
+ }), void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored || $report(_exceptionable2, {
668
+ path: _path2 + ".label_offset_ignored",
669
+ expected: "(boolean | undefined)",
670
+ value: input3.label_offset_ignored
671
+ }), void 0 === input3.rounding || "string" === typeof input3.rounding || $report(_exceptionable2, {
672
+ path: _path2 + ".rounding",
673
+ expected: "(string | undefined)",
674
+ value: input3.rounding
675
+ }), void 0 === input3.min || "number" === typeof input3.min || $report(_exceptionable2, {
676
+ path: _path2 + ".min",
677
+ expected: "(number | undefined)",
678
+ value: input3.min
679
+ }), void 0 === input3.max || "number" === typeof input3.max || $report(_exceptionable2, {
680
+ path: _path2 + ".max",
681
+ expected: "(number | undefined)",
682
+ value: input3.max
683
+ })].every((flag) => flag);
684
+ const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
685
+ path: _path2 + ".hiddenValues",
686
+ expected: "(HiddenValues | undefined)",
687
+ value: input3.hiddenValues
688
+ })) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
689
+ path: _path2 + ".hiddenValues",
690
+ expected: "(HiddenValues | undefined)",
691
+ value: input3.hiddenValues
692
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
693
+ path: _path2 + ".isAtomic",
694
+ expected: "(true | undefined)",
695
+ value: input3.isAtomic
696
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
697
+ path: _path2 + ".name",
698
+ expected: "(string | undefined)",
699
+ value: input3.name
700
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
701
+ path: _path2 + ".reuseId",
702
+ expected: "(string | undefined)",
703
+ value: input3.reuseId
704
+ }), "regular-bin" === input3.type || $report(_exceptionable2, {
705
+ path: _path2 + ".type",
706
+ expected: '"regular-bin"',
707
+ value: input3.type
708
+ }), void 0 === input3.mode || "discrete" === input3.mode || $report(_exceptionable2, {
709
+ path: _path2 + ".mode",
710
+ expected: '("discrete" | undefined)',
711
+ value: input3.mode
712
+ }), "number" === typeof input3.bin_size || $report(_exceptionable2, {
713
+ path: _path2 + ".bin_size",
714
+ expected: "number",
715
+ value: input3.bin_size
716
+ }), ("object" === typeof input3.first_bin && null !== input3.first_bin || $report(_exceptionable2, {
717
+ path: _path2 + ".first_bin",
718
+ expected: "(FullyBoundedBin | StartUnboundedBin)",
719
+ value: input3.first_bin
720
+ })) && $vu7(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
721
+ path: _path2 + ".first_bin",
722
+ expected: "(FullyBoundedBin | StartUnboundedBin)",
723
+ value: input3.first_bin
724
+ }), void 0 === input3.last_bin || ("object" === typeof input3.last_bin && null !== input3.last_bin || $report(_exceptionable2, {
725
+ path: _path2 + ".last_bin",
726
+ expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
727
+ value: input3.last_bin
728
+ })) && $vu8(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
729
+ path: _path2 + ".last_bin",
730
+ expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
731
+ value: input3.last_bin
732
+ }), void 0 === input3.label_offset || "number" === typeof input3.label_offset || $report(_exceptionable2, {
733
+ path: _path2 + ".label_offset",
734
+ expected: "(number | undefined)",
735
+ value: input3.label_offset
736
+ })].every((flag) => flag);
737
+ const $vo17 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
738
+ const value = input3[key];
739
+ if (void 0 === value)
740
+ return true;
741
+ if (RegExp(/(.*)/).test(key))
742
+ return "number" === typeof value || $report(_exceptionable2, {
743
+ path: _path2 + $join(key),
744
+ expected: "number",
745
+ value
746
+ });
747
+ return true;
748
+ }).every((flag) => flag)].every((flag) => flag);
749
+ const $vo18 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
750
+ path: _path2 + ".startunbounded",
751
+ expected: "true",
752
+ value: input3.startunbounded
753
+ }), void 0 === input3.startinclusive || false === input3.startinclusive || $report(_exceptionable2, {
754
+ path: _path2 + ".startinclusive",
755
+ expected: "(false | undefined)",
756
+ value: input3.startinclusive
757
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
758
+ path: _path2 + ".stop",
759
+ expected: "number",
760
+ value: input3.stop
761
+ }), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
762
+ path: _path2 + ".stopinclusive",
763
+ expected: "(boolean | undefined)",
764
+ value: input3.stopinclusive
765
+ }), void 0 === input3.stopunbounded || false === input3.stopunbounded || $report(_exceptionable2, {
766
+ path: _path2 + ".stopunbounded",
767
+ expected: "(false | undefined)",
768
+ value: input3.stopunbounded
769
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
770
+ path: _path2 + ".label",
771
+ expected: "(string | undefined)",
772
+ value: input3.label
773
+ }), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
774
+ path: _path2 + ".range",
775
+ expected: "(string | undefined)",
776
+ value: input3.range
777
+ })].every((flag) => flag);
778
+ const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
779
+ path: _path2 + ".startunbounded",
780
+ expected: "(false | undefined)",
781
+ value: input3.startunbounded
782
+ }), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
783
+ path: _path2 + ".startinclusive",
784
+ expected: "(boolean | undefined)",
785
+ value: input3.startinclusive
786
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
787
+ path: _path2 + ".start",
788
+ expected: "number",
789
+ value: input3.start
790
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
791
+ path: _path2 + ".stop",
792
+ expected: "number",
793
+ value: input3.stop
794
+ }), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
795
+ path: _path2 + ".stopinclusive",
796
+ expected: "(boolean | undefined)",
797
+ value: input3.stopinclusive
798
+ }), void 0 === input3.stopunbounded || false === input3.stopunbounded || $report(_exceptionable2, {
799
+ path: _path2 + ".stopunbounded",
800
+ expected: "(false | undefined)",
801
+ value: input3.stopunbounded
802
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
803
+ path: _path2 + ".label",
804
+ expected: "(string | undefined)",
805
+ value: input3.label
806
+ }), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
807
+ path: _path2 + ".range",
808
+ expected: "(string | undefined)",
809
+ value: input3.range
810
+ })].every((flag) => flag);
811
+ const $vo20 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
812
+ path: _path2 + ".start",
813
+ expected: "number",
814
+ value: input3.start
815
+ }), true === input3.stopunbounded || $report(_exceptionable2, {
816
+ path: _path2 + ".stopunbounded",
817
+ expected: "true",
818
+ value: input3.stopunbounded
819
+ }), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
820
+ path: _path2 + ".startinclusive",
821
+ expected: "(boolean | undefined)",
822
+ value: input3.startinclusive
823
+ }), void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
824
+ path: _path2 + ".startunbounded",
825
+ expected: "(false | undefined)",
826
+ value: input3.startunbounded
827
+ }), void 0 === input3.stopinclusive || false === input3.stopinclusive || $report(_exceptionable2, {
828
+ path: _path2 + ".stopinclusive",
829
+ expected: "(false | undefined)",
830
+ value: input3.stopinclusive
831
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
832
+ path: _path2 + ".label",
833
+ expected: "(string | undefined)",
834
+ value: input3.label
835
+ }), void 0 === input3.range || "string" === typeof input3.range || $report(_exceptionable2, {
836
+ path: _path2 + ".range",
837
+ expected: "(string | undefined)",
838
+ value: input3.range
839
+ })].every((flag) => flag);
840
+ const $vo21 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
841
+ path: _path2 + ".hiddenValues",
842
+ expected: "(HiddenValues | undefined)",
843
+ value: input3.hiddenValues
844
+ })) && $vo17(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
845
+ path: _path2 + ".hiddenValues",
846
+ expected: "(HiddenValues | undefined)",
847
+ value: input3.hiddenValues
848
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
849
+ path: _path2 + ".isAtomic",
850
+ expected: "(true | undefined)",
851
+ value: input3.isAtomic
852
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
853
+ path: _path2 + ".name",
854
+ expected: "(string | undefined)",
855
+ value: input3.name
856
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
857
+ path: _path2 + ".reuseId",
858
+ expected: "(string | undefined)",
859
+ value: input3.reuseId
860
+ }), "custom-bin" === input3.type || $report(_exceptionable2, {
861
+ path: _path2 + ".type",
862
+ expected: '"custom-bin"',
863
+ value: input3.type
864
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
865
+ path: _path2 + ".mode",
866
+ expected: '("binary" | "discrete" | undefined)',
867
+ value: input3.mode
868
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
869
+ path: _path2 + ".lst",
870
+ expected: "[NumericBin, ...NumericBin[]]",
871
+ value: input3.lst
872
+ })) && ([
873
+ ("object" === typeof input3.lst[0] && null !== input3.lst[0] || $report(_exceptionable2, {
874
+ path: _path2 + ".lst[0]",
875
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
876
+ value: input3.lst[0]
877
+ })) && $vu2(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
878
+ path: _path2 + ".lst[0]",
879
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
880
+ value: input3.lst[0]
881
+ })
882
+ ].every((flag) => flag) && ((Array.isArray(input3.lst.slice(1)) || $report(_exceptionable2, {
883
+ path: _path2 + ".lst",
884
+ expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
885
+ value: input3.lst.slice(1)
886
+ })) && input3.lst.slice(1).map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
887
+ path: _path2 + ".lst[" + (1 + _index12) + "]",
888
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
889
+ value: elem
890
+ })) && $vu2(elem, _path2 + ".lst[" + (1 + _index12) + "]", _exceptionable2) || $report(_exceptionable2, {
891
+ path: _path2 + ".lst[" + (1 + _index12) + "]",
892
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
893
+ value: elem
894
+ })).every((flag) => flag) || $report(_exceptionable2, {
895
+ path: _path2 + ".lst",
896
+ expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
897
+ value: input3.lst.slice(1)
898
+ }))) || $report(_exceptionable2, {
899
+ path: _path2 + ".lst",
900
+ expected: "[NumericBin, ...NumericBin[]]",
901
+ value: input3.lst
902
+ }), void 0 === input3.preferredBins || "median" === input3.preferredBins || $report(_exceptionable2, {
903
+ path: _path2 + ".preferredBins",
904
+ expected: '("median" | undefined)',
905
+ value: input3.preferredBins
906
+ })].every((flag) => flag);
907
+ const $vo22 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
908
+ path: _path2 + ".id",
909
+ expected: "string",
910
+ value: input3.id
911
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
912
+ path: _path2 + ".name",
913
+ expected: "string",
914
+ value: input3.name
915
+ }), "geneExpression" === input3.type || $report(_exceptionable2, {
916
+ path: _path2 + ".type",
917
+ expected: '"geneExpression"',
918
+ value: input3.type
919
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
920
+ path: _path2 + ".child_types",
921
+ expected: "(Array<string> | undefined)",
922
+ value: input3.child_types
923
+ })) && input3.child_types.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable2, {
924
+ path: _path2 + ".child_types[" + _index13 + "]",
925
+ expected: "string",
926
+ value: elem
927
+ })).every((flag) => flag) || $report(_exceptionable2, {
928
+ path: _path2 + ".child_types",
929
+ expected: "(Array<string> | undefined)",
930
+ value: input3.child_types
931
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
932
+ path: _path2 + ".hashtmldetail",
933
+ expected: "(boolean | undefined)",
934
+ value: input3.hashtmldetail
935
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
936
+ path: _path2 + ".included_types",
937
+ expected: "(Array<string> | undefined)",
938
+ value: input3.included_types
939
+ })) && input3.included_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
940
+ path: _path2 + ".included_types[" + _index14 + "]",
941
+ expected: "string",
942
+ value: elem
943
+ })).every((flag) => flag) || $report(_exceptionable2, {
944
+ path: _path2 + ".included_types",
945
+ expected: "(Array<string> | undefined)",
946
+ value: input3.included_types
947
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
948
+ path: _path2 + ".isleaf",
949
+ expected: "(boolean | undefined)",
950
+ value: input3.isleaf
951
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
952
+ path: _path2 + ".values",
953
+ expected: "(TermValues | undefined)",
954
+ value: input3.values
955
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
956
+ path: _path2 + ".values",
957
+ expected: "(TermValues | undefined)",
958
+ value: input3.values
959
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
960
+ path: _path2 + ".skipValuesBuild",
961
+ expected: "(boolean | undefined)",
962
+ value: input3.skipValuesBuild
963
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
964
+ path: _path2 + ".continuousColorScale",
965
+ expected: "(__type.o2 | undefined)",
966
+ value: input3.continuousColorScale
967
+ })) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
968
+ path: _path2 + ".continuousColorScale",
969
+ expected: "(__type.o2 | undefined)",
970
+ value: input3.continuousColorScale
971
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
972
+ path: _path2 + ".unit",
973
+ expected: "(string | undefined)",
974
+ value: input3.unit
975
+ }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
976
+ path: _path2 + ".bins",
977
+ expected: "(PresetNumericBins | undefined)",
978
+ value: input3.bins
979
+ })) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
980
+ path: _path2 + ".bins",
981
+ expected: "(PresetNumericBins | undefined)",
982
+ value: input3.bins
983
+ }), void 0 === input3.kind || "gene" === input3.kind || $report(_exceptionable2, {
984
+ path: _path2 + ".kind",
985
+ expected: '("gene" | undefined)',
986
+ value: input3.kind
987
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
988
+ path: _path2 + ".gene",
989
+ expected: "string",
990
+ value: input3.gene
991
+ }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
992
+ path: _path2 + ".chr",
993
+ expected: "(string | undefined)",
994
+ value: input3.chr
995
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
996
+ path: _path2 + ".start",
997
+ expected: "(number | undefined)",
998
+ value: input3.start
999
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
1000
+ path: _path2 + ".stop",
1001
+ expected: "(number | undefined)",
1002
+ value: input3.stop
1003
+ })].every((flag) => flag);
1004
+ const $vo23 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1005
+ path: _path2 + ".id",
1006
+ expected: "string",
1007
+ value: input3.id
1008
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1009
+ path: _path2 + ".name",
1010
+ expected: "string",
1011
+ value: input3.name
1012
+ }), "geneExpression" === input3.type || $report(_exceptionable2, {
1013
+ path: _path2 + ".type",
1014
+ expected: '"geneExpression"',
1015
+ value: input3.type
1016
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1017
+ path: _path2 + ".child_types",
1018
+ expected: "(Array<string> | undefined)",
1019
+ value: input3.child_types
1020
+ })) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
1021
+ path: _path2 + ".child_types[" + _index15 + "]",
1022
+ expected: "string",
1023
+ value: elem
1024
+ })).every((flag) => flag) || $report(_exceptionable2, {
1025
+ path: _path2 + ".child_types",
1026
+ expected: "(Array<string> | undefined)",
1027
+ value: input3.child_types
1028
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1029
+ path: _path2 + ".hashtmldetail",
1030
+ expected: "(boolean | undefined)",
1031
+ value: input3.hashtmldetail
1032
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1033
+ path: _path2 + ".included_types",
1034
+ expected: "(Array<string> | undefined)",
1035
+ value: input3.included_types
1036
+ })) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
1037
+ path: _path2 + ".included_types[" + _index16 + "]",
1038
+ expected: "string",
1039
+ value: elem
1040
+ })).every((flag) => flag) || $report(_exceptionable2, {
1041
+ path: _path2 + ".included_types",
1042
+ expected: "(Array<string> | undefined)",
1043
+ value: input3.included_types
1044
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1045
+ path: _path2 + ".isleaf",
1046
+ expected: "(boolean | undefined)",
1047
+ value: input3.isleaf
1048
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1049
+ path: _path2 + ".values",
1050
+ expected: "(TermValues | undefined)",
1051
+ value: input3.values
1052
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1053
+ path: _path2 + ".values",
1054
+ expected: "(TermValues | undefined)",
1055
+ value: input3.values
1056
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1057
+ path: _path2 + ".skipValuesBuild",
1058
+ expected: "(boolean | undefined)",
1059
+ value: input3.skipValuesBuild
1060
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1061
+ path: _path2 + ".continuousColorScale",
1062
+ expected: "(__type.o2 | undefined)",
1063
+ value: input3.continuousColorScale
1064
+ })) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1065
+ path: _path2 + ".continuousColorScale",
1066
+ expected: "(__type.o2 | undefined)",
1067
+ value: input3.continuousColorScale
1068
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1069
+ path: _path2 + ".unit",
1070
+ expected: "(string | undefined)",
1071
+ value: input3.unit
1072
+ }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1073
+ path: _path2 + ".bins",
1074
+ expected: "(PresetNumericBins | undefined)",
1075
+ value: input3.bins
1076
+ })) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1077
+ path: _path2 + ".bins",
1078
+ expected: "(PresetNumericBins | undefined)",
1079
+ value: input3.bins
1080
+ }), void 0 === input3.kind || "coord" === input3.kind || $report(_exceptionable2, {
1081
+ path: _path2 + ".kind",
1082
+ expected: '("coord" | undefined)',
1083
+ value: input3.kind
1084
+ }), void 0 === input3.gene || "string" === typeof input3.gene || $report(_exceptionable2, {
1085
+ path: _path2 + ".gene",
1086
+ expected: "(string | undefined)",
1087
+ value: input3.gene
1088
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
1089
+ path: _path2 + ".chr",
1090
+ expected: "string",
1091
+ value: input3.chr
1092
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
1093
+ path: _path2 + ".start",
1094
+ expected: "number",
1095
+ value: input3.start
1096
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
1097
+ path: _path2 + ".stop",
1098
+ expected: "number",
1099
+ value: input3.stop
1100
+ })].every((flag) => flag);
1101
+ const $vo24 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1102
+ path: _path2 + ".id",
1103
+ expected: "string",
1104
+ value: input3.id
1105
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1106
+ path: _path2 + ".name",
1107
+ expected: "string",
1108
+ value: input3.name
1109
+ }), "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
1110
+ path: _path2 + ".type",
1111
+ expected: '"metaboliteIntensity"',
1112
+ value: input3.type
1113
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1114
+ path: _path2 + ".child_types",
1115
+ expected: "(Array<string> | undefined)",
1116
+ value: input3.child_types
1117
+ })) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
1118
+ path: _path2 + ".child_types[" + _index17 + "]",
1119
+ expected: "string",
1120
+ value: elem
1121
+ })).every((flag) => flag) || $report(_exceptionable2, {
1122
+ path: _path2 + ".child_types",
1123
+ expected: "(Array<string> | undefined)",
1124
+ value: input3.child_types
1125
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1126
+ path: _path2 + ".hashtmldetail",
1127
+ expected: "(boolean | undefined)",
1128
+ value: input3.hashtmldetail
1129
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1130
+ path: _path2 + ".included_types",
1131
+ expected: "(Array<string> | undefined)",
1132
+ value: input3.included_types
1133
+ })) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
1134
+ path: _path2 + ".included_types[" + _index18 + "]",
1135
+ expected: "string",
1136
+ value: elem
1137
+ })).every((flag) => flag) || $report(_exceptionable2, {
1138
+ path: _path2 + ".included_types",
1139
+ expected: "(Array<string> | undefined)",
1140
+ value: input3.included_types
1141
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1142
+ path: _path2 + ".isleaf",
1143
+ expected: "(boolean | undefined)",
1144
+ value: input3.isleaf
1145
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1146
+ path: _path2 + ".values",
1147
+ expected: "(TermValues | undefined)",
1148
+ value: input3.values
1149
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1150
+ path: _path2 + ".values",
1151
+ expected: "(TermValues | undefined)",
1152
+ value: input3.values
1153
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1154
+ path: _path2 + ".skipValuesBuild",
1155
+ expected: "(boolean | undefined)",
1156
+ value: input3.skipValuesBuild
1157
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1158
+ path: _path2 + ".continuousColorScale",
1159
+ expected: "(__type.o2 | undefined)",
1160
+ value: input3.continuousColorScale
1161
+ })) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1162
+ path: _path2 + ".continuousColorScale",
1163
+ expected: "(__type.o2 | undefined)",
1164
+ value: input3.continuousColorScale
1165
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1166
+ path: _path2 + ".unit",
1167
+ expected: "(string | undefined)",
1168
+ value: input3.unit
1169
+ }), "string" === typeof input3.metabolite || $report(_exceptionable2, {
1170
+ path: _path2 + ".metabolite",
1171
+ expected: "string",
1172
+ value: input3.metabolite
1173
+ }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1174
+ path: _path2 + ".bins",
1175
+ expected: "(PresetNumericBins | undefined)",
1176
+ value: input3.bins
1177
+ })) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1178
+ path: _path2 + ".bins",
1179
+ expected: "(PresetNumericBins | undefined)",
1180
+ value: input3.bins
1181
+ })].every((flag) => flag);
1182
+ const $vo25 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1183
+ path: _path2 + ".id",
1184
+ expected: "string",
1185
+ value: input3.id
1186
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1187
+ path: _path2 + ".name",
1188
+ expected: "string",
1189
+ value: input3.name
1190
+ }), "date" === input3.type || $report(_exceptionable2, {
1191
+ path: _path2 + ".type",
1192
+ expected: '"date"',
1193
+ value: input3.type
1194
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1195
+ path: _path2 + ".child_types",
1196
+ expected: "(Array<string> | undefined)",
1197
+ value: input3.child_types
1198
+ })) && input3.child_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
1199
+ path: _path2 + ".child_types[" + _index19 + "]",
1200
+ expected: "string",
1201
+ value: elem
1202
+ })).every((flag) => flag) || $report(_exceptionable2, {
1203
+ path: _path2 + ".child_types",
1204
+ expected: "(Array<string> | undefined)",
1205
+ value: input3.child_types
1206
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1207
+ path: _path2 + ".hashtmldetail",
1208
+ expected: "(boolean | undefined)",
1209
+ value: input3.hashtmldetail
1210
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1211
+ path: _path2 + ".included_types",
1212
+ expected: "(Array<string> | undefined)",
1213
+ value: input3.included_types
1214
+ })) && input3.included_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
1215
+ path: _path2 + ".included_types[" + _index20 + "]",
1216
+ expected: "string",
1217
+ value: elem
1218
+ })).every((flag) => flag) || $report(_exceptionable2, {
1219
+ path: _path2 + ".included_types",
1220
+ expected: "(Array<string> | undefined)",
1221
+ value: input3.included_types
1222
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1223
+ path: _path2 + ".isleaf",
1224
+ expected: "(boolean | undefined)",
1225
+ value: input3.isleaf
1226
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1227
+ path: _path2 + ".values",
1228
+ expected: "(TermValues | undefined)",
1229
+ value: input3.values
1230
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1231
+ path: _path2 + ".values",
1232
+ expected: "(TermValues | undefined)",
1233
+ value: input3.values
1234
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1235
+ path: _path2 + ".skipValuesBuild",
1236
+ expected: "(boolean | undefined)",
1237
+ value: input3.skipValuesBuild
1238
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1239
+ path: _path2 + ".continuousColorScale",
1240
+ expected: "(__type.o2 | undefined)",
1241
+ value: input3.continuousColorScale
1242
+ })) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1243
+ path: _path2 + ".continuousColorScale",
1244
+ expected: "(__type.o2 | undefined)",
1245
+ value: input3.continuousColorScale
1246
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1247
+ path: _path2 + ".unit",
1248
+ expected: "(string | undefined)",
1249
+ value: input3.unit
1250
+ }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1251
+ path: _path2 + ".bins",
1252
+ expected: "(PresetNumericBins | undefined)",
1253
+ value: input3.bins
1254
+ })) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1255
+ path: _path2 + ".bins",
1256
+ expected: "(PresetNumericBins | undefined)",
1257
+ value: input3.bins
1258
+ })].every((flag) => flag);
1259
+ const $vo26 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1260
+ path: _path2 + ".id",
1261
+ expected: "string",
1262
+ value: input3.id
1263
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1264
+ path: _path2 + ".name",
1265
+ expected: "string",
1266
+ value: input3.name
1267
+ }), "ssGSEA" === input3.type || $report(_exceptionable2, {
1268
+ path: _path2 + ".type",
1269
+ expected: '"ssGSEA"',
1270
+ value: input3.type
1271
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1272
+ path: _path2 + ".child_types",
1273
+ expected: "(Array<string> | undefined)",
1274
+ value: input3.child_types
1275
+ })) && input3.child_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
1276
+ path: _path2 + ".child_types[" + _index21 + "]",
1277
+ expected: "string",
1278
+ value: elem
1279
+ })).every((flag) => flag) || $report(_exceptionable2, {
1280
+ path: _path2 + ".child_types",
1281
+ expected: "(Array<string> | undefined)",
1282
+ value: input3.child_types
1283
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1284
+ path: _path2 + ".hashtmldetail",
1285
+ expected: "(boolean | undefined)",
1286
+ value: input3.hashtmldetail
1287
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1288
+ path: _path2 + ".included_types",
1289
+ expected: "(Array<string> | undefined)",
1290
+ value: input3.included_types
1291
+ })) && input3.included_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
1292
+ path: _path2 + ".included_types[" + _index22 + "]",
1293
+ expected: "string",
1294
+ value: elem
1295
+ })).every((flag) => flag) || $report(_exceptionable2, {
1296
+ path: _path2 + ".included_types",
1297
+ expected: "(Array<string> | undefined)",
1298
+ value: input3.included_types
1299
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1300
+ path: _path2 + ".isleaf",
1301
+ expected: "(boolean | undefined)",
1302
+ value: input3.isleaf
1303
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1304
+ path: _path2 + ".values",
1305
+ expected: "(TermValues | undefined)",
1306
+ value: input3.values
1307
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1308
+ path: _path2 + ".values",
1309
+ expected: "(TermValues | undefined)",
1310
+ value: input3.values
1311
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1312
+ path: _path2 + ".skipValuesBuild",
1313
+ expected: "(boolean | undefined)",
1314
+ value: input3.skipValuesBuild
1315
+ }), void 0 === input3.continuousColorScale || ("object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale || $report(_exceptionable2, {
1316
+ path: _path2 + ".continuousColorScale",
1317
+ expected: "(__type.o2 | undefined)",
1318
+ value: input3.continuousColorScale
1319
+ })) && $vo14(input3.continuousColorScale, _path2 + ".continuousColorScale", _exceptionable2) || $report(_exceptionable2, {
1320
+ path: _path2 + ".continuousColorScale",
1321
+ expected: "(__type.o2 | undefined)",
1322
+ value: input3.continuousColorScale
1323
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
1324
+ path: _path2 + ".unit",
1325
+ expected: "(string | undefined)",
1326
+ value: input3.unit
1327
+ }), void 0 === input3.genes || (Array.isArray(input3.genes) || $report(_exceptionable2, {
1328
+ path: _path2 + ".genes",
1329
+ expected: "(Array<string> | undefined)",
1330
+ value: input3.genes
1331
+ })) && input3.genes.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
1332
+ path: _path2 + ".genes[" + _index23 + "]",
1333
+ expected: "string",
1334
+ value: elem
1335
+ })).every((flag) => flag) || $report(_exceptionable2, {
1336
+ path: _path2 + ".genes",
1337
+ expected: "(Array<string> | undefined)",
1338
+ value: input3.genes
1339
+ }), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
1340
+ path: _path2 + ".bins",
1341
+ expected: "(PresetNumericBins | undefined)",
1342
+ value: input3.bins
1343
+ })) && $vo15(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
1344
+ path: _path2 + ".bins",
1345
+ expected: "(PresetNumericBins | undefined)",
1346
+ value: input3.bins
1347
+ })].every((flag) => flag);
1348
+ const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1349
+ path: _path2 + ".key",
1350
+ expected: "string",
1351
+ value: input3.key
1352
+ }), "number" === typeof input3.value || $report(_exceptionable2, {
1353
+ path: _path2 + ".value",
1354
+ expected: "number",
1355
+ value: input3.value
1356
+ }), true === input3.uncomputable || $report(_exceptionable2, {
1357
+ path: _path2 + ".uncomputable",
1358
+ expected: "true",
1359
+ value: input3.uncomputable
1360
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
1361
+ path: _path2 + ".label",
1362
+ expected: "(string | undefined)",
1363
+ value: input3.label
1364
+ })].every((flag) => flag);
1365
+ const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1366
+ path: _path2 + ".join",
1367
+ expected: "(string | undefined)",
1368
+ value: input3.join
1369
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
1370
+ path: _path2 + ".isnot",
1371
+ expected: "(boolean | undefined)",
1372
+ value: input3.isnot
1373
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
1374
+ path: _path2 + ".term",
1375
+ expected: "ConditionTerm",
1376
+ value: input3.term
1377
+ })) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1378
+ path: _path2 + ".term",
1379
+ expected: "ConditionTerm",
1380
+ value: input3.term
1381
+ }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
1382
+ path: _path2 + ".value_by_max_grade",
1383
+ expected: "(boolean | undefined)",
1384
+ value: input3.value_by_max_grade
1385
+ }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
1386
+ path: _path2 + ".value_by_most_recent",
1387
+ expected: "(boolean | undefined)",
1388
+ value: input3.value_by_most_recent
1389
+ }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
1390
+ path: _path2 + ".value_by_computable_grade",
1391
+ expected: "(boolean | undefined)",
1392
+ value: input3.value_by_computable_grade
1393
+ }), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
1394
+ path: _path2 + ".grade_and_child",
1395
+ expected: "(Array<GradeAndChildEntry> | undefined)",
1396
+ value: input3.grade_and_child
1397
+ })) && input3.grade_and_child.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1398
+ path: _path2 + ".grade_and_child[" + _index24 + "]",
1399
+ expected: "GradeAndChildEntry",
1400
+ value: elem
1401
+ })) && $vo30(elem, _path2 + ".grade_and_child[" + _index24 + "]", _exceptionable2) || $report(_exceptionable2, {
1402
+ path: _path2 + ".grade_and_child[" + _index24 + "]",
1403
+ expected: "GradeAndChildEntry",
1404
+ value: elem
1405
+ })).every((flag) => flag) || $report(_exceptionable2, {
1406
+ path: _path2 + ".grade_and_child",
1407
+ expected: "(Array<GradeAndChildEntry> | undefined)",
1408
+ value: input3.grade_and_child
1409
+ })].every((flag) => flag);
1410
+ const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1411
+ path: _path2 + ".id",
1412
+ expected: "string",
1413
+ value: input3.id
1414
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1415
+ path: _path2 + ".name",
1416
+ expected: "string",
1417
+ value: input3.name
1418
+ }), "condition" === input3.type || $report(_exceptionable2, {
1419
+ path: _path2 + ".type",
1420
+ expected: '"condition"',
1421
+ value: input3.type
1422
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1423
+ path: _path2 + ".child_types",
1424
+ expected: "(Array<string> | undefined)",
1425
+ value: input3.child_types
1426
+ })) && input3.child_types.map((elem, _index25) => "string" === typeof elem || $report(_exceptionable2, {
1427
+ path: _path2 + ".child_types[" + _index25 + "]",
1428
+ expected: "string",
1429
+ value: elem
1430
+ })).every((flag) => flag) || $report(_exceptionable2, {
1431
+ path: _path2 + ".child_types",
1432
+ expected: "(Array<string> | undefined)",
1433
+ value: input3.child_types
1434
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1435
+ path: _path2 + ".hashtmldetail",
1436
+ expected: "(boolean | undefined)",
1437
+ value: input3.hashtmldetail
1438
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1439
+ path: _path2 + ".included_types",
1440
+ expected: "(Array<string> | undefined)",
1441
+ value: input3.included_types
1442
+ })) && input3.included_types.map((elem, _index26) => "string" === typeof elem || $report(_exceptionable2, {
1443
+ path: _path2 + ".included_types[" + _index26 + "]",
1444
+ expected: "string",
1445
+ value: elem
1446
+ })).every((flag) => flag) || $report(_exceptionable2, {
1447
+ path: _path2 + ".included_types",
1448
+ expected: "(Array<string> | undefined)",
1449
+ value: input3.included_types
1450
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1451
+ path: _path2 + ".isleaf",
1452
+ expected: "(boolean | undefined)",
1453
+ value: input3.isleaf
1454
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1455
+ path: _path2 + ".values",
1456
+ expected: "(TermValues | undefined)",
1457
+ value: input3.values
1458
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1459
+ path: _path2 + ".values",
1460
+ expected: "(TermValues | undefined)",
1461
+ value: input3.values
1462
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1463
+ path: _path2 + ".skipValuesBuild",
1464
+ expected: "(boolean | undefined)",
1465
+ value: input3.skipValuesBuild
1466
+ })].every((flag) => flag);
1467
+ const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1468
+ path: _path2 + ".grade",
1469
+ expected: "number",
1470
+ value: input3.grade
1471
+ }), "string" === typeof input3.grade_label || $report(_exceptionable2, {
1472
+ path: _path2 + ".grade_label",
1473
+ expected: "string",
1474
+ value: input3.grade_label
1475
+ }), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
1476
+ path: _path2 + ".child_id",
1477
+ expected: "(string | undefined)",
1478
+ value: input3.child_id
1479
+ }), "string" === typeof input3.child_label || $report(_exceptionable2, {
1480
+ path: _path2 + ".child_label",
1481
+ expected: "string",
1482
+ value: input3.child_label
1483
+ })].every((flag) => flag);
1484
+ const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1485
+ path: _path2 + ".join",
1486
+ expected: "(string | undefined)",
1487
+ value: input3.join
1488
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
1489
+ path: _path2 + ".isnot",
1490
+ expected: "(boolean | undefined)",
1491
+ value: input3.isnot
1492
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
1493
+ path: _path2 + ".term",
1494
+ expected: "DtTerm",
1495
+ value: input3.term
1496
+ })) && $vo32(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1497
+ path: _path2 + ".term",
1498
+ expected: "DtTerm",
1499
+ value: input3.term
1500
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
1501
+ path: _path2 + ".values",
1502
+ expected: "Array<__type>.o2",
1503
+ value: input3.values
1504
+ })) && input3.values.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1505
+ path: _path2 + ".values[" + _index27 + "]",
1506
+ expected: "__type.o4",
1507
+ value: elem
1508
+ })) && $vo37(elem, _path2 + ".values[" + _index27 + "]", _exceptionable2) || $report(_exceptionable2, {
1509
+ path: _path2 + ".values[" + _index27 + "]",
1510
+ expected: "__type.o4",
1511
+ value: elem
1512
+ })).every((flag) => flag) || $report(_exceptionable2, {
1513
+ path: _path2 + ".values",
1514
+ expected: "Array<__type>.o2",
1515
+ value: input3.values
1516
+ }), void 0 === input3.includeNotTested || "boolean" === typeof input3.includeNotTested || $report(_exceptionable2, {
1517
+ path: _path2 + ".includeNotTested",
1518
+ expected: "(boolean | undefined)",
1519
+ value: input3.includeNotTested
1520
+ }), void 0 === input3.excludeGeneName || "boolean" === typeof input3.excludeGeneName || $report(_exceptionable2, {
1521
+ path: _path2 + ".excludeGeneName",
1522
+ expected: "(boolean | undefined)",
1523
+ value: input3.excludeGeneName
1524
+ })].every((flag) => flag);
1525
+ const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1526
+ path: _path2 + ".id",
1527
+ expected: "string",
1528
+ value: input3.id
1529
+ }), "string" === typeof input3.query || $report(_exceptionable2, {
1530
+ path: _path2 + ".query",
1531
+ expected: "string",
1532
+ value: input3.query
1533
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1534
+ path: _path2 + ".name",
1535
+ expected: "string",
1536
+ value: input3.name
1537
+ }), "string" === typeof input3.name_noOrigin || $report(_exceptionable2, {
1538
+ path: _path2 + ".name_noOrigin",
1539
+ expected: "string",
1540
+ value: input3.name_noOrigin
1541
+ }), void 0 === input3.parentTerm || ("object" === typeof input3.parentTerm && null !== input3.parentTerm || $report(_exceptionable2, {
1542
+ path: _path2 + ".parentTerm",
1543
+ 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)',
1544
+ value: input3.parentTerm
1545
+ })) && $vu9(input3.parentTerm, _path2 + ".parentTerm", _exceptionable2) || $report(_exceptionable2, {
1546
+ path: _path2 + ".parentTerm",
1547
+ 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)',
1548
+ value: input3.parentTerm
1549
+ }), true, "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1550
+ path: _path2 + ".isleaf",
1551
+ expected: "boolean",
1552
+ value: input3.isleaf
1553
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
1554
+ path: _path2 + ".type",
1555
+ expected: "string",
1556
+ value: input3.type
1557
+ }), "number" === typeof input3.dt || $report(_exceptionable2, {
1558
+ path: _path2 + ".dt",
1559
+ expected: "number",
1560
+ value: input3.dt
1561
+ }), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
1562
+ path: _path2 + ".origin",
1563
+ expected: "(string | undefined)",
1564
+ value: input3.origin
1565
+ }), ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1566
+ path: _path2 + ".values",
1567
+ expected: "TermValues",
1568
+ value: input3.values
1569
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1570
+ path: _path2 + ".values",
1571
+ expected: "TermValues",
1572
+ value: input3.values
1573
+ })].every((flag) => flag);
1574
+ const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1575
+ path: _path2 + ".id",
1576
+ expected: "string",
1577
+ value: input3.id
1578
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1579
+ path: _path2 + ".name",
1580
+ expected: "string",
1581
+ value: input3.name
1582
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
1583
+ path: _path2 + ".type",
1584
+ expected: '"geneVariant"',
1585
+ value: input3.type
1586
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1587
+ path: _path2 + ".child_types",
1588
+ expected: "(Array<string> | undefined)",
1589
+ value: input3.child_types
1590
+ })) && input3.child_types.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable2, {
1591
+ path: _path2 + ".child_types[" + _index28 + "]",
1592
+ expected: "string",
1593
+ value: elem
1594
+ })).every((flag) => flag) || $report(_exceptionable2, {
1595
+ path: _path2 + ".child_types",
1596
+ expected: "(Array<string> | undefined)",
1597
+ value: input3.child_types
1598
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1599
+ path: _path2 + ".hashtmldetail",
1600
+ expected: "(boolean | undefined)",
1601
+ value: input3.hashtmldetail
1602
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1603
+ path: _path2 + ".included_types",
1604
+ expected: "(Array<string> | undefined)",
1605
+ value: input3.included_types
1606
+ })) && input3.included_types.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable2, {
1607
+ path: _path2 + ".included_types[" + _index29 + "]",
1608
+ expected: "string",
1609
+ value: elem
1610
+ })).every((flag) => flag) || $report(_exceptionable2, {
1611
+ path: _path2 + ".included_types",
1612
+ expected: "(Array<string> | undefined)",
1613
+ value: input3.included_types
1614
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1615
+ path: _path2 + ".isleaf",
1616
+ expected: "(boolean | undefined)",
1617
+ value: input3.isleaf
1618
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1619
+ path: _path2 + ".values",
1620
+ expected: "(TermValues | undefined)",
1621
+ value: input3.values
1622
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1623
+ path: _path2 + ".values",
1624
+ expected: "(TermValues | undefined)",
1625
+ value: input3.values
1626
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1627
+ path: _path2 + ".skipValuesBuild",
1628
+ expected: "(boolean | undefined)",
1629
+ value: input3.skipValuesBuild
1630
+ }), "gene" === input3.kind || $report(_exceptionable2, {
1631
+ path: _path2 + ".kind",
1632
+ expected: '"gene"',
1633
+ value: input3.kind
1634
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
1635
+ path: _path2 + ".gene",
1636
+ expected: "string",
1637
+ value: input3.gene
1638
+ }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
1639
+ path: _path2 + ".chr",
1640
+ expected: "(string | undefined)",
1641
+ value: input3.chr
1642
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
1643
+ path: _path2 + ".start",
1644
+ expected: "(number | undefined)",
1645
+ value: input3.start
1646
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
1647
+ path: _path2 + ".stop",
1648
+ expected: "(number | undefined)",
1649
+ value: input3.stop
1650
+ }), (Array.isArray(input3.genes) || $report(_exceptionable2, {
1651
+ path: _path2 + ".genes",
1652
+ expected: "Array<GvGeneTerm>",
1653
+ value: input3.genes
1654
+ })) && input3.genes.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1655
+ path: _path2 + ".genes[" + _index30 + "]",
1656
+ expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1657
+ value: elem
1658
+ })) && $vu3(elem, _path2 + ".genes[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
1659
+ path: _path2 + ".genes[" + _index30 + "]",
1660
+ expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1661
+ value: elem
1662
+ })).every((flag) => flag) || $report(_exceptionable2, {
1663
+ path: _path2 + ".genes",
1664
+ expected: "Array<GvGeneTerm>",
1665
+ value: input3.genes
1666
+ }), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
1667
+ path: _path2 + ".groupsetting",
1668
+ expected: "(TermGroupSetting | undefined)",
1669
+ value: input3.groupsetting
1670
+ })) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
1671
+ path: _path2 + ".groupsetting",
1672
+ expected: "(TermGroupSetting | undefined)",
1673
+ value: input3.groupsetting
1674
+ }), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
1675
+ path: _path2 + ".childTerms",
1676
+ expected: "(Array<DtTerm> | undefined)",
1677
+ value: input3.childTerms
1678
+ })) && input3.childTerms.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1679
+ path: _path2 + ".childTerms[" + _index31 + "]",
1680
+ expected: "DtTerm",
1681
+ value: elem
1682
+ })) && $vo32(elem, _path2 + ".childTerms[" + _index31 + "]", _exceptionable2) || $report(_exceptionable2, {
1683
+ path: _path2 + ".childTerms[" + _index31 + "]",
1684
+ expected: "DtTerm",
1685
+ value: elem
1686
+ })).every((flag) => flag) || $report(_exceptionable2, {
1687
+ path: _path2 + ".childTerms",
1688
+ expected: "(Array<DtTerm> | undefined)",
1689
+ value: input3.childTerms
1690
+ })].every((flag) => flag);
1691
+ const $vo34 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1692
+ path: _path2 + ".id",
1693
+ expected: "string",
1694
+ value: input3.id
1695
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1696
+ path: _path2 + ".name",
1697
+ expected: "string",
1698
+ value: input3.name
1699
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
1700
+ path: _path2 + ".type",
1701
+ expected: "string",
1702
+ value: input3.type
1703
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1704
+ path: _path2 + ".child_types",
1705
+ expected: "(Array<string> | undefined)",
1706
+ value: input3.child_types
1707
+ })) && input3.child_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
1708
+ path: _path2 + ".child_types[" + _index32 + "]",
1709
+ expected: "string",
1710
+ value: elem
1711
+ })).every((flag) => flag) || $report(_exceptionable2, {
1712
+ path: _path2 + ".child_types",
1713
+ expected: "(Array<string> | undefined)",
1714
+ value: input3.child_types
1715
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1716
+ path: _path2 + ".hashtmldetail",
1717
+ expected: "(boolean | undefined)",
1718
+ value: input3.hashtmldetail
1719
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1720
+ path: _path2 + ".included_types",
1721
+ expected: "(Array<string> | undefined)",
1722
+ value: input3.included_types
1723
+ })) && input3.included_types.map((elem, _index33) => "string" === typeof elem || $report(_exceptionable2, {
1724
+ path: _path2 + ".included_types[" + _index33 + "]",
1725
+ expected: "string",
1726
+ value: elem
1727
+ })).every((flag) => flag) || $report(_exceptionable2, {
1728
+ path: _path2 + ".included_types",
1729
+ expected: "(Array<string> | undefined)",
1730
+ value: input3.included_types
1731
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1732
+ path: _path2 + ".isleaf",
1733
+ expected: "(boolean | undefined)",
1734
+ value: input3.isleaf
1735
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1736
+ path: _path2 + ".values",
1737
+ expected: "(TermValues | undefined)",
1738
+ value: input3.values
1739
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1740
+ path: _path2 + ".values",
1741
+ expected: "(TermValues | undefined)",
1742
+ value: input3.values
1743
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1744
+ path: _path2 + ".skipValuesBuild",
1745
+ expected: "(boolean | undefined)",
1746
+ value: input3.skipValuesBuild
1747
+ }), "gene" === input3.kind || $report(_exceptionable2, {
1748
+ path: _path2 + ".kind",
1749
+ expected: '"gene"',
1750
+ value: input3.kind
1751
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
1752
+ path: _path2 + ".gene",
1753
+ expected: "string",
1754
+ value: input3.gene
1755
+ }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
1756
+ path: _path2 + ".chr",
1757
+ expected: "(string | undefined)",
1758
+ value: input3.chr
1759
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
1760
+ path: _path2 + ".start",
1761
+ expected: "(number | undefined)",
1762
+ value: input3.start
1763
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
1764
+ path: _path2 + ".stop",
1765
+ expected: "(number | undefined)",
1766
+ value: input3.stop
1767
+ })].every((flag) => flag);
1768
+ const $vo35 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1769
+ path: _path2 + ".id",
1770
+ expected: "string",
1771
+ value: input3.id
1772
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1773
+ path: _path2 + ".name",
1774
+ expected: "string",
1775
+ value: input3.name
1776
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
1777
+ path: _path2 + ".type",
1778
+ expected: "string",
1779
+ value: input3.type
1780
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1781
+ path: _path2 + ".child_types",
1782
+ expected: "(Array<string> | undefined)",
1783
+ value: input3.child_types
1784
+ })) && input3.child_types.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
1785
+ path: _path2 + ".child_types[" + _index34 + "]",
1786
+ expected: "string",
1787
+ value: elem
1788
+ })).every((flag) => flag) || $report(_exceptionable2, {
1789
+ path: _path2 + ".child_types",
1790
+ expected: "(Array<string> | undefined)",
1791
+ value: input3.child_types
1792
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1793
+ path: _path2 + ".hashtmldetail",
1794
+ expected: "(boolean | undefined)",
1795
+ value: input3.hashtmldetail
1796
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1797
+ path: _path2 + ".included_types",
1798
+ expected: "(Array<string> | undefined)",
1799
+ value: input3.included_types
1800
+ })) && input3.included_types.map((elem, _index35) => "string" === typeof elem || $report(_exceptionable2, {
1801
+ path: _path2 + ".included_types[" + _index35 + "]",
1802
+ expected: "string",
1803
+ value: elem
1804
+ })).every((flag) => flag) || $report(_exceptionable2, {
1805
+ path: _path2 + ".included_types",
1806
+ expected: "(Array<string> | undefined)",
1807
+ value: input3.included_types
1808
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1809
+ path: _path2 + ".isleaf",
1810
+ expected: "(boolean | undefined)",
1811
+ value: input3.isleaf
1812
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1813
+ path: _path2 + ".values",
1814
+ expected: "(TermValues | undefined)",
1815
+ value: input3.values
1816
+ })) && $vo5(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1817
+ path: _path2 + ".values",
1818
+ expected: "(TermValues | undefined)",
1819
+ value: input3.values
1820
+ }), void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild || $report(_exceptionable2, {
1821
+ path: _path2 + ".skipValuesBuild",
1822
+ expected: "(boolean | undefined)",
1823
+ value: input3.skipValuesBuild
1824
+ }), "coord" === input3.kind || $report(_exceptionable2, {
1825
+ path: _path2 + ".kind",
1826
+ expected: '"coord"',
1827
+ value: input3.kind
1828
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
1829
+ path: _path2 + ".chr",
1830
+ expected: "string",
1831
+ value: input3.chr
1832
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
1833
+ path: _path2 + ".start",
1834
+ expected: "number",
1835
+ value: input3.start
1836
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
1837
+ path: _path2 + ".stop",
1838
+ expected: "number",
1839
+ value: input3.stop
1840
+ })].every((flag) => flag);
1841
+ const $vo36 = (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
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
1850
+ path: _path2 + ".type",
1851
+ expected: '"geneVariant"',
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, _index36) => "string" === typeof elem || $report(_exceptionable2, {
1858
+ path: _path2 + ".child_types[" + _index36 + "]",
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, _index37) => "string" === typeof elem || $report(_exceptionable2, {
1874
+ path: _path2 + ".included_types[" + _index37 + "]",
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
+ }), "coord" === input3.kind || $report(_exceptionable2, {
1898
+ path: _path2 + ".kind",
1899
+ expected: '"coord"',
1900
+ value: input3.kind
1901
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
1902
+ path: _path2 + ".chr",
1903
+ expected: "string",
1904
+ value: input3.chr
1905
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
1906
+ path: _path2 + ".start",
1907
+ expected: "number",
1908
+ value: input3.start
1909
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
1910
+ path: _path2 + ".stop",
1911
+ expected: "number",
1912
+ value: input3.stop
1913
+ }), (Array.isArray(input3.genes) || $report(_exceptionable2, {
1914
+ path: _path2 + ".genes",
1915
+ expected: "Array<GvGeneTerm>",
1916
+ value: input3.genes
1917
+ })) && input3.genes.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1918
+ path: _path2 + ".genes[" + _index38 + "]",
1919
+ expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1920
+ value: elem
1921
+ })) && $vu3(elem, _path2 + ".genes[" + _index38 + "]", _exceptionable2) || $report(_exceptionable2, {
1922
+ path: _path2 + ".genes[" + _index38 + "]",
1923
+ expected: "(BaseTerm & Coord | BaseTerm & Gene)",
1924
+ value: elem
1925
+ })).every((flag) => flag) || $report(_exceptionable2, {
1926
+ path: _path2 + ".genes",
1927
+ expected: "Array<GvGeneTerm>",
1928
+ value: input3.genes
1929
+ }), void 0 === input3.groupsetting || ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
1930
+ path: _path2 + ".groupsetting",
1931
+ expected: "(TermGroupSetting | undefined)",
1932
+ value: input3.groupsetting
1933
+ })) && $vo7(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
1934
+ path: _path2 + ".groupsetting",
1935
+ expected: "(TermGroupSetting | undefined)",
1936
+ value: input3.groupsetting
1937
+ }), void 0 === input3.childTerms || (Array.isArray(input3.childTerms) || $report(_exceptionable2, {
1938
+ path: _path2 + ".childTerms",
1939
+ expected: "(Array<DtTerm> | undefined)",
1940
+ value: input3.childTerms
1941
+ })) && input3.childTerms.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1942
+ path: _path2 + ".childTerms[" + _index39 + "]",
1943
+ expected: "DtTerm",
1944
+ value: elem
1945
+ })) && $vo32(elem, _path2 + ".childTerms[" + _index39 + "]", _exceptionable2) || $report(_exceptionable2, {
1946
+ path: _path2 + ".childTerms[" + _index39 + "]",
1947
+ expected: "DtTerm",
1948
+ value: elem
1949
+ })).every((flag) => flag) || $report(_exceptionable2, {
1950
+ path: _path2 + ".childTerms",
1951
+ expected: "(Array<DtTerm> | undefined)",
1952
+ value: input3.childTerms
1953
+ })].every((flag) => flag);
1954
+ const $vo37 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1955
+ path: _path2 + ".key",
1956
+ expected: "string",
1957
+ value: input3.key
1958
+ }), "string" === typeof input3.label || $report(_exceptionable2, {
1959
+ path: _path2 + ".label",
1960
+ expected: "string",
1961
+ value: input3.label
1962
+ }), "string" === typeof input3.value || $report(_exceptionable2, {
1963
+ path: _path2 + ".value",
1964
+ expected: "string",
1965
+ value: input3.value
1966
+ })].every((flag) => flag);
1967
+ const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
1968
+ if ("tvslst" === input3.type)
1969
+ return $vo1(input3, _path2, _exceptionable2);
1970
+ if ("tvs" === input3.type)
1971
+ return $vo2(input3, _path2, _exceptionable2);
1972
+ return $report(_exceptionable2, {
1973
+ path: _path2,
1974
+ expected: "(Filter | __type)",
1975
+ value: input3
1976
+ });
1977
+ })();
1978
+ const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
1979
+ if ("string" === typeof input3.type)
1980
+ return $vo9(input3, _path2, _exceptionable2);
1981
+ if ("filter" === input3.type)
1982
+ return $vo11(input3, _path2, _exceptionable2);
1983
+ return $report(_exceptionable2, {
1984
+ path: _path2,
1985
+ expected: "(ValuesGroup | FilterGroup)",
1986
+ value: input3
1987
+ });
1988
+ })();
1989
+ const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
1990
+ if (true === input3.startunbounded)
1991
+ return $vo18(input3, _path2, _exceptionable2);
1992
+ if (true === input3.stopunbounded)
1993
+ return $vo20(input3, _path2, _exceptionable2);
1994
+ return $vo19(input3, _path2, _exceptionable2);
1995
+ })();
1996
+ const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
1997
+ if ("gene" === input3.kind)
1998
+ return $vo34(input3, _path2, _exceptionable2);
1999
+ if ("coord" === input3.kind)
2000
+ return $vo35(input3, _path2, _exceptionable2);
2001
+ return $report(_exceptionable2, {
2002
+ path: _path2,
2003
+ expected: "(BaseTerm & Gene | BaseTerm & Coord)",
2004
+ value: input3
2005
+ });
2006
+ })();
2007
+ const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
2008
+ if (void 0 !== input3.ranges)
2009
+ return $vo12(input3, _path2, _exceptionable2);
2010
+ return $vo3(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
2011
+ })();
2012
+ const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
2013
+ if ("integer" === input3.type || "float" === input3.type)
2014
+ return $vo13(input3, _path2, _exceptionable2);
2015
+ if ("metaboliteIntensity" === input3.type)
2016
+ return $vo24(input3, _path2, _exceptionable2);
2017
+ if ("date" === input3.type)
2018
+ return $vo25(input3, _path2, _exceptionable2);
2019
+ if ("ssGSEA" === input3.type)
2020
+ return $vo26(input3, _path2, _exceptionable2);
2021
+ return $vo23(input3, _path2, false) || $vo22(input3, _path2, false);
2022
+ })();
2023
+ const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
2024
+ if ("regular-bin" === input3.type)
2025
+ return $vo16(input3, _path2, _exceptionable2);
2026
+ if ("custom-bin" === input3.type)
2027
+ return $vo21(input3, _path2, _exceptionable2);
2028
+ return $report(_exceptionable2, {
2029
+ path: _path2,
2030
+ expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
2031
+ value: input3
2032
+ });
2033
+ })();
2034
+ const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
2035
+ if (true === input3.startunbounded)
2036
+ return $vo18(input3, _path2, _exceptionable2);
2037
+ if (void 0 !== input3.start)
2038
+ return $vo19(input3, _path2, _exceptionable2);
2039
+ return $report(_exceptionable2, {
2040
+ path: _path2,
2041
+ expected: "(StartUnboundedBin | FullyBoundedBin)",
2042
+ value: input3
2043
+ });
2044
+ })();
2045
+ const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
2046
+ if (void 0 !== input3.stop)
2047
+ return $vo19(input3, _path2, _exceptionable2);
2048
+ if (true === input3.stopunbounded)
2049
+ return $vo20(input3, _path2, _exceptionable2);
2050
+ return $report(_exceptionable2, {
2051
+ path: _path2,
2052
+ expected: "(FullyBoundedBin | StopUnboundedBin)",
2053
+ value: input3
2054
+ });
2055
+ })();
2056
+ const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
2057
+ if ("gene" === input3.kind)
2058
+ return $vo33(input3, _path2, _exceptionable2);
2059
+ if ("coord" === input3.kind)
2060
+ return $vo36(input3, _path2, _exceptionable2);
2061
+ return $report(_exceptionable2, {
2062
+ path: _path2,
2063
+ 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; })',
2064
+ value: input3
2065
+ });
2066
+ })();
2067
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
2068
+ path: _path + "",
2069
+ expected: "ChatRequest",
2070
+ value: input2
2071
+ })) && $vo0(input2, _path + "", true) || $report(true, {
2072
+ path: _path + "",
2073
+ expected: "ChatRequest",
2074
+ value: input2
2075
+ });
2076
+ })(input, "$input", true);
2077
+ }
2078
+ const success = 0 === errors.length;
2079
+ return {
2080
+ success,
2081
+ errors,
2082
+ data: success ? input : void 0
2083
+ };
2084
+ };
2085
+ var validChatResponse = (input) => {
2086
+ const errors = [];
2087
+ const __is = (input2) => {
2088
+ const $io0 = (input3) => ("html" === input3.type || "plot" === input3.type) && (void 0 === input3.html || "string" === typeof input3.html) && true;
2089
+ return "object" === typeof input2 && null !== input2 && $io0(input2);
2090
+ };
2091
+ if (false === __is(input)) {
2092
+ const $report = import_typia.createValidate.report(errors);
2093
+ ((input2, _path, _exceptionable = true) => {
2094
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["html" === input3.type || "plot" === input3.type || $report(_exceptionable2, {
2095
+ path: _path2 + ".type",
2096
+ expected: '("html" | "plot")',
2097
+ value: input3.type
2098
+ }), void 0 === input3.html || "string" === typeof input3.html || $report(_exceptionable2, {
2099
+ path: _path2 + ".html",
2100
+ expected: "(string | undefined)",
2101
+ value: input3.html
2102
+ }), true].every((flag) => flag);
2103
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
2104
+ path: _path + "",
2105
+ expected: "ChatResponse",
2106
+ value: input2
2107
+ })) && $vo0(input2, _path + "", true) || $report(true, {
2108
+ path: _path + "",
2109
+ expected: "ChatResponse",
2110
+ value: input2
2111
+ });
2112
+ })(input, "$input", true);
2113
+ }
2114
+ const success = 0 === errors.length;
2115
+ return {
2116
+ success,
2117
+ errors,
2118
+ data: success ? input : void 0
2119
+ };
2120
+ };
2121
+
2122
+ export {
2123
+ ChatPayload,
2124
+ validChatRequest,
2125
+ validChatResponse
2126
+ };