@sjcrh/proteinpaint-types 2.187.0 → 2.188.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/dist/aiProjectSelectedWSImages.js +1 -1
- package/dist/brainImaging.js +1 -1
- package/dist/{chunk-TWNJZBZK.js → chunk-2VJRTZE2.js} +4 -0
- package/dist/{chunk-DII56MJ7.js → chunk-AGMCAWBR.js} +23 -1
- package/dist/{chunk-OCH5BJCV.js → chunk-BZVFHGN3.js} +3 -3
- package/dist/{chunk-IIWTMQJZ.js → chunk-DDKGTDDB.js} +19 -7
- package/dist/{chunk-FRXRNCDV.js → chunk-DI4Q26E7.js} +2 -0
- package/dist/{chunk-T2HQMRX7.js → chunk-DUCWIRPX.js} +26 -6
- package/dist/{chunk-EBSBUEOG.js → chunk-G4MMYXP6.js} +3 -3
- package/dist/{chunk-VCEWZVLZ.js → chunk-IS74WYQF.js} +7 -3
- package/dist/{chunk-FEMYT7FL.js → chunk-JDF7A2LY.js} +3 -3
- package/dist/{chunk-RY4Y5ESC.js → chunk-JEQGBUK2.js} +7 -7
- package/dist/{chunk-AYTV7V46.js → chunk-LC6KLHCJ.js} +23 -23
- package/dist/{chunk-VWLYQ33F.js → chunk-LQYSPLDQ.js} +7 -7
- package/dist/{chunk-I3QGRA7O.js → chunk-MKYLCBTP.js} +16 -16
- package/dist/{chunk-DVMD6CBJ.js → chunk-MNT3GF7M.js} +12 -8
- package/dist/{chunk-46DTJOK5.js → chunk-MVB7LQS5.js} +7 -7
- package/dist/chunk-QNH3PKJK.js +343 -0
- package/dist/{chunk-F2QRI6B2.js → chunk-SDZIGJY3.js} +7 -7
- package/dist/{chunk-W2Z4RFLX.js → chunk-SZZXZZKO.js} +7 -7
- package/dist/{chunk-SGMHY5K7.js → chunk-TEXOICIS.js} +40 -40
- package/dist/{chunk-MMNSJ72P.js → chunk-TQQWSHFM.js} +7 -7
- package/dist/{chunk-F5IWKWVX.js → chunk-ULKGA7YY.js} +17 -9
- package/dist/{chunk-DPJUULKQ.js → chunk-V3JDD3ZG.js} +11 -19
- package/dist/{chunk-V5NAE7YA.js → chunk-VJB6F2HL.js} +32 -6
- package/dist/{chunk-NKV3NWPF.js → chunk-X5E72ZXA.js} +7 -7
- package/dist/{chunk-KVE2NBC6.js → chunk-YW5G4M5D.js} +50 -24
- package/dist/{chunk-HG2TK6UO.js → chunk-ZMDZYG5B.js} +7 -7
- package/dist/correlationVolcano.js +1 -1
- package/dist/deleteWSITileSelection.js +1 -1
- package/dist/genesetEnrichment.js +1 -1
- package/dist/grin2.js +1 -1
- package/dist/index.js +58 -38
- package/dist/samplewsimages.js +3 -1
- package/dist/saveWSIAnnotation.js +1 -1
- package/dist/termdb.DE.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.chat.js +13 -9
- package/dist/termdb.chat2.js +5 -3
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.dapVolcano.js +11 -0
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.diffMeth.js +1 -1
- package/dist/termdb.dmr.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.runChart.js +3 -1
- package/dist/termdb.singlecellDEgenes.js +1 -1
- package/dist/termdb.singlecellSamples.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violinBox.js +7 -1
- package/package.json +4 -4
- package/src/dataset.ts +17 -10
- package/src/index.ts +1 -0
- package/src/routes/aiProjectSelectedWSImages.ts +9 -1
- package/src/routes/deleteWSITileSelection.ts +1 -2
- package/src/routes/genesetEnrichment.ts +2 -0
- package/src/routes/saveWSIAnnotation.ts +2 -1
- package/src/routes/termdb.DE.ts +9 -7
- package/src/routes/termdb.chat2.ts +7 -2
- package/src/routes/termdb.dapVolcano.ts +35 -0
- package/src/routes/termdb.singlecellSamples.ts +1 -1
- package/src/routes/termdb.topVariablyExpressedGenes.ts +3 -5
- package/src/terms/proteomeAbundance.ts +1 -1
|
@@ -67,7 +67,7 @@ var validTermdbDmrRequest = (input) => {
|
|
|
67
67
|
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "isoformExpression" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins)) && (void 0 === input3.kind || "isoform" === input3.kind) && "string" === typeof input3.isoform && (void 0 === input3.gene || "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);
|
|
68
68
|
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "isoformExpression" === 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) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.isoform || "string" === typeof input3.isoform) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
69
69
|
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins));
|
|
70
|
-
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins)) && ("object" === typeof input3.
|
|
70
|
+
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins)) && ("object" === typeof input3.dataTypeDetails && null !== input3.dataTypeDetails && ("string" === typeof input3.dataTypeDetails.organism && "string" === typeof input3.dataTypeDetails.assay && "string" === typeof input3.dataTypeDetails.cohort));
|
|
71
71
|
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins));
|
|
72
72
|
const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins));
|
|
73
73
|
const $io34 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io7(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io9(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io17(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("gene" === input3.genomicFeatureType || "promoter" === input3.genomicFeatureType || "region" === input3.genomicFeatureType || "enhancer" === input3.genomicFeatureType) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io18(input3.bins));
|
|
@@ -1787,14 +1787,14 @@ var validTermdbDmrRequest = (input) => {
|
|
|
1787
1787
|
path: _path2 + ".bins",
|
|
1788
1788
|
expected: "(PresetNumericBins | undefined)",
|
|
1789
1789
|
value: input3.bins
|
|
1790
|
-
}), ("object" === typeof input3.
|
|
1791
|
-
path: _path2 + ".
|
|
1790
|
+
}), ("object" === typeof input3.dataTypeDetails && null !== input3.dataTypeDetails || $report(_exceptionable2, {
|
|
1791
|
+
path: _path2 + ".dataTypeDetails",
|
|
1792
1792
|
expected: "ProteomeDetails",
|
|
1793
|
-
value: input3.
|
|
1794
|
-
})) && $vo31(input3.
|
|
1795
|
-
path: _path2 + ".
|
|
1793
|
+
value: input3.dataTypeDetails
|
|
1794
|
+
})) && $vo31(input3.dataTypeDetails, _path2 + ".dataTypeDetails", _exceptionable2) || $report(_exceptionable2, {
|
|
1795
|
+
path: _path2 + ".dataTypeDetails",
|
|
1796
1796
|
expected: "ProteomeDetails",
|
|
1797
|
-
value: input3.
|
|
1797
|
+
value: input3.dataTypeDetails
|
|
1798
1798
|
})].every((flag) => flag);
|
|
1799
1799
|
const $vo31 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.organism || $report(_exceptionable2, {
|
|
1800
1800
|
path: _path2 + ".organism",
|
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__toESM,
|
|
3
|
+
require_lib
|
|
4
|
+
} from "./chunk-YNHC5SXO.js";
|
|
5
|
+
|
|
6
|
+
// dist/termdb.dapVolcano.ts
|
|
7
|
+
var import_typia = __toESM(require_lib(), 1);
|
|
8
|
+
|
|
9
|
+
// src/routes/termdb.dapVolcano.ts
|
|
10
|
+
var dapVolcanoPayload = {
|
|
11
|
+
request: {
|
|
12
|
+
typeId: "DapVolcanoRequest"
|
|
13
|
+
},
|
|
14
|
+
response: {
|
|
15
|
+
typeId: "DapVolcanoResponse"
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
// dist/termdb.dapVolcano.ts
|
|
20
|
+
var validDapVolcanoRequest = (input) => {
|
|
21
|
+
const errors = [];
|
|
22
|
+
const __is = (input2) => {
|
|
23
|
+
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.organism && "string" === typeof input3.assay && "string" === typeof input3.cohort && (void 0 === input3.volcanoRender || "object" === typeof input3.volcanoRender && null !== input3.volcanoRender && $io1(input3.volcanoRender)) && (void 0 === input3.countsOnly || "boolean" === typeof input3.countsOnly);
|
|
24
|
+
const $io1 = (input3) => "object" === typeof input3.significanceThresholds && null !== input3.significanceThresholds && $io2(input3.significanceThresholds) && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && (void 0 === input3.colorSignificant || "string" === typeof input3.colorSignificant) && (void 0 === input3.colorSignificantUp || "string" === typeof input3.colorSignificantUp) && (void 0 === input3.colorSignificantDown || "string" === typeof input3.colorSignificantDown) && (void 0 === input3.colorNonsignificant || "string" === typeof input3.colorNonsignificant) && (void 0 === input3.dotRadius || "number" === typeof input3.dotRadius) && (void 0 === input3.maxInteractiveDots || "number" === typeof input3.maxInteractiveDots);
|
|
25
|
+
const $io2 = (input3) => "number" === typeof input3.pValueCutoff && ("adjusted" === input3.pValueType || "original" === input3.pValueType) && "number" === typeof input3.foldChangeCutoff;
|
|
26
|
+
return "object" === typeof input2 && null !== input2 && $io0(input2);
|
|
27
|
+
};
|
|
28
|
+
if (false === __is(input)) {
|
|
29
|
+
const $report = import_typia.createValidate.report(errors);
|
|
30
|
+
((input2, _path, _exceptionable = true) => {
|
|
31
|
+
const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
|
|
32
|
+
path: _path2 + ".genome",
|
|
33
|
+
expected: "string",
|
|
34
|
+
value: input3.genome
|
|
35
|
+
}), "string" === typeof input3.dslabel || $report(_exceptionable2, {
|
|
36
|
+
path: _path2 + ".dslabel",
|
|
37
|
+
expected: "string",
|
|
38
|
+
value: input3.dslabel
|
|
39
|
+
}), "string" === typeof input3.organism || $report(_exceptionable2, {
|
|
40
|
+
path: _path2 + ".organism",
|
|
41
|
+
expected: "string",
|
|
42
|
+
value: input3.organism
|
|
43
|
+
}), "string" === typeof input3.assay || $report(_exceptionable2, {
|
|
44
|
+
path: _path2 + ".assay",
|
|
45
|
+
expected: "string",
|
|
46
|
+
value: input3.assay
|
|
47
|
+
}), "string" === typeof input3.cohort || $report(_exceptionable2, {
|
|
48
|
+
path: _path2 + ".cohort",
|
|
49
|
+
expected: "string",
|
|
50
|
+
value: input3.cohort
|
|
51
|
+
}), void 0 === input3.volcanoRender || ("object" === typeof input3.volcanoRender && null !== input3.volcanoRender || $report(_exceptionable2, {
|
|
52
|
+
path: _path2 + ".volcanoRender",
|
|
53
|
+
expected: "(VolcanoRenderRequest | undefined)",
|
|
54
|
+
value: input3.volcanoRender
|
|
55
|
+
})) && $vo1(input3.volcanoRender, _path2 + ".volcanoRender", _exceptionable2) || $report(_exceptionable2, {
|
|
56
|
+
path: _path2 + ".volcanoRender",
|
|
57
|
+
expected: "(VolcanoRenderRequest | undefined)",
|
|
58
|
+
value: input3.volcanoRender
|
|
59
|
+
}), void 0 === input3.countsOnly || "boolean" === typeof input3.countsOnly || $report(_exceptionable2, {
|
|
60
|
+
path: _path2 + ".countsOnly",
|
|
61
|
+
expected: "(boolean | undefined)",
|
|
62
|
+
value: input3.countsOnly
|
|
63
|
+
})].every((flag) => flag);
|
|
64
|
+
const $vo1 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3.significanceThresholds && null !== input3.significanceThresholds || $report(_exceptionable2, {
|
|
65
|
+
path: _path2 + ".significanceThresholds",
|
|
66
|
+
expected: "SignificanceThresholds",
|
|
67
|
+
value: input3.significanceThresholds
|
|
68
|
+
})) && $vo2(input3.significanceThresholds, _path2 + ".significanceThresholds", _exceptionable2) || $report(_exceptionable2, {
|
|
69
|
+
path: _path2 + ".significanceThresholds",
|
|
70
|
+
expected: "SignificanceThresholds",
|
|
71
|
+
value: input3.significanceThresholds
|
|
72
|
+
}), "number" === typeof input3.pixelWidth || $report(_exceptionable2, {
|
|
73
|
+
path: _path2 + ".pixelWidth",
|
|
74
|
+
expected: "number",
|
|
75
|
+
value: input3.pixelWidth
|
|
76
|
+
}), "number" === typeof input3.pixelHeight || $report(_exceptionable2, {
|
|
77
|
+
path: _path2 + ".pixelHeight",
|
|
78
|
+
expected: "number",
|
|
79
|
+
value: input3.pixelHeight
|
|
80
|
+
}), void 0 === input3.colorSignificant || "string" === typeof input3.colorSignificant || $report(_exceptionable2, {
|
|
81
|
+
path: _path2 + ".colorSignificant",
|
|
82
|
+
expected: "(string | undefined)",
|
|
83
|
+
value: input3.colorSignificant
|
|
84
|
+
}), void 0 === input3.colorSignificantUp || "string" === typeof input3.colorSignificantUp || $report(_exceptionable2, {
|
|
85
|
+
path: _path2 + ".colorSignificantUp",
|
|
86
|
+
expected: "(string | undefined)",
|
|
87
|
+
value: input3.colorSignificantUp
|
|
88
|
+
}), void 0 === input3.colorSignificantDown || "string" === typeof input3.colorSignificantDown || $report(_exceptionable2, {
|
|
89
|
+
path: _path2 + ".colorSignificantDown",
|
|
90
|
+
expected: "(string | undefined)",
|
|
91
|
+
value: input3.colorSignificantDown
|
|
92
|
+
}), void 0 === input3.colorNonsignificant || "string" === typeof input3.colorNonsignificant || $report(_exceptionable2, {
|
|
93
|
+
path: _path2 + ".colorNonsignificant",
|
|
94
|
+
expected: "(string | undefined)",
|
|
95
|
+
value: input3.colorNonsignificant
|
|
96
|
+
}), void 0 === input3.dotRadius || "number" === typeof input3.dotRadius || $report(_exceptionable2, {
|
|
97
|
+
path: _path2 + ".dotRadius",
|
|
98
|
+
expected: "(number | undefined)",
|
|
99
|
+
value: input3.dotRadius
|
|
100
|
+
}), void 0 === input3.maxInteractiveDots || "number" === typeof input3.maxInteractiveDots || $report(_exceptionable2, {
|
|
101
|
+
path: _path2 + ".maxInteractiveDots",
|
|
102
|
+
expected: "(number | undefined)",
|
|
103
|
+
value: input3.maxInteractiveDots
|
|
104
|
+
})].every((flag) => flag);
|
|
105
|
+
const $vo2 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.pValueCutoff || $report(_exceptionable2, {
|
|
106
|
+
path: _path2 + ".pValueCutoff",
|
|
107
|
+
expected: "number",
|
|
108
|
+
value: input3.pValueCutoff
|
|
109
|
+
}), "adjusted" === input3.pValueType || "original" === input3.pValueType || $report(_exceptionable2, {
|
|
110
|
+
path: _path2 + ".pValueType",
|
|
111
|
+
expected: '("adjusted" | "original")',
|
|
112
|
+
value: input3.pValueType
|
|
113
|
+
}), "number" === typeof input3.foldChangeCutoff || $report(_exceptionable2, {
|
|
114
|
+
path: _path2 + ".foldChangeCutoff",
|
|
115
|
+
expected: "number",
|
|
116
|
+
value: input3.foldChangeCutoff
|
|
117
|
+
})].every((flag) => flag);
|
|
118
|
+
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
119
|
+
path: _path + "",
|
|
120
|
+
expected: "DapVolcanoRequest",
|
|
121
|
+
value: input2
|
|
122
|
+
})) && $vo0(input2, _path + "", true) || $report(true, {
|
|
123
|
+
path: _path + "",
|
|
124
|
+
expected: "DapVolcanoRequest",
|
|
125
|
+
value: input2
|
|
126
|
+
});
|
|
127
|
+
})(input, "$input", true);
|
|
128
|
+
}
|
|
129
|
+
const success = 0 === errors.length;
|
|
130
|
+
return {
|
|
131
|
+
success,
|
|
132
|
+
errors,
|
|
133
|
+
data: success ? input : void 0
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
var validDapVolcanoResponse = (input) => {
|
|
137
|
+
const errors = [];
|
|
138
|
+
const __is = (input2) => {
|
|
139
|
+
const $io0 = (input3) => "number" === typeof input3.status && "string" === typeof input3.error;
|
|
140
|
+
const $io1 = (input3) => "number" === typeof input3.sample_size1 && "number" === typeof input3.sample_size2 && (void 0 === input3.data || "object" === typeof input3.data && null !== input3.data && $io2(input3.data));
|
|
141
|
+
const $io2 = (input3) => Array.isArray(input3.dots) && input3.dots.every((elem) => "object" === typeof elem && null !== elem && $io3(elem)) && "string" === typeof input3.volcanoPng && ("object" === typeof input3.plotExtent && null !== input3.plotExtent && $io4(input3.plotExtent)) && "number" === typeof input3.totalRows && "number" === typeof input3.totalSignificantRows && (void 0 === input3.cacheId || "string" === typeof input3.cacheId);
|
|
142
|
+
const $io3 = (input3) => "number" === typeof input3.original_p_value && (void 0 === input3.adjusted_p_value || "number" === typeof input3.adjusted_p_value) && "number" === typeof input3.fold_change && "string" === typeof input3.gene_name && "string" === typeof input3.gene;
|
|
143
|
+
const $io4 = (input3) => "number" === typeof input3.xMin && "number" === typeof input3.xMax && "number" === typeof input3.yMin && "number" === typeof input3.yMax && "number" === typeof input3.xMinUnpadded && "number" === typeof input3.xMaxUnpadded && "number" === typeof input3.yMinUnpadded && "number" === typeof input3.yMaxUnpadded && "number" === typeof input3.dotRadiusPx && "number" === typeof input3.pixelWidth && "number" === typeof input3.pixelHeight && "number" === typeof input3.plotLeft && "number" === typeof input3.plotTop && "number" === typeof input3.plotRight && "number" === typeof input3.plotBottom && "number" === typeof input3.minNonZeroPValue;
|
|
144
|
+
const $iu0 = (input3) => (() => {
|
|
145
|
+
if (void 0 !== input3.status)
|
|
146
|
+
return $io0(input3);
|
|
147
|
+
if (void 0 !== input3.sample_size1)
|
|
148
|
+
return $io1(input3);
|
|
149
|
+
return false;
|
|
150
|
+
})();
|
|
151
|
+
return "object" === typeof input2 && null !== input2 && $iu0(input2);
|
|
152
|
+
};
|
|
153
|
+
if (false === __is(input)) {
|
|
154
|
+
const $report = import_typia.createValidate.report(errors);
|
|
155
|
+
((input2, _path, _exceptionable = true) => {
|
|
156
|
+
const $vo0 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.status || $report(_exceptionable2, {
|
|
157
|
+
path: _path2 + ".status",
|
|
158
|
+
expected: "number",
|
|
159
|
+
value: input3.status
|
|
160
|
+
}), "string" === typeof input3.error || $report(_exceptionable2, {
|
|
161
|
+
path: _path2 + ".error",
|
|
162
|
+
expected: "string",
|
|
163
|
+
value: input3.error
|
|
164
|
+
})].every((flag) => flag);
|
|
165
|
+
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.sample_size1 || $report(_exceptionable2, {
|
|
166
|
+
path: _path2 + ".sample_size1",
|
|
167
|
+
expected: "number",
|
|
168
|
+
value: input3.sample_size1
|
|
169
|
+
}), "number" === typeof input3.sample_size2 || $report(_exceptionable2, {
|
|
170
|
+
path: _path2 + ".sample_size2",
|
|
171
|
+
expected: "number",
|
|
172
|
+
value: input3.sample_size2
|
|
173
|
+
}), void 0 === input3.data || ("object" === typeof input3.data && null !== input3.data || $report(_exceptionable2, {
|
|
174
|
+
path: _path2 + ".data",
|
|
175
|
+
expected: "(VolcanoData<DapEntry> | undefined)",
|
|
176
|
+
value: input3.data
|
|
177
|
+
})) && $vo2(input3.data, _path2 + ".data", _exceptionable2) || $report(_exceptionable2, {
|
|
178
|
+
path: _path2 + ".data",
|
|
179
|
+
expected: "(VolcanoData<DapEntry> | undefined)",
|
|
180
|
+
value: input3.data
|
|
181
|
+
})].every((flag) => flag);
|
|
182
|
+
const $vo2 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.dots) || $report(_exceptionable2, {
|
|
183
|
+
path: _path2 + ".dots",
|
|
184
|
+
expected: "Array<DapEntry>",
|
|
185
|
+
value: input3.dots
|
|
186
|
+
})) && input3.dots.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
|
|
187
|
+
path: _path2 + ".dots[" + _index1 + "]",
|
|
188
|
+
expected: "DapEntry",
|
|
189
|
+
value: elem
|
|
190
|
+
})) && $vo3(elem, _path2 + ".dots[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
|
|
191
|
+
path: _path2 + ".dots[" + _index1 + "]",
|
|
192
|
+
expected: "DapEntry",
|
|
193
|
+
value: elem
|
|
194
|
+
})).every((flag) => flag) || $report(_exceptionable2, {
|
|
195
|
+
path: _path2 + ".dots",
|
|
196
|
+
expected: "Array<DapEntry>",
|
|
197
|
+
value: input3.dots
|
|
198
|
+
}), "string" === typeof input3.volcanoPng || $report(_exceptionable2, {
|
|
199
|
+
path: _path2 + ".volcanoPng",
|
|
200
|
+
expected: "string",
|
|
201
|
+
value: input3.volcanoPng
|
|
202
|
+
}), ("object" === typeof input3.plotExtent && null !== input3.plotExtent || $report(_exceptionable2, {
|
|
203
|
+
path: _path2 + ".plotExtent",
|
|
204
|
+
expected: "PlotExtent",
|
|
205
|
+
value: input3.plotExtent
|
|
206
|
+
})) && $vo4(input3.plotExtent, _path2 + ".plotExtent", _exceptionable2) || $report(_exceptionable2, {
|
|
207
|
+
path: _path2 + ".plotExtent",
|
|
208
|
+
expected: "PlotExtent",
|
|
209
|
+
value: input3.plotExtent
|
|
210
|
+
}), "number" === typeof input3.totalRows || $report(_exceptionable2, {
|
|
211
|
+
path: _path2 + ".totalRows",
|
|
212
|
+
expected: "number",
|
|
213
|
+
value: input3.totalRows
|
|
214
|
+
}), "number" === typeof input3.totalSignificantRows || $report(_exceptionable2, {
|
|
215
|
+
path: _path2 + ".totalSignificantRows",
|
|
216
|
+
expected: "number",
|
|
217
|
+
value: input3.totalSignificantRows
|
|
218
|
+
}), void 0 === input3.cacheId || "string" === typeof input3.cacheId || $report(_exceptionable2, {
|
|
219
|
+
path: _path2 + ".cacheId",
|
|
220
|
+
expected: "(string | undefined)",
|
|
221
|
+
value: input3.cacheId
|
|
222
|
+
})].every((flag) => flag);
|
|
223
|
+
const $vo3 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.original_p_value || $report(_exceptionable2, {
|
|
224
|
+
path: _path2 + ".original_p_value",
|
|
225
|
+
expected: "number",
|
|
226
|
+
value: input3.original_p_value
|
|
227
|
+
}), void 0 === input3.adjusted_p_value || "number" === typeof input3.adjusted_p_value || $report(_exceptionable2, {
|
|
228
|
+
path: _path2 + ".adjusted_p_value",
|
|
229
|
+
expected: "(number | undefined)",
|
|
230
|
+
value: input3.adjusted_p_value
|
|
231
|
+
}), "number" === typeof input3.fold_change || $report(_exceptionable2, {
|
|
232
|
+
path: _path2 + ".fold_change",
|
|
233
|
+
expected: "number",
|
|
234
|
+
value: input3.fold_change
|
|
235
|
+
}), "string" === typeof input3.gene_name || $report(_exceptionable2, {
|
|
236
|
+
path: _path2 + ".gene_name",
|
|
237
|
+
expected: "string",
|
|
238
|
+
value: input3.gene_name
|
|
239
|
+
}), "string" === typeof input3.gene || $report(_exceptionable2, {
|
|
240
|
+
path: _path2 + ".gene",
|
|
241
|
+
expected: "string",
|
|
242
|
+
value: input3.gene
|
|
243
|
+
})].every((flag) => flag);
|
|
244
|
+
const $vo4 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.xMin || $report(_exceptionable2, {
|
|
245
|
+
path: _path2 + ".xMin",
|
|
246
|
+
expected: "number",
|
|
247
|
+
value: input3.xMin
|
|
248
|
+
}), "number" === typeof input3.xMax || $report(_exceptionable2, {
|
|
249
|
+
path: _path2 + ".xMax",
|
|
250
|
+
expected: "number",
|
|
251
|
+
value: input3.xMax
|
|
252
|
+
}), "number" === typeof input3.yMin || $report(_exceptionable2, {
|
|
253
|
+
path: _path2 + ".yMin",
|
|
254
|
+
expected: "number",
|
|
255
|
+
value: input3.yMin
|
|
256
|
+
}), "number" === typeof input3.yMax || $report(_exceptionable2, {
|
|
257
|
+
path: _path2 + ".yMax",
|
|
258
|
+
expected: "number",
|
|
259
|
+
value: input3.yMax
|
|
260
|
+
}), "number" === typeof input3.xMinUnpadded || $report(_exceptionable2, {
|
|
261
|
+
path: _path2 + ".xMinUnpadded",
|
|
262
|
+
expected: "number",
|
|
263
|
+
value: input3.xMinUnpadded
|
|
264
|
+
}), "number" === typeof input3.xMaxUnpadded || $report(_exceptionable2, {
|
|
265
|
+
path: _path2 + ".xMaxUnpadded",
|
|
266
|
+
expected: "number",
|
|
267
|
+
value: input3.xMaxUnpadded
|
|
268
|
+
}), "number" === typeof input3.yMinUnpadded || $report(_exceptionable2, {
|
|
269
|
+
path: _path2 + ".yMinUnpadded",
|
|
270
|
+
expected: "number",
|
|
271
|
+
value: input3.yMinUnpadded
|
|
272
|
+
}), "number" === typeof input3.yMaxUnpadded || $report(_exceptionable2, {
|
|
273
|
+
path: _path2 + ".yMaxUnpadded",
|
|
274
|
+
expected: "number",
|
|
275
|
+
value: input3.yMaxUnpadded
|
|
276
|
+
}), "number" === typeof input3.dotRadiusPx || $report(_exceptionable2, {
|
|
277
|
+
path: _path2 + ".dotRadiusPx",
|
|
278
|
+
expected: "number",
|
|
279
|
+
value: input3.dotRadiusPx
|
|
280
|
+
}), "number" === typeof input3.pixelWidth || $report(_exceptionable2, {
|
|
281
|
+
path: _path2 + ".pixelWidth",
|
|
282
|
+
expected: "number",
|
|
283
|
+
value: input3.pixelWidth
|
|
284
|
+
}), "number" === typeof input3.pixelHeight || $report(_exceptionable2, {
|
|
285
|
+
path: _path2 + ".pixelHeight",
|
|
286
|
+
expected: "number",
|
|
287
|
+
value: input3.pixelHeight
|
|
288
|
+
}), "number" === typeof input3.plotLeft || $report(_exceptionable2, {
|
|
289
|
+
path: _path2 + ".plotLeft",
|
|
290
|
+
expected: "number",
|
|
291
|
+
value: input3.plotLeft
|
|
292
|
+
}), "number" === typeof input3.plotTop || $report(_exceptionable2, {
|
|
293
|
+
path: _path2 + ".plotTop",
|
|
294
|
+
expected: "number",
|
|
295
|
+
value: input3.plotTop
|
|
296
|
+
}), "number" === typeof input3.plotRight || $report(_exceptionable2, {
|
|
297
|
+
path: _path2 + ".plotRight",
|
|
298
|
+
expected: "number",
|
|
299
|
+
value: input3.plotRight
|
|
300
|
+
}), "number" === typeof input3.plotBottom || $report(_exceptionable2, {
|
|
301
|
+
path: _path2 + ".plotBottom",
|
|
302
|
+
expected: "number",
|
|
303
|
+
value: input3.plotBottom
|
|
304
|
+
}), "number" === typeof input3.minNonZeroPValue || $report(_exceptionable2, {
|
|
305
|
+
path: _path2 + ".minNonZeroPValue",
|
|
306
|
+
expected: "number",
|
|
307
|
+
value: input3.minNonZeroPValue
|
|
308
|
+
})].every((flag) => flag);
|
|
309
|
+
const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
|
|
310
|
+
if (void 0 !== input3.status)
|
|
311
|
+
return $vo0(input3, _path2, _exceptionable2);
|
|
312
|
+
if (void 0 !== input3.sample_size1)
|
|
313
|
+
return $vo1(input3, _path2, _exceptionable2);
|
|
314
|
+
return $report(_exceptionable2, {
|
|
315
|
+
path: _path2,
|
|
316
|
+
expected: "(ErrorResponse | __type)",
|
|
317
|
+
value: input3
|
|
318
|
+
});
|
|
319
|
+
})();
|
|
320
|
+
return ("object" === typeof input2 && null !== input2 || $report(true, {
|
|
321
|
+
path: _path + "",
|
|
322
|
+
expected: "(ErrorResponse | __type)",
|
|
323
|
+
value: input2
|
|
324
|
+
})) && $vu0(input2, _path + "", true) || $report(true, {
|
|
325
|
+
path: _path + "",
|
|
326
|
+
expected: "(ErrorResponse | __type)",
|
|
327
|
+
value: input2
|
|
328
|
+
});
|
|
329
|
+
})(input, "$input", true);
|
|
330
|
+
}
|
|
331
|
+
const success = 0 === errors.length;
|
|
332
|
+
return {
|
|
333
|
+
success,
|
|
334
|
+
errors,
|
|
335
|
+
data: success ? input : void 0
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
export {
|
|
340
|
+
dapVolcanoPayload,
|
|
341
|
+
validDapVolcanoRequest,
|
|
342
|
+
validDapVolcanoResponse
|
|
343
|
+
};
|
|
@@ -138,7 +138,7 @@ var validTermsByIdsResponse = (input) => {
|
|
|
138
138
|
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "isoformExpression" === 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) && $io6(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io13(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.kind || "isoform" === input3.kind) && "string" === typeof input3.isoform && (void 0 === input3.gene || "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);
|
|
139
139
|
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "isoformExpression" === 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) && $io6(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io13(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.isoform || "string" === typeof input3.isoform) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
140
140
|
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io6(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io13(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
|
|
141
|
-
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io6(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io13(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && ("object" === typeof input3.
|
|
141
|
+
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io6(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io13(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins)) && ("object" === typeof input3.dataTypeDetails && null !== input3.dataTypeDetails && ("string" === typeof input3.dataTypeDetails.organism && "string" === typeof input3.dataTypeDetails.assay && "string" === typeof input3.dataTypeDetails.cohort));
|
|
142
142
|
const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io6(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io13(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
|
|
143
143
|
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io6(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io13(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
|
|
144
144
|
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io6(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io13(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io14(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("gene" === input3.genomicFeatureType || "promoter" === input3.genomicFeatureType || "region" === input3.genomicFeatureType || "enhancer" === input3.genomicFeatureType) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io15(input3.bins));
|
|
@@ -1808,14 +1808,14 @@ var validTermsByIdsResponse = (input) => {
|
|
|
1808
1808
|
path: _path2 + ".bins",
|
|
1809
1809
|
expected: "(PresetNumericBins | undefined)",
|
|
1810
1810
|
value: input3.bins
|
|
1811
|
-
}), ("object" === typeof input3.
|
|
1812
|
-
path: _path2 + ".
|
|
1811
|
+
}), ("object" === typeof input3.dataTypeDetails && null !== input3.dataTypeDetails || $report(_exceptionable2, {
|
|
1812
|
+
path: _path2 + ".dataTypeDetails",
|
|
1813
1813
|
expected: "ProteomeDetails",
|
|
1814
|
-
value: input3.
|
|
1815
|
-
})) && $vo28(input3.
|
|
1816
|
-
path: _path2 + ".
|
|
1814
|
+
value: input3.dataTypeDetails
|
|
1815
|
+
})) && $vo28(input3.dataTypeDetails, _path2 + ".dataTypeDetails", _exceptionable2) || $report(_exceptionable2, {
|
|
1816
|
+
path: _path2 + ".dataTypeDetails",
|
|
1817
1817
|
expected: "ProteomeDetails",
|
|
1818
|
-
value: input3.
|
|
1818
|
+
value: input3.dataTypeDetails
|
|
1819
1819
|
})].every((flag) => flag);
|
|
1820
1820
|
const $vo28 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.organism || $report(_exceptionable2, {
|
|
1821
1821
|
path: _path2 + ".organism",
|
|
@@ -65,7 +65,7 @@ var validGRIN2Request = (input) => {
|
|
|
65
65
|
const $io25 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "isoformExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "isoform" === input3.kind) && "string" === typeof input3.isoform && (void 0 === input3.gene || "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);
|
|
66
66
|
const $io26 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "isoformExpression" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && (void 0 === input3.kind || "coord" === input3.kind) && (void 0 === input3.isoform || "string" === typeof input3.isoform) && (void 0 === input3.gene || "string" === typeof input3.gene) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
67
67
|
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "metaboliteIntensity" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.metabolite && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
68
|
-
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && ("object" === typeof input3.
|
|
68
|
+
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "proteomeAbundance" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.protein && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins)) && ("object" === typeof input3.dataTypeDetails && null !== input3.dataTypeDetails && ("string" === typeof input3.dataTypeDetails.organism && "string" === typeof input3.dataTypeDetails.assay && "string" === typeof input3.dataTypeDetails.cohort));
|
|
69
69
|
const $io30 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "date" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
70
70
|
const $io31 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "ssGSEA" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && (void 0 === input3.genes || Array.isArray(input3.genes) && input3.genes.every((elem) => "string" === typeof elem)) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
71
71
|
const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "dnaMethylation" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io5(input3.values)) && (void 0 === input3.skipValuesBuild || "boolean" === typeof input3.skipValuesBuild) && (void 0 === input3.valueConversion || "object" === typeof input3.valueConversion && null !== input3.valueConversion && $io7(input3.valueConversion)) && (void 0 === input3.continuousColorScale || "object" === typeof input3.continuousColorScale && null !== input3.continuousColorScale && $io15(input3.continuousColorScale)) && (void 0 === input3.unit || "string" === typeof input3.unit) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop && ("gene" === input3.genomicFeatureType || "promoter" === input3.genomicFeatureType || "region" === input3.genomicFeatureType || "enhancer" === input3.genomicFeatureType) && (void 0 === input3.bins || "object" === typeof input3.bins && null !== input3.bins && $io16(input3.bins));
|
|
@@ -1747,14 +1747,14 @@ var validGRIN2Request = (input) => {
|
|
|
1747
1747
|
path: _path2 + ".bins",
|
|
1748
1748
|
expected: "(PresetNumericBins | undefined)",
|
|
1749
1749
|
value: input3.bins
|
|
1750
|
-
}), ("object" === typeof input3.
|
|
1751
|
-
path: _path2 + ".
|
|
1750
|
+
}), ("object" === typeof input3.dataTypeDetails && null !== input3.dataTypeDetails || $report(_exceptionable2, {
|
|
1751
|
+
path: _path2 + ".dataTypeDetails",
|
|
1752
1752
|
expected: "ProteomeDetails",
|
|
1753
|
-
value: input3.
|
|
1754
|
-
})) && $vo29(input3.
|
|
1755
|
-
path: _path2 + ".
|
|
1753
|
+
value: input3.dataTypeDetails
|
|
1754
|
+
})) && $vo29(input3.dataTypeDetails, _path2 + ".dataTypeDetails", _exceptionable2) || $report(_exceptionable2, {
|
|
1755
|
+
path: _path2 + ".dataTypeDetails",
|
|
1756
1756
|
expected: "ProteomeDetails",
|
|
1757
|
-
value: input3.
|
|
1757
|
+
value: input3.dataTypeDetails
|
|
1758
1758
|
})].every((flag) => flag);
|
|
1759
1759
|
const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.organism || $report(_exceptionable2, {
|
|
1760
1760
|
path: _path2 + ".organism",
|