@sjcrh/proteinpaint-types 2.144.0 → 2.145.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.
|
@@ -325,7 +325,7 @@ var validRunGRIN2Request = (input) => {
|
|
|
325
325
|
const errors = [];
|
|
326
326
|
const __is = (input2) => {
|
|
327
327
|
const $join = import_typia.createValidate.join;
|
|
328
|
-
const $io0 = (input3) => "object" === typeof input3.caseFiles && null !== input3.caseFiles && false === Array.isArray(input3.caseFiles) && $io1(input3.caseFiles) && (void 0 === input3.mafOptions || "object" === typeof input3.mafOptions && null !== input3.mafOptions && false === Array.isArray(input3.mafOptions) && $io3(input3.mafOptions)) && (void 0 === input3.cnvOptions || "object" === typeof input3.cnvOptions && null !== input3.cnvOptions && false === Array.isArray(input3.cnvOptions) && $io4(input3.cnvOptions));
|
|
328
|
+
const $io0 = (input3) => "object" === typeof input3.caseFiles && null !== input3.caseFiles && false === Array.isArray(input3.caseFiles) && $io1(input3.caseFiles) && (void 0 === input3.mafOptions || "object" === typeof input3.mafOptions && null !== input3.mafOptions && false === Array.isArray(input3.mafOptions) && $io3(input3.mafOptions)) && (void 0 === input3.cnvOptions || "object" === typeof input3.cnvOptions && null !== input3.cnvOptions && false === Array.isArray(input3.cnvOptions) && $io4(input3.cnvOptions)) && (void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio) && (void 0 === input3.plot_width || "number" === typeof input3.plot_width) && (void 0 === input3.plot_height || "number" === typeof input3.plot_height) && (void 0 === input3.pngDotRadius || "number" === typeof input3.pngDotRadius);
|
|
329
329
|
const $io1 = (input3) => Object.keys(input3).every((key) => {
|
|
330
330
|
const value = input3[key];
|
|
331
331
|
if (void 0 === value)
|
|
@@ -367,6 +367,22 @@ var validRunGRIN2Request = (input) => {
|
|
|
367
367
|
path: _path2 + ".cnvOptions",
|
|
368
368
|
expected: "(__type.o3 | undefined)",
|
|
369
369
|
value: input3.cnvOptions
|
|
370
|
+
}), void 0 === input3.devicePixelRatio || "number" === typeof input3.devicePixelRatio || $report(_exceptionable2, {
|
|
371
|
+
path: _path2 + ".devicePixelRatio",
|
|
372
|
+
expected: "(number | undefined)",
|
|
373
|
+
value: input3.devicePixelRatio
|
|
374
|
+
}), void 0 === input3.plot_width || "number" === typeof input3.plot_width || $report(_exceptionable2, {
|
|
375
|
+
path: _path2 + ".plot_width",
|
|
376
|
+
expected: "(number | undefined)",
|
|
377
|
+
value: input3.plot_width
|
|
378
|
+
}), void 0 === input3.plot_height || "number" === typeof input3.plot_height || $report(_exceptionable2, {
|
|
379
|
+
path: _path2 + ".plot_height",
|
|
380
|
+
expected: "(number | undefined)",
|
|
381
|
+
value: input3.plot_height
|
|
382
|
+
}), void 0 === input3.pngDotRadius || "number" === typeof input3.pngDotRadius || $report(_exceptionable2, {
|
|
383
|
+
path: _path2 + ".pngDotRadius",
|
|
384
|
+
expected: "(number | undefined)",
|
|
385
|
+
value: input3.pngDotRadius
|
|
370
386
|
})].every((flag) => flag);
|
|
371
387
|
const $vo1 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
|
|
372
388
|
const value = input3[key];
|
package/dist/gdc.grin2.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/src/routes/gdc.grin2.ts
CHANGED
|
@@ -120,6 +120,13 @@ export type RunGRIN2Request = {
|
|
|
120
120
|
/** Hypermutator max cut off for CNVs per case */
|
|
121
121
|
hyperMutator?: number // Default: 500
|
|
122
122
|
}
|
|
123
|
+
/** Device pixel ratio for rendering */
|
|
124
|
+
devicePixelRatio?: number // 2
|
|
125
|
+
/** Plot dimensions */
|
|
126
|
+
plot_width?: number // 1000
|
|
127
|
+
plot_height?: number // 400
|
|
128
|
+
/** Radius of the PNG rendered dots */
|
|
129
|
+
pngDotRadius?: number // 2
|
|
123
130
|
}
|
|
124
131
|
|
|
125
132
|
/** Error entry from failed file downloads */
|
package/src/terms/geneVariant.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { MinBaseQ, BaseTerm, TermGroupSetting, BaseTW, TermValues, BaseGroupSet
|
|
2
|
-
import type { TermSettingInstance } from '../termsetting.ts'
|
|
1
|
+
import type { MinBaseQ, BaseTerm, TermGroupSetting, BaseTW, TermValues, BaseGroupSet } from '../index.ts'
|
|
3
2
|
|
|
4
3
|
// q types
|
|
5
4
|
export type GvBaseQ = MinBaseQ & {
|
|
@@ -101,14 +100,6 @@ export type GvCustomGsTW = BaseTW & {
|
|
|
101
100
|
export type RawGvTW = RawGvValuesTW | RawGvPredefinedGsTW | RawGvCustomGsTW
|
|
102
101
|
export type GvTW = GvValuesTW | GvPredefinedGsTW | GvCustomGsTW
|
|
103
102
|
|
|
104
|
-
// termsetting types
|
|
105
|
-
export type GeneVariantTermSettingInstance = TermSettingInstance & {
|
|
106
|
-
q: GvQ
|
|
107
|
-
term: GvTerm
|
|
108
|
-
category2samplecount: any
|
|
109
|
-
groups: FilterGroup[] // will store groups created in edit UI
|
|
110
|
-
}
|
|
111
|
-
|
|
112
103
|
// miscellaneous types
|
|
113
104
|
export type DtTerm = {
|
|
114
105
|
id: string
|
package/src/terms/samplelst.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { BaseTerm, MinBaseQ } from '../index.ts'
|
|
2
2
|
import type { TermWrapper } from './tw.ts'
|
|
3
|
-
import type { TermSettingInstance } from '../termsetting.ts'
|
|
4
3
|
|
|
5
4
|
/*
|
|
6
5
|
--------EXPORTED--------
|
|
@@ -33,9 +32,3 @@ export type SampleLstTW = TermWrapper & {
|
|
|
33
32
|
q: SampleLstQ
|
|
34
33
|
term: SampleLstTerm
|
|
35
34
|
}
|
|
36
|
-
|
|
37
|
-
//temporary, will eventually change to SampleLstHandler
|
|
38
|
-
export type SampleLstTermSettingInstance = TermSettingInstance & {
|
|
39
|
-
q: SampleLstQ
|
|
40
|
-
term: SampleLstTerm
|
|
41
|
-
}
|