@sjcrh/proteinpaint-types 2.109.1 → 2.110.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.
@@ -78,7 +78,8 @@ var validDERequest = (input) => {
78
78
  var validDEResponse = (input) => {
79
79
  const errors = [];
80
80
  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);
81
+ const $io0 = (input3) => "string" === typeof input3.data && "number" === typeof input3.sample_size1 && "number" === typeof input3.sample_size2 && "string" === typeof input3.method && (void 0 === input3.ql_image || "string" === typeof input3.ql_image) && (void 0 === input3.mds_image || "string" === typeof input3.mds_image);
82
+ return "object" === typeof input2 && null !== input2 && $io0(input2);
82
83
  };
83
84
  if (false === __is(input)) {
84
85
  const $report = import_typia.createValidate.report(errors);
@@ -99,6 +100,14 @@ var validDEResponse = (input) => {
99
100
  path: _path2 + ".method",
100
101
  expected: "string",
101
102
  value: input3.method
103
+ }), void 0 === input3.ql_image || "string" === typeof input3.ql_image || $report(_exceptionable2, {
104
+ path: _path2 + ".ql_image",
105
+ expected: "(string | undefined)",
106
+ value: input3.ql_image
107
+ }), void 0 === input3.mds_image || "string" === typeof input3.mds_image || $report(_exceptionable2, {
108
+ path: _path2 + ".mds_image",
109
+ expected: "(string | undefined)",
110
+ value: input3.mds_image
102
111
  })].every((flag) => flag);
103
112
  return ("object" === typeof input2 && null !== input2 || $report(true, {
104
113
  path: _path + "",
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-QNDN265J.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-QNDN265J.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.110.0",
4
4
  "type": "module",
5
5
  "description": "Shared type definitions between ProteinPaint server and client code",
6
6
  "main": "src/index.ts",
@@ -59,6 +59,10 @@ export type DEResponse = {
59
59
  sample_size2: number
60
60
  /** Method of DE used wilcoxon/edgeR */
61
61
  method: string
62
+ /** Image name from edgeR describing the quality of the fitting from QL pipeline, this is only generated for edgeR not for wilcoxon method */
63
+ ql_image?: string
64
+ /** Image name from edgeR showing the MDS plot of samples from both groups, this is only generated for edgeR not for wilcoxon method */
65
+ mds_image?: string
62
66
  }
63
67
 
64
68
  export const diffExpPayload: RoutePayload = {