@sjcrh/proteinpaint-types 2.137.3 → 2.138.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/dataset.ts +6 -0
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.0",
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