chore(build): try to publish to npm (#3675)
This commit is contained in:
1 parent
10ca35d5f4
commit
c86b129f58
19 files changed
+236
-143
No files matched your search
@@ -8,6 +8,14 @@ sidebar_label: DisplaySet Service
|
||||
## Overview
|
||||
`DisplaySetService` handles converting the `instanceMetadata` into `DisplaySet` that `OHIF` uses for the visualization. `DisplaySetService` gets initialized at service startup time, but is then cleared in the `Mode.jsx`. During the initialization `SOPClassHandlerIds` of the `modes` gets registered with the `DisplaySetService`.
|
||||
|
||||
:::tip
|
||||
|
||||
DisplaySet is a general set of entities and contains links to bunch of displayable objects (images, etc.) Some series might get split up into different displaySets e.g., MG might have mixed views in a single series, but users might want to have separate LCC, RCC, etc. for hanging protocol usage. A viewport renders a display set into a displayable object.
|
||||
|
||||
imageSet is a particular implementation of image displays.
|
||||
:::
|
||||
|
||||
|
||||
> Based on the instanceMetadata's `SOPClassHandlerId`, the correct module from the registered extensions is found by `OHIF` and its `getDisplaySetsFromSeries` runs to create a DisplaySet for the Series. Note
|
||||
that this is an ordered operation, and consumes the instances as it proceeds, with the first registered
|
||||
handlers being able to consume instances first.
|
||||
|
||||
@@ -17,9 +17,9 @@ We maintain the following non-ui Services:
|
||||
- [DicomMetadata Store](./../data/DicomMetadataStore.md)
|
||||
- [DisplaySet Service](./../data/DisplaySetService.md)
|
||||
- [Hanging Protocol Service](../data/HangingProtocolService.md)
|
||||
- [Toolbar Service](../data/ToolBarService.md)
|
||||
- [Toolbar Service](./ToolbarService.md)
|
||||
- [Measurement Service](../data/MeasurementService.md)
|
||||
- [Customization Service](../data/customization-service.md)
|
||||
- [Customization Service](./../ui/customization-service.md)
|
||||
- [State Sync Service](../data/StateSyncService.md)
|
||||
- [Panel Service](../data/PanelService.md)
|
||||
|
||||
|
||||
@@ -74,6 +74,19 @@ module.exports = {
|
||||
// },
|
||||
themes: ['@docusaurus/theme-live-codeblock'],
|
||||
plugins: [
|
||||
() => ({
|
||||
name: 'resolve-react',
|
||||
configureWebpack() {
|
||||
return {
|
||||
resolve: {
|
||||
alias: {
|
||||
// assuming root node_modules is up from "./packages/<your-docusaurus>
|
||||
react: path.resolve('../../node_modules/react'),
|
||||
},
|
||||
},
|
||||
};
|
||||
},
|
||||
}),
|
||||
path.resolve(__dirname, './pluginOHIFWebpackConfig.js'),
|
||||
'plugin-image-zoom', // 3rd party plugin for image click to pop
|
||||
[
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
[build.environment]
|
||||
# If 'production', `yarn install` does not install devDependencies
|
||||
NODE_ENV = "development"
|
||||
NODE_VERSION = "16.14.0"
|
||||
NODE_VERSION = "18.16.1"
|
||||
YARN_VERSION = "1.22.5"
|
||||
RUBY_VERSION = "2.6.2"
|
||||
YARN_FLAGS = "--no-ignore-optional --pure-lockfile"
|
||||
|
||||
Reference in new issue
Block a user