@sjcrh/proteinpaint-types 2.137.3 → 2.138.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-HWRFIXJA.js → chunk-IY6W7HXW.js} +2 -2
- package/dist/{chunk-S2M5SN7Q.js → chunk-O3NHQOWL.js} +2 -2
- package/dist/{chunk-AL4VFH5I.js → chunk-QG776KAI.js} +2 -2
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +3 -3
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +6 -0
- package/src/routes/correlationVolcano.ts +1 -1
- package/src/routes/termdb.boxplot.ts +1 -0
- package/src/routes/termdb.violin.ts +1 -0
|
@@ -73,7 +73,7 @@ var validBoxPlotRequest = (input) => {
|
|
|
73
73
|
const errors = [];
|
|
74
74
|
const __is = (input2) => {
|
|
75
75
|
const $join = import_typia.createValidate.join;
|
|
76
|
-
const $io0 = (input3) => "object" === typeof input3.tw && null !== input3.tw && $iu6(input3.tw) && "string" === typeof input3.genome && "string" === typeof input3.dslabel && "boolean" === typeof input3.isLogScale && "boolean" === typeof input3.orderByMedian && (void 0 === input3.overlayTw || "object" === typeof input3.overlayTw && null !== input3.overlayTw && $iu6(input3.overlayTw)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io12(input3.filter)) && true;
|
|
76
|
+
const $io0 = (input3) => "object" === typeof input3.tw && null !== input3.tw && $iu6(input3.tw) && "string" === typeof input3.genome && "string" === typeof input3.dslabel && "boolean" === typeof input3.isLogScale && "boolean" === typeof input3.orderByMedian && (void 0 === input3.overlayTw || "object" === typeof input3.overlayTw && null !== input3.overlayTw && $iu6(input3.overlayTw)) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io12(input3.filter)) && true && true;
|
|
77
77
|
const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu7(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io15(input3.term));
|
|
78
78
|
const $io2 = (input3) => Object.keys(input3).every((key) => {
|
|
79
79
|
const value = input3[key];
|
|
@@ -386,7 +386,7 @@ var validBoxPlotRequest = (input) => {
|
|
|
386
386
|
path: _path2 + ".filter",
|
|
387
387
|
expected: "(Filter | undefined)",
|
|
388
388
|
value: input3.filter
|
|
389
|
-
}), true].every((flag) => flag);
|
|
389
|
+
}), true, true].every((flag) => flag);
|
|
390
390
|
const $vo1 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
|
|
391
391
|
path: _path2 + ".id",
|
|
392
392
|
expected: "(string | undefined)",
|
|
@@ -59,7 +59,7 @@ var validViolinRequest = (input) => {
|
|
|
59
59
|
const errors = [];
|
|
60
60
|
const __is = (input2) => {
|
|
61
61
|
const $join = import_typia.createValidate.join;
|
|
62
|
-
const $io0 = (input3) => "number" === typeof input3.axisHeight && (Array.isArray(input3.currentGeneNames) && input3.currentGeneNames.every((elem) => "string" === typeof elem)) && "string" === typeof input3.datasymbol && "number" === typeof input3.devicePixelRatio && true && "string" === typeof input3.dslabel && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "string" === typeof input3.genome && "boolean" === typeof input3.isKDE && ("horizontal" === input3.orientation || "vertical" === input3.orientation) && "number" === typeof input3.radius && "number" === typeof input3.rightMargin && true && "number" === typeof input3.strokeWidth && "number" === typeof input3.svgw && "number" === typeof input3.ticks && true && "string" === typeof input3.unit;
|
|
62
|
+
const $io0 = (input3) => "number" === typeof input3.axisHeight && (Array.isArray(input3.currentGeneNames) && input3.currentGeneNames.every((elem) => "string" === typeof elem)) && "string" === typeof input3.datasymbol && "number" === typeof input3.devicePixelRatio && true && "string" === typeof input3.dslabel && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "string" === typeof input3.genome && "boolean" === typeof input3.isKDE && ("horizontal" === input3.orientation || "vertical" === input3.orientation) && "number" === typeof input3.radius && "number" === typeof input3.rightMargin && true && "number" === typeof input3.strokeWidth && "number" === typeof input3.svgw && "number" === typeof input3.ticks && true && "string" === typeof input3.unit && true;
|
|
63
63
|
const $io1 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
64
64
|
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu4(input3.tvs));
|
|
65
65
|
const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io4(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) && $io6(elem)));
|
|
@@ -255,7 +255,7 @@ var validViolinRequest = (input) => {
|
|
|
255
255
|
path: _path2 + ".unit",
|
|
256
256
|
expected: "string",
|
|
257
257
|
value: input3.unit
|
|
258
|
-
})].every((flag) => flag);
|
|
258
|
+
}), true].every((flag) => flag);
|
|
259
259
|
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
260
260
|
path: _path2 + ".type",
|
|
261
261
|
expected: '"tvslst"',
|
|
@@ -22,7 +22,7 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
22
22
|
const errors = [];
|
|
23
23
|
const __is = (input2) => {
|
|
24
24
|
const $join = import_typia.createValidate.join;
|
|
25
|
-
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && ("object" === typeof input3.featureTw && null !== input3.featureTw && $iu4(input3.featureTw)) && (Array.isArray(input3.variableTwLst) && input3.variableTwLst.every((elem) => "object" === typeof elem && null !== elem && $iu4(elem))) && ("pearson" === input3.correlationMethod || "spearman" === input3.correlationMethod);
|
|
25
|
+
const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && ("object" === typeof input3.featureTw && null !== input3.featureTw && $iu4(input3.featureTw)) && (Array.isArray(input3.variableTwLst) && input3.variableTwLst.every((elem) => "object" === typeof elem && null !== elem && $iu4(elem))) && ("pearson" === input3.correlationMethod || "spearman" === input3.correlationMethod) && true;
|
|
26
26
|
const $io1 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
|
|
27
27
|
const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu7(input3.tvs));
|
|
28
28
|
const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io4(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) && $io6(elem)));
|
|
@@ -339,7 +339,7 @@ var validCorrelationVolcanoRequest = (input) => {
|
|
|
339
339
|
path: _path2 + ".correlationMethod",
|
|
340
340
|
expected: '("pearson" | "spearman")',
|
|
341
341
|
value: input3.correlationMethod
|
|
342
|
-
})].every((flag) => flag);
|
|
342
|
+
}), true].every((flag) => flag);
|
|
343
343
|
const $vo1 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
|
|
344
344
|
path: _path2 + ".type",
|
|
345
345
|
expected: '"tvslst"',
|
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
validViolinRequest,
|
|
18
18
|
validViolinResponse,
|
|
19
19
|
violinPayload
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-O3NHQOWL.js";
|
|
21
21
|
import {
|
|
22
22
|
tilePayload,
|
|
23
23
|
validTileRequest,
|
|
@@ -77,7 +77,7 @@ import {
|
|
|
77
77
|
boxplotPayload,
|
|
78
78
|
validBoxPlotRequest,
|
|
79
79
|
validBoxPlotResponse
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-IY6W7HXW.js";
|
|
81
81
|
import {
|
|
82
82
|
termdbCategoriesPayload,
|
|
83
83
|
validCategoriesRequest,
|
|
@@ -257,7 +257,7 @@ import {
|
|
|
257
257
|
CorrelationVolcanoPayload,
|
|
258
258
|
validCorrelationVolcanoRequest,
|
|
259
259
|
validCorrelationVolcanoResponse
|
|
260
|
-
} from "./chunk-
|
|
260
|
+
} from "./chunk-QG776KAI.js";
|
|
261
261
|
import {
|
|
262
262
|
datasetPayload,
|
|
263
263
|
validDatasetRequest,
|
package/dist/termdb.boxplot.js
CHANGED
package/dist/termdb.violin.js
CHANGED
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -1366,6 +1366,12 @@ if missing, name is value of m[url.namekey], as used in url itself (e.g. snp rsi
|
|
|
1366
1366
|
export type Termdb = {
|
|
1367
1367
|
/** Terms */
|
|
1368
1368
|
termIds?: TermIds
|
|
1369
|
+
/**
|
|
1370
|
+
* The required minimum number of samples with data as queried with getData() or other code,
|
|
1371
|
+
* in order to minimize the ease of extracting identifiable information from aggregate data
|
|
1372
|
+
* in server response
|
|
1373
|
+
*/
|
|
1374
|
+
minSampleSizeForFilterCharts?: number
|
|
1369
1375
|
/** if true, backend is allowed to send sample names to client in charts */
|
|
1370
1376
|
displaySampleIds?: (clientAuthResult: any) => boolean
|
|
1371
1377
|
converSampleIds?: boolean
|