added 'edge' scope to dashboard, device, entityView
This commit is contained in:
parent
2309193d83
commit
02f6b9bda0
@ -38,7 +38,7 @@ import { isEqual } from '@core/utils';
|
||||
})
|
||||
export class DashboardFormComponent extends EntityComponent<Dashboard> {
|
||||
|
||||
dashboardScope: 'tenant' | 'customer' | 'customer_user';
|
||||
dashboardScope: 'tenant' | 'customer' | 'customer_user' | 'edge';
|
||||
customerId: string;
|
||||
|
||||
publicLink: string;
|
||||
|
||||
@ -46,7 +46,7 @@ export class DeviceComponent extends EntityComponent<DeviceInfo> {
|
||||
|
||||
entityType = EntityType;
|
||||
|
||||
deviceScope: 'tenant' | 'customer' | 'customer_user';
|
||||
deviceScope: 'tenant' | 'customer' | 'customer_user' | 'edge';
|
||||
|
||||
constructor(protected store: Store<AppState>,
|
||||
protected translate: TranslateService,
|
||||
|
||||
@ -40,7 +40,7 @@ export class EntityViewComponent extends EntityComponent<EntityViewInfo> {
|
||||
|
||||
dataKeyType = DataKeyType;
|
||||
|
||||
entityViewScope: 'tenant' | 'customer' | 'customer_user';
|
||||
entityViewScope: 'tenant' | 'customer' | 'customer_user' | 'edge';
|
||||
|
||||
allowedEntityTypes = [EntityType.DEVICE, EntityType.ASSET];
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user