@cornerstonejs/adapters 1.13.2 → 1.13.3

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.
@@ -4,5 +4,5 @@
4
4
  * @param images - An array of the cornerstone image objects, which includes imageId and metadata
5
5
  * @param labelmaps - An array of the 3D Volumes that contain the segmentation data.
6
6
  */
7
- declare function generateSegmentation(images: any, labelmaps: any, metadata: any, options: any): any;
7
+ declare function generateSegmentation(images: any, labelmaps: any, metadata: any, options?: {}): any;
8
8
  export { generateSegmentation };
@@ -0,0 +1,10 @@
1
+ interface DicomDataset {
2
+ _meta?: any;
3
+ }
4
+ /**
5
+ * Trigger file download from an array buffer
6
+ * @param bufferOrDataset - ArrayBuffer or DicomDataset
7
+ * @param filename - name of the file to download
8
+ */
9
+ export declare function downloadDICOMData(bufferOrDataset: ArrayBuffer | DicomDataset, filename: string): void;
10
+ export {};
@@ -1,4 +1,5 @@
1
1
  import { toArray } from "./toArray";
2
2
  import { codeMeaningEquals } from "./codeMeaningEquals";
3
3
  import { graphicTypeEquals } from "./graphicTypeEquals";
4
- export { toArray, codeMeaningEquals, graphicTypeEquals };
4
+ import { downloadDICOMData } from "./downloadDICOMData";
5
+ export { toArray, codeMeaningEquals, graphicTypeEquals, downloadDICOMData };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/adapters",
3
- "version": "1.13.2",
3
+ "version": "1.13.3",
4
4
  "description": "Adapters for Cornerstone3D to/from formats including DICOM SR and others",
5
5
  "src": "src/index.ts",
6
6
  "main": "./dist/@cornerstonejs/adapters.es.js",
@@ -49,9 +49,9 @@
49
49
  "ndarray": "^1.0.19"
50
50
  },
51
51
  "devDependencies": {
52
- "@cornerstonejs/core": "^1.13.2",
53
- "@cornerstonejs/streaming-image-volume-loader": "^1.13.2",
54
- "@cornerstonejs/tools": "^1.13.2"
52
+ "@cornerstonejs/core": "^1.13.3",
53
+ "@cornerstonejs/streaming-image-volume-loader": "^1.13.3",
54
+ "@cornerstonejs/tools": "^1.13.3"
55
55
  },
56
- "gitHead": "b41b433d7c4062667a7b51ca8ad37c4ff939ba09"
56
+ "gitHead": "c6b8f5db43f3ae2e397240bf7d0da0be7a4fd434"
57
57
  }