From b55518e08ec9c9ab23e74aa4987927d8d75ae909 Mon Sep 17 00:00:00 2001 From: rodrigobasilio2022 <114958722+rodrigobasilio2022@users.noreply.github.com> Date: Wed, 9 Aug 2023 12:39:17 -0300 Subject: [PATCH] chore(exports): Exposes hydration functions from seg and rt extensions (#3585) --- extensions/cornerstone-dicom-rt/src/index.tsx | 2 ++ extensions/cornerstone-dicom-seg/src/index.tsx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/extensions/cornerstone-dicom-rt/src/index.tsx b/extensions/cornerstone-dicom-rt/src/index.tsx index 5cc8478f88e..e444b070892 100644 --- a/extensions/cornerstone-dicom-rt/src/index.tsx +++ b/extensions/cornerstone-dicom-rt/src/index.tsx @@ -2,6 +2,7 @@ import { id } from './id'; import React from 'react'; import { Types } from '@ohif/core'; import getSopClassHandlerModule from './getSopClassHandlerModule'; +import hydrateRTDisplaySet from './utils/_hydrateRT'; const Component = React.lazy(() => { return import( @@ -61,3 +62,4 @@ const extension: Types.Extensions.Extension = { }; export default extension; +export { hydrateRTDisplaySet }; diff --git a/extensions/cornerstone-dicom-seg/src/index.tsx b/extensions/cornerstone-dicom-seg/src/index.tsx index 10a19c42dbf..79ec4559459 100644 --- a/extensions/cornerstone-dicom-seg/src/index.tsx +++ b/extensions/cornerstone-dicom-seg/src/index.tsx @@ -6,6 +6,7 @@ import { Types } from '@ohif/core'; import getSopClassHandlerModule from './getSopClassHandlerModule'; import PanelSegmentation from './panels/PanelSegmentation'; import getHangingProtocolModule from './getHangingProtocolModule'; +import hydrateSEGDisplaySet from './utils/_hydrateSEG'; const Component = React.lazy(() => { return import( @@ -90,3 +91,4 @@ const extension = { }; export default extension; +export { hydrateSEGDisplaySet }; \ No newline at end of file