added 'edge' scope to dashboard, device, entityView

This commit is contained in:
Artem Babak 2020-11-05 16:02:10 +02:00
parent 2309193d83
commit 02f6b9bda0
3 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ import { isEqual } from '@core/utils';
}) })
export class DashboardFormComponent extends EntityComponent<Dashboard> { export class DashboardFormComponent extends EntityComponent<Dashboard> {
dashboardScope: 'tenant' | 'customer' | 'customer_user'; dashboardScope: 'tenant' | 'customer' | 'customer_user' | 'edge';
customerId: string; customerId: string;
publicLink: string; publicLink: string;

View File

@ -46,7 +46,7 @@ export class DeviceComponent extends EntityComponent<DeviceInfo> {
entityType = EntityType; entityType = EntityType;
deviceScope: 'tenant' | 'customer' | 'customer_user'; deviceScope: 'tenant' | 'customer' | 'customer_user' | 'edge';
constructor(protected store: Store<AppState>, constructor(protected store: Store<AppState>,
protected translate: TranslateService, protected translate: TranslateService,

View File

@ -40,7 +40,7 @@ export class EntityViewComponent extends EntityComponent<EntityViewInfo> {
dataKeyType = DataKeyType; dataKeyType = DataKeyType;
entityViewScope: 'tenant' | 'customer' | 'customer_user'; entityViewScope: 'tenant' | 'customer' | 'customer_user' | 'edge';
allowedEntityTypes = [EntityType.DEVICE, EntityType.ASSET]; allowedEntityTypes = [EntityType.DEVICE, EntityType.ASSET];