Skip to content

Commit

Permalink
Exposed functions and Types (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
sedghi committed Jun 3, 2021
1 parent 4709024 commit 72e885f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/cornerstone-tools/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import {
import drawing from './drawing'
import synchronizers from './synchronizers'
import * as Utilities from './util'
import * as Types from './types'

import {
BaseTool,
Expand Down Expand Up @@ -101,4 +102,5 @@ export {
getToolDataNearPointOnEnabledElement,
// Utilities
Utilities,
Types,
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { state } from '../index'

// Synchronizers are a bit more tenatious. We need to make sure we remove
// Synchronizers are a bit more tenacious. We need to make sure we remove
// any attached events
// We should probably just have a destroySynchronizer call
// then use getByX to allow versatility in how we can call destroy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ import destroy from './destroy'
import getSynchronizers from './getSynchronizers'
import getSynchronizerById from './getSynchronizerById'
import getAllSynchronizers from './getAllSynchronizers'
import destroySynchronizerById from './destroySynchronizerById'

export default {
createSynchronizer,
destroy,
getSynchronizerById,
getSynchronizers,
getAllSynchronizers,
destroySynchronizerById,
}

0 comments on commit 72e885f

Please sign in to comment.