@sjcrh/proteinpaint-types 2.92.1-0 → 2.94.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-types",
3
- "version": "2.92.1-0",
3
+ "version": "2.94.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
@@ -784,8 +784,6 @@ export type SelectCohortEntry = {
784
784
  //The profile has clearOnChange. The terms used in the plots are not always the same for the profile.
785
785
  //Therefore when switching cohorts, it is necessary to delete the plots opened and the global filter
786
786
  clearOnChange?: { [index: string]: boolean }
787
- //Allows to customize the color of the selected column on the cohort features table. Used by the PrOFILE
788
- activeCohortColor?: string
789
787
  }
790
788
 
791
789
  type MissingAccess = {
@@ -1240,6 +1238,8 @@ type MassNav = {
1240
1238
  }
1241
1239
  }
1242
1240
  }
1241
+ /** customize background color of active navigation tab */
1242
+ activeColor?: string
1243
1243
  }
1244
1244
 
1245
1245
  type ActiveItem = {
@@ -35,7 +35,7 @@ export type BrainImagingResponse = {
35
35
  }
36
36
  }
37
37
 
38
- export type FilesByCategory = { [category: string]: { samples: string[]; color: string } }
38
+ export type FilesByCategory = { [category: string]: { samples: string[]; color?: any } }
39
39
 
40
40
  export const brainImagingPayload: RoutePayload = {
41
41
  request: {