|
|
|
@ -16,7 +16,6 @@ |
|
|
|
|
|
|
|
import { InjectionToken } from '@angular/core'; |
|
|
|
import { IModulesMap } from '@modules/common/modules-map.models'; |
|
|
|
import { AliasEntityType, EntityType } from '@shared/models/entity-type.models'; |
|
|
|
|
|
|
|
export const Constants = { |
|
|
|
serverErrorCode: { |
|
|
|
@ -138,22 +137,6 @@ export const HelpLinks = { |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
export const baseDetailsPageByEntityType = new Map<EntityType, string>([ |
|
|
|
[EntityType.TENANT, '/tenants'], |
|
|
|
[EntityType.TENANT_PROFILE, '/tenantProfiles'], |
|
|
|
[EntityType.CUSTOMER, '/customers'], |
|
|
|
[EntityType.USER, '/users'], |
|
|
|
[EntityType.DASHBOARD, '/dashboards'], |
|
|
|
[EntityType.ASSET, '/assets'], |
|
|
|
[EntityType.DEVICE, '/devices'], |
|
|
|
[EntityType.DEVICE_PROFILE, '/deviceProfiles'], |
|
|
|
[EntityType.RULE_CHAIN, '/ruleChains'], |
|
|
|
[EntityType.EDGE, '/edgeInstances'], |
|
|
|
[EntityType.ENTITY_VIEW, '/entityViews'], |
|
|
|
[EntityType.TB_RESOURCE, '/settings/resources-library'], |
|
|
|
[EntityType.OTA_PACKAGE, '/otaUpdates'] |
|
|
|
]); |
|
|
|
|
|
|
|
export interface ValueTypeData { |
|
|
|
name: string; |
|
|
|
icon: string; |
|
|
|
|