@sjcrh/proteinpaint-types 2.170.10 → 2.170.12

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 +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sjcrh/proteinpaint-types",
3
- "version": "2.170.10",
3
+ "version": "2.170.12",
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
@@ -1592,6 +1592,8 @@ keep this setting here for reason of:
1592
1592
  maxConcurrentQueries?: number
1593
1593
  /** (client-side) maximum number of terms that should be submitted in one fetch request in TermdbVocab.getAnnotatedSampleData() */
1594
1594
  maxAnnoTermsPerClientRequest?: number
1595
+ /** option to disable mayAddDataAvailability() based on request path and query parameters */
1596
+ disableAssayAvailability?: (path: string, query: { [key: string]: any }) => boolean
1595
1597
  //terms are shown in the dictionary based on term and user role.
1596
1598
  isTermVisible?: (clientAuthResult: any, ids: string) => boolean
1597
1599
  hiddenIds?: string[]