@sjcrh/proteinpaint-types 2.109.1 → 2.111.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.
@@ -22,7 +22,7 @@ var diffExpPayload = {
22
22
  var validDERequest = (input) => {
23
23
  const errors = [];
24
24
  const __is = (input2) => {
25
- const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && true && "number" === typeof input3.min_count && "number" === typeof input3.min_total_count && ("text" === input3.storage_type || "HDF5" === input3.storage_type) && (void 0 === input3.method || "string" === typeof input3.method) && true && true && (void 0 === input3.VarGenes || "number" === typeof input3.VarGenes);
25
+ const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && true && "number" === typeof input3.min_count && "number" === typeof input3.min_total_count && ("text" === input3.storage_type || "HDF5" === input3.storage_type) && (void 0 === input3.method || "string" === typeof input3.method) && true && true;
26
26
  return "object" === typeof input2 && null !== input2 && $io0(input2);
27
27
  };
28
28
  if (false === __is(input)) {
@@ -52,11 +52,7 @@ var validDERequest = (input) => {
52
52
  path: _path2 + ".method",
53
53
  expected: "(string | undefined)",
54
54
  value: input3.method
55
- }), true, true, void 0 === input3.VarGenes || "number" === typeof input3.VarGenes || $report(_exceptionable2, {
56
- path: _path2 + ".VarGenes",
57
- expected: "(number | undefined)",
58
- value: input3.VarGenes
59
- })].every((flag) => flag);
55
+ }), true, true].every((flag) => flag);
60
56
  return ("object" === typeof input2 && null !== input2 || $report(true, {
61
57
  path: _path + "",
62
58
  expected: "DERequest",
@@ -78,7 +74,8 @@ var validDERequest = (input) => {
78
74
  var validDEResponse = (input) => {
79
75
  const errors = [];
80
76
  const __is = (input2) => {
81
- return "object" === typeof input2 && null !== input2 && ("string" === typeof input2.data && "number" === typeof input2.sample_size1 && "number" === typeof input2.sample_size2 && "string" === typeof input2.method);
77
+ const $io0 = (input3) => "string" === typeof input3.data && "number" === typeof input3.sample_size1 && "number" === typeof input3.sample_size2 && "string" === typeof input3.method && true && true;
78
+ return "object" === typeof input2 && null !== input2 && $io0(input2);
82
79
  };
83
80
  if (false === __is(input)) {
84
81
  const $report = import_typia.createValidate.report(errors);
@@ -99,7 +96,7 @@ var validDEResponse = (input) => {
99
96
  path: _path2 + ".method",
100
97
  expected: "string",
101
98
  value: input3.method
102
- })].every((flag) => flag);
99
+ }), true, true].every((flag) => flag);
103
100
  return ("object" === typeof input2 && null !== input2 || $report(true, {
104
101
  path: _path + "",
105
102
  expected: "DEResponse",
package/dist/index.js CHANGED
@@ -82,7 +82,7 @@ import {
82
82
  diffExpPayload,
83
83
  validDERequest,
84
84
  validDEResponse
85
- } from "./chunk-UCCRNRDK.js";
85
+ } from "./chunk-2OBKIEPJ.js";
86
86
  import {
87
87
  boxplotPayload,
88
88
  validBoxPlotRequest,
package/dist/termdb.DE.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  diffExpPayload,
3
3
  validDERequest,
4
4
  validDEResponse
5
- } from "./chunk-UCCRNRDK.js";
5
+ } from "./chunk-2OBKIEPJ.js";
6
6
  import "./chunk-CNSSF43V.js";
7
7
  export {
8
8
  diffExpPayload,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-types",
3
- "version": "2.109.1",
3
+ "version": "2.111.0",
4
4
  "type": "module",
5
5
  "description": "Shared type definitions between ProteinPaint server and client code",
6
6
  "main": "src/index.ts",
@@ -19,8 +19,6 @@ export type DERequest = {
19
19
  tw?: any
20
20
  /** Term for confounding variable2 (if present) */
21
21
  tw2?: any
22
- /** Number of variable genes (defined only for parametric DE methods) */
23
- VarGenes?: number
24
22
  }
25
23
 
26
24
  export type ExpressionInput = {
@@ -59,6 +57,10 @@ export type DEResponse = {
59
57
  sample_size2: number
60
58
  /** Method of DE used wilcoxon/edgeR */
61
59
  method: string
60
+ /** Image name from edgeR describing the quality of the fitting from QL pipeline, this is only generated for edgeR not for wilcoxon method */
61
+ ql_image?: any
62
+ /** Image name from edgeR showing the MDS plot of samples from both groups, this is only generated for edgeR not for wilcoxon method */
63
+ mds_image?: any
62
64
  }
63
65
 
64
66
  export const diffExpPayload: RoutePayload = {