@sjcrh/proteinpaint-types 2.87.1 → 2.88.2

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 +5 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-types",
3
- "version": "2.87.1",
3
+ "version": "2.88.2",
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
@@ -1199,7 +1199,6 @@ export type Cohort = {
1199
1199
  /** customize the default chart to open on mass ui when there's no charts. if
1200
1200
  * missing it opens dictionary ui */
1201
1201
  defaultChartType?: string
1202
- hiddenChartTypes?: string[]
1203
1202
  massNav?: MassNav
1204
1203
  matrixplots?: MatrixPlots
1205
1204
  mutationset?: MutationSet[]
@@ -1215,13 +1214,16 @@ type MassNav = {
1215
1214
  title?: Title
1216
1215
  /** Customization for the tabs*/
1217
1216
  tabs?: {
1218
- /** about, charts, groups, and fitler */
1217
+ /** supported keys: about, charts, groups, filter
1218
+ invalid key is ignored
1219
+ when dslabel is too long to show in about tab middl row or to define alternative label, do .tabs:{about:{mid:'alt label'}}
1220
+ */
1219
1221
  [index: string]: {
1220
1222
  /** show in a specific order of tabs */
1221
1223
  order?: number
1222
1224
  /** label appearing in the top row in upper case */
1223
1225
  top?: string
1224
- /** biggest label appearing in the middle row in upper case */
1226
+ /** biggest label appearing in the middle row */
1225
1227
  mid?: string
1226
1228
  /** label appearing in the bottom row*/
1227
1229
  btm?: string