Browse Source

Add tenantId to device and asset profile info objects

pull/8247/head
Igor Kulikov 4 years ago
parent
commit
8d3278c355
  1. 2
      ui-ngx/src/app/shared/models/asset.models.ts
  2. 2
      ui-ngx/src/app/shared/models/device.models.ts

2
ui-ngx/src/app/shared/models/asset.models.ts

@ -39,7 +39,7 @@ export interface AssetProfile extends BaseData<AssetProfileId>, ExportableEntity
}
export interface AssetProfileInfo extends EntityInfoData {
tenantId: TenantId;
tenantId?: TenantId;
image?: string;
defaultDashboardId?: DashboardId;
}

2
ui-ngx/src/app/shared/models/device.models.ts

@ -587,7 +587,7 @@ export interface DeviceProfile extends BaseData<DeviceProfileId>, ExportableEnti
}
export interface DeviceProfileInfo extends EntityInfoData {
tenantId: TenantId;
tenantId?: TenantId;
type: DeviceProfileType;
transportType: DeviceTransportType;
image?: string;

Loading…
Cancel
Save