diff --git a/src/components/ContentComponents/Charts/AxisBottom.tsx b/src/components/ContentComponents/Charts/AxisBottom.tsx index ef98771e37cfb1208bed9994347daeb5a46f10f5..3e4f940cf4907b81d1b26dceefb7528ed11483aa 100644 --- a/src/components/ContentComponents/Charts/AxisBottom.tsx +++ b/src/components/ContentComponents/Charts/AxisBottom.tsx @@ -1,7 +1,7 @@ import React from 'react' import { ScaleBand } from 'd3-scale' import { IDataload, TimeStep } from 'services/dataConsumptionContracts' -import DateChartService from 'services/dateChartService' +import DateChartService from 'services/dateChart.service' import { DateTime } from 'luxon' interface TextTypeProps { diff --git a/src/components/ContentComponents/Charts/Bar.tsx b/src/components/ContentComponents/Charts/Bar.tsx index cd5a8b4a867b02a5353500386d5d9d550fcc7b4f..55df7fd75c573f5591a46d8237022dec9c46a3dc 100644 --- a/src/components/ContentComponents/Charts/Bar.tsx +++ b/src/components/ContentComponents/Charts/Bar.tsx @@ -1,7 +1,7 @@ import React, { useState, useEffect } from 'react' import { ScaleBand, ScaleLinear } from 'd3-scale' import { IDataload, TimeStep } from 'services/dataConsumptionContracts' -import DateChartService from 'services/dateChartService' +import DateChartService from 'services/dateChart.service' import { FluidType } from 'enum/fluid.enum' import { DateTime } from 'luxon' import { detect } from 'detect-browser' diff --git a/src/components/ContentComponents/Charts/Hash.tsx b/src/components/ContentComponents/Charts/Hash.tsx index 7f8b85b23b575fccc5e58fd5ef7ecf769cd136bd..4ae28cc1dfa3d1e6a8b1c8ebe858154e5ec3c174 100644 --- a/src/components/ContentComponents/Charts/Hash.tsx +++ b/src/components/ContentComponents/Charts/Hash.tsx @@ -6,7 +6,7 @@ import { TimeStep, } from 'services/dataConsumptionContracts' import { DateTime } from 'luxon' -import DateChartService from 'services/dateChartService' +import DateChartService from 'services/dateChart.service' interface HashProps { challengePeriod: ITimePeriod | null diff --git a/src/components/ContentComponents/ConsumptionVisualizer/ConsumptionVisualizer.tsx b/src/components/ContentComponents/ConsumptionVisualizer/ConsumptionVisualizer.tsx index 8e6793af38dd9bdb61678c69345171948e33257f..6e863e8f807bd8d9c6867c0924839c21d00b6181 100644 --- a/src/components/ContentComponents/ConsumptionVisualizer/ConsumptionVisualizer.tsx +++ b/src/components/ContentComponents/ConsumptionVisualizer/ConsumptionVisualizer.tsx @@ -4,7 +4,7 @@ import { FluidType } from 'enum/fluid.enum' import { DateTime } from 'luxon' import { TimeStep, IDataload } from 'services/dataConsumptionContracts' -import DateChartService from 'services/dateChartService' +import DateChartService from 'services/dateChart.service' import DateConsumptionVisualizer from 'components/ContentComponents/ConsumptionVisualizer/DateConsumptionVisualizer' import DataloadConsumptionVisualizer from 'components/ContentComponents/ConsumptionVisualizer/DataloadConsumptionVisualizer' import DetailedConsumptionVisualizer from 'components/ContentComponents/ConsumptionVisualizer/DetailedConsumptionVisualizer' diff --git a/src/components/ContentComponents/ConsumptionVisualizer/DataloadConsumptionVisualizer.tsx b/src/components/ContentComponents/ConsumptionVisualizer/DataloadConsumptionVisualizer.tsx index c426760127ced29e1adb078e92de2f497970bbb3..c09531a891ed41c2ce1384b4ff925d904d5dfde7 100644 --- a/src/components/ContentComponents/ConsumptionVisualizer/DataloadConsumptionVisualizer.tsx +++ b/src/components/ContentComponents/ConsumptionVisualizer/DataloadConsumptionVisualizer.tsx @@ -7,7 +7,7 @@ import StyledIcon from 'components/CommonKit/Icon/StyledIcon' import { getPicto } from 'utils/picto' import { formatNumberValues } from 'utils/utils' import ConverterService from 'services/converter.service' -import DateChartService from 'services/dateChartService' +import DateChartService from 'services/dateChart.service' import { DateTime } from 'luxon' interface DataloadConsumptionVisualizerProps { diff --git a/src/components/ContentComponents/FluidChart/FluidChartContent.tsx b/src/components/ContentComponents/FluidChart/FluidChartContent.tsx index ca20bdfd0b6581671d7b1e86249d7e3712715cf3..5ef068dbef451eac6b5c424cb961ba8679a9417c 100644 --- a/src/components/ContentComponents/FluidChart/FluidChartContent.tsx +++ b/src/components/ContentComponents/FluidChart/FluidChartContent.tsx @@ -8,7 +8,7 @@ import { ITimePeriod, TimePeriod, } from 'services/dataConsumptionContracts' -import DateChartService from 'services/dateChartService' +import DateChartService from 'services/dateChart.service' import { UserChallenge } from 'services/dataChallengeContracts' import { FluidType } from 'enum/fluid.enum' diff --git a/src/components/ContentComponents/FluidChart/FluidChartSlide.tsx b/src/components/ContentComponents/FluidChart/FluidChartSlide.tsx index 9256411b4507ed59807f817047053f131af16289..3d1cbc2fa1c69d56e76d75f6db25afb36d22a489 100644 --- a/src/components/ContentComponents/FluidChart/FluidChartSlide.tsx +++ b/src/components/ContentComponents/FluidChart/FluidChartSlide.tsx @@ -8,7 +8,7 @@ import { TimeStep, ITimePeriod, } from 'services/dataConsumptionContracts' -import DateChartService from 'services/dateChartService' +import DateChartService from 'services/dateChart.service' import { FluidType } from 'enum/fluid.enum' import BarChart from 'components/ContentComponents/Charts/BarChart' diff --git a/src/services/consumptionDataFormatterService.ts b/src/services/consumptionDataFormatterService.ts index 7666b883311b307dd427f0e0960578e9f052502a..df52e3a233a5f9f90cb6cbff450835a0fd7d786e 100644 --- a/src/services/consumptionDataFormatterService.ts +++ b/src/services/consumptionDataFormatterService.ts @@ -1,7 +1,7 @@ /* eslint-disable @typescript-eslint/interface-name-prefix */ import { TimeStep, ITimePeriod, IDataload } from './dataConsumptionContracts' import { compareDates } from 'utils/date' -import DateChartService from 'services/dateChartService' +import DateChartService from 'services/dateChart.service' export default class ConsumptionDataFormatter { public formatGraphData( diff --git a/src/services/dateChartService.ts b/src/services/dateChart.service.ts similarity index 100% rename from src/services/dateChartService.ts rename to src/services/dateChart.service.ts