fix(typescript): Missed renames UIModalService and UserAuthenticationService (#3171)

This commit is contained in:
Bill Wallace authored and GitHub committed 2023-02-13 08:55:55 -05:00
1 parent 8af0362d12
commit ecfdc9a687
11 files changed
+41 -39

No files matched your search

@@ -357,7 +357,7 @@ export default class ExtensionManager {
};
_initDataSourcesModule(extensionModule, extensionId, dataSources = []) {
const { UserAuthenticationService } = this._servicesManager.services;
const { userAuthenticationService } = this._servicesManager.services;
dataSources.forEach(dataSource => {
this.dataSourceDefs[dataSource.sourceName] = dataSource;
});
@@ -369,7 +369,7 @@ export default class ExtensionManager {
if (dataSource.namespace === namespace) {
const dataSourceInstance = element.createDataSource(
dataSource.configuration,
UserAuthenticationService
userAuthenticationService
);
if (this.dataSourceMap[dataSource.sourceName]) {
+2
View File
@@ -11,6 +11,7 @@ import {
* The interface for the services object
*/
export default interface Services {
userAuthenticationService?: Record<string, unknown>;
hangingProtocolService?: HangingProtocolService;
customizationService?: CustomizationService;
measurementService?: MeasurementService;
@@ -21,6 +22,7 @@ export default interface Services {
uiDialogService?: Record<string, unknown>;
toolGroupService?: Record<string, unknown>;
uiNotificationService?: Record<string, unknown>;
uiModalService?: Record<string, unknown>;
viewportGridService?: ViewportGridService;
syncGroupService?: Record<string, unknown>;
cornerstoneCacheService?: Record<string, unknown>;