Merge pull request #10268 from ChantsovaEkaterina/improvement/extend-services-map
New services added to Services Map in Widget Context
This commit is contained in:
commit
c83e4a9723
@ -16,7 +16,9 @@
|
||||
|
||||
export * from './admin.service';
|
||||
export * from './alarm.service';
|
||||
export * from './alarm-comment.service';
|
||||
export * from './asset.service';
|
||||
export * from './asset-profile.service';
|
||||
export * from './attribute.service';
|
||||
export * from './audit-log.service';
|
||||
export * from './component-descriptor.service';
|
||||
@ -24,12 +26,14 @@ export * from './customer.service';
|
||||
export * from './dashboard.service';
|
||||
export * from './device.service';
|
||||
export * from './device-profile.service';
|
||||
export * from './entities-version-control.service';
|
||||
export * from './entity.service';
|
||||
export * from './edge.service';
|
||||
export * from './entity-relation.service';
|
||||
export * from './entity-view.service';
|
||||
export * from './event.service';
|
||||
export * from './http-utils';
|
||||
export * from './image.service';
|
||||
export * from './notification.service';
|
||||
export * from './oauth2.service';
|
||||
export * from './ota-package.service';
|
||||
|
||||
@ -44,12 +44,19 @@ import { TelemetryWebsocketService } from '@core/ws/telemetry-websocket.service'
|
||||
import { NotificationService } from '@core/http/notification.service';
|
||||
import { MillisecondsToTimeStringPipe } from '@shared/pipe/milliseconds-to-time-string.pipe';
|
||||
import { UserSettingsService } from '@core/http/user-settings.service';
|
||||
import { ImageService } from '@core/http/image.service';
|
||||
import { AlarmCommentService } from '@core/http/alarm-comment.service';
|
||||
import { TenantService } from '@core/http/tenant.service';
|
||||
import { TenantProfileService } from '@core/http/tenant-profile.service';
|
||||
import { UiSettingsService } from '@core/http/ui-settings.service';
|
||||
import { UsageInfoService } from '@core/http/usage-info.service';
|
||||
|
||||
export const ServicesMap = new Map<string, Type<any>>(
|
||||
[
|
||||
['broadcastService', BroadcastService],
|
||||
['deviceService', DeviceService],
|
||||
['alarmService', AlarmService],
|
||||
['alarmCommentService', AlarmCommentService],
|
||||
['assetService', AssetService],
|
||||
['entityViewService', EntityViewService],
|
||||
['customerService', CustomerService],
|
||||
@ -66,6 +73,7 @@ export const ServicesMap = new Map<string, Type<any>>(
|
||||
['translate', TranslateService],
|
||||
['http', HttpClient],
|
||||
['router', Router],
|
||||
['imageService', ImageService],
|
||||
['importExport', ImportExportService],
|
||||
['deviceProfileService', DeviceProfileService],
|
||||
['assetProfileService', AssetProfileService],
|
||||
@ -74,7 +82,11 @@ export const ServicesMap = new Map<string, Type<any>>(
|
||||
['resourceService', ResourceService],
|
||||
['twoFactorAuthenticationService', TwoFactorAuthenticationService],
|
||||
['telemetryWsService', TelemetryWebsocketService],
|
||||
['tenantService', TenantService],
|
||||
['tenantProfileService', TenantProfileService],
|
||||
['userSettingsService', UserSettingsService],
|
||||
['uiSettingsService', UiSettingsService],
|
||||
['usageInfoService', UsageInfoService],
|
||||
['notificationService', NotificationService]
|
||||
]
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user