restructure

This commit is contained in:
Emily
2024-11-16 01:14:05 +01:00
parent 41037a01a1
commit 070560c1e2
42 changed files with 75 additions and 88 deletions

View File

@@ -6,7 +6,7 @@ import { EventModel } from "@schema/metrics/EventSchema";
import { VisitModel } from '@schema/metrics/VisitSchema'
import * as url from 'url';
import { ProjectModel } from "@schema/ProjectSchema";
import { ProjectModel } from "@schema/project/ProjectSchema";
import { getAggregation } from "./Aggregations";
type TAvgInput = { _id: string, count: number }

View File

@@ -4,7 +4,7 @@ import { requireEnv } from '@utils/requireEnv'
import EmailService from "@services/EmailService";
import { ProjectModel } from "@schema/ProjectSchema";
import { ProjectModel } from "@schema/project/ProjectSchema";
import { UserModel } from "@schema/UserSchema";
EmailService.init(requireEnv('BREVO_API_KEY'));