@sjcrh/proteinpaint-types 2.181.0 → 2.182.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.
- package/package.json +1 -1
- package/src/dataset.ts +7 -1
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -1445,6 +1445,12 @@ if missing, name is value of m[url.namekey], as used in url itself (e.g. snp rsi
|
|
|
1445
1445
|
linkText?: string
|
|
1446
1446
|
}
|
|
1447
1447
|
|
|
1448
|
+
export type GetSamplesOpts = {
|
|
1449
|
+
filter: any // pp filter
|
|
1450
|
+
filter0: any // mmrf filter
|
|
1451
|
+
ds: any
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1448
1454
|
/*** type of ds.cohort.termdb{} ***/
|
|
1449
1455
|
export type Termdb = {
|
|
1450
1456
|
/** Terms */
|
|
@@ -1477,7 +1483,7 @@ export type Termdb = {
|
|
|
1477
1483
|
/** if true, backend is allowed to send sample names to client in charts */
|
|
1478
1484
|
displaySampleIds?: (clientAuthResult: any) => boolean
|
|
1479
1485
|
/** get samples that match supplied filter */
|
|
1480
|
-
getSamples?: (
|
|
1486
|
+
getSamples?: (opts: GetSamplesOpts) => Promise<Set<any>>
|
|
1481
1487
|
converSampleIds?: boolean
|
|
1482
1488
|
alwaysShowBranchTerms?: boolean
|
|
1483
1489
|
minimumSampleAllowed4filter?: number
|