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