@sjcrh/proteinpaint-types 2.160.1-0 → 2.161.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.
@@ -207,7 +207,7 @@ var validGRIN2Response = (input) => {
207
207
  const $io5 = (input3) => Array.isArray(input3.columns) && input3.columns.every((elem) => "object" === typeof elem && null !== elem && $io6(elem)) && (Array.isArray(input3.rows) && input3.rows.every((elem) => Array.isArray(elem) && elem.every((elem2) => "object" === typeof elem2 && null !== elem2 && $io7(elem2))));
208
208
  const $io6 = (input3) => "string" === typeof input3.label && "boolean" === typeof input3.sortable;
209
209
  const $io7 = (input3) => "string" === typeof input3.value || "number" === typeof input3.value;
210
- const $io8 = (input3) => "number" === typeof input3.processingTime && "number" === typeof input3.grin2Time && "number" === typeof input3.totalTime;
210
+ const $io8 = (input3) => "number" === typeof input3.processingTime && "number" === typeof input3.grin2Time && "number" === typeof input3.plottingTime && "number" === typeof input3.totalTime;
211
211
  const $io9 = (input3) => (void 0 === input3.totalSamples || "number" === typeof input3.totalSamples) && (void 0 === input3.processedSamples || "number" === typeof input3.processedSamples) && (void 0 === input3.failedSamples || "number" === typeof input3.failedSamples) && (void 0 === input3.failedFiles || Array.isArray(input3.failedFiles) && input3.failedFiles.every((elem) => "object" === typeof elem && null !== elem && $io10(elem))) && (void 0 === input3.totalLesions || "number" === typeof input3.totalLesions) && (void 0 === input3.processedLesions || "number" === typeof input3.processedLesions) && (void 0 === input3.unprocessedSamples || "number" === typeof input3.unprocessedSamples) && (void 0 === input3.lesionCounts || "object" === typeof input3.lesionCounts && null !== input3.lesionCounts && false === Array.isArray(input3.lesionCounts) && $io11(input3.lesionCounts));
212
212
  const $io10 = (input3) => "string" === typeof input3.sampleName && "string" === typeof input3.filePath && "string" === typeof input3.error;
213
213
  const $io11 = (input3) => (void 0 === input3.total || "number" === typeof input3.total) && (void 0 === input3.byType || "object" === typeof input3.byType && null !== input3.byType && false === Array.isArray(input3.byType) && $io12(input3.byType));
@@ -444,6 +444,10 @@ var validGRIN2Response = (input) => {
444
444
  path: _path2 + ".grin2Time",
445
445
  expected: "number",
446
446
  value: input3.grin2Time
447
+ }), "number" === typeof input3.plottingTime || $report(_exceptionable2, {
448
+ path: _path2 + ".plottingTime",
449
+ expected: "number",
450
+ value: input3.plottingTime
447
451
  }), "number" === typeof input3.totalTime || $report(_exceptionable2, {
448
452
  path: _path2 + ".totalTime",
449
453
  expected: "number",
package/dist/grin2.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  GRIN2Payload,
3
3
  validGRIN2Request,
4
4
  validGRIN2Response
5
- } from "./chunk-D37D752M.js";
5
+ } from "./chunk-CSPVFAJ7.js";
6
6
  import "./chunk-YNHC5SXO.js";
7
7
  export {
8
8
  GRIN2Payload,
package/dist/index.js CHANGED
@@ -217,7 +217,7 @@ import {
217
217
  GRIN2Payload,
218
218
  validGRIN2Request,
219
219
  validGRIN2Response
220
- } from "./chunk-D37D752M.js";
220
+ } from "./chunk-CSPVFAJ7.js";
221
221
  import {
222
222
  healthcheckPayload,
223
223
  validHealthCheckRequest,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-types",
3
- "version": "2.160.1-0",
3
+ "version": "2.161.0",
4
4
  "type": "module",
5
5
  "description": "Shared type definitions between ProteinPaint server and client code",
6
6
  "main": "src/index.ts",
@@ -151,6 +151,8 @@ export type GRIN2Response = {
151
151
  processingTime: number
152
152
  /** Time taken to run GRIN2 processing */
153
153
  grin2Time: number
154
+ /** Time taken to run Manhattan plot generation */
155
+ plottingTime: number
154
156
  /** Total time taken for the entire run */
155
157
  totalTime: number
156
158
  }