@sjcrh/proteinpaint-types 2.116.1-2 → 2.118.1-1
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/dist/brainImaging.js +1 -1
- package/dist/{chunk-PTYGGJLG.js → chunk-4U546XOJ.js} +57 -57
- package/dist/{chunk-CNR46KGX.js → chunk-53UNFIIG.js} +18 -18
- package/dist/{chunk-ZPN2DV5E.js → chunk-DL4UYYVE.js} +8 -8
- package/dist/{chunk-KBTAXZM4.js → chunk-GD3KAF6V.js} +47 -47
- package/dist/{chunk-M26XQDA4.js → chunk-GI4NNB34.js} +8 -8
- package/dist/{chunk-NESPJ4GG.js → chunk-J6SJ4M3S.js} +26 -26
- package/dist/{chunk-C7DJDPLP.js → chunk-JOGEIPHA.js} +57 -57
- package/dist/{chunk-I3U2T7HV.js → chunk-JYO2T4HZ.js} +57 -57
- package/dist/{chunk-GS37E7DB.js → chunk-KG7UDG6M.js} +57 -57
- package/dist/{chunk-KZIZMP7Y.js → chunk-OL4OMJSP.js} +26 -26
- package/dist/{chunk-7GSVLBKZ.js → chunk-ROPNHRVV.js} +8 -8
- package/dist/{chunk-EQGBEPDC.js → chunk-T2CSA2MC.js} +8 -8
- package/dist/correlationVolcano.js +1 -1
- package/dist/index.js +12 -12
- package/dist/termdb.boxplot.js +1 -1
- package/dist/termdb.categories.js +1 -1
- package/dist/termdb.cluster.js +1 -1
- package/dist/termdb.descrstats.js +1 -1
- package/dist/termdb.numericcategories.js +1 -1
- package/dist/termdb.percentile.js +1 -1
- package/dist/termdb.termsbyids.js +1 -1
- package/dist/termdb.topTermsByType.js +1 -1
- package/dist/termdb.topVariablyExpressedGenes.js +1 -1
- package/dist/termdb.violin.js +1 -1
- package/package.json +1 -1
- package/src/dataset.ts +44 -17
- package/src/terms/geneVariant.ts +2 -10
- package/src/vocab.ts +5 -5
|
@@ -102,8 +102,8 @@ var validPercentileRequest = (input) => {
|
|
|
102
102
|
const $io24 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && true;
|
|
103
103
|
const $io25 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
|
|
104
104
|
const $io26 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu8(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem)));
|
|
105
|
-
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $
|
|
106
|
-
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $
|
|
105
|
+
const $io27 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
|
|
106
|
+
const $io28 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io4(input3.values)) && true && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu4(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
|
|
107
107
|
const $io29 = (input3) => 1 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
108
108
|
const $io30 = (input3) => 4 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_loss" === elem || "CNV_loh" === elem || "CNV_amplification" === elem || "CNV_homozygous_deletion" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
109
109
|
const $io31 = (input3) => 5 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
|
|
@@ -1134,11 +1134,11 @@ var validPercentileRequest = (input) => {
|
|
|
1134
1134
|
value: input3.values
|
|
1135
1135
|
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1136
1136
|
path: _path2 + ".groupsetting",
|
|
1137
|
-
expected: "EnabledTermGroupSetting",
|
|
1137
|
+
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1138
1138
|
value: input3.groupsetting
|
|
1139
|
-
})) && $
|
|
1139
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1140
1140
|
path: _path2 + ".groupsetting",
|
|
1141
|
-
expected: "EnabledTermGroupSetting",
|
|
1141
|
+
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1142
1142
|
value: input3.groupsetting
|
|
1143
1143
|
}), "gene" === input3.kind || $report(_exceptionable2, {
|
|
1144
1144
|
path: _path2 + ".kind",
|
|
@@ -1215,11 +1215,11 @@ var validPercentileRequest = (input) => {
|
|
|
1215
1215
|
value: input3.values
|
|
1216
1216
|
}), true, ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
|
|
1217
1217
|
path: _path2 + ".groupsetting",
|
|
1218
|
-
expected: "EnabledTermGroupSetting",
|
|
1218
|
+
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1219
1219
|
value: input3.groupsetting
|
|
1220
|
-
})) && $
|
|
1220
|
+
})) && $vu4(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
|
|
1221
1221
|
path: _path2 + ".groupsetting",
|
|
1222
|
-
expected: "EnabledTermGroupSetting",
|
|
1222
|
+
expected: "(EnabledTermGroupSetting | __type.o1)",
|
|
1223
1223
|
value: input3.groupsetting
|
|
1224
1224
|
}), "coord" === input3.kind || $report(_exceptionable2, {
|
|
1225
1225
|
path: _path2 + ".kind",
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
termsByIdsPayload,
|
|
3
3
|
validTermsByIdsRequest,
|
|
4
4
|
validTermsByIdsResponse
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JYO2T4HZ.js";
|
|
6
6
|
import {
|
|
7
7
|
topMutatedGenePayload,
|
|
8
8
|
validTopMutatedGeneRequest,
|
|
@@ -12,17 +12,17 @@ import {
|
|
|
12
12
|
termdbTopTermsByTypePayload,
|
|
13
13
|
validTermdbTopTermsByTypeRequest,
|
|
14
14
|
validTermdbTopTermsByTypeResponse
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OL4OMJSP.js";
|
|
16
16
|
import {
|
|
17
17
|
termdbTopVariablyExpressedGenesPayload,
|
|
18
18
|
validTermdbTopVariablyExpressedGenesRequest,
|
|
19
19
|
validTermdbTopVariablyExpressedGenesResponse
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ROPNHRVV.js";
|
|
21
21
|
import {
|
|
22
22
|
validViolinRequest,
|
|
23
23
|
validViolinResponse,
|
|
24
24
|
violinPayload
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-DL4UYYVE.js";
|
|
26
26
|
import {
|
|
27
27
|
tilePayload,
|
|
28
28
|
validTileRequest,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
percentilePayload,
|
|
43
43
|
validPercentileRequest,
|
|
44
44
|
validPercentileResponse
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-T2CSA2MC.js";
|
|
46
46
|
import {
|
|
47
47
|
rootTermPayload,
|
|
48
48
|
validRootTermRequest,
|
|
@@ -87,17 +87,17 @@ import {
|
|
|
87
87
|
boxplotPayload,
|
|
88
88
|
validBoxPlotRequest,
|
|
89
89
|
validBoxPlotResponse
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-4U546XOJ.js";
|
|
91
91
|
import {
|
|
92
92
|
termdbCategoriesPayload,
|
|
93
93
|
validCategoriesRequest,
|
|
94
94
|
validCategoriesResponse
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-JOGEIPHA.js";
|
|
96
96
|
import {
|
|
97
97
|
termdbClusterPayload,
|
|
98
98
|
validTermdbClusterRequest,
|
|
99
99
|
validTermdbClusterResponse
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-J6SJ4M3S.js";
|
|
101
101
|
import {
|
|
102
102
|
termdbCohortSummaryPayload,
|
|
103
103
|
validTermdbCohortSummaryRequest,
|
|
@@ -112,12 +112,12 @@ import {
|
|
|
112
112
|
descrStatsPayload,
|
|
113
113
|
validDescrStatsRequest,
|
|
114
114
|
validDescrStatsResponse
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-KG7UDG6M.js";
|
|
116
116
|
import {
|
|
117
117
|
numericCategoriesPayload,
|
|
118
118
|
validNumericCategoriesRequest,
|
|
119
119
|
validNumericCategoriesResponse
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-GI4NNB34.js";
|
|
121
121
|
import {
|
|
122
122
|
hicstatPayload,
|
|
123
123
|
validHicstatRequest,
|
|
@@ -197,7 +197,7 @@ import {
|
|
|
197
197
|
brainImagingPayload,
|
|
198
198
|
validBrainImagingRequest,
|
|
199
199
|
validBrainImagingResponse
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-GD3KAF6V.js";
|
|
201
201
|
import {
|
|
202
202
|
brainImagingSamplesPayload,
|
|
203
203
|
validBrainImagingSamplesRequest,
|
|
@@ -212,7 +212,7 @@ import {
|
|
|
212
212
|
CorrelationVolcanoPayload,
|
|
213
213
|
validCorrelationVolcanoRequest,
|
|
214
214
|
validCorrelationVolcanoResponse
|
|
215
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-53UNFIIG.js";
|
|
216
216
|
import {
|
|
217
217
|
datasetPayload,
|
|
218
218
|
validDatasetRequest,
|
package/dist/termdb.boxplot.js
CHANGED
package/dist/termdb.cluster.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
termdbTopVariablyExpressedGenesPayload,
|
|
3
3
|
validTermdbTopVariablyExpressedGenesRequest,
|
|
4
4
|
validTermdbTopVariablyExpressedGenesResponse
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ROPNHRVV.js";
|
|
6
6
|
import "./chunk-CNSSF43V.js";
|
|
7
7
|
export {
|
|
8
8
|
termdbTopVariablyExpressedGenesPayload,
|
package/dist/termdb.violin.js
CHANGED
package/package.json
CHANGED
package/src/dataset.ts
CHANGED
|
@@ -522,33 +522,57 @@ type TrackLst = {
|
|
|
522
522
|
activeTracks: string[]
|
|
523
523
|
}
|
|
524
524
|
|
|
525
|
+
/** cnv segments are queried by coordinates, and can be filtered by segment length and/or value
|
|
526
|
+
configs for types of cnv data
|
|
527
|
+
- log(ratio)
|
|
528
|
+
{
|
|
529
|
+
cnvMaxLength:10000000
|
|
530
|
+
cnvGainCutoff:5
|
|
531
|
+
cnvLossCutoff:-5
|
|
532
|
+
}
|
|
533
|
+
- copy number
|
|
534
|
+
{
|
|
535
|
+
cnvMaxLength:1000000
|
|
536
|
+
cnvMaxCopynumber:10
|
|
537
|
+
cnvMinCopynumber:1
|
|
538
|
+
}
|
|
539
|
+
important: presence of filtering properties indiate the type of cnv quantification
|
|
540
|
+
and will trigger rendering of ui controls
|
|
541
|
+
*/
|
|
525
542
|
type CnvSegment = {
|
|
526
|
-
|
|
543
|
+
/** ds supplied ordynamically added getter */
|
|
544
|
+
get?: (q: any) => any
|
|
545
|
+
/** either file or get is required. file is bgzipped with columns:
|
|
546
|
+
1. chr
|
|
547
|
+
2. start, 0-based
|
|
548
|
+
3. stop
|
|
549
|
+
4. {"dt": 4, "mattr": {"origin": "somatic"}, "sample": "3332", "value": -1.0}
|
|
550
|
+
*/
|
|
551
|
+
file?: string
|
|
552
|
+
|
|
527
553
|
/****** rendering parameters ****
|
|
528
|
-
not used as query parameter to filter segments
|
|
529
|
-
value range for color scaling. default to 5. cnv segment value>this will use solid color
|
|
530
|
-
*/
|
|
554
|
+
not used as query parameter to filter segments
|
|
555
|
+
value range for color scaling. default to 5. cnv segment value>this will use solid color
|
|
556
|
+
*/
|
|
531
557
|
absoluteValueRenderMax?: number
|
|
532
558
|
gainColor?: string
|
|
533
559
|
lossColor?: string
|
|
534
560
|
|
|
535
|
-
|
|
536
|
-
|
|
561
|
+
/** filter segments by max length to restrict to focal events; set to -1 to show all
|
|
562
|
+
allow to be missing, in such case will always show all */
|
|
537
563
|
cnvMaxLength?: number
|
|
538
564
|
|
|
539
|
-
/**
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
if
|
|
565
|
+
/** if cnv is quantified as log(ratio) or similar, must set these two properties
|
|
566
|
+
filter segments by following two cutoffs only apply to log ratio, cnv gain value is positive, cnv loss value is negative
|
|
567
|
+
*/
|
|
568
|
+
/** if value>0, skip if value<this cutoff, set to a large value e.g. 100 for not filtering */
|
|
543
569
|
cnvGainCutoff?: number
|
|
544
|
-
/** if
|
|
570
|
+
/** if value<0, skip if value>this cutoff, set to a large negative value e.g. -100 for not filtering */
|
|
545
571
|
cnvLossCutoff?: number
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
/** only for src=native */
|
|
551
|
-
file?: string
|
|
572
|
+
/** TODO if cnv is quantified as integer copy number, must set these properties; do not use for log(ratio)
|
|
573
|
+
*/
|
|
574
|
+
cnvMinCopynumber?: number
|
|
575
|
+
cnvMaxCopynumber?: number
|
|
552
576
|
}
|
|
553
577
|
|
|
554
578
|
/*
|
|
@@ -1370,6 +1394,8 @@ keep this setting here for reason of:
|
|
|
1370
1394
|
/** colors for a category multivalues */
|
|
1371
1395
|
[index: string]: { [index: string]: string }
|
|
1372
1396
|
}
|
|
1397
|
+
//terms that are not shown in the dictionary tree unless the user is admin. If there is no authentication the terms listes are always hidden
|
|
1398
|
+
hiddenTermIds?: string[]
|
|
1373
1399
|
}
|
|
1374
1400
|
|
|
1375
1401
|
type SampleType = {
|
|
@@ -1477,6 +1503,7 @@ export type Cohort = {
|
|
|
1477
1503
|
/** if present, supplies premade scatter plots */
|
|
1478
1504
|
scatterplots?: Scatterplots
|
|
1479
1505
|
termdb: Termdb
|
|
1506
|
+
hiddenTermIds?: string[]
|
|
1480
1507
|
}
|
|
1481
1508
|
|
|
1482
1509
|
/** Customizations specific to the mass nav component */
|
package/src/terms/geneVariant.ts
CHANGED
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
MinBaseQ,
|
|
3
|
-
BaseTerm,
|
|
4
|
-
EnabledTermGroupSetting,
|
|
5
|
-
BaseTW,
|
|
6
|
-
GroupSettingQ,
|
|
7
|
-
ValuesQ,
|
|
8
|
-
TermValues
|
|
9
|
-
} from '../index.ts'
|
|
1
|
+
import type { MinBaseQ, BaseTerm, TermGroupSetting, BaseTW, GroupSettingQ, ValuesQ, TermValues } from '../index.ts'
|
|
10
2
|
import type { TermSettingInstance } from '../termsetting.ts'
|
|
11
3
|
|
|
12
4
|
export type GeneVariantBaseQ = MinBaseQ & {
|
|
@@ -23,7 +15,7 @@ export type GeneVariantQ = GeneVariantBaseQ & (ValuesQ | GroupSettingQ)
|
|
|
23
15
|
|
|
24
16
|
type GeneVariantBaseTerm = BaseTerm & {
|
|
25
17
|
type: 'geneVariant'
|
|
26
|
-
groupsetting:
|
|
18
|
+
groupsetting: TermGroupSetting
|
|
27
19
|
}
|
|
28
20
|
|
|
29
21
|
export type GeneVariantGeneTerm = GeneVariantBaseTerm & {
|
package/src/vocab.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TermWrapper } from './terms/tw.ts'
|
|
2
|
-
import { Term } from './terms/term.ts'
|
|
3
|
-
import { Filter } from './filter.ts'
|
|
4
|
-
import { UseCase } from './termsetting.ts'
|
|
1
|
+
import type { TermWrapper } from './terms/tw.ts'
|
|
2
|
+
import type { Term } from './terms/term.ts'
|
|
3
|
+
import type { Filter } from './filter.ts'
|
|
4
|
+
import type { UseCase } from './termsetting.ts'
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
--------EXPORTED--------
|
|
@@ -16,7 +16,7 @@ export type VocabApi = {
|
|
|
16
16
|
//Methods
|
|
17
17
|
cacheTermQ: (term: Term, q: any) => any
|
|
18
18
|
findTerm: (f: string, activeCohort: number, usecase: UseCase, x: string) => { lst: Term[] }
|
|
19
|
-
getCategories: (term: Term,
|
|
19
|
+
getCategories: (term: Term, filter?: Filter, body?: any) => any
|
|
20
20
|
getCustomTermQLst: (f: Term) => any
|
|
21
21
|
getPercentile: (term_id: string | number, percentile_lst: number[], filter?: Filter) => any
|
|
22
22
|
getterm: (f: any) => Term
|