react-mutation-mapper 0.8.23 → 0.8.27
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/component/column/Annotation.d.ts +2 -0
- package/dist/component/oncokb/AnnotationIcon.d.ts +4 -1
- package/dist/component/oncokb/CompactAnnotationIcon.d.ts +8 -0
- package/dist/component/oncokb/OncoKB.d.ts +4 -0
- package/dist/component/oncokb/OncoKbCard.d.ts +1 -0
- package/dist/component/oncokb/OncoKbCardBody.d.ts +1 -0
- package/dist/index.es.js +359 -163
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +358 -162
- package/dist/index.js.map +1 -1
- package/dist/util/OncoKbUtils.d.ts +4 -1
- package/package.json +6 -6
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { IOncoKbData, Mutation } from 'cbioportal-utils';
|
|
1
|
+
import { IOncoKbData, Mutation, OncoKbCardDataType } from 'cbioportal-utils';
|
|
2
2
|
import { IndicatorQueryResp, TumorType } from 'oncokb-ts-api-client';
|
|
3
3
|
export declare function normalizeLevel(level: string | null): string | null;
|
|
4
|
+
export declare function normalizeOncogenicity(oncogenicity?: string): string;
|
|
4
5
|
export declare function oncogenicXPosition(highestSensitiveLevel: string | null): number;
|
|
5
6
|
export declare function oncogenicYPosition(oncogenicity: string, isVUS: boolean, resistanceLevel: string | null): number;
|
|
6
7
|
export declare function levelIconClassNames(level: string): string;
|
|
7
8
|
export declare function oncogenicityIconClassNames(oncogenicity: string): string;
|
|
9
|
+
export declare function annotationIconClassNames(type: OncoKbCardDataType, highestLevel: string, indicator?: IndicatorQueryResp): string;
|
|
10
|
+
export declare function calcHighestIndicatorLevel(type: OncoKbCardDataType, indicator?: IndicatorQueryResp): string;
|
|
8
11
|
export declare function calcOncogenicScore(oncogenic: string): number;
|
|
9
12
|
export declare function calcSensitivityLevelScore(level: string): number;
|
|
10
13
|
export declare function calcResistanceLevelScore(level: string): number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-mutation-mapper",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.27",
|
|
4
4
|
"description": "Generic Mutation Mapper",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"autobind-decorator": "^2.1.0",
|
|
42
|
-
"cbioportal-frontend-commons": "^0.5.
|
|
43
|
-
"cbioportal-utils": "^0.3.
|
|
42
|
+
"cbioportal-frontend-commons": "^0.5.13",
|
|
43
|
+
"cbioportal-utils": "^0.3.9",
|
|
44
44
|
"classnames": "^2.2.5",
|
|
45
|
-
"genome-nexus-ts-api-client": "^1.1.
|
|
45
|
+
"genome-nexus-ts-api-client": "^1.1.18",
|
|
46
46
|
"jquery": "^3.2.1",
|
|
47
47
|
"lodash": "^4.17.11",
|
|
48
48
|
"memoize-weak-decorator": "^1.0.3",
|
|
49
49
|
"mobxpromise": "github:cbioportal/mobxpromise#303db72588860bff0a6862a4f07a4e8a3578c94f",
|
|
50
50
|
"oncokb-styles": "~1.3.0",
|
|
51
|
-
"oncokb-ts-api-client": "^1.1.
|
|
51
|
+
"oncokb-ts-api-client": "^1.1.10",
|
|
52
52
|
"react-collapse": "^4.0.3",
|
|
53
53
|
"react-if": "^2.1.0",
|
|
54
54
|
"react-motion": "^0.5.2",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"superagent": "^3.8.3",
|
|
60
60
|
"typescript": "4.0.3"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "ed8be66c4b14cb6c89e0aed174ff92d490f08579"
|
|
63
63
|
}
|