@sjcrh/proteinpaint-types 2.143.0 → 2.144.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.
|
@@ -21,7 +21,7 @@ var validGRIN2Request = (input) => {
|
|
|
21
21
|
const errors = [];
|
|
22
22
|
const __is = (input2) => {
|
|
23
23
|
const $join = import_typia.createValidate.join;
|
|
24
|
-
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio) && (void 0 === input3.
|
|
24
|
+
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio) && (void 0 === input3.width || "number" === typeof input3.width) && (void 0 === input3.height || "number" === typeof input3.height) && (void 0 === input3.pngDotRadius || "number" === typeof input3.pngDotRadius) && true && (void 0 === input3.snvindelOptions || "object" === typeof input3.snvindelOptions && null !== input3.snvindelOptions && false === Array.isArray(input3.snvindelOptions) && $io1(input3.snvindelOptions)) && (void 0 === input3.cnvOptions || "object" === typeof input3.cnvOptions && null !== input3.cnvOptions && false === Array.isArray(input3.cnvOptions) && $io2(input3.cnvOptions)) && (void 0 === input3.fusionOptions || "object" === typeof input3.fusionOptions && null !== input3.fusionOptions && false === Array.isArray(input3.fusionOptions) && $io3(input3.fusionOptions));
|
|
25
25
|
const $io1 = (input3) => (void 0 === input3.minTotalDepth || "number" === typeof input3.minTotalDepth) && (void 0 === input3.minAltAlleleCount || "number" === typeof input3.minAltAlleleCount) && (void 0 === input3.consequences || Array.isArray(input3.consequences) && input3.consequences.every((elem) => "string" === typeof elem)) && (void 0 === input3.hyperMutator || "number" === typeof input3.hyperMutator);
|
|
26
26
|
const $io2 = (input3) => (void 0 === input3.lossThreshold || "number" === typeof input3.lossThreshold) && (void 0 === input3.gainThreshold || "number" === typeof input3.gainThreshold) && (void 0 === input3.maxSegLength || "number" === typeof input3.maxSegLength) && (void 0 === input3.hyperMutator || "number" === typeof input3.hyperMutator);
|
|
27
27
|
const $io3 = (input3) => Object.keys(input3).every((key) => {
|
|
@@ -50,14 +50,18 @@ var validGRIN2Request = (input) => {
|
|
|
50
50
|
path: _path2 + ".devicePixelRatio",
|
|
51
51
|
expected: "(number | undefined)",
|
|
52
52
|
value: input3.devicePixelRatio
|
|
53
|
-
}), void 0 === input3.
|
|
54
|
-
path: _path2 + ".
|
|
53
|
+
}), void 0 === input3.width || "number" === typeof input3.width || $report(_exceptionable2, {
|
|
54
|
+
path: _path2 + ".width",
|
|
55
55
|
expected: "(number | undefined)",
|
|
56
|
-
value: input3.
|
|
57
|
-
}), void 0 === input3.
|
|
58
|
-
path: _path2 + ".
|
|
56
|
+
value: input3.width
|
|
57
|
+
}), void 0 === input3.height || "number" === typeof input3.height || $report(_exceptionable2, {
|
|
58
|
+
path: _path2 + ".height",
|
|
59
59
|
expected: "(number | undefined)",
|
|
60
|
-
value: input3.
|
|
60
|
+
value: input3.height
|
|
61
|
+
}), void 0 === input3.pngDotRadius || "number" === typeof input3.pngDotRadius || $report(_exceptionable2, {
|
|
62
|
+
path: _path2 + ".pngDotRadius",
|
|
63
|
+
expected: "(number | undefined)",
|
|
64
|
+
value: input3.pngDotRadius
|
|
61
65
|
}), true, void 0 === input3.snvindelOptions || ("object" === typeof input3.snvindelOptions && null !== input3.snvindelOptions && false === Array.isArray(input3.snvindelOptions) || $report(_exceptionable2, {
|
|
62
66
|
path: _path2 + ".snvindelOptions",
|
|
63
67
|
expected: "(__type | undefined)",
|
package/dist/grin2.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/src/routes/grin2.ts
CHANGED
|
@@ -21,10 +21,13 @@ export type GRIN2Request = {
|
|
|
21
21
|
devicePixelRatio?: number
|
|
22
22
|
|
|
23
23
|
/** Desired plot width in pixels (default: 1000) */
|
|
24
|
-
|
|
24
|
+
width?: number
|
|
25
25
|
|
|
26
26
|
/** Desired plot height in pixels (default: 400) */
|
|
27
|
-
|
|
27
|
+
height?: number
|
|
28
|
+
|
|
29
|
+
/** Radius of the PNG rendered dots (default: 2) */
|
|
30
|
+
pngDotRadius?: number
|
|
28
31
|
|
|
29
32
|
/** Filter from existing PP infrastructure */
|
|
30
33
|
filter?: any // Filter object passed to get_samples(filter, ds)
|