larvitar 3.0.0 → 3.2.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/imaging/imageRendering.d.ts +2 -1
- package/dist/imaging/loaders/dsaImageLoader.d.ts +1 -2
- package/dist/imaging/tools/custom/LengthPlotTool.d.ts +1 -1
- package/dist/imaging/tools/main.d.ts +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/larvitar.js +1 -1
- package/dist/logger.d.ts +14 -0
- package/imaging/types.d.ts +1 -1
- package/package.json +2 -1
package/dist/logger.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LogType } from "consola";
|
|
2
|
+
export declare const logger: import("consola").ConsolaInstance;
|
|
3
|
+
/**
|
|
4
|
+
* Set the log level
|
|
5
|
+
* @function setLogLevel
|
|
6
|
+
* @param {LogType} level - The log level to set
|
|
7
|
+
*/
|
|
8
|
+
export declare const setLogLevel: (level: LogType) => void;
|
|
9
|
+
/**
|
|
10
|
+
* Get the current log level
|
|
11
|
+
* @function getLogLevel
|
|
12
|
+
* @returns {LogType}The current log level
|
|
13
|
+
*/
|
|
14
|
+
export declare const getLogLevel: () => LogType;
|
package/imaging/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"medical",
|
|
7
7
|
"cornerstone"
|
|
8
8
|
],
|
|
9
|
-
"version": "3.
|
|
9
|
+
"version": "3.2.1",
|
|
10
10
|
"description": "typescript library for parsing, loading, rendering and interacting with DICOM images",
|
|
11
11
|
"repository": {
|
|
12
12
|
"url": "https://github.com/dvisionlab/Larvitar.git",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@hyzyla/pdfium": "^2.1.2",
|
|
39
39
|
"@rollup/plugin-commonjs": "^17.1.0",
|
|
40
|
+
"consola": "^3.4.0",
|
|
40
41
|
"cornerstone-core": "^2.6.1",
|
|
41
42
|
"cornerstone-file-image-loader": "^0.3.0",
|
|
42
43
|
"cornerstone-tools": "^6.0.7",
|