@sjcrh/proteinpaint-types 2.137.1-0 → 2.137.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.
- package/package.json +1 -1
- package/src/dataset.ts +10 -1
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -1539,7 +1539,16 @@ type PlotConfigByCohort = {
|
|
|
1539
1539
|
type Tw = {
|
|
1540
1540
|
id: string
|
|
1541
1541
|
q: unknown
|
|
1542
|
-
|
|
1542
|
+
/** quick fix for generating URL links in mds3 tk sample table! adhoc design. may move to tw.term.baseURL and not specific to mds3 tk
|
|
1543
|
+
*/
|
|
1544
|
+
baseURL?: string
|
|
1545
|
+
/** quick fix. such a "publication" term can have values either pmid or doi, need to generate different links
|
|
1546
|
+
cannot use ds-defined callback to compute the link as the links are only generated on client
|
|
1547
|
+
thus this work around for client code to apply the url-building logic
|
|
1548
|
+
a doi value must be defined as "doi: 10.1038/s41408-025-01309-6", beginning with "doi: ", this allows client code to recognize it is doi;
|
|
1549
|
+
otherwise it is treated as pmid and joined to pubmed link as-is
|
|
1550
|
+
*/
|
|
1551
|
+
pmidOrDoi?: true
|
|
1543
1552
|
}
|
|
1544
1553
|
|
|
1545
1554
|
type Variant2Samples = GdcApi & {
|