@sjcrh/proteinpaint-types 2.79.3 → 2.79.4

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 +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-types",
3
- "version": "2.79.3",
3
+ "version": "2.79.4",
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
@@ -1006,6 +1006,7 @@ type Termdb = {
1006
1006
  html: string
1007
1007
  }
1008
1008
  hasSampleAncestry?: boolean
1009
+ sampleTypes?: SampleType[]
1009
1010
 
1010
1011
  tracks?: {
1011
1012
  /** allow color or shape changes in the lollipop */
@@ -1013,6 +1014,12 @@ type Termdb = {
1013
1014
  }
1014
1015
  }
1015
1016
 
1017
+ type SampleType = {
1018
+ name: string
1019
+ plural_name: string
1020
+ parent_id: string
1021
+ }
1022
+
1016
1023
  type ChartConfigByType = {
1017
1024
  [index: string]: ChartConfig
1018
1025
  }