message: chore(origin-backend-client-mocks): fix build
diff: +/* eslint-disable @typescript-eslint/no-unused-vars */
  import { IDeviceClient } from '@energyweb/origin-backend-client';
  import {
  DeviceStatus,
  @@ -7,7 +8,8 @@ import {
  IExternalDeviceId,
  ISmartMeterRead,
  ISmartMeterReadWithStatus,
  - DeviceSettingsUpdateData
  + DeviceSettingsUpdateData,
  + ISuccessResponse
  } from '@energyweb/origin-backend-core';
  export class DeviceClientMock implements IDeviceClient {
  @@ -58,7 +60,7 @@ export class DeviceClientMock implements IDeviceClient {
  public async getAllSmartMeterReadings(id: number): Promise<ISmartMeterReadWithStatus[]> {
  const { smartMeterReads } = this.storage.get(id);
  - return smartMeterReads.map(smRead => ({
  + return smartMeterReads.map((smRead) => ({
  ...smRead,
  certified: false
  }));
  @@ -72,26 +74,35 @@ export class DeviceClientMock implements IDeviceClient {
  }
  device.smartMeterReads.push(smartMeterRead);
  - device.smartMeterReads = device.smartMeterReads.sort((a, b) =>
  - a.timestamp > b.timestamp ? 1 : b.timestamp > a.timestamp ? -1 : 0
  - );
  + device.smartMeterReads = device.smartMeterReads.sort((a, b) => {
  + if (a.timestamp > b.timestamp) return 1;
  + if (b.timestamp > a.timestamp) return -1;
  +
  + return 0;
  + });
  this.storage.set(id, device);
  }
  - public async getSupplyBy(facilityName: string, status: number): Promise<IDeviceWithRelationsIds[]> {
  + public async getSupplyBy(
  + facilityName: string,
  + status: number
  + ): Promise<IDeviceWithRelationsIds[]> {
  return [...this.storage.values()];
  }
  - public async delete(id: number): Promise<void> {
  - throw new Error("Method not implemented.");
  + public async delete(id: number): Promise<ISuccessResponse> {
  + throw new Error('Method not implemented.');
  }
  - public async updateDeviceSettings(id: number, device: DeviceSettingsUpdateData): Promise<void> {
  - throw new Error("Method not implemented.");
  + public async updateDeviceSettings(
  + id: number,
  + device: DeviceSettingsUpdateData
  + ): Promise<ISuccessResponse> {
  + throw new Error('Method not implemented.');
  }
  public async getMyDevices(withMeterStats: boolean): Promise<IDeviceWithRelationsIds[]> {
  - throw new Error("Method not implemented.");
  + throw new Error('Method not implemented.');
  }
  }
  