* Added drag and drop from local and local data source * fix: dicom SR drag and drop from local
33 lines
828 B
JavaScript
33 lines
828 B
JavaScript
// TODO: Pull in IWebClientApi from @ohif/core
|
|
// TODO: Use constructor to create an instance of IWebClientApi
|
|
// TODO: Use existing DICOMWeb configuration (previously, appConfig, to configure instance)
|
|
|
|
import { createDicomWebApi } from './DicomWebDataSource/index.js';
|
|
import { createDicomJSONApi } from './DicomJSONDataSource/index.js';
|
|
import { createDicomLocalApi } from './DicomLocalDataSource/index.js';
|
|
|
|
/**
|
|
*
|
|
*/
|
|
function getDataSourcesModule() {
|
|
return [
|
|
{
|
|
name: 'dicomweb',
|
|
type: 'webApi',
|
|
createDataSource: createDicomWebApi,
|
|
},
|
|
{
|
|
name: 'dicomjson',
|
|
type: 'jsonApi',
|
|
createDataSource: createDicomJSONApi,
|
|
},
|
|
{
|
|
name: 'dicomlocal',
|
|
type: 'localApi',
|
|
createDataSource: createDicomLocalApi,
|
|
},
|
|
];
|
|
}
|
|
|
|
export default getDataSourcesModule;
|