@sjcrh/proteinpaint-types 2.137.3 → 2.138.1

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.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 && $io12(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 && $io12(input3.filter)) && true && true;
77
77
  const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === 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 && false === Array.isArray(input3.q) && $iu7(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io15(input3.term));
78
78
  const $io2 = (input3) => Object.keys(input3).every((key) => {
79
79
  const value = input3[key];
@@ -386,7 +386,7 @@ var validBoxPlotRequest = (input) => {
386
386
  path: _path2 + ".filter",
387
387
  expected: "(Filter | undefined)",
388
388
  value: input3.filter
389
- }), true].every((flag) => flag);
389
+ }), true, true].every((flag) => flag);
390
390
  const $vo1 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
391
391
  path: _path2 + ".id",
392
392
  expected: "(string | undefined)",
@@ -59,7 +59,7 @@ var validViolinRequest = (input) => {
59
59
  const errors = [];
60
60
  const __is = (input2) => {
61
61
  const $join = import_typia.createValidate.join;
62
- const $io0 = (input3) => "number" === typeof input3.axisHeight && (Array.isArray(input3.currentGeneNames) && input3.currentGeneNames.every((elem) => "string" === typeof elem)) && "string" === typeof input3.datasymbol && "number" === typeof input3.devicePixelRatio && true && "string" === typeof input3.dslabel && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "string" === typeof input3.genome && "boolean" === typeof input3.isKDE && ("horizontal" === input3.orientation || "vertical" === input3.orientation) && "number" === typeof input3.radius && "number" === typeof input3.rightMargin && true && "number" === typeof input3.strokeWidth && "number" === typeof input3.svgw && "number" === typeof input3.ticks && true && "string" === typeof input3.unit;
62
+ const $io0 = (input3) => "number" === typeof input3.axisHeight && (Array.isArray(input3.currentGeneNames) && input3.currentGeneNames.every((elem) => "string" === typeof elem)) && "string" === typeof input3.datasymbol && "number" === typeof input3.devicePixelRatio && true && "string" === typeof input3.dslabel && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && "string" === typeof input3.genome && "boolean" === typeof input3.isKDE && ("horizontal" === input3.orientation || "vertical" === input3.orientation) && "number" === typeof input3.radius && "number" === typeof input3.rightMargin && true && "number" === typeof input3.strokeWidth && "number" === typeof input3.svgw && "number" === typeof input3.ticks && true && "string" === typeof input3.unit && true;
63
63
  const $io1 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
64
64
  const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu4(input3.tvs));
65
65
  const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io4(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io6(elem)));
@@ -255,7 +255,7 @@ var validViolinRequest = (input) => {
255
255
  path: _path2 + ".unit",
256
256
  expected: "string",
257
257
  value: input3.unit
258
- })].every((flag) => flag);
258
+ }), true].every((flag) => flag);
259
259
  const $vo1 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
260
260
  path: _path2 + ".type",
261
261
  expected: '"tvslst"',
@@ -22,7 +22,7 @@ var validCorrelationVolcanoRequest = (input) => {
22
22
  const errors = [];
23
23
  const __is = (input2) => {
24
24
  const $join = import_typia.createValidate.join;
25
- const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && ("object" === typeof input3.featureTw && null !== input3.featureTw && $iu4(input3.featureTw)) && (Array.isArray(input3.variableTwLst) && input3.variableTwLst.every((elem) => "object" === typeof elem && null !== elem && $iu4(elem))) && ("pearson" === input3.correlationMethod || "spearman" === input3.correlationMethod);
25
+ const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io1(input3.filter)) && true && ("object" === typeof input3.featureTw && null !== input3.featureTw && $iu4(input3.featureTw)) && (Array.isArray(input3.variableTwLst) && input3.variableTwLst.every((elem) => "object" === typeof elem && null !== elem && $iu4(elem))) && ("pearson" === input3.correlationMethod || "spearman" === input3.correlationMethod) && true;
26
26
  const $io1 = (input3) => "tvslst" === input3.type && "boolean" === typeof input3["in"] && "string" === typeof input3.join && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
27
27
  const $io2 = (input3) => "tvs" === input3.type && ("object" === typeof input3.tvs && null !== input3.tvs && $iu7(input3.tvs));
28
28
  const $io3 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io4(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io6(elem)));
@@ -339,7 +339,7 @@ var validCorrelationVolcanoRequest = (input) => {
339
339
  path: _path2 + ".correlationMethod",
340
340
  expected: '("pearson" | "spearman")',
341
341
  value: input3.correlationMethod
342
- })].every((flag) => flag);
342
+ }), true].every((flag) => flag);
343
343
  const $vo1 = (input3, _path2, _exceptionable2 = true) => ["tvslst" === input3.type || $report(_exceptionable2, {
344
344
  path: _path2 + ".type",
345
345
  expected: '"tvslst"',
@@ -2,7 +2,7 @@ import {
2
2
  CorrelationVolcanoPayload,
3
3
  validCorrelationVolcanoRequest,
4
4
  validCorrelationVolcanoResponse
5
- } from "./chunk-AL4VFH5I.js";
5
+ } from "./chunk-QG776KAI.js";
6
6
  import "./chunk-CNSSF43V.js";
7
7
  export {
8
8
  CorrelationVolcanoPayload,
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  validViolinRequest,
18
18
  validViolinResponse,
19
19
  violinPayload
20
- } from "./chunk-S2M5SN7Q.js";
20
+ } from "./chunk-O3NHQOWL.js";
21
21
  import {
22
22
  tilePayload,
23
23
  validTileRequest,
@@ -77,7 +77,7 @@ import {
77
77
  boxplotPayload,
78
78
  validBoxPlotRequest,
79
79
  validBoxPlotResponse
80
- } from "./chunk-HWRFIXJA.js";
80
+ } from "./chunk-IY6W7HXW.js";
81
81
  import {
82
82
  termdbCategoriesPayload,
83
83
  validCategoriesRequest,
@@ -257,7 +257,7 @@ import {
257
257
  CorrelationVolcanoPayload,
258
258
  validCorrelationVolcanoRequest,
259
259
  validCorrelationVolcanoResponse
260
- } from "./chunk-AL4VFH5I.js";
260
+ } from "./chunk-QG776KAI.js";
261
261
  import {
262
262
  datasetPayload,
263
263
  validDatasetRequest,
@@ -2,7 +2,7 @@ import {
2
2
  boxplotPayload,
3
3
  validBoxPlotRequest,
4
4
  validBoxPlotResponse
5
- } from "./chunk-HWRFIXJA.js";
5
+ } from "./chunk-IY6W7HXW.js";
6
6
  import "./chunk-CNSSF43V.js";
7
7
  export {
8
8
  boxplotPayload,
@@ -2,7 +2,7 @@ import {
2
2
  validViolinRequest,
3
3
  validViolinResponse,
4
4
  violinPayload
5
- } from "./chunk-S2M5SN7Q.js";
5
+ } from "./chunk-O3NHQOWL.js";
6
6
  import "./chunk-CNSSF43V.js";
7
7
  export {
8
8
  validViolinRequest,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-types",
3
- "version": "2.137.3",
3
+ "version": "2.138.1",
4
4
  "type": "module",
5
5
  "description": "Shared type definitions between ProteinPaint server and client code",
6
6
  "main": "src/index.ts",
package/src/dataset.ts CHANGED
@@ -1366,6 +1366,12 @@ if missing, name is value of m[url.namekey], as used in url itself (e.g. snp rsi
1366
1366
  export type Termdb = {
1367
1367
  /** Terms */
1368
1368
  termIds?: TermIds
1369
+ /**
1370
+ * The required minimum number of samples with data as queried with getData() or other code,
1371
+ * in order to minimize the ease of extracting identifiable information from aggregate data
1372
+ * in server response
1373
+ */
1374
+ minSampleSizeForFilterCharts?: number
1369
1375
  /** if true, backend is allowed to send sample names to client in charts */
1370
1376
  displaySampleIds?: (clientAuthResult: any) => boolean
1371
1377
  converSampleIds?: boolean
@@ -14,7 +14,7 @@ export type CorrelationVolcanoRequest = {
14
14
  variableTwLst: TermWrapper[]
15
15
  /** correlation method */
16
16
  correlationMethod: 'pearson' | 'spearman'
17
- /** add new param */
17
+ __protected__: any
18
18
  }
19
19
 
20
20
  export type CorrelationVolcanoResponse = {
@@ -17,6 +17,7 @@ export type BoxPlotRequest = {
17
17
  overlayTw?: TermWrapper
18
18
  filter?: Filter
19
19
  filter0?: any
20
+ __protected__: any
20
21
  }
21
22
 
22
23
  export type BoxPlotResponse = {
@@ -47,6 +47,7 @@ export type ViolinRequest = {
47
47
  tw: any
48
48
  /** A string representing a unit of measurement (e.g., 'log' for log scale) */
49
49
  unit: string
50
+ __protected__: any
50
51
  }
51
52
 
52
53
  /** ?? TODO: Needs description */