Add Utils class to simplify the life

This commit is contained in:
2021-10-08 15:03:56 +02:00
parent 306debc6d1
commit af39f161ee
2 changed files with 147 additions and 4 deletions

View File

@@ -1,13 +1,13 @@
import { HttpContextContract } from '@ioc:Adonis/Core/HttpContext'
import CommandsRun from "App/Models/CommandsRun";
import {DateTime} from "luxon";
import BuildsRun from "App/Models/BuildsRun";
import {
fetchDailyStatistics,
fetchMonthlyStatistics,
fetchStatistics,
fetchWeeklyStatistics
} from "App/Tasks/DevelopmentHoursTask";
import CommandsRun from "App/Models/CommandsRun";
import {DateTime} from "luxon";
import BuildsRun from "App/Models/BuildsRun";
} from "App/Utils/StatsUtils";
export default class StatsController {