@sjcrh/proteinpaint-types 2.181.0 → 2.182.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.
- package/dist/brainImaging.js +1 -1
- package/dist/{chunk-2QTCQFYE.js → chunk-2NINVZOB.js} +47 -11
- package/dist/{chunk-UBAJYDGK.js → chunk-734AZGID.js} +15 -3
- package/dist/{chunk-KNDCWQJD.js → chunk-INIT6CVR.js} +728 -580
- package/dist/{chunk-DDMUMMOL.js → chunk-LDLZU2QY.js} +15 -3
- package/dist/{chunk-URYAC364.js → chunk-LOFBLGRE.js} +311 -163
- package/dist/{chunk-UYKWZWCU.js → chunk-M7WMC7GC.js} +411 -199
- package/dist/{chunk-K6W2WEPW.js → chunk-NO3ZZD3L.js} +15 -3
- package/dist/{chunk-ZRTB7SRA.js → chunk-ONNT3XV7.js} +32 -8
- package/dist/{chunk-VUNM6QTX.js → chunk-QMEKJW2A.js} +15 -3
- package/dist/{chunk-J55IQXT7.js → chunk-TI565XIR.js} +470 -418
- package/dist/{chunk-ZKO7LMCC.js → chunk-TUM3OZ7K.js} +15 -3
- package/dist/{chunk-45VA4Y6L.js → chunk-UWK6LBTQ.js} +877 -778
- package/dist/chunk-W3F3CLYP.js +61 -0
- package/dist/{chunk-C5ECCXOT.js → chunk-WNUWRPXG.js} +733 -585
- package/dist/{chunk-3DA4MJ2U.js → chunk-Y6FNAG22.js} +372 -175
- package/dist/correlationVolcano.js +1 -1
- package/dist/grin2.js +1 -1
- package/dist/index.js +31 -23
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.chat.js +15 -3
- package/dist/termdb.chat2.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.dmr.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.proteome.js +11 -0
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violinBox.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +16 -4
- package/src/index.ts +1 -0
- package/src/routes/termdb.proteome.ts +13 -0
- package/src/terms/dnaMethylation.ts +12 -3
- package/src/terms/termCollection.ts +7 -1
- package/src/terms/tw.ts +1 -0
|
@@ -3,87 +3,71 @@ import {
|
|
|
3
3
|
require_lib
|
|
4
4
|
} from "./chunk-YNHC5SXO.js";
|
|
5
5
|
|
|
6
|
-
// dist/termdb.
|
|
6
|
+
// dist/termdb.descrstats.ts
|
|
7
7
|
var import_typia = __toESM(require_lib(), 1);
|
|
8
8
|
|
|
9
|
-
// src/routes/termdb.
|
|
10
|
-
var
|
|
9
|
+
// src/routes/termdb.descrstats.ts
|
|
10
|
+
var descrStatsPayload = {
|
|
11
11
|
request: {
|
|
12
|
-
typeId: "
|
|
12
|
+
typeId: "DescrStatsRequest"
|
|
13
13
|
},
|
|
14
14
|
response: {
|
|
15
|
-
typeId: "
|
|
16
|
-
}
|
|
17
|
-
|
|
15
|
+
typeId: "DescrStatsResponse"
|
|
16
|
+
},
|
|
17
|
+
examples: [
|
|
18
|
+
{
|
|
19
|
+
request: {
|
|
20
|
+
body: {
|
|
21
|
+
genome: "hg38-test",
|
|
22
|
+
dslabel: "TermdbTest",
|
|
23
|
+
embedder: "localhost",
|
|
24
|
+
tw: { term: { id: "hrtavg" }, q: { mode: "continuous" } },
|
|
25
|
+
filter: {
|
|
26
|
+
type: "tvslst",
|
|
27
|
+
in: true,
|
|
28
|
+
join: "",
|
|
29
|
+
lst: [
|
|
30
|
+
{
|
|
31
|
+
tag: "cohortFilter",
|
|
32
|
+
type: "tvs",
|
|
33
|
+
tvs: {
|
|
34
|
+
term: {
|
|
35
|
+
name: "Cohort",
|
|
36
|
+
type: "categorical",
|
|
37
|
+
values: { ABC: { label: "ABC" }, XYZ: { label: "XYZ" } },
|
|
38
|
+
id: "subcohort",
|
|
39
|
+
isleaf: false,
|
|
40
|
+
groupsetting: { disabled: true }
|
|
41
|
+
},
|
|
42
|
+
values: [{ key: "ABC", label: "ABC" }]
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
response: {
|
|
50
|
+
header: { status: 200 }
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
]
|
|
18
54
|
};
|
|
19
55
|
|
|
20
|
-
// dist/termdb.
|
|
21
|
-
var
|
|
22
|
-
const errors = [];
|
|
23
|
-
const __is = (input2) => {
|
|
24
|
-
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && (Array.isArray(input3.ids) && input3.ids.every((elem) => "string" === typeof elem));
|
|
25
|
-
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
26
|
-
};
|
|
27
|
-
if (false === __is(input)) {
|
|
28
|
-
const $report = import_typia.createValidate.report(errors);
|
|
29
|
-
((input2, _path, _exceptionable = true) => {
|
|
30
|
-
const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
|
|
31
|
-
path: _path2 + ".genome",
|
|
32
|
-
expected: "string",
|
|
33
|
-
value: input3.genome
|
|
34
|
-
}), "string" === typeof input3.dslabel || $report(_exceptionable2, {
|
|
35
|
-
path: _path2 + ".dslabel",
|
|
36
|
-
expected: "string",
|
|
37
|
-
value: input3.dslabel
|
|
38
|
-
}), "string" === typeof input3.embedder || $report(_exceptionable2, {
|
|
39
|
-
path: _path2 + ".embedder",
|
|
40
|
-
expected: "string",
|
|
41
|
-
value: input3.embedder
|
|
42
|
-
}), (Array.isArray(input3.ids) || $report(_exceptionable2, {
|
|
43
|
-
path: _path2 + ".ids",
|
|
44
|
-
expected: "Array<string>",
|
|
45
|
-
value: input3.ids
|
|
46
|
-
})) && input3.ids.map((elem, _index1) => "string" === typeof elem || $report(_exceptionable2, {
|
|
47
|
-
path: _path2 + ".ids[" + _index1 + "]",
|
|
48
|
-
expected: "string",
|
|
49
|
-
value: elem
|
|
50
|
-
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
51
|
-
path: _path2 + ".ids",
|
|
52
|
-
expected: "Array<string>",
|
|
53
|
-
value: input3.ids
|
|
54
|
-
})].every((flag) => flag);
|
|
55
|
-
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
56
|
-
path: _path + "",
|
|
57
|
-
expected: "TermsByIdsRequest",
|
|
58
|
-
value: input2
|
|
59
|
-
})) && $vo0(input2, _path + "", true) || $report(true, {
|
|
60
|
-
path: _path + "",
|
|
61
|
-
expected: "TermsByIdsRequest",
|
|
62
|
-
value: input2
|
|
63
|
-
});
|
|
64
|
-
})(input, "$input", true);
|
|
65
|
-
}
|
|
66
|
-
const success = 0 === errors.length;
|
|
67
|
-
return {
|
|
68
|
-
success,
|
|
69
|
-
errors,
|
|
70
|
-
data: success ? input : void 0
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
var validTermsByIdsResponse = (input) => {
|
|
56
|
+
// dist/termdb.descrstats.ts
|
|
57
|
+
var validDescrStatsRequest = (input) => {
|
|
74
58
|
const errors = [];
|
|
75
59
|
const __is = (input2) => {
|
|
76
60
|
const $join = import_typia.createValidate.join;
|
|
77
|
-
const $io0 = (input3) => "object" === typeof input3.
|
|
78
|
-
const $io1 = (input3) =>
|
|
61
|
+
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && ("object" === typeof input3.tw && null !== input3.tw && $iu7(input3.tw)) && (void 0 === input3.logScale || "boolean" === typeof input3.logScale) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io7(input3.filter)) && true;
|
|
62
|
+
const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io62(input3.q)) && "QualTWValues" === input3.type;
|
|
63
|
+
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
79
64
|
const value = input3[key];
|
|
80
65
|
if (void 0 === value)
|
|
81
66
|
return true;
|
|
82
67
|
if (RegExp(/(.*)/).test(key))
|
|
83
|
-
return
|
|
68
|
+
return true;
|
|
84
69
|
return true;
|
|
85
70
|
});
|
|
86
|
-
const $io2 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io3(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io62(input3.q)) && "QualTWValues" === input3.type;
|
|
87
71
|
const $io3 = (input3) => Object.keys(input3).every((key) => {
|
|
88
72
|
const value = input3[key];
|
|
89
73
|
if (void 0 === value)
|
|
@@ -133,7 +117,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
133
117
|
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && ("object" === typeof input3.proteomeDetails && null !== input3.proteomeDetails && ("string" === typeof input3.proteomeDetails.assay && "string" === typeof input3.proteomeDetails.cohort));
|
|
134
118
|
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins));
|
|
135
119
|
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(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 && $io14(input3.bins));
|
|
136
|
-
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins));
|
|
120
|
+
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("gene" === input3.genomicFeatureType || "promoter" === input3.genomicFeatureType || "region" === input3.genomicFeatureType || "enhancer" === input3.genomicFeatureType) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins));
|
|
137
121
|
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.kind || "gene" === input3.kind) && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
138
122
|
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellGeneExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io13(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.gene && "string" === typeof input3.sample && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io14(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
139
123
|
const $io33 = (input3) => "number" === typeof input3.value && (void 0 === input3.label || "string" === typeof input3.label) && (void 0 === input3.name || "string" === typeof input3.name);
|
|
@@ -164,7 +148,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
164
148
|
const $io49 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (void 0 === input3.groupsetting || "object" === typeof input3.groupsetting && null !== input3.groupsetting && $io44(input3.groupsetting)) && (void 0 === input3.childTerms || Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io40(elem)));
|
|
165
149
|
const $io50 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.value || "string" === typeof input3.value) && (void 0 === input3.dt || "number" === typeof input3.dt) && (void 0 === input3.mclasslst || Array.isArray(input3.mclasslst) && input3.mclasslst.every((elem) => "string" === typeof elem)) && (void 0 === input3.mclassExcludeLst || Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "string" === typeof elem)) && (void 0 === input3.origin || "string" === typeof input3.origin);
|
|
166
150
|
const $io51 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && ("object" === typeof input3.term && null !== input3.term && $iu13(input3.term)) && "number" === typeof input3.ratio;
|
|
167
|
-
const $io52 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io53(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io54(input3.propsByTermId)) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.valueTransform || "object" === typeof input3.valueTransform && null !== input3.valueTransform && false === Array.isArray(input3.valueTransform) && $io56(input3.valueTransform));
|
|
151
|
+
const $io52 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io53(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io54(input3.propsByTermId)) && (void 0 === input3.isCustom || "boolean" === typeof input3.isCustom) && "numeric" === input3.memberType && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem)) && (void 0 === input3.valueTransform || "object" === typeof input3.valueTransform && null !== input3.valueTransform && false === Array.isArray(input3.valueTransform) && $io56(input3.valueTransform));
|
|
168
152
|
const $io53 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion));
|
|
169
153
|
const $io54 = (input3) => Object.keys(input3).every((key) => {
|
|
170
154
|
const value = input3[key];
|
|
@@ -183,46 +167,46 @@ var validTermsByIdsResponse = (input) => {
|
|
|
183
167
|
return true;
|
|
184
168
|
});
|
|
185
169
|
const $io56 = (input3) => void 0 === input3.offset || "number" === typeof input3.offset;
|
|
186
|
-
const $io57 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io53(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io54(input3.propsByTermId)) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io58(elem)));
|
|
170
|
+
const $io57 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "termCollection" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.termIds || Array.isArray(input3.termIds) && input3.termIds.every((elem) => "string" === typeof elem)) && (Array.isArray(input3.termlst) && input3.termlst.every((elem) => "object" === typeof elem && null !== elem && $io53(elem))) && (void 0 === input3.newTvs || "boolean" === typeof input3.newTvs) && ("object" === typeof input3.propsByTermId && null !== input3.propsByTermId && false === Array.isArray(input3.propsByTermId) && $io54(input3.propsByTermId)) && (void 0 === input3.isCustom || "boolean" === typeof input3.isCustom) && "categorical" === input3.memberType && (Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io58(elem)));
|
|
187
171
|
const $io58 = (input3) => "string" === typeof input3.key && "boolean" === typeof input3.shown;
|
|
188
172
|
const $io59 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "snp" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && "string" === typeof input3.ref && (Array.isArray(input3.alt) && input3.alt.every((elem) => "string" === typeof elem)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io44(input3.groupsetting));
|
|
189
173
|
const $io60 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "singleCellCellType" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && ("object" === typeof input3.sample && null !== input3.sample && true) && "string" === typeof input3.plot && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io44(input3.groupsetting));
|
|
190
174
|
const $io62 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "values" === input3.type;
|
|
191
|
-
const $io63 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $
|
|
175
|
+
const $io63 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io64(input3.q)) && "QualTWPredefinedGS" === input3.type;
|
|
192
176
|
const $io64 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
|
|
193
|
-
const $io65 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $
|
|
177
|
+
const $io65 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io66(input3.q)) && "QualTWCustomGS" === input3.type;
|
|
194
178
|
const $io66 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io67(input3.customset));
|
|
195
179
|
const $io67 = (input3) => Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem));
|
|
196
|
-
const $io68 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $
|
|
197
|
-
const $io69 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $
|
|
198
|
-
const $io70 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $
|
|
180
|
+
const $io68 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "NumTWRegularBin" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io15(input3.q));
|
|
181
|
+
const $io69 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "NumTWCustomBin" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io20(input3.q));
|
|
182
|
+
const $io70 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "NumTWBinary" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io71(input3.q));
|
|
199
183
|
const $io71 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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) && "binary" === input3.mode && "custom-bin" === input3.type && (Array.isArray(input3.lst) && (input3.lst.length === 2 && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu5(input3.lst[0])) && ("object" === typeof input3.lst[1] && null !== input3.lst[1] && $iu6(input3.lst[1])))) && (void 0 === input3.cutoffType || "normal" === input3.cutoffType || "percentile" === input3.cutoffType) && (void 0 === input3.cutoffPercentile || "number" === typeof input3.cutoffPercentile);
|
|
200
|
-
const $io72 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $
|
|
184
|
+
const $io72 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "NumTWCont" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $io73(input3.q));
|
|
201
185
|
const $io73 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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) && (void 0 === input3.mode || "continuous" === input3.mode) && (void 0 === input3.convert2ZScore || "boolean" === typeof input3.convert2ZScore) && (null !== input3.type && void 0 === input3.type) && (void 0 === input3.scale || "number" === typeof input3.scale);
|
|
202
|
-
const $io74 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $
|
|
186
|
+
const $io74 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "NumTWSpline" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io75(input3.q));
|
|
203
187
|
const $io75 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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) && "spline" === input3.mode && (Array.isArray(input3.knots) && input3.knots.every((elem) => "object" === typeof elem && null !== elem && $io76(elem))) && (null !== input3.type && void 0 === input3.type);
|
|
204
188
|
const $io76 = (input3) => "number" === typeof input3.value;
|
|
205
|
-
const $io77 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $
|
|
189
|
+
const $io77 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "GvValuesTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu14(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io80(input3.q));
|
|
206
190
|
const $io78 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop) && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io44(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io40(elem)));
|
|
207
191
|
const $io79 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && (Array.isArray(input3.genes) && input3.genes.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io44(input3.groupsetting)) && (Array.isArray(input3.childTerms) && input3.childTerms.every((elem) => "object" === typeof elem && null !== elem && $io40(elem)));
|
|
208
192
|
const $io80 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "values" === input3.type;
|
|
209
|
-
const $io81 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $
|
|
193
|
+
const $io81 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "GvPredefinedGsTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu14(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io82(input3.q));
|
|
210
194
|
const $io82 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx && Array.isArray(input3.dtLst);
|
|
211
|
-
const $io83 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $
|
|
195
|
+
const $io83 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "GvCustomGsTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $iu14(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io84(input3.q));
|
|
212
196
|
const $io84 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io67(input3.customset)) && Array.isArray(input3.dtLst);
|
|
213
|
-
const $io85 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $
|
|
197
|
+
const $io85 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "ConditionTW" === input3.type && ("object" === typeof input3.term && null !== input3.term && $io36(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $iu15(input3.q));
|
|
214
198
|
const $io86 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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) && ("discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && "grade" === input3.valueFor && true === input3.bar_by_grade && ("age" === input3.timeScale || "time" === input3.timeScale) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && (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) && true;
|
|
215
199
|
const $io87 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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) && "discrete" === input3.mode && "children" === input3.valueFor && true === input3.bar_by_children && true;
|
|
216
|
-
const $io88 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $
|
|
200
|
+
const $io88 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "SnpsTW" === input3.type && ("object" === typeof input3.q && null !== input3.q && $io89(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io91(input3.term));
|
|
217
201
|
const $io89 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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) && "number" === typeof input3.AFcutoff && "number" === typeof input3.alleleType && "string" === typeof input3.cacheid && true && "number" === typeof input3.geneticModel && true && (void 0 === input3.missingGenotype || "number" === typeof input3.missingGenotype) && "number" === typeof input3.numOfSampleWithAnyValidGT && ("object" === typeof input3.restrictAncestry && null !== input3.restrictAncestry && $io90(input3.restrictAncestry)) && true && true && ("object" === typeof input3.variant_filter && null !== input3.variant_filter && $io7(input3.variant_filter)) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
218
202
|
const $io90 = (input3) => "string" === typeof input3.name && ("object" === typeof input3.tvs && null !== input3.tvs && $iu9(input3.tvs));
|
|
219
203
|
const $io91 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io12(input3.valueConversion)) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io92(elem)));
|
|
220
204
|
const $io92 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io93(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io94(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
|
|
221
205
|
const $io93 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
|
|
222
206
|
const $io94 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
|
|
223
|
-
const $io95 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $
|
|
207
|
+
const $io95 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "TermCollectionTWCont" === input3.type && ("object" === typeof input3.term && null !== input3.term && $io52(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io96(input3.q));
|
|
224
208
|
const $io96 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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) && "continuous" === input3.mode && "values" === input3.type && (Array.isArray(input3.lst) && input3.lst.every((elem) => "string" === typeof elem)) && (void 0 === input3.numerators || Array.isArray(input3.numerators) && input3.numerators.every((elem) => "string" === typeof elem));
|
|
225
|
-
const $io97 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $
|
|
209
|
+
const $io97 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io3(input3.values)) && "TermCollectionTWQual" === input3.type && ("object" === typeof input3.term && null !== input3.term && $io57(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $io98(input3.q));
|
|
226
210
|
const $io98 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io16(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) && "discrete" === input3.mode && "values" === input3.type && (Array.isArray(input3.lst) && input3.lst.every((elem) => "string" === typeof elem)) && (void 0 === input3.categoryKeys || Array.isArray(input3.categoryKeys) && input3.categoryKeys.every((elem) => "object" === typeof elem && null !== elem && $io58(elem)));
|
|
227
211
|
const $iu0 = (input3) => (() => {
|
|
228
212
|
if ("tvslst" === input3.type)
|
|
@@ -305,7 +289,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
305
289
|
if ("QualTWPredefinedGS" === input3.type)
|
|
306
290
|
return $io63(input3);
|
|
307
291
|
if ("QualTWValues" === input3.type)
|
|
308
|
-
return $
|
|
292
|
+
return $io1(input3);
|
|
309
293
|
return false;
|
|
310
294
|
})();
|
|
311
295
|
const $iu8 = (input3) => (() => {
|
|
@@ -402,32 +386,40 @@ var validTermsByIdsResponse = (input) => {
|
|
|
402
386
|
const $report = import_typia.createValidate.report(errors);
|
|
403
387
|
((input2, _path, _exceptionable = true) => {
|
|
404
388
|
const $join = import_typia.createValidate.join;
|
|
405
|
-
const $vo0 = (input3, _path2, _exceptionable2 = true) => [
|
|
406
|
-
path: _path2 + ".
|
|
407
|
-
expected: "
|
|
408
|
-
value: input3.
|
|
409
|
-
})
|
|
410
|
-
path: _path2 + ".
|
|
411
|
-
expected: "
|
|
412
|
-
value: input3.
|
|
413
|
-
})
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
}).
|
|
430
|
-
|
|
389
|
+
const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
|
|
390
|
+
path: _path2 + ".genome",
|
|
391
|
+
expected: "string",
|
|
392
|
+
value: input3.genome
|
|
393
|
+
}), "string" === typeof input3.dslabel || $report(_exceptionable2, {
|
|
394
|
+
path: _path2 + ".dslabel",
|
|
395
|
+
expected: "string",
|
|
396
|
+
value: input3.dslabel
|
|
397
|
+
}), "string" === typeof input3.embedder || $report(_exceptionable2, {
|
|
398
|
+
path: _path2 + ".embedder",
|
|
399
|
+
expected: "string",
|
|
400
|
+
value: input3.embedder
|
|
401
|
+
}), ("object" === typeof input3.tw && null !== input3.tw || $report(_exceptionable2, {
|
|
402
|
+
path: _path2 + ".tw",
|
|
403
|
+
expected: "(ConditionTW | GvCustomGsTW | GvPredefinedGsTW | GvValuesTW | NumTWBinary | NumTWCont | NumTWCustomBin | NumTWRegularBin | NumTWSpline | QualTWCustomGS | QualTWPredefinedGS | QualTWValues | SnpsTW | TermCollectionTWCont | TermCollectionTWQual)",
|
|
404
|
+
value: input3.tw
|
|
405
|
+
})) && $vu7(input3.tw, _path2 + ".tw", _exceptionable2) || $report(_exceptionable2, {
|
|
406
|
+
path: _path2 + ".tw",
|
|
407
|
+
expected: "(ConditionTW | GvCustomGsTW | GvPredefinedGsTW | GvValuesTW | NumTWBinary | NumTWCont | NumTWCustomBin | NumTWRegularBin | NumTWSpline | QualTWCustomGS | QualTWPredefinedGS | QualTWValues | SnpsTW | TermCollectionTWCont | TermCollectionTWQual)",
|
|
408
|
+
value: input3.tw
|
|
409
|
+
}), void 0 === input3.logScale || "boolean" === typeof input3.logScale || $report(_exceptionable2, {
|
|
410
|
+
path: _path2 + ".logScale",
|
|
411
|
+
expected: "(boolean | undefined)",
|
|
412
|
+
value: input3.logScale
|
|
413
|
+
}), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
|
|
414
|
+
path: _path2 + ".filter",
|
|
415
|
+
expected: "(Filter | undefined)",
|
|
416
|
+
value: input3.filter
|
|
417
|
+
})) && $vo7(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
|
|
418
|
+
path: _path2 + ".filter",
|
|
419
|
+
expected: "(Filter | undefined)",
|
|
420
|
+
value: input3.filter
|
|
421
|
+
}), true].every((flag) => flag);
|
|
422
|
+
const $vo1 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
431
423
|
path: _path2 + ".id",
|
|
432
424
|
expected: "(string | undefined)",
|
|
433
425
|
value: input3.id
|
|
@@ -441,17 +433,25 @@ var validTermsByIdsResponse = (input) => {
|
|
|
441
433
|
value: input3.isAtomic
|
|
442
434
|
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
443
435
|
path: _path2 + ".settings",
|
|
444
|
-
expected: "(__type
|
|
436
|
+
expected: "(__type | undefined)",
|
|
445
437
|
value: input3.settings
|
|
446
|
-
})) && $
|
|
438
|
+
})) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
447
439
|
path: _path2 + ".settings",
|
|
448
|
-
expected: "(__type
|
|
440
|
+
expected: "(__type | undefined)",
|
|
449
441
|
value: input3.settings
|
|
450
442
|
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
451
443
|
path: _path2 + ".minNumSamples",
|
|
452
444
|
expected: "(number | undefined)",
|
|
453
445
|
value: input3.minNumSamples
|
|
454
|
-
}), true, ("object" === typeof input3.
|
|
446
|
+
}), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
447
|
+
path: _path2 + ".values",
|
|
448
|
+
expected: "(__type.o1 | undefined)",
|
|
449
|
+
value: input3.values
|
|
450
|
+
})) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
451
|
+
path: _path2 + ".values",
|
|
452
|
+
expected: "(__type.o1 | undefined)",
|
|
453
|
+
value: input3.values
|
|
454
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
455
455
|
path: _path2 + ".term",
|
|
456
456
|
expected: "(CategoricalTerm | SingleCellCellTypeTerm | SnpTerm)",
|
|
457
457
|
value: input3.term
|
|
@@ -472,6 +472,14 @@ var validTermsByIdsResponse = (input) => {
|
|
|
472
472
|
expected: '"QualTWValues"',
|
|
473
473
|
value: input3.type
|
|
474
474
|
})].every((flag) => flag);
|
|
475
|
+
const $vo2 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
476
|
+
const value = input3[key];
|
|
477
|
+
if (void 0 === value)
|
|
478
|
+
return true;
|
|
479
|
+
if (RegExp(/(.*)/).test(key))
|
|
480
|
+
return true;
|
|
481
|
+
return true;
|
|
482
|
+
}).every((flag) => flag)].every((flag) => flag);
|
|
475
483
|
const $vo3 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
476
484
|
const value = input3[key];
|
|
477
485
|
if (void 0 === value)
|
|
@@ -2072,6 +2080,10 @@ var validTermsByIdsResponse = (input) => {
|
|
|
2072
2080
|
path: _path2 + ".stop",
|
|
2073
2081
|
expected: "number",
|
|
2074
2082
|
value: input3.stop
|
|
2083
|
+
}), "gene" === input3.genomicFeatureType || "promoter" === input3.genomicFeatureType || "region" === input3.genomicFeatureType || "enhancer" === input3.genomicFeatureType || $report(_exceptionable2, {
|
|
2084
|
+
path: _path2 + ".genomicFeatureType",
|
|
2085
|
+
expected: '("enhancer" | "gene" | "promoter" | "region")',
|
|
2086
|
+
value: input3.genomicFeatureType
|
|
2075
2087
|
}), void 0 === input3.bins || ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
|
|
2076
2088
|
path: _path2 + ".bins",
|
|
2077
2089
|
expected: "(PresetNumericBins | undefined)",
|
|
@@ -3355,6 +3367,10 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3355
3367
|
path: _path2 + ".propsByTermId",
|
|
3356
3368
|
expected: "__type.o9",
|
|
3357
3369
|
value: input3.propsByTermId
|
|
3370
|
+
}), void 0 === input3.isCustom || "boolean" === typeof input3.isCustom || $report(_exceptionable2, {
|
|
3371
|
+
path: _path2 + ".isCustom",
|
|
3372
|
+
expected: "(boolean | undefined)",
|
|
3373
|
+
value: input3.isCustom
|
|
3358
3374
|
}), "numeric" === input3.memberType || $report(_exceptionable2, {
|
|
3359
3375
|
path: _path2 + ".memberType",
|
|
3360
3376
|
expected: '"numeric"',
|
|
@@ -3578,6 +3594,10 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3578
3594
|
path: _path2 + ".propsByTermId",
|
|
3579
3595
|
expected: "__type.o9",
|
|
3580
3596
|
value: input3.propsByTermId
|
|
3597
|
+
}), void 0 === input3.isCustom || "boolean" === typeof input3.isCustom || $report(_exceptionable2, {
|
|
3598
|
+
path: _path2 + ".isCustom",
|
|
3599
|
+
expected: "(boolean | undefined)",
|
|
3600
|
+
value: input3.isCustom
|
|
3581
3601
|
}), "categorical" === input3.memberType || $report(_exceptionable2, {
|
|
3582
3602
|
path: _path2 + ".memberType",
|
|
3583
3603
|
expected: '"categorical"',
|
|
@@ -3838,17 +3858,25 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3838
3858
|
value: input3.isAtomic
|
|
3839
3859
|
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
3840
3860
|
path: _path2 + ".settings",
|
|
3841
|
-
expected: "(__type
|
|
3861
|
+
expected: "(__type | undefined)",
|
|
3842
3862
|
value: input3.settings
|
|
3843
|
-
})) && $
|
|
3863
|
+
})) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
3844
3864
|
path: _path2 + ".settings",
|
|
3845
|
-
expected: "(__type
|
|
3865
|
+
expected: "(__type | undefined)",
|
|
3846
3866
|
value: input3.settings
|
|
3847
3867
|
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
3848
3868
|
path: _path2 + ".minNumSamples",
|
|
3849
3869
|
expected: "(number | undefined)",
|
|
3850
3870
|
value: input3.minNumSamples
|
|
3851
|
-
}), true, ("object" === typeof input3.
|
|
3871
|
+
}), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3872
|
+
path: _path2 + ".values",
|
|
3873
|
+
expected: "(__type.o1 | undefined)",
|
|
3874
|
+
value: input3.values
|
|
3875
|
+
})) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3876
|
+
path: _path2 + ".values",
|
|
3877
|
+
expected: "(__type.o1 | undefined)",
|
|
3878
|
+
value: input3.values
|
|
3879
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
3852
3880
|
path: _path2 + ".term",
|
|
3853
3881
|
expected: "(CategoricalTerm | SingleCellCellTypeTerm | SnpTerm)",
|
|
3854
3882
|
value: input3.term
|
|
@@ -3916,17 +3944,25 @@ var validTermsByIdsResponse = (input) => {
|
|
|
3916
3944
|
value: input3.isAtomic
|
|
3917
3945
|
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
3918
3946
|
path: _path2 + ".settings",
|
|
3919
|
-
expected: "(__type
|
|
3947
|
+
expected: "(__type | undefined)",
|
|
3920
3948
|
value: input3.settings
|
|
3921
|
-
})) && $
|
|
3949
|
+
})) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
3922
3950
|
path: _path2 + ".settings",
|
|
3923
|
-
expected: "(__type
|
|
3951
|
+
expected: "(__type | undefined)",
|
|
3924
3952
|
value: input3.settings
|
|
3925
3953
|
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
3926
3954
|
path: _path2 + ".minNumSamples",
|
|
3927
3955
|
expected: "(number | undefined)",
|
|
3928
3956
|
value: input3.minNumSamples
|
|
3929
|
-
}), true, ("object" === typeof input3.
|
|
3957
|
+
}), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
3958
|
+
path: _path2 + ".values",
|
|
3959
|
+
expected: "(__type.o1 | undefined)",
|
|
3960
|
+
value: input3.values
|
|
3961
|
+
})) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
3962
|
+
path: _path2 + ".values",
|
|
3963
|
+
expected: "(__type.o1 | undefined)",
|
|
3964
|
+
value: input3.values
|
|
3965
|
+
}), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
|
|
3930
3966
|
path: _path2 + ".term",
|
|
3931
3967
|
expected: "(CategoricalTerm | SingleCellCellTypeTerm | SnpTerm)",
|
|
3932
3968
|
value: input3.term
|
|
@@ -4015,17 +4051,25 @@ var validTermsByIdsResponse = (input) => {
|
|
|
4015
4051
|
value: input3.isAtomic
|
|
4016
4052
|
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
4017
4053
|
path: _path2 + ".settings",
|
|
4018
|
-
expected: "(__type
|
|
4054
|
+
expected: "(__type | undefined)",
|
|
4019
4055
|
value: input3.settings
|
|
4020
|
-
})) && $
|
|
4056
|
+
})) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
4021
4057
|
path: _path2 + ".settings",
|
|
4022
|
-
expected: "(__type
|
|
4058
|
+
expected: "(__type | undefined)",
|
|
4023
4059
|
value: input3.settings
|
|
4024
4060
|
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
4025
4061
|
path: _path2 + ".minNumSamples",
|
|
4026
4062
|
expected: "(number | undefined)",
|
|
4027
4063
|
value: input3.minNumSamples
|
|
4028
|
-
}), true, "
|
|
4064
|
+
}), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
4065
|
+
path: _path2 + ".values",
|
|
4066
|
+
expected: "(__type.o1 | undefined)",
|
|
4067
|
+
value: input3.values
|
|
4068
|
+
})) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
4069
|
+
path: _path2 + ".values",
|
|
4070
|
+
expected: "(__type.o1 | undefined)",
|
|
4071
|
+
value: input3.values
|
|
4072
|
+
}), "NumTWRegularBin" === input3.type || $report(_exceptionable2, {
|
|
4029
4073
|
path: _path2 + ".type",
|
|
4030
4074
|
expected: '"NumTWRegularBin"',
|
|
4031
4075
|
value: input3.type
|
|
@@ -4060,17 +4104,25 @@ var validTermsByIdsResponse = (input) => {
|
|
|
4060
4104
|
value: input3.isAtomic
|
|
4061
4105
|
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
4062
4106
|
path: _path2 + ".settings",
|
|
4063
|
-
expected: "(__type
|
|
4107
|
+
expected: "(__type | undefined)",
|
|
4064
4108
|
value: input3.settings
|
|
4065
|
-
})) && $
|
|
4109
|
+
})) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
4066
4110
|
path: _path2 + ".settings",
|
|
4067
|
-
expected: "(__type
|
|
4111
|
+
expected: "(__type | undefined)",
|
|
4068
4112
|
value: input3.settings
|
|
4069
4113
|
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
4070
4114
|
path: _path2 + ".minNumSamples",
|
|
4071
4115
|
expected: "(number | undefined)",
|
|
4072
4116
|
value: input3.minNumSamples
|
|
4073
|
-
}), true, "
|
|
4117
|
+
}), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
4118
|
+
path: _path2 + ".values",
|
|
4119
|
+
expected: "(__type.o1 | undefined)",
|
|
4120
|
+
value: input3.values
|
|
4121
|
+
})) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
4122
|
+
path: _path2 + ".values",
|
|
4123
|
+
expected: "(__type.o1 | undefined)",
|
|
4124
|
+
value: input3.values
|
|
4125
|
+
}), "NumTWCustomBin" === input3.type || $report(_exceptionable2, {
|
|
4074
4126
|
path: _path2 + ".type",
|
|
4075
4127
|
expected: '"NumTWCustomBin"',
|
|
4076
4128
|
value: input3.type
|
|
@@ -4105,17 +4157,25 @@ var validTermsByIdsResponse = (input) => {
|
|
|
4105
4157
|
value: input3.isAtomic
|
|
4106
4158
|
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
4107
4159
|
path: _path2 + ".settings",
|
|
4108
|
-
expected: "(__type
|
|
4160
|
+
expected: "(__type | undefined)",
|
|
4109
4161
|
value: input3.settings
|
|
4110
|
-
})) && $
|
|
4162
|
+
})) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
4111
4163
|
path: _path2 + ".settings",
|
|
4112
|
-
expected: "(__type
|
|
4164
|
+
expected: "(__type | undefined)",
|
|
4113
4165
|
value: input3.settings
|
|
4114
4166
|
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
4115
4167
|
path: _path2 + ".minNumSamples",
|
|
4116
4168
|
expected: "(number | undefined)",
|
|
4117
4169
|
value: input3.minNumSamples
|
|
4118
|
-
}), true, "
|
|
4170
|
+
}), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
4171
|
+
path: _path2 + ".values",
|
|
4172
|
+
expected: "(__type.o1 | undefined)",
|
|
4173
|
+
value: input3.values
|
|
4174
|
+
})) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
4175
|
+
path: _path2 + ".values",
|
|
4176
|
+
expected: "(__type.o1 | undefined)",
|
|
4177
|
+
value: input3.values
|
|
4178
|
+
}), "NumTWBinary" === input3.type || $report(_exceptionable2, {
|
|
4119
4179
|
path: _path2 + ".type",
|
|
4120
4180
|
expected: '"NumTWBinary"',
|
|
4121
4181
|
value: input3.type
|
|
@@ -4218,17 +4278,25 @@ var validTermsByIdsResponse = (input) => {
|
|
|
4218
4278
|
value: input3.isAtomic
|
|
4219
4279
|
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
4220
4280
|
path: _path2 + ".settings",
|
|
4221
|
-
expected: "(__type
|
|
4281
|
+
expected: "(__type | undefined)",
|
|
4222
4282
|
value: input3.settings
|
|
4223
|
-
})) && $
|
|
4283
|
+
})) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
4224
4284
|
path: _path2 + ".settings",
|
|
4225
|
-
expected: "(__type
|
|
4285
|
+
expected: "(__type | undefined)",
|
|
4226
4286
|
value: input3.settings
|
|
4227
4287
|
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
4228
4288
|
path: _path2 + ".minNumSamples",
|
|
4229
4289
|
expected: "(number | undefined)",
|
|
4230
4290
|
value: input3.minNumSamples
|
|
4231
|
-
}), true, "
|
|
4291
|
+
}), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
4292
|
+
path: _path2 + ".values",
|
|
4293
|
+
expected: "(__type.o1 | undefined)",
|
|
4294
|
+
value: input3.values
|
|
4295
|
+
})) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
4296
|
+
path: _path2 + ".values",
|
|
4297
|
+
expected: "(__type.o1 | undefined)",
|
|
4298
|
+
value: input3.values
|
|
4299
|
+
}), "NumTWCont" === input3.type || $report(_exceptionable2, {
|
|
4232
4300
|
path: _path2 + ".type",
|
|
4233
4301
|
expected: '"NumTWCont"',
|
|
4234
4302
|
value: input3.type
|
|
@@ -4304,17 +4372,25 @@ var validTermsByIdsResponse = (input) => {
|
|
|
4304
4372
|
value: input3.isAtomic
|
|
4305
4373
|
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
4306
4374
|
path: _path2 + ".settings",
|
|
4307
|
-
expected: "(__type
|
|
4375
|
+
expected: "(__type | undefined)",
|
|
4308
4376
|
value: input3.settings
|
|
4309
|
-
})) && $
|
|
4377
|
+
})) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
4310
4378
|
path: _path2 + ".settings",
|
|
4311
|
-
expected: "(__type
|
|
4379
|
+
expected: "(__type | undefined)",
|
|
4312
4380
|
value: input3.settings
|
|
4313
4381
|
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
4314
4382
|
path: _path2 + ".minNumSamples",
|
|
4315
4383
|
expected: "(number | undefined)",
|
|
4316
4384
|
value: input3.minNumSamples
|
|
4317
|
-
}), true, "
|
|
4385
|
+
}), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
4386
|
+
path: _path2 + ".values",
|
|
4387
|
+
expected: "(__type.o1 | undefined)",
|
|
4388
|
+
value: input3.values
|
|
4389
|
+
})) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
4390
|
+
path: _path2 + ".values",
|
|
4391
|
+
expected: "(__type.o1 | undefined)",
|
|
4392
|
+
value: input3.values
|
|
4393
|
+
}), "NumTWSpline" === input3.type || $report(_exceptionable2, {
|
|
4318
4394
|
path: _path2 + ".type",
|
|
4319
4395
|
expected: '"NumTWSpline"',
|
|
4320
4396
|
value: input3.type
|
|
@@ -4403,17 +4479,25 @@ var validTermsByIdsResponse = (input) => {
|
|
|
4403
4479
|
value: input3.isAtomic
|
|
4404
4480
|
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
4405
4481
|
path: _path2 + ".settings",
|
|
4406
|
-
expected: "(__type
|
|
4482
|
+
expected: "(__type | undefined)",
|
|
4407
4483
|
value: input3.settings
|
|
4408
|
-
})) && $
|
|
4484
|
+
})) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
4409
4485
|
path: _path2 + ".settings",
|
|
4410
|
-
expected: "(__type
|
|
4486
|
+
expected: "(__type | undefined)",
|
|
4411
4487
|
value: input3.settings
|
|
4412
4488
|
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
4413
4489
|
path: _path2 + ".minNumSamples",
|
|
4414
4490
|
expected: "(number | undefined)",
|
|
4415
4491
|
value: input3.minNumSamples
|
|
4416
|
-
}), true, "
|
|
4492
|
+
}), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
4493
|
+
path: _path2 + ".values",
|
|
4494
|
+
expected: "(__type.o1 | undefined)",
|
|
4495
|
+
value: input3.values
|
|
4496
|
+
})) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
4497
|
+
path: _path2 + ".values",
|
|
4498
|
+
expected: "(__type.o1 | undefined)",
|
|
4499
|
+
value: input3.values
|
|
4500
|
+
}), "GvValuesTW" === input3.type || $report(_exceptionable2, {
|
|
4417
4501
|
path: _path2 + ".type",
|
|
4418
4502
|
expected: '"GvValuesTW"',
|
|
4419
4503
|
value: input3.type
|
|
@@ -4735,17 +4819,25 @@ var validTermsByIdsResponse = (input) => {
|
|
|
4735
4819
|
value: input3.isAtomic
|
|
4736
4820
|
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
4737
4821
|
path: _path2 + ".settings",
|
|
4738
|
-
expected: "(__type
|
|
4822
|
+
expected: "(__type | undefined)",
|
|
4739
4823
|
value: input3.settings
|
|
4740
|
-
})) && $
|
|
4824
|
+
})) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
4741
4825
|
path: _path2 + ".settings",
|
|
4742
|
-
expected: "(__type
|
|
4826
|
+
expected: "(__type | undefined)",
|
|
4743
4827
|
value: input3.settings
|
|
4744
4828
|
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
4745
4829
|
path: _path2 + ".minNumSamples",
|
|
4746
4830
|
expected: "(number | undefined)",
|
|
4747
4831
|
value: input3.minNumSamples
|
|
4748
|
-
}), true, "
|
|
4832
|
+
}), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
4833
|
+
path: _path2 + ".values",
|
|
4834
|
+
expected: "(__type.o1 | undefined)",
|
|
4835
|
+
value: input3.values
|
|
4836
|
+
})) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
4837
|
+
path: _path2 + ".values",
|
|
4838
|
+
expected: "(__type.o1 | undefined)",
|
|
4839
|
+
value: input3.values
|
|
4840
|
+
}), "GvPredefinedGsTW" === input3.type || $report(_exceptionable2, {
|
|
4749
4841
|
path: _path2 + ".type",
|
|
4750
4842
|
expected: '"GvPredefinedGsTW"',
|
|
4751
4843
|
value: input3.type
|
|
@@ -4829,17 +4921,25 @@ var validTermsByIdsResponse = (input) => {
|
|
|
4829
4921
|
value: input3.isAtomic
|
|
4830
4922
|
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
4831
4923
|
path: _path2 + ".settings",
|
|
4832
|
-
expected: "(__type
|
|
4924
|
+
expected: "(__type | undefined)",
|
|
4833
4925
|
value: input3.settings
|
|
4834
|
-
})) && $
|
|
4926
|
+
})) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
4835
4927
|
path: _path2 + ".settings",
|
|
4836
|
-
expected: "(__type
|
|
4928
|
+
expected: "(__type | undefined)",
|
|
4837
4929
|
value: input3.settings
|
|
4838
4930
|
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
4839
4931
|
path: _path2 + ".minNumSamples",
|
|
4840
4932
|
expected: "(number | undefined)",
|
|
4841
4933
|
value: input3.minNumSamples
|
|
4842
|
-
}), true, "
|
|
4934
|
+
}), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
4935
|
+
path: _path2 + ".values",
|
|
4936
|
+
expected: "(__type.o1 | undefined)",
|
|
4937
|
+
value: input3.values
|
|
4938
|
+
})) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
4939
|
+
path: _path2 + ".values",
|
|
4940
|
+
expected: "(__type.o1 | undefined)",
|
|
4941
|
+
value: input3.values
|
|
4942
|
+
}), "GvCustomGsTW" === input3.type || $report(_exceptionable2, {
|
|
4843
4943
|
path: _path2 + ".type",
|
|
4844
4944
|
expected: '"GvCustomGsTW"',
|
|
4845
4945
|
value: input3.type
|
|
@@ -4927,17 +5027,25 @@ var validTermsByIdsResponse = (input) => {
|
|
|
4927
5027
|
value: input3.isAtomic
|
|
4928
5028
|
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
4929
5029
|
path: _path2 + ".settings",
|
|
4930
|
-
expected: "(__type
|
|
5030
|
+
expected: "(__type | undefined)",
|
|
4931
5031
|
value: input3.settings
|
|
4932
|
-
})) && $
|
|
5032
|
+
})) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
4933
5033
|
path: _path2 + ".settings",
|
|
4934
|
-
expected: "(__type
|
|
5034
|
+
expected: "(__type | undefined)",
|
|
4935
5035
|
value: input3.settings
|
|
4936
5036
|
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
4937
5037
|
path: _path2 + ".minNumSamples",
|
|
4938
5038
|
expected: "(number | undefined)",
|
|
4939
5039
|
value: input3.minNumSamples
|
|
4940
|
-
}), true, "
|
|
5040
|
+
}), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
5041
|
+
path: _path2 + ".values",
|
|
5042
|
+
expected: "(__type.o1 | undefined)",
|
|
5043
|
+
value: input3.values
|
|
5044
|
+
})) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
5045
|
+
path: _path2 + ".values",
|
|
5046
|
+
expected: "(__type.o1 | undefined)",
|
|
5047
|
+
value: input3.values
|
|
5048
|
+
}), "ConditionTW" === input3.type || $report(_exceptionable2, {
|
|
4941
5049
|
path: _path2 + ".type",
|
|
4942
5050
|
expected: '"ConditionTW"',
|
|
4943
5051
|
value: input3.type
|
|
@@ -5066,17 +5174,25 @@ var validTermsByIdsResponse = (input) => {
|
|
|
5066
5174
|
value: input3.isAtomic
|
|
5067
5175
|
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
5068
5176
|
path: _path2 + ".settings",
|
|
5069
|
-
expected: "(__type
|
|
5177
|
+
expected: "(__type | undefined)",
|
|
5070
5178
|
value: input3.settings
|
|
5071
|
-
})) && $
|
|
5179
|
+
})) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
5072
5180
|
path: _path2 + ".settings",
|
|
5073
|
-
expected: "(__type
|
|
5181
|
+
expected: "(__type | undefined)",
|
|
5074
5182
|
value: input3.settings
|
|
5075
5183
|
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
5076
5184
|
path: _path2 + ".minNumSamples",
|
|
5077
5185
|
expected: "(number | undefined)",
|
|
5078
5186
|
value: input3.minNumSamples
|
|
5079
|
-
}), true, "
|
|
5187
|
+
}), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
5188
|
+
path: _path2 + ".values",
|
|
5189
|
+
expected: "(__type.o1 | undefined)",
|
|
5190
|
+
value: input3.values
|
|
5191
|
+
})) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
5192
|
+
path: _path2 + ".values",
|
|
5193
|
+
expected: "(__type.o1 | undefined)",
|
|
5194
|
+
value: input3.values
|
|
5195
|
+
}), "SnpsTW" === input3.type || $report(_exceptionable2, {
|
|
5080
5196
|
path: _path2 + ".type",
|
|
5081
5197
|
expected: '"SnpsTW"',
|
|
5082
5198
|
value: input3.type
|
|
@@ -5369,17 +5485,25 @@ var validTermsByIdsResponse = (input) => {
|
|
|
5369
5485
|
value: input3.isAtomic
|
|
5370
5486
|
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
5371
5487
|
path: _path2 + ".settings",
|
|
5372
|
-
expected: "(__type
|
|
5488
|
+
expected: "(__type | undefined)",
|
|
5373
5489
|
value: input3.settings
|
|
5374
|
-
})) && $
|
|
5490
|
+
})) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
5375
5491
|
path: _path2 + ".settings",
|
|
5376
|
-
expected: "(__type
|
|
5492
|
+
expected: "(__type | undefined)",
|
|
5377
5493
|
value: input3.settings
|
|
5378
5494
|
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
5379
5495
|
path: _path2 + ".minNumSamples",
|
|
5380
5496
|
expected: "(number | undefined)",
|
|
5381
5497
|
value: input3.minNumSamples
|
|
5382
|
-
}), true, "
|
|
5498
|
+
}), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
5499
|
+
path: _path2 + ".values",
|
|
5500
|
+
expected: "(__type.o1 | undefined)",
|
|
5501
|
+
value: input3.values
|
|
5502
|
+
})) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
5503
|
+
path: _path2 + ".values",
|
|
5504
|
+
expected: "(__type.o1 | undefined)",
|
|
5505
|
+
value: input3.values
|
|
5506
|
+
}), "TermCollectionTWCont" === input3.type || $report(_exceptionable2, {
|
|
5383
5507
|
path: _path2 + ".type",
|
|
5384
5508
|
expected: '"TermCollectionTWCont"',
|
|
5385
5509
|
value: input3.type
|
|
@@ -5467,17 +5591,25 @@ var validTermsByIdsResponse = (input) => {
|
|
|
5467
5591
|
value: input3.isAtomic
|
|
5468
5592
|
}), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
|
|
5469
5593
|
path: _path2 + ".settings",
|
|
5470
|
-
expected: "(__type
|
|
5594
|
+
expected: "(__type | undefined)",
|
|
5471
5595
|
value: input3.settings
|
|
5472
|
-
})) && $
|
|
5596
|
+
})) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
|
|
5473
5597
|
path: _path2 + ".settings",
|
|
5474
|
-
expected: "(__type
|
|
5598
|
+
expected: "(__type | undefined)",
|
|
5475
5599
|
value: input3.settings
|
|
5476
5600
|
}), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
|
|
5477
5601
|
path: _path2 + ".minNumSamples",
|
|
5478
5602
|
expected: "(number | undefined)",
|
|
5479
5603
|
value: input3.minNumSamples
|
|
5480
|
-
}), true, "
|
|
5604
|
+
}), true, void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
|
|
5605
|
+
path: _path2 + ".values",
|
|
5606
|
+
expected: "(__type.o1 | undefined)",
|
|
5607
|
+
value: input3.values
|
|
5608
|
+
})) && $vo3(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
|
|
5609
|
+
path: _path2 + ".values",
|
|
5610
|
+
expected: "(__type.o1 | undefined)",
|
|
5611
|
+
value: input3.values
|
|
5612
|
+
}), "TermCollectionTWQual" === input3.type || $report(_exceptionable2, {
|
|
5481
5613
|
path: _path2 + ".type",
|
|
5482
5614
|
expected: '"TermCollectionTWQual"',
|
|
5483
5615
|
value: input3.type
|
|
@@ -5656,7 +5788,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
5656
5788
|
if ("QualTWPredefinedGS" === input3.type)
|
|
5657
5789
|
return $vo63(input3, _path2, _exceptionable2);
|
|
5658
5790
|
if ("QualTWValues" === input3.type)
|
|
5659
|
-
return $
|
|
5791
|
+
return $vo1(input3, _path2, _exceptionable2);
|
|
5660
5792
|
return $report(_exceptionable2, {
|
|
5661
5793
|
path: _path2,
|
|
5662
5794
|
expected: "(TermCollectionTWQual | TermCollectionTWCont | SnpsTW | ConditionTW | GvCustomGsTW | GvPredefinedGsTW | GvValuesTW | NumTWSpline | NumTWCont | NumTWBinary | NumTWCustomBin | NumTWRegularBin | QualTWCustomGS | QualTWPredefinedGS | QualTWValues)",
|
|
@@ -5755,11 +5887,76 @@ var validTermsByIdsResponse = (input) => {
|
|
|
5755
5887
|
})();
|
|
5756
5888
|
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
5757
5889
|
path: _path + "",
|
|
5758
|
-
expected: "
|
|
5890
|
+
expected: "DescrStatsRequest",
|
|
5891
|
+
value: input2
|
|
5892
|
+
})) && $vo0(input2, _path + "", true) || $report(true, {
|
|
5893
|
+
path: _path + "",
|
|
5894
|
+
expected: "DescrStatsRequest",
|
|
5895
|
+
value: input2
|
|
5896
|
+
});
|
|
5897
|
+
})(input, "$input", true);
|
|
5898
|
+
}
|
|
5899
|
+
const success = 0 === errors.length;
|
|
5900
|
+
return {
|
|
5901
|
+
success,
|
|
5902
|
+
errors,
|
|
5903
|
+
data: success ? input : void 0
|
|
5904
|
+
};
|
|
5905
|
+
};
|
|
5906
|
+
var validDescrStatsResponse = (input) => {
|
|
5907
|
+
const errors = [];
|
|
5908
|
+
const __is = (input2) => {
|
|
5909
|
+
const $join = import_typia.createValidate.join;
|
|
5910
|
+
const $io0 = (input3) => Object.keys(input3).every((key) => {
|
|
5911
|
+
const value = input3[key];
|
|
5912
|
+
if (void 0 === value)
|
|
5913
|
+
return true;
|
|
5914
|
+
if (RegExp(/(.*)/).test(key))
|
|
5915
|
+
return "object" === typeof value && null !== value && ("string" === typeof value.key && "string" === typeof value.label && "number" === typeof value.value);
|
|
5916
|
+
return true;
|
|
5917
|
+
});
|
|
5918
|
+
return "object" === typeof input2 && null !== input2 && false === Array.isArray(input2) && $io0(input2);
|
|
5919
|
+
};
|
|
5920
|
+
if (false === __is(input)) {
|
|
5921
|
+
const $report = import_typia.createValidate.report(errors);
|
|
5922
|
+
((input2, _path, _exceptionable = true) => {
|
|
5923
|
+
const $join = import_typia.createValidate.join;
|
|
5924
|
+
const $vo0 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
5925
|
+
const value = input3[key];
|
|
5926
|
+
if (void 0 === value)
|
|
5927
|
+
return true;
|
|
5928
|
+
if (RegExp(/(.*)/).test(key))
|
|
5929
|
+
return ("object" === typeof value && null !== value || $report(_exceptionable2, {
|
|
5930
|
+
path: _path2 + $join(key),
|
|
5931
|
+
expected: "__type",
|
|
5932
|
+
value
|
|
5933
|
+
})) && $vo1(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
|
|
5934
|
+
path: _path2 + $join(key),
|
|
5935
|
+
expected: "__type",
|
|
5936
|
+
value
|
|
5937
|
+
});
|
|
5938
|
+
return true;
|
|
5939
|
+
}).every((flag) => flag)].every((flag) => flag);
|
|
5940
|
+
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
|
|
5941
|
+
path: _path2 + ".key",
|
|
5942
|
+
expected: "string",
|
|
5943
|
+
value: input3.key
|
|
5944
|
+
}), "string" === typeof input3.label || $report(_exceptionable2, {
|
|
5945
|
+
path: _path2 + ".label",
|
|
5946
|
+
expected: "string",
|
|
5947
|
+
value: input3.label
|
|
5948
|
+
}), "number" === typeof input3.value || $report(_exceptionable2, {
|
|
5949
|
+
path: _path2 + ".value",
|
|
5950
|
+
expected: "number",
|
|
5951
|
+
value: input3.value
|
|
5952
|
+
})].every((flag) => flag);
|
|
5953
|
+
return ("object" === typeof input2 && null !== input2 && false === Array.isArray(input2) || $report(true, {
|
|
5954
|
+
path: _path + "",
|
|
5955
|
+
expected: "DescrStats",
|
|
5759
5956
|
value: input2
|
|
5760
5957
|
})) && $vo0(input2, _path + "", true) || $report(true, {
|
|
5761
5958
|
path: _path + "",
|
|
5762
|
-
expected: "
|
|
5959
|
+
expected: "DescrStats",
|
|
5763
5960
|
value: input2
|
|
5764
5961
|
});
|
|
5765
5962
|
})(input, "$input", true);
|
|
@@ -5773,7 +5970,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
5773
5970
|
};
|
|
5774
5971
|
|
|
5775
5972
|
export {
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5973
|
+
descrStatsPayload,
|
|
5974
|
+
validDescrStatsRequest,
|
|
5975
|
+
validDescrStatsResponse
|
|
5779
5976
|
};
|