Browse Source

Add tenantId to device and asset profile info objects

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

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

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

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

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

Loading…
Cancel
Save