@sjcrh/proteinpaint-types 2.112.0 → 2.112.1-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 +9 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-types",
3
- "version": "2.112.0",
3
+ "version": "2.112.1-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
@@ -243,7 +243,6 @@ type Population = {
243
243
  }
244
244
 
245
245
  /** primarily for prebuilding germline genetic association for survivorship portal
246
- accessible to client via termdb.js?for=mds3queryDetails
247
246
  part of state of genomeBrowser plot
248
247
  allowing for user modification
249
248
  */
@@ -334,7 +333,12 @@ so that it can work for a termdb-less ds, e.g. clinvar, where termdbConfig canno
334
333
  }
335
334
  allowSNPs?: boolean
336
335
  vcfid4skewerName?: boolean
336
+ /** config on computing variant data and show as a custom mds3 tk */
337
337
  details?: SnvindelComputeDetails
338
+ /** set to true to show mds3 tk by default when the ds have other genome browser track types besides this snvindel tk
339
+ if ds has only snvindel tk, then the tk will always be shown and no need to set this
340
+ */
341
+ shown?: boolean
338
342
  }
339
343
 
340
344
  type SvFusion = {
@@ -718,6 +722,7 @@ type SCImages = {
718
722
  label: string
719
723
  }
720
724
 
725
+ /** genome browser LD track */
721
726
  type LdQuery = {
722
727
  /** each track obj defines a ld track */
723
728
  tracks: {
@@ -725,8 +730,6 @@ type LdQuery = {
725
730
  name: string
726
731
  /** relative path of ld .gz file */
727
732
  file: string
728
- /** dynamically added full path */
729
- file0?: string
730
733
  /** dynamically added */
731
734
  nochr?: boolean
732
735
  /** if to show by default */
@@ -785,6 +788,9 @@ type Mds3Queries = {
785
788
  snvindel?: SnvIndelQuery
786
789
  svfusion?: SvFusion
787
790
  cnv?: CnvSegment
791
+ trackLst?: TrackLst
792
+ ld?: LdQuery
793
+ defaultCoord?: string
788
794
  singleSampleMutation?: SingleSampleMutationQuery
789
795
  NIdata?: NIdataQuery
790
796
  geneExpression?: GeneExpressionQuery
@@ -799,15 +805,12 @@ type Mds3Queries = {
799
805
  src: 'native' | 'gdc'
800
806
  file: string
801
807
  }
802
- trackLst?: TrackLst
803
808
  singleCell?: SingleCellQuery
804
809
  geneCnv?: {
805
810
  bygene?: {
806
811
  gdcapi: true
807
812
  }
808
813
  }
809
- defaultCoord?: string
810
- ld?: LdQuery
811
814
  singleSampleGenomeQuantification?: SingleSampleGenomeQuantification
812
815
  singleSampleGbtk?: SingleSampleGbtk
813
816
  /** depreciated. replaced by WSImages */