@sjcrh/proteinpaint-types 2.132.1-1 → 2.133.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.
@@ -336,7 +336,7 @@ var validRunGRIN2Request = (input) => {
336
336
  });
337
337
  const $io2 = (input3) => (void 0 === input3.maf || "string" === typeof input3.maf) && (void 0 === input3.cnv || "string" === typeof input3.cnv);
338
338
  const $io3 = (input3) => (void 0 === input3.minTotalDepth || "number" === typeof input3.minTotalDepth) && (void 0 === input3.minAltAlleleCount || "number" === typeof input3.minAltAlleleCount) && (void 0 === input3.consequences || Array.isArray(input3.consequences) && input3.consequences.every((elem) => "string" === typeof elem)) && (void 0 === input3.hyperMutator || "number" === typeof input3.hyperMutator);
339
- const $io4 = (input3) => (void 0 === input3.lossThreshold || "number" === typeof input3.lossThreshold) && (void 0 === input3.gainThreshold || "number" === typeof input3.gainThreshold) && (void 0 === input3.segLength || "number" === typeof input3.segLength);
339
+ const $io4 = (input3) => (void 0 === input3.lossThreshold || "number" === typeof input3.lossThreshold) && (void 0 === input3.gainThreshold || "number" === typeof input3.gainThreshold) && (void 0 === input3.segLength || "number" === typeof input3.segLength) && (void 0 === input3.hyperMutator || "number" === typeof input3.hyperMutator);
340
340
  return "object" === typeof input2 && null !== input2 && $io0(input2);
341
341
  };
342
342
  if (false === __is(input)) {
@@ -430,6 +430,10 @@ var validRunGRIN2Request = (input) => {
430
430
  path: _path2 + ".segLength",
431
431
  expected: "(number | undefined)",
432
432
  value: input3.segLength
433
+ }), void 0 === input3.hyperMutator || "number" === typeof input3.hyperMutator || $report(_exceptionable2, {
434
+ path: _path2 + ".hyperMutator",
435
+ expected: "(number | undefined)",
436
+ value: input3.hyperMutator
433
437
  })].every((flag) => flag);
434
438
  return ("object" === typeof input2 && null !== input2 || $report(true, {
435
439
  path: _path + "",
package/dist/gdc.grin2.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  validGdcGRIN2listResponse,
6
6
  validRunGRIN2Request,
7
7
  validRunGRIN2Response
8
- } from "./chunk-7YC2GEEO.js";
8
+ } from "./chunk-TCSJGKT3.js";
9
9
  import "./chunk-CNSSF43V.js";
10
10
  export {
11
11
  gdcGRIN2listPayload,
package/dist/index.js CHANGED
@@ -190,7 +190,7 @@ import {
190
190
  validGdcGRIN2listResponse,
191
191
  validRunGRIN2Request,
192
192
  validRunGRIN2Response
193
- } from "./chunk-7YC2GEEO.js";
193
+ } from "./chunk-TCSJGKT3.js";
194
194
  import {
195
195
  gdcMafPayload,
196
196
  validGdcMafRequest,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-types",
3
- "version": "2.132.1-1",
3
+ "version": "2.133.0",
4
4
  "type": "module",
5
5
  "description": "Shared type definitions between ProteinPaint server and client code",
6
6
  "main": "src/index.ts",
@@ -117,6 +117,8 @@ export type RunGRIN2Request = {
117
117
  gainThreshold?: number // Default: 0.3
118
118
  /** Maximum segment length to include (0 = no filter) */
119
119
  segLength?: number // Default: 0
120
+ /** Hypermutator max cut off for CNVs per case */
121
+ hyperMutator?: number // Default: 500
120
122
  }
121
123
  }
122
124