@sjcrh/proteinpaint-types 2.100.1-1 → 2.101.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.
@@ -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.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 && $io11(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 && $io11(input3.filter)) && true;
77
77
  const $io1 = (input3) => (void 0 === input3.id || "string" === typeof 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 && $iu7(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io13(input3.term));
78
78
  const $io2 = (input3) => Object.keys(input3).every((key) => {
79
79
  const value = input3[key];
@@ -384,6 +384,10 @@ var validBoxPlotRequest = (input) => {
384
384
  path: _path2 + ".dslabel",
385
385
  expected: "string",
386
386
  value: input3.dslabel
387
+ }), "boolean" === typeof input3.isLogScale || $report(_exceptionable2, {
388
+ path: _path2 + ".isLogScale",
389
+ expected: "boolean",
390
+ value: input3.isLogScale
387
391
  }), "boolean" === typeof input3.orderByMedian || $report(_exceptionable2, {
388
392
  path: _path2 + ".orderByMedian",
389
393
  expected: "boolean",
package/dist/index.js CHANGED
@@ -87,7 +87,7 @@ import {
87
87
  boxplotPayload,
88
88
  validBoxPlotRequest,
89
89
  validBoxPlotResponse
90
- } from "./chunk-MPWRZLLD.js";
90
+ } from "./chunk-VSDZI6M3.js";
91
91
  import {
92
92
  termdbCategoriesPayload,
93
93
  validCategoriesRequest,
@@ -2,7 +2,7 @@ import {
2
2
  boxplotPayload,
3
3
  validBoxPlotRequest,
4
4
  validBoxPlotResponse
5
- } from "./chunk-MPWRZLLD.js";
5
+ } from "./chunk-VSDZI6M3.js";
6
6
  import "./chunk-Z6B6IQIY.js";
7
7
  export {
8
8
  boxplotPayload,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-types",
3
- "version": "2.100.1-1",
3
+ "version": "2.101.0",
4
4
  "type": "module",
5
5
  "description": "Shared type definitions between ProteinPaint server and client code",
6
6
  "main": "src/index.ts",
@@ -9,6 +9,8 @@ export type BoxPlotRequest = {
9
9
  tw: TermWrapper
10
10
  genome: string
11
11
  dslabel: string
12
+ /** if true, only return positive values */
13
+ isLogScale: boolean
12
14
  /** sort plots by median value */
13
15
  orderByMedian: boolean
14
16
  /** term2 */